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

Answers (1)

Sabin
Sabin on 4 Jan 2023
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.

Products

Asked:

on 21 May 2020

Answered:

on 4 Jan 2023

Community Treasure Hunt

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

Start Hunting!