Simulink Model does not run simulation - initializing never stops

4 Ansichten (letzte 30 Tage)
Kilian Konstantin Hensel
Kilian Konstantin Hensel am 14 Mai 2020
Beantwortet: Yash am 16 Feb. 2025
Good evening,
I integrated a KULI FMU into a blank worksheet in SIMULINK, and connected an imput constant and a scope to check if the import function works.
It is compiling, starts initializing, but never finishes the initializion, and never runs the model. Any Idea how to solve that problem?
Solver configuration is set to auto.

Antworten (1)

Yash
Yash am 16 Feb. 2025
It's possible that the step size determined by the solver is too small, which is why the model seems to run indefinitely. Try the below steps to debug:
  • Try using a different solver.
  • Increase the step size in Model Settings.
  • Enable FMU debugging to get more details. Open the FMU Block parameter and select the check box "Enable FMU debug logging" in the Simulation tab.

Kategorien

Mehr zu Prepare Model Inputs and Outputs finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by