声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 10410|回复: 8

[求助]求教machines measurement demux问题

[复制链接]
发表于 2006-5-30 09:59 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
大家好,我在做异步电动机模型时使用machines measurement demux连接到电机的m输出端口,总是提示<br>Invalid setting for input port dimensions of Demux block 'OnlyMac/Machines Measurement Demux/Demux'. The dimensions are being set to 2. This is not valid because the input has fewer elements than the total number of output ports of this block错误<br>请问这个是什么原因?是输出输入数据宽度不匹配?那该在哪里修改来匹配?谢谢大牛们给予指导!<br><br>用了一个最简单的模型,三相交流电接6000V异步电机,输出接测量模块。就出现上述错误![em06]
[此贴子已经被cyberdstar于2006-5-30 11:36:23编辑过]

回复
分享到:

使用道具 举报

发表于 2006-5-30 20:28 | 显示全部楼层
<P>我估计你是没有选择 demux的电机类型,电机不同要求的信号输入维数不一样,测量结果可能也不同</P>
发表于 2006-5-30 21:28 | 显示全部楼层

回复:(xiongqing)[求助]求教machines measurement ...

<P>你的Demux模块输入与输出数据维数不匹配,建议把电机参数好好的看一看 </P>
发表于 2006-5-31 16:13 | 显示全部楼层

回复:(xiongqing)[求助]求教machines measurement ...

<P>这位兄弟和我遇到的问题一样啊<BR>不知道你改好了没有,我怎么都弄不好,急啊</P>
发表于 2006-8-13 01:01 | 显示全部楼层
我也遇到了同样的问题,demux中的电机模型也选择了,还是出现这样的错误。。。
发表于 2006-10-23 18:28 | 显示全部楼层
我也遇到了 我选的是鼠笼式电动机,参考框架是固定的 ,选的demux是异步电动机,出现的错误和上面一样,
但是在有些系统中又是正确的,真是搞不懂
发表于 2007-12-1 15:03 | 显示全部楼层
我也遇到了这个问题,改好了分享一下,[email=dingzhenhua2008@163.com, QQ:303094926]dingzhenhua2008@163.com, QQ:303094926[/email],谢啦!
发表于 2007-12-7 11:28 | 显示全部楼层
改用bus selector吧,很好用
发表于 2009-5-20 11:19 | 显示全部楼层
这个是matlab的一个bug。具体可以参考
Technical Solutions
Why do I receive an error message when I connect a Machine Measurements Demux with the Permanent Magnet Synchronous Machine that is used as a generator in SimPowerSystems 4.1 (R14SP2+)?

Date Last Modified: 03 Apr 2009 Solution ID:   1-1NI2RC
Product:   SimPowerSystems
Reported in Release:   R14SP2+
Fixed in Release:   
Platform:   All Platforms
Operating System:   All OS


Subject:
Why do I receive an error message when I connect a Machine Measurements Demux with the Permanent Magnet Synchronous Machine that is used as a generator in SimPowerSystems 4.1 (R14SP2+)?

Problem Description:
I want to access the Rotor Speed output of a Permanent Magnet Synchronous Machine block. When I connect the Measurements Demux block to a Permanent Magnet Synchronous Machine block, I receive the following error messages:
Invalid setting for input port dimensions of 'v6doesnotwork/Machines Measurement Demux/Demux'. The dimensions are being set to 11. This is not valid because the total number of input and output elements are not the same

Error in port widths or dimensions. Invalid dimension has been specified for output port 1 of 'v6doesnotwork/Machines Measurement Demux/Mux'


Solution:
There is a bug in SimPowerSystems 4.1 (R14SP2+) when connecting the Machine Measurements Demux block to the Permanent Magnet Synchronous Machine block.

To work around this issue, you can use the Simulink Bus Selector block to access the measurement outputs of the Permanent Magnet Synchronous Machine block. The Simulink Bus Selector block replaced the Machine Measurements Demux block in Simulink version R14SP2+.
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-11-10 20:50 , Processed in 0.064350 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表