How to use more than 1 powergui in the same model?
14 views (last 30 days)
Show older comments
Hello everyone, I am building a microgrid that I will be using for testing my multiagent system, which means that I know just a little in Matlab... In this microgrid, I need to have a PV, which works in discrete mode, and a wind turbine, which works in phasors mode, and an emergency DG, which works in continuous mode. Since they work in different powerguis, I cannot have them all in the same model. I thought at first to separate the models and use model reference (model block variant) to call them, but still this solution doesn't work. I am having really a hard time and I cannot figure out how to solve this issue. I need your assistance all please with a solution easy to understand and can get me off this problem. Thanks a lot all of you
2 Comments
Mikaeil Eslami
on 6 Nov 2019
hi , could you find a solution? i have also the same problem with the same project.
Taouba Jouini
on 3 Mar 2020
Edited: Taouba Jouini
on 3 Mar 2020
The same question has been asked on ResearchGate at two occasions: https://www.researchgate.net/post/How_to_have_two_powergui_in_the_same_model_in_Matlabhttps://www.researchgate.net/post/Is_there_a_way_to_use_both_a_phasor_and_a_discrete_powergui_in_one_matlab_simulink_model
Answers (1)
Sabin
on 22 Jan 2024
You can use multiple powergui blocks in a system that contains two or more independent electrical circuits that you want to simulate with different powergui solvers.
To do so, put each circuit in a different subsystem, and then add a powergui block inside each subsystem.
When you use more than one powergui block in a model:
- 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.
0 Comments
See Also
Categories
Find more on Electromechanical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!