How do I set initial conditions for a circuit to steady state using the POWERGUI in SimPowerSystems?

9 views (last 30 days)
How do I set initial conditions for a circuit to steady state using the POWERGUI in SimPowerSystems?
When I try to use the POWERGUI to set the initial state of the circuit to steady-state, the simulation always have a transient effect at startup.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
POWERGUI can only specify initial states for the inductors and the capacitors of the circuit. The initial states for IGBTs and the Diodes cannot be set. To work around this issue, use the "Load from Workspace the initial states" feature of Simulink.
Instructions:
1. Open model
2. From the "Workspace I/O" tab within the Simulation parameters dialog box, put a check next to "Save to workspace: Final State". The "xFinal" vector will contain the final states of the simulation.
3. Simulate model until it reaches the desired steady-state condition.
4. Uncheck "Save to workspace: Final State".
5. Check "Load from workspace: Initial State" and specify "xFinal" as the initial vector.
5. Run the simulation. It should start in the steady-state condition.
The initial conditions set by the POWERGUI have no effect when the"Load from Workspace the initial states" option is checked.

More Answers (0)

Categories

Find more on Simscape Electrical in Help Center and File Exchange

Products


Release

R13SP1

Community Treasure Hunt

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

Start Hunting!