- Do not place a powergui block in the top-level diagram
- Place every independent model in a different subsystem
- Place a single powergui block in the top level diagram of every subsystem
Running powergui block in different simulation modes within the same model
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 8 Okt. 2020
Bearbeitet: MathWorks Support Team
am 23 Nov. 2022
I want to run different parts of a model in different modes using powergui block. Different modes being discrete, continuous or phasor. Is it possible?
Akzeptierte Antwort
MathWorks Support Team
am 23 Nov. 2022
Bearbeitet: MathWorks Support Team
am 23 Nov. 2022
This is possible by dividing the photovoltaic(PV) system and the propulsion system as two subsystems. You can add two different powergui blocks (one in each subsystem) running in different modes. Important thing to keep in mind is that if you are using more than one powergui block in a model, then:
You can read more about this here: https://www.mathworks.com/help/sps/powersys/ref/powergui.html
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Variable Initialization 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!