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

4 次查看(过去 30 天)
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