刚接触simulink,做了一个pmsm的调速控制模型,可运行时总不对,说是电机测量单元输入输出量不一样
具体内容是:Invalid setting for input port dimensions of 'loop/Machines Measurement Demux/Demux'. The dimensions are being set to 14. This is not valid because the total number
of input and output elements are not the same.
请高手给看看。
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+.
从同步发电机的m 端出来经过bus selector连到励磁调节器的vq和 vd, 提示:Selected signal 'signal1' in the Bus Selector block is not part of the bus entering the Bus Selector,可能是那里的错误呢请问?