In this section you
Learn how to use power electronics components
Learn how to use transformers
Change initial conditions of a circuit
SimPowerSystems™ software is designed to simulate power electronic devices. This section uses a simple circuit based on thyristors as the main example.
Consider the circuit shown below. It represents one phase of a static var compensator (SVC) used on a 735 kV transmission network. On the secondary of the 735 kV/16 kV transformer, two variable susceptance branches are connected in parallel: one thyristor-controlled reactor (TCR) branch, in blue, and one thyristor-switched capacitor (TSC) branch, in red.
One Phase of a TCR/TSC Static Var Compensator
The TCR and TSC branches are both controlled by a valve consisting of two thyristor strings connected in antiparallel. An RC snubber circuit is connected across each valve. The TSC branch is switched on/off, thus providing discrete step variation of the SVC capacitive current. The TCR branch is phase controlled to obtain a continuous variation of the net SVC reactive current.
Open a new window and save it as
Open the Power Electronics library and copy the Thyristor block into the model.
Double-click the block to open the Thyristor dialog box and set the parameters as follows:
Notice that the snubber circuit is integral to the Thyristor dialog box.
Rename this block
TCR 1 and
Connect this new thyristor
2 in antiparallel with
TCR 1, as shown
in One Phase of a TCR/TSC Static Var Compensator.
As the snubber circuit has already been specified with
1, the snubber of
TCR 2 must be eliminated.
Open the TCR 2 dialog box and set the snubber parameters to
Notice that the snubber disappears on the block icon.
The Linear Transformer block is located in the Elements
library. Copy it into the model, and open its dialog box. Set its
nominal power, frequency, and winding parameters (winding
secondary) as shown in One Phase of a TCR/TSC Static Var Compensator.
The Units parameter allows you to specify the resistance R and leakage inductance L of each winding as well as the magnetizing branch Rm/Lm, either in SI units (ohms, henries) or in per units (pu). Keep the default pu setting to specify directly R and L in per unit quantities. As there is no tertiary winding, deselect Three windings transformer. Winding 3 disappears on the TrA block.
Finally, set the magnetizing branch parameters Rm and Xm at
500]. These values correspond to 0.2% resistive and inductive
currents. For more information on the per unit (pu) system, see Per Unit System of Units.
Add a voltage source, Ground block, and two Series RLC Branch blocks and set the parameters as shown in the One Phase of a TCR/TSC Static Var Compensator figure.
Add a current measurement to measure the primary current.
Notice that the Thyristor blocks have an output identified
by the letter
m. This output returns a Simulink® vectorized
signal containing the thyristor current (Iak) and voltage (Vak). These
outputs are connected to terminators blocks. Select the signal line
connected at the m output of the
TCR 1 block and
the signal connected at the i output of the i prim block. From the
Simulation Data Inspector menu
, select Stream
Selected Signals to Data Inspector.
Copy two Simulink pulse generators into your system, name them Pulse1 and Pulse2, and connect them to the gates of the thyristor blocks.
Now you have to define the timing pulses of the two thyristors. At every cycle a pulse has to be sent to each thyristor α degrees after the zero crossing of the thyristor commutation voltage. Set the Pulse1 and Pulse2 block parameters as follows:
Pulse width (% of period)
The pulses sent to
TCR 2 are delayed
by 180 degrees with respect to pulses sent to
The delay T is used to specify the firing angle α. To get a
120 degree firing angle, specify
T in the workspace
T = 1/60/3;
Now open the Simulation > Model Configuration Parameters dialog
box. Select the
ode23tb integration algorithm.
Keep the default parameters but set the relative tolerance to
the stop time to
Add a Powergui block at the top level of your model, then start the simulation. The results can be observed in the Simulation Data Inspector, as shown in the figure.
TCR Simulation Results
You can now create the TSC branch.
Duplicate the TCR branch (shown in blue), rename the blocks, and specify resistance and inductance value as shown in the One Phase of a TCR/TSC Static Var Compensator figure.
Connect a capacitor of 308e-6 Farad in series with the TSC 1 and TSC 2 valve.
Connect a Votage Measurement block across the capacitor. Connect the output of the block to a terminator block. Selected the signal and stream the selected signal to the Simulation Data Inspector.
Contrary to the TCR branch, which was fired by a synchronous pulse generator, a continuous firing signal is now applied to the two thyristors. Delete the two pulse generators. Copy a Step block from the Simulink library and connect its output at both gates of TSC 1 and TSC 2. Set its step time at 1/60/4 (energizing at the first positive peak of the source voltage).
Start the simulation.
As the capacitor is energized from zero, you can observe in the Simulation Data Inspector a low damping transient at 200 Hz, superimposed with the 60 Hz component in the capacitor voltage and primary current. During normal TSC operation, the capacitor has an initial voltage left since the last valve opening. To minimize the closing transient with a charged capacitor, the thyristors of the TSC branch must be fired when the source voltage is at maximum value and with the correct polarity. The initial capacitor voltage corresponds to the steady-state voltage obtained when the thyristor switch is closed. The capacitor voltage is 17.67 kVrms when the valve is conducting. At the closing time, the capacitor must be charged at the peak voltage.
Open the Powergui and select Initial
States Setting. A list of all the state variables with
their default initial values appears. The value of the initial voltage
across the capacitor C (variable
Uc_C) should be
-0.3141 V. This voltage is not exactly zero because the snubber allows
circulation of a small current when both thyristors are blocked. Now
Uc_C state variable and enter
the upper right field. Then click the Apply button
to make this change effective.
Start the simulation. As expected the transient component of capacitor voltage and current has disappeared. The voltages obtained with and without initial voltage are compared in the Simulation Data Inspector as shown in the figure.
Transient Capacitor Voltage With and Without Initial Charge