Running powergui block in different simulation modes within the same model

5 次查看(过去 30 天)
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?

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2022-11-23
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:
  • 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 个)

类别

Help CenterFile Exchange 中查找有关 Variable Initialization 的更多信息

产品


版本

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by