- 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
5 views (last 30 days)
Show older comments
MathWorks Support Team
on 8 Oct 2020
Edited: MathWorks Support Team
on 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?
Accepted Answer
MathWorks Support Team
on 23 Nov 2022
Edited: MathWorks Support Team
on 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 Comments
More Answers (0)
See Also
Categories
Find more on Variable Initialization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!