Hello everyone, please help me with this error Error:Invalid

Error:Invalid setting for input port dimensions of 'VPP_5_3_2025/Three-Phase Dynamic Load/Model/Demux3'. The dimensions are being set to 1440. This is not valid because the total number of input and output elements are not the same
Error:Error in port widths or dimensions. Invalid dimension has been specified for 'Input Port 2' of 'VPP_5_3_2025/Three-Phase Dynamic Load/Model/Real-Imag to Complex'.

8 comentarios

Error:Invalid setting for input port dimensions of 'VPP_5_3_2025/Three-Phase Dynamic Load/Model/Demux3'. The dimensions are being set to 1440. This is not valid because the total number of input and output elements are not the same
Error:Error in port widths or dimensions. Invalid dimension has been specified for 'Input Port 2' of 'VPP_5_3_2025/Three-Phase Dynamic Load/Model/Real-Imag to Complex'.
how does your demux actually work? do you have 2 columns in your PQ signal and you want to feed the first colum as real value and 2nd colum as imaginary? or is it a 1440x1 signal and you want to feed the first 720 values as real and last 720 values as imag?
your question is not clear and the arrows do not help at all for me to understand whats going on in your model.
thanks for your reply, i send you simolink file
I need to put a data array in the form [t;P] into the load block and get an error as shown
How is this all supposed to work when your load_data is only 1439 entries instead of 1440 like your time vector ?

Iniciar sesión para comentar.

Respuestas (1)

Sabin
Sabin el 6 de Ag. de 2025
The problem is the way you pass the data in the From Workspace block. What you want is to have P as a time varying signal of dimension 1 but instead you end up with dimension 1439. If you provide the data as [t, P_load] you must double check that t and P_load are column vectors. It appears that they are row vectors. Therefore, the fix is to specify the data as [t’, P_load’]. I hope this helps.

Categorías

Más información sobre Simscape Electrical en Centro de ayuda y File Exchange.

Preguntada:

hai
el 5 de Mzo. de 2025

Respondida:

el 6 de Ag. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by