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
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.

类别

产品

提问:

2020-5-21

回答:

2023-1-4

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by