An error released by powergui
显示 更早的评论
Hi,
Please I am trying to connect a PV system to single phase grid via two stages, the first one is DC-DC converter to achieve MPPT of the PV and the second stage is single phase DC-AC inverter (as attached photo). When I run the model, I get these error messeges as follows:
Error in port widths or dimensions. Output port 1 of 'GF__1ph_MPPT__L__filter/powergui/EquivalentModel1/Sources/SwitchCurrents' is a one dimensional vector with 1 elements.
Component:Simulink | Category:Model error
Error in port widths or dimensions. Input port 1 of 'GF__1ph_MPPT__L__filter/powergui/EquivalentModel1/Sources/Mux_u' has 2 elements. This port does not accept the dimensions (or orientation) specified by the input signal.
Please note that each stage works fine separetely, but when I connect them together, the error come up.
Please can tell in detail how can I solve this issue?
Thanks for your help,
Ramy
回答(1 个)
Sabin
2023-1-4
0 个投票
There is a dimension mismatch. Even if they are working fine independently, might be an issue integrating the two parts if the dimensions is not expected at some ports. For example if we mux two signals and feed it to a block that is expecting 1 signal only that would not work.
类别
在 帮助中心 和 File Exchange 中查找有关 Simulation and Analysis 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!