> For the complete documentation index, see [llms.txt](https://www.opal-rt.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.opal-rt.com/docs/smart-power-simulation-software-sps/blocks-functions-tools/facts/static-var-compensator-phasor-type.md).

# Static Var Compensator (Phasor Type)

## Description

<figure><img src="https://799605156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdlNg8IbOdahCpFCyzxSN%2Fuploads%2Fgit-blob-5a056e1147b22cd1ce54cf226814cc30350d21d4%2Fstatic_var_compensator%2Bphasor_block.png?alt=media" alt=""><figcaption></figcaption></figure>

The **Static Var Compensator (Phasor Type)** block, located in the **OPAL-RT SPS Software/FACTS** library, is a shunt device of the Flexible AC Transmission Systems (FACTS) family using power electronics to control power flow and improve transient stability on power grids \[1]. The SVC regulates voltage at its terminals by controlling the amount of reactive power injected into or absorbed from the power system.

When system voltage is low, the SVC generates reactive power (SVC capacitive). When system voltage is high, it absorbs reactive power (SVC inductive). The variation of reactive power is performed by switching three-phase capacitor banks and inductor banks connected on the secondary side of a coupling transformer.

Each capacitor bank is switched on and off by three thyristor switches (Thyristor Switched Capacitor or TSC). Reactors are either switched on-off (Thyristor Switched Reactor or TSR) or phase-controlled (Thyristor Controlled Reactor or TCR).

The figure below shows a single-line diagram of a static var compensator and a simplified block diagram of its control system.

<figure><img src="https://799605156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdlNg8IbOdahCpFCyzxSN%2Fuploads%2Fgit-blob-0d042a01d9a7ed577ff5213a26684fc2a2c79b24%2Fstatic_var_compensator_phasor_diagram.png?alt=media" alt=""><figcaption><p>Single-line Diagram of an SVC and Its Control System Block Diagram</p></figcaption></figure>

The control system consists of

* A measurement system measuring the positive-sequence voltage to be controlled. A Fourier-based measurement system using a one-cycle running average is used.
* A voltage regulator that uses the voltage error (difference between the measured voltage Vm and the reference voltage Vref) to determine the SVC susceptance B needed to keep the system voltage constant
* A distribution unit that determines the TSCs (and eventually TSRs) that must be switched in and out, and computes the firing angle α of TCRs
* A synchronizing system using a phase-locked loop (PLL) synchronized on the secondary voltages and a pulse generator that send appropriate pulses to the thyristors

The SVC (Phasor Type) block is a phasor model, and you must use it with the phasor simulation method, activated with the Powergui block. It can be used in three-phase power systems together with synchronous generators, motors, and dynamic loads to perform transient stability studies and observe impact of the SVC on electromechanical oscillations and transmission capacity.

This model does not include detailed representations of the power electronics, the measurement system, or the synchronization system. These systems are approximated rather by simple transfer functions that yield a correct representation at the system's fundamental frequency.

A detailed model of a SVC using three TSCs and one TCR is provided in the [Static Var Compensator (SVC)](https://www.opal-rt.com/docs/smart-power-simulation-software-sps/example-models/power-transmission-and-distribution/static-var-compensator-svc.md) (power\_svc\_1tcr3tsc) example.

### SVC V-I Characteristic

The SVC can be operated in two different modes:

* In voltage regulation mode (the voltage is regulated within limits as explained below)
* In var control mode (the SVC susceptance is kept constant)

When the SVC is operated in voltage regulation mode, it implements the following V-I characteristic.

<figure><img src="https://799605156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdlNg8IbOdahCpFCyzxSN%2Fuploads%2Fgit-blob-99a838e8279edf66ac8e1d263de529f6a17f95b1%2Fstatic_var_compensator_phasor_VI_char.png?alt=media" alt=""><figcaption><p>SVC V-I characteristic</p></figcaption></figure>

As long as the SVC susceptance B stays within the maximum and minimum susceptance values imposed by the total reactive power of capacitor banks (Bc<sub>max</sub>) and reactor banks (Bl<sub>max</sub>), the voltage is regulated at the reference voltage Vref.

However, a voltage droop is normally used (usually between 1% and 4% at maximum reactive power output), and the V-I characteristic has the slope indicated in the figure. The V-I characteristic is described by the following three equations:

$$
V =
\left{
\begin{array}{l}
V\_{\text{ref}} + X\_{s}, I
\quad \text{if SVC is in regulation range }(-B\_{C\_{\max}} < B < B\_{L\_{\max}})
\\\[8pt]

\dfrac{I}{B\_{C\_{\max}}}
\qquad \text{if SVC is fully capacitive }(B = B\_{C\_{\max}})
\\\[8pt]

\dfrac{I}{B\_{L\_{\max}}}
\qquad \text{if SVC is fully inductive }(B = B\_{L\_{\max}})
\end{array}
\right.
\\\[8pt]
$$

where

<table data-header-hidden><thead><tr><th width="249.55548095703125"></th><th></th></tr></thead><tbody><tr><td>V</td><td>Positive sequence voltage (pu)</td></tr><tr><td>I</td><td>Reactive current (pu/Pbase) (I > 0 indicates an inductive current)</td></tr><tr><td>Xs</td><td>Slope or droop reactance (pu/Pbase)</td></tr><tr><td>Bcmax</td><td>Maximum capacitive susceptance (pu/Pbase) with all TSCs in service, no TSR or TCR</td></tr><tr><td>Blmax</td><td>Maximum inductive susceptance (pu/Pbase) with all TSRs in service or TCRs at full conduction, no TSC</td></tr><tr><td>Pbase</td><td>Three-phase base power specified in the block dialog box</td></tr></tbody></table>

### SVC Dynamic Response

When the SVC is operating in voltage regulation mode, its response speed to a change of system voltage depends on the voltage regulator gains (proportional gain Kp and integral gain Ki), the droop reactance Xs, and the system strength (short-circuit level).

For an integral-type voltage regulator (Kp = 0), if the voltage measurement time constant Tm and the average time delay Td due to valve firing are neglected, the closed-loop system consisting of the SVC and the power system can be approximated by a first-order system having the following closed-loop time constant:

$$
T\_c = 1 / (K\_i(X\_s + X\_n))
$$

where

<table data-header-hidden><thead><tr><th width="249.77777099609375"></th><th></th></tr></thead><tbody><tr><td><em>T</em><sub><em>c</em></sub></td><td>Closed loop time constant</td></tr><tr><td><em>K</em><sub><em>i</em></sub></td><td>Proportional gain of the voltage regulator (pu_B/pu_V/s)</td></tr><tr><td><em>X</em><sub><em>s</em></sub></td><td>Slope reactance pu/Pbase</td></tr><tr><td><em>X</em><sub><em>n</em></sub></td><td>Equivalent power system reactance (pu/Pbase)</td></tr></tbody></table>

This equation demonstrates that you obtain a faster response speed when the regulator gain is increased or when the system short-circuit level decreases (higher Xn values). If you take into account the time delays due to voltage measurement system and valve firing, you obtain an oscillatory response and, eventually, an instability with too weak a system or too large a regulator gain.

## Parameters

The SVC parameters are grouped in two categories: Power Data and Control Parameters. Use the **Display** listbox to select which group of parameters you want to visualize.

### Power Tab

<table data-header-hidden><thead><tr><th width="249.888916015625"></th><th></th></tr></thead><tbody><tr><td><strong>Ignore negative-sequence current</strong></td><td>The SVC is modeled by a three-wire system using two current sources. The SVC does not generate any zero-sequence current, but it can generate negative-sequence currents during unbalanced system operation. The negative-sequence susceptance of the SVC is assumed to be identical to its positive-sequence value, as determined by the B value computed by the voltage regulator. Select this box to ignore negative-sequence current. Default is selected.</td></tr><tr><td><strong>Nominal voltage and frequency</strong></td><td>The nominal line-to-line voltage in Vrms and the nominal system frequency in hertz. Default is [500e3, 60].</td></tr><tr><td><strong>Three-phase base power</strong></td><td>Three-phase base power, in VA, used to specify the following parameters in pu: droop reactance Xs, gains Kp and Ki of the voltage PI regulator, and reference susceptance Bref. This base power is also used to normalize the output B susceptance signal. Default is <code>200e6</code>.</td></tr><tr><td><strong>Reactive power limits</strong></td><td>The maximum SVC reactive powers at 1 pu voltage, in vars. Enter a positive value for the capacitive reactive power Qc (vars generated by the SVC) and a negative value for the inductive reactive power Ql (vars absorbed by the SVC). Default is [200e6, -200e6].</td></tr><tr><td><strong>Average time delay due to thyristor valves firing</strong></td><td>Average time delay simulating the non instantaneous variation of thyristor fundamental current when the distribution unit sends a switching order to the pulse generator. Because pulses have to be synchronized with thyristor commutation voltages, this delay normally varies between 0 and 1/2 cycle. The suggested average value is 4 ms. Default is 4e-3.</td></tr></tbody></table>

### Controller Tab

<table data-header-hidden><thead><tr><th width="250.44439697265625"></th><th></th></tr></thead><tbody><tr><td><strong>Mode</strong></td><td>Specifies the SVC mode of operation. Select either Voltage regulation (default) or Var control (Fixed susceptance Bref).</td></tr><tr><td><strong>Reference voltage Vref</strong></td><td>This parameter is not available when the <strong>Mode</strong> parameter is set to Var control (Fixed susceptance Bref) or when <strong>External</strong> is selected. Reference voltage, in pu, used by the voltage regulator. Default is 1.0.</td></tr><tr><td><strong>External</strong></td><td>When <strong>External</strong> is selected, a Simulink<sup>®</sup> input named Vref appears on the block, allowing you to control the reference voltage from an external signal (in pu). The <strong>Reference voltage</strong> parameter is therefore unavailable. Default is selected.</td></tr><tr><td><strong>Droop Xs</strong></td><td>This parameter is not available when the <strong>Mode</strong> parameter is set to Var control (Fixed susceptance Bref). Droop reactance, in pu/Pbase, defining the slope of the V-I characteristic. Default is 0.03.</td></tr><tr><td><strong>Voltage regulator gains</strong></td><td>This parameter is not available when the <strong>Mode</strong> parameter is set to Var control (Fixed susceptance Bref). Proportional gain, in (pu of B)/(pu of V), and integral gain, in pu_B/pu_V/s, of the voltage regulator. Default is [0 300].</td></tr><tr><td><strong>Susceptance Bref</strong></td><td>This parameter is not available when the <strong>Mode</strong> parameter is set to Voltage regulation. Reference susceptance, in pu/Pbase, when the SVC is operating in var control mode. Default is 0.0.</td></tr></tbody></table>

## Inputs and Outputs

<table data-header-hidden><thead><tr><th width="249.77783203125"></th><th></th></tr></thead><tbody><tr><td><strong>A B C</strong></td><td>The three terminals of the SVC.</td></tr><tr><td><strong>Vref</strong></td><td>Simulink input of the reference voltage signal. This input is visible only when the <strong>External control of reference voltage Vref</strong> parameter is checked.</td></tr><tr><td><strong>m</strong></td><td>Simulink output vector containing six SVC internal signals. These signals are either voltage and current phasors (complex signals) or control signals. They can be individually accessed by using the Bus Selector block.</td></tr></tbody></table>

m signals are, in order:

<table data-header-hidden><thead><tr><th width="113.66668701171875"></th><th width="171"></th><th width="166.5555419921875"></th><th></th></tr></thead><tbody><tr><td><strong>Signal</strong></td><td><strong>Signal Group</strong></td><td><strong>Signal Names</strong></td><td><strong>Definition</strong></td></tr><tr><td>1-3</td><td>Power Iabc (cmplx)</td><td>Ia(pu) Ib(pu) Ic(pu)</td><td>Phasor currents Ia, Ib, Ic flowing into the SVC (pu)</td></tr><tr><td>4</td><td>Control</td><td>Vm (pu)</td><td>Positive-sequence value of measured voltage (pu)</td></tr><tr><td>5</td><td>Control</td><td>B (pu)</td><td>SVC susceptance output of the voltage regulator (pu). A positive value indicates that the SVC is capacitive.</td></tr><tr><td>6</td><td>Control</td><td>Q (pu)</td><td>SVC reactive power output (pu). A positive value indicates inductive operation.</td></tr></tbody></table>

## Examples

The [Static Var Compensator (SVC) Phasor Model](https://www.opal-rt.com/docs/smart-power-simulation-software-sps/example-models/power-transmission-and-distribution/static-var-compensator-svc-phasor-model.md) (power\_svc) example illustrate a static var compensator (SVC) used to regulate voltage on a 500 kV, 3000 MVA system. When the system voltage is low, the SVC generates reactive power (SVC capacitive) and when the system voltage is high it absorbs reactive power (SVC inductive).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.opal-rt.com/docs/smart-power-simulation-software-sps/blocks-functions-tools/facts/static-var-compensator-phasor-type.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
