MATLAB Examples

UPFC (Detailed Model)

This example shows a detailed model of a 48-Pulse, GTO-based unified power flow controller (500 kV, 100 MVA).

Pierre Giroux ; Gilbert Sybille (Hydro-Quebec, IREQ)



A Unified Power Flow Controller (UPFC) is used to control the power flow in a 500 kV transmission system. The UPFC located at the left end of the 75-km line L2, between the 500 kV buses B1 and B2, is used to control the active and reactive powers flowing through bus B2 while controlling voltage at bus B1. It consists of two 100-MVA, three-level, 48-pulse GTO-based converters, one connected in shunt at bus B1 and one connected in series between buses B1 and B2. The shunt and series converters can exchange power through a DC bus. The series converter can inject a maximum of 10% of nominal line-to-ground voltage (28.87 kV) in series with line L2.

This pair of converters can be operated in three modes:

  • Unified Power Flow Controller (UPFC) mode, when the shunt and series converters are interconnected through the DC bus. When the disconnect switches between the DC buses of the shunt and series converter are opened, two additional modes are available:
  • Shunt converter operating as a Static Synchronous Compensator (STATCOM) controlling voltage at bus B1
  • Series converter operating as a Static Synchronous Series Capacitor (SSSC) controlling injected voltage, while keeping injected voltage in quadrature with current.

The mode of operation as well as the reference voltage and reference power values can be changed by means of the "UPFC GUI" block.

The principle of operation of the harmonic neutralized converters is explained in another example entitled "Three-phase 48-pulse GTO converter". This power_48pulsegtoconverter model is accessible in the Power Electronics Models library of examples. When the two converters are operated in UPFC mode, the shunt converter operates as a STATCOM. It controls the bus B1 voltage by controlling the absorbed or generated reactive power while also allowing active power transfer to the series converter through the DC bus. The reactive power variation is obtained by varying the DC bus voltage. The four three-level shunt converters operate at a constant conduction angle (Sigma= 180-7.5 = 172.5 degrees), thus generating a quasi-sinusoidal 48-step voltage waveform. The first significant harmonics are the 47th and the 49th.

When operating in UPFC mode, the magnitude of the series injected voltage is varied by varying the Sigma conduction angle, therefore generating higher harmonic contents than the shunt converter. As illustrated in this example, when the series converter operates in SSSC mode it generates a "true" 48-pulse waveform.

The natural power flow through bus B2 when zero voltage is generated by the series converter (zero voltage on converter side of the four converter transformers) is P=+870 MW and Q=-70 Mvar. In UPFC mode, both the magnitude and phase angle and the series injected voltage can be varied, thus allowing control of P and Q. The UPFC controllable region is obtained by keeping the injected voltage to its maximum value (0.1 pu) and varying its phase angle from zero to 360 degrees. To see the resulting P-Q trajectory, double click the "Show UPFC Controllable Region". Any point located inside the PQ elliptic region can be obtained in UPFC mode.


1. Power control in UPFC mode

Open the UPFC GUI block menu. The GUI allows you to choose the operation mode (UPFC, STATCOM or SSSC) as well as the Pref/Qref reference powers and/or Vref reference voltage settings . Also, in order to observe the dynamic response of the control system, the GUI allows you to specify a step change of any reference value at a specific time.

Make sure that the operation mode is set to "UPFC (Power Flow Control)". The reference active and reactive powers are specified in the last two lines of the GUI menu. Initially, Pref= +8.7 pu/100MVA (+870 MW) and Qref=-0.6 pu/100MVA (-60 Mvar). At t=0.25 sec Pref is changed to +10 pu (+1000MW). Then, at t=0.5 sec, Qref is changed to +0.7 pu (+70 Mvar). The reference voltage of the shunt converter (specified in the 2nd line of the GUI) will be kept constant at Vref=1 pu during the whole simulation (Step Time=0.3*100> Simulation stop time (0.8 sec). When the UPFC is in power control mode, the changes in STATCOM reference reactive power and in SSSC injected voltage (specified respectively in 1st and 3rd line of the GUI) as are not used.

Run the simulation for 0.8 sec. Open the "Show Scopes" subsystem. Observe on traces 1 and 2 of the UPFC scope the variations of P and Q. After a transient period lasting approximately 0.15 sec, the steady state is reached (P=+8.7 pu; Q=-0.6 pu). Then P and Q are ramped to the new settings (P=+10 pu Q=+0.7 pu). Observe on traces 3 and 4 the resulting changes in P Q on the three transmission lines. The performance of the shunt and series converters can be observed respectively on the STATCOM and SSSC scopes. If you zoom on the first trace of the STATCOM scope, you can observe the 48-step voltage waveform Vs generated on the secondary side of the shunt converter transformers (yellow trace) superimposed with the primary voltage Vp (magenta) and the primary current Ip (cyan). The dc bus voltage (trace 2) varies in the 19kV-21kV range. If you zoom on the first trace of the SSSC scope, you can observe the injected voltage waveforms Vinj measured between buses B1 and B2.

2. Var control in STATCOM mode

In the GUI block menu, change the operation mode to "STATCOM (Var Control)". Make sure that the STATCOM references values (1st line of parameters, [T1 T2 Q1 Q2]) are set to [0.3 0.5 +0.8 -0.8 ]. In this mode, the STATCOM is operated as a variable source of reactive power. Initially, Q is set to zero, then at T1=0.3 sec Q is increased to +0.8 pu (STATCOM absorbing reactive power) and at T2=0.5 sec, Q is reversed to -0.8 pu (STATCOM generating reactive power).

Run the simulation and observe on the STATCOM scope the dynamic response of the STATCOM. Zoom on the first trace around t=0.5 sec when Q is changed from +0.8 pu to -0.8 pu. When Q=+0.8 pu, the current flowing into the STATCOM (cyan trace) is lagging voltage (magenta trace), indicating that STATCOM is absorbing reactive power. When Qref is changed from +0.8 to -0.8, the current phase shift with respect to voltage changes from 90 degrees lagging to 90 degrees leading within one cycle. This control of reactive power is obtained by varying the magnitude of the secondary voltage Vs generated by the shunt converter while keeping it in phase with the bus B1 voltage Vp. This change of Vs magnitude is performed by controlling the dc bus voltage. When Q is changing from +0.8 pu to -0.8 pu, Vdc (trace 3) increases from 17.5 kV to 21 kV.

3. Series voltage injection in SSSC mode

In the GUI block menu change the operation mode to "SSSC (Voltage injection)". Make sure that the SSSC references values (3rd line of parameters) [Vinj_Initial Vinj_Final StepTime] ) are set to [0.0 0.08 0.3 ]. The initial voltage is set to 0 pu, then at t=0.3 sec it will be ramped to 0.8 pu.

Run the simulation and observe on the SSSC scope the impact of injected voltage on P and Q flowing in the 3 transmission lines. Contrary to the UPFC mode, in SSCC mode the series inverter operates with a constant conduction angle (Sigma= 172.5 degrees). The magnitude of the injected voltage is controlled by varying the dc voltage which is proportional to Vinj (3rd trace). Also, observe the waveforms of injected voltages (1st trace) and currents flowing through the SSSC (2nd trace). Voltages and currents stay in quadrature so that the SSSC operates as a variable inductance or capacitance.