Continuous to discrete conversion of power gui
Show older comments
My simulation is running in conticuous powergui.but i want to change the powergui to discrete (5e-6)
1 Comment
merwan
on 11 May 2023
same problem
Answers (1)
Harsh
on 18 Jun 2025
The "powergui" block allows you to choose one of these methods to solve your circuit:
- Continuous, which uses a variable-step solver from Simulink
- Discretization of the electrical system for a solution at fixed time steps
- Continuous or discrete phasor solution
To change the "Simulation type" from "Continuous" to "Discrete" double click on the "powergui" block in your model and click on the drop down button to select "Discrete". After that you can provide the "Sample time" as "5e-6" and click on Apply.
For more information regarding "powergui" block, enter the following line in MATLAB "Command Window" -
doc powergui
Categories
Find more on Electromechanical 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!