Continuous to discrete conversion of power gui
Ältere Kommentare anzeigen
My simulation is running in conticuous powergui.but i want to change the powergui to discrete (5e-6)
1 Kommentar
merwan
am 11 Mai 2023
same problem
Antworten (1)
Harsh
am 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
Kategorien
Mehr zu Simulation and Analysis finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!