Two FMU models are running in Simulink—how to resolve the algebraic loop problem?
Afficher commentaires plus anciens
I built a buck converter circuit with closed-loop control, and I wanted to test the export and import of Simulink FMU models. So I packaged the control module as a controlFMU and the circuit module as a buckFMU, then imported them back into Simulink and ran them as FMUs. However, the simulation reported an algebraic loop error. I then added delay blocks between the two FMU models, but the results were incorrect and the simulation ran very slowly. How can I solve this?


1 commentaire
Yifeng Tang
le 24 Juil 2026
Could you please describe the nature of the control & the plant? Discrete or continuous? Pure Simulink or some Simscape? What solver are you trying to use or left default?
Réponses (0)
Catégories
En savoir plus sur Export Simulink Model as Standalone FMU dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!