I have a probleme with simulink model simulation. Please, I would like your help.
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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
0 Kommentare
Antworten (2)
Jaskirat
am 24 Mär. 2025
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!
0 Kommentare
David
am 23 Jun. 2025
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.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!