I have a probleme with simulink model simulation. Please, I would like your help.

조회 수: 7 (최근 30일)
Abdoulaye
Abdoulaye 2025년 3월 21일
답변: David 2025년 6월 23일
Error using Sim_input (line 29)
Compilation of model 'ACFTSim' failed while trying to resolve underspecified signal dimensions.
Suggested Actions:
• Enable 'warning' or 'error' diagnostics for the list of underspecified signal dimensions. - Open
Caused by:
Error using slcontrollib.internal.mdlcfg.ParameterManager/compile
Error in port widths or dimensions. Invalid dimension has been specified for 'Input Port 3' of
'ACFTSim/EqM/ExtForcesMoments/Add'. - Show complete stack trace
Error using slcontrollib.internal.mdlcfg.ParameterManager/compile
Error in port widths or dimensions. 'Output Port 1' of
'ACFTSim/EqM/ExtForcesMoments/ThrustForcesMoments_N_Nm' has 9 elements. This port does not accept the
dimensions (or orientation) specified by the output signal. - Show complete stack trace

답변 (2개)

Jaskirat
Jaskirat 2025년 3월 24일
From the provided error messages, it seems that issue is caused from mismatched dimensions at certain ports, specifically:
1) Input Port 3 of ACFTSim/EqM/ExtForcesMoments/Add
2) Output Port 1 of ACFTSim/EqM/ExtForcesMoments/ThrustForcesMoments_N_Nm
The error can be debugged using Simulink’s “Signal Dimensions” display option. This option allows you to visualize the dimensions of your signal throughout the model. To do so, go to the Debug tab, select Information Overlays > Signal Dimensions.
For the “Add” block, you may need to use “Mux” or “Demux” to adjust signal dimensions.
To know more about determining Signal Dimensions, refer to the following MathWorks documentation link:
Hope this helps!

David
David 2025년 6월 23일
Enable 'warning' or 'error' diagnostics for the list of underspecified signal dimensions.Open
  • Error in port widths or dimensions. Invalid dimension has been specified for 'Input Port 2' of 'paperrefGFM/VSG alogithim/Sum7'.
  • Error in port widths or dimensions. 'Output Port 1' of 'paperrefGFM/VSG alogithim/Sum3' is a one dimensional vector with 1 elements. I had the same error while doing the simulation of Grid-Following and Grid-Forming Control in Power Electronic Based Power Systems: A Comparative Study by aloborg university denmark. If anyone has a solution please let me know if some one has an answer.

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by