> 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/machines/blocks/machines-control/synchronous-machines-control/excitation-systems/ac4a-excitation-system.md).

# AC4A Excitation System

## Description

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

The **AC4A Excitation System** block, located in the **OPAL-RT SPS Software/Electrical Machines/ Synchronous Machine** library, models an AC alternator connected to a thyristor rectifier to produce the field voltage Vf required by the Synchronous Machine block. A voltage regulator controls the thyristors and the excitation system stabilization is accomplished by a series lead-lag compensator.

This block is an adaptation of the AC4A excitation system of the IEEE® 421 standard, copyright IEEE 2005, all rights reserved.

## Parameters

### Controllers Tab

<table data-header-hidden><thead><tr><th width="250.22222900390625"></th><th></th></tr></thead><tbody><tr><td><strong>Low-pass filter time constant</strong></td><td>The time constant Tr of the first-order system representing the stator terminal voltage transducer. Default is 20e-3.</td></tr><tr><td><strong>Voltage regulator gain and time constant</strong></td><td>The gain Ka and time constant Ta of the first-order system representing the main regulator. Default is [200 0.015].</td></tr><tr><td><strong>Voltage regulator input limits</strong></td><td>The voltage regulator input limits VImin and VImax, in p.u. Default is [-10 10].</td></tr><tr><td><strong>Voltage regulator output limits</strong></td><td>The voltage regulator output limits VRmin and VRmax, in p.u. Default is [-4.53 5.64].</td></tr><tr><td><strong>Transient gain reduction lead and lag time constants</strong></td><td>The time constants Tb and Tc of the first-order system representing the lead-lag compensator. Default is [10 1.0].</td></tr></tbody></table>

### Exciter and Rectifier Tab

<table data-header-hidden><thead><tr><th width="250.4444580078125"></th><th></th></tr></thead><tbody><tr><td><strong>Rectifier loading factor Kc</strong></td><td>The gain Kc represents the rectifier loading factor proportional to the commutating reactance. Default is 0.</td></tr></tbody></table>

### Initial Values Tab

<table data-header-hidden><thead><tr><th width="250.4444580078125"></th><th></th></tr></thead><tbody><tr><td><strong>Initial values of terminal voltage and field voltage</strong></td><td>The initial values of terminal voltage Vt0 and field voltage Efd0, both in p.u. Initial terminal voltage is normally set to 1 pu. The Vt0 and Efd0 values can be determined using the Powergui Load Flow tool. Default is [1 1].</td></tr><tr><td><strong>Sample time</strong></td><td>Specify a value greater than zero to discretize the block at the given sample time. Set to -1 to inherit the simulation type and sample time parameters of the Powergui block. Default is 0.</td></tr></tbody></table>

## Ports

<table data-header-hidden><thead><tr><th width="249.66668701171875"></th><th></th></tr></thead><tbody><tr><td><strong>Vref</strong></td><td>The reference value of the stator terminal voltage, in p.u.</td></tr><tr><td><strong>Vt</strong></td><td>The measured value in p.u. of the stator terminal voltage of the controlled Synchronous Machine block.</td></tr><tr><td><strong>Ifd</strong></td><td>The measured value in p.u. of the stator field current of the controlled Synchronous Machine block.</td></tr><tr><td><strong>Vstab</strong></td><td>Connect this input to a power system stabilizer to provide additional stabilization of power system oscillations. When you do not use this option, connect to a Simulink® ground block. The input is in p.u.</td></tr><tr><td><strong>Efd</strong></td><td>The field voltage to apply to the <code>Vf</code> input of the controlled Synchronous Machine block. The output is in p.u.</td></tr></tbody></table>

## Examples

The [Emergency Diesel-Generator and Asynchronous Moto](https://www.opal-rt.com/docs/smart-power-simulation-software-sps/example-models/machines/emergency-diesel-generator-and-asynchronous-motor.md)r (power\_machines) example contains a Configurable Subsystem block that allows you to select between seven types of excitation systems to control the terminal voltage of the Synchronous Machine block. This configurable block refers to the power\_machines\_lib example library that contains seven pretuned excitation system blocks that fit simulation requirements for this example.

Right-click the EXCITATION configurable block, then select **AC4A** from the **Block Choice** menu to control the Synchronous Machine block using the AC4A Excitation System block.

## References

\[1] “IEEE Recommended Practice for Excitation System Models for Power System Stability Studies.” *IEEE Standard*, Vol. 421, No. 5, 2005 (Revision of IEEE 521.5-1992).


---

# 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/machines/blocks/machines-control/synchronous-machines-control/excitation-systems/ac4a-excitation-system.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.
