SimPowerSystems | ![]() ![]() |
Simulating Discretized Electrical Systems
Discretization is performed by dragging the Powergui block into your system. The sample time is specified in the block dialog box. The electrical system is discretized using the Tustin method, that is equivalent to a fixed-step trapezoidal integration. In order to avoid algebraic loops, the electrical machines are discretized using the Forward Euler method.
The precision of the simulation is controlled by the time step you choose for the Discretization. If you use too large a sample time, the precision might not be sufficient. The only way to know if it is acceptable is to repeat the simulation with different sample times or to compare with a continuous method and to find a compromise for the largest acceptable sample time. Usually sample times of 20 µs to 50 µs will give good results for simulation of switching transients on 50 Hz or 60 Hz power systems or on systems using line-commutated power electronic devices such as diodes and thyristors. However, for systems using forced-commutated power electronic switches, you must reduce the time step. These devices, the insulated-gate-bipolar transistor (IGBT), the field-effect transistor (FET), and the gate-turn-off thyristor (GTO) are usually operating at high switching frequencies. For example, simulating a pulse-width modulated (PWM) inverter operating at 8 kHz requires a time step of 1 µs or less.
Note that even if you discretize your electric circuit, you can still use a continuous control system. However, the simulation speed is improved by use of a discrete control system.
Limitations with Nonlinear Models
Discretization of individual forced-commutated electronic devices is not allowed. Discretization of circuits containing forced-commutated power electronic devices (IGBT, GTO, or MOSFET) is permitted only with the Universal Bridge block. Discretization of circuits containing individual forced-commutated devices is not allowed. For example, an attempt to discretize the buck DC chopper circuit saved in the psbbuckconv
model produces a warning message:
Figure 3-5: A Circuit Containing Individual Forced Commutated Electronic Switches Cannot be Discretized
In this circuit, the opening of the GTO will force a quasi instantaneous conduction of the freewheeling diode. If the circuit was discretized, the diode would be fired with one step delay, and the inductive current chopping would produce large overvoltages. However, for conventional converter topologies as in the case of the Universal Bridge, the switch interactions are known in advance. For example, in a six-switch IGBT/Diode inverter (Figure 3-6 following), opening of IGBT1 causes instantaneous conduction of diode D2 in the same arm. As the circuit topology is predetermined, it is possible to force firing of the diode in the same step that the IGBT opens. You should use a continuous method if you prefer to use individual IGBT and Diode blocks to simulate a complete inverter.
Figure 3-6: IGBT Inverter Simulated by the Universal Bridge
Minimal load is required at machine terminals. When using electrical machines in discrete systems, you might have to use a small parasitic resistive load, connected at the machine terminals, in order to avoid numerical oscillations. Large sample times require larger loads. The minimum resistive load is proportional to the sample time. As a rule of thumb, remember that with a 25 us time step on a 60 Hz system, the minimum load is approximately 2.5% of the machine nominal power. For example, a 200 MVA synchronous machine in a power system discretized with a 50 µs sample time requires approximately 5% of resistive load or 10 MW. If the sample time is reduced to 20 µs, a resistive load of 4 MW should be sufficient.
Lon = 0 is used for diodes and thyristors in discrete circuits. Diodes and thyristors used in a discretized circuit must have a zero internal inductance. If you discretize a circuit containing diodes or thyristors with Lon > 0, Power System Blockset prompts you with a warning indicating that Lon will be set to zero.
![]() | Simulating with Continuous Integration Algorithms | Increasing Simulation Speed | ![]() |