How can I get the mathematical equation of the system constructed by simulink models automatically?
71 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hanyang Dai
am 25 Mai 2019
Kommentiert: Meme Young
am 30 Jun. 2021
The simulink models in a dynamic system are simulated in the way of solving the differential or algebraic equations. Is there any commands that can generate the mathematical equations of the dynamic system? For example, when the wind generation system is simulated in simulink, can I get the mathematical eqtuations of the transimission line, induction generator and the AC system?
Hoping to have your reply,
Best regards.
0 Kommentare
Akzeptierte Antwort
Tony Lennon
am 29 Mai 2019
Sorry, but Simulink does not work that way. In some cases, you can look within a block to see equations, mainly with the Simscape blocks.
4 Kommentare
Talia Sari
am 27 Jul. 2020
Hello, I am new to Simulink. Could you please tell me how does it work? I already put solver configuration and powergui block, but the state space values are still empty.
Weitere Antworten (1)
Dino
am 30 Mär. 2021
There's a tool called simscape2casadi that, though in alpha stage, claims to be able to do what you want. A description can be found in this paper and the code can be found in this git repository. Please note that it requires Simulink Coder to generate C code from your model.
1 Kommentar
Meme Young
am 30 Jun. 2021
Hello, I have tried this but there are some error reports. Could you please help me with it? It is in the issue.
Communitys
Weitere Antworten in Power Electronics Control
Siehe auch
Kategorien
Mehr zu Simulation and Analysis 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!