Simulating Models

You can simulate your SimPowerSystems models using any of three solution methods for your power system network, as well as an ideal switching algorithm that improves simulation performance for systems with high-frequency switching.

Selecting SimPowerSystems Simulation Mode 3:32
Choose simulation mode (continuous, discrete, or phasor) using SimPowerSystems™. Analyze transient effects and magnitudes of circuit voltages.

Continuous methods perform highly accurate simulations of power system models, varying the step size to capture the dynamics of your system. Discrete methods enable you to control the precision of your simulation by selecting the size of the time step. Phasor simulation replaces the differential equations representing the network with a set of algebraic equations at a fixed frequency, making it possible to do transient stability studies of systems with multiple machines.

The ideal switching algorithm in SimPowerSystems enables fast and accurate simulation of systems containing power electronic devices. This algorithm uses an improved method of calculating the state-space representation of the system instead of relying on current sources with high-impedance snubbers to model power electronic devices. This method gives you greater flexibility in selecting a solver and results in shorter simulation times.

SimPowerSystems interface for selecting simulation options.
SimPowerSystems interface for selecting simulation options. Continuous, discrete, and phasor simulation modes are supported, with the option of enabling an ideal switching algorithm for faster simulation.
Next: Analyzing Models

Try SimPowerSystems

Get trial software

Electrical Distribution System Modeling and Analysis in MATLAB and Simulink

View webinar