> 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/rt-lab/simulink-blocks-reference/artemis-library/27-59-voltage-relay.md).

# 27/59 Voltage Relay

## Description

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-f244b694d426e7401bcbc98cf8369b10f9034ad9%2FArtemis_27-59_voltage_relay_block.png?alt=media" alt="" width="108"><figcaption></figcaption></figure>

The **27/59 Undervoltage and Overvoltage Relay** block, located in the **ARTEMiS/Tools/Protection Relays** library, provides undervoltage (27UV) and overvoltage (59OV) protection using five configurable pickup levels and associated time delays for each element. The 59OV element asserts when the monitored voltage exceeds its threshold; the 27UV element asserts when the monitored voltage falls below its threshold. The block supports 50 Hz and 60 Hz systems.

{% hint style="info" %}
Each element asserts when the measured voltage crosses its threshold and remains beyond that threshold for the configured delay. If the condition clears before the delay elapses, the timer resets and will not restart until the threshold is crossed again. All voltage levels and delay times are tunable.
{% endhint %}

### 27 Undervoltage Relay <a href="#id-27-59-voltagerelay-27undervoltagerelay" id="id-27-59-voltagerelay-27undervoltagerelay"></a>

The undervoltage element picks up whenever the line or phase voltage drops below the selected settings. A timer is normally used to enable it to ride through momentary sags and thus prevent nuisance tripping.

The five-level undervoltage relay characteristic is presented in Figure 1.

For instance, if level 1 voltage is 0.8 pu and tripping time is 1 sec. It means that when the input voltage is lower than 0.8 pu and continues to be lower than 0.8 pu for more than 1 second, the undervoltage relay will be asserted. If the voltage is lower than 0.8 pu for less than 1 second, its timer will reset and will not restart until the voltage amplitude violates the level 1 voltage threshold again. All voltage levels and delay times are tunable parameters.

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-288ee499fb4154f91a7d75bca6fc679c0238fdba%2FArtemis_27-59_voltage_relay_charac.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

### 59 Overvoltage Relay <a href="#id-27-59-voltagerelay-59overvoltagerelay" id="id-27-59-voltagerelay-59overvoltagerelay"></a>

The overvoltage element trips electrical equipment under its protection whenever the line or phase voltage exceeds the selected setting. A time-delay is normally used to enable it to ride through momentary spikes and thus prevent nuisance tripping.

The five-level overvoltage relay characteristics is presented in Figure 2.

For instance, if Level 1 voltage is 1.05 pu and tripping time is 2 sec. It means that when the input voltage is higher than 1.05 pu and continues to be higher than 1.05 pu for more than 2 seconds, the overvoltage relay will be asserted. If the voltage is higher than 1.05 pu for any time that is less than 2 seconds, its timer will be reset and will not restart until the voltage violates the level 1 voltage threshold again. All voltage levels and delay times are tunable parameters.

{% hint style="danger" %}
This block requires a valid RT-LAB license on the simulator with the feature ARTEMiS enabled. Refer to[ ARTEMiS Requirements](https://www.opal-rt.com/docs/rt-lab/model-and-simulation/power-systems-with-artemis/artemis-requirements.md) for details.
{% endhint %}

## Mask parameters

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-fab4d88727071d17d6e8431bd96676cd0cc46e2b%2FArtemis_27-59_voltage_relay_mask.png?alt=media" alt=""><figcaption></figcaption></figure>

{% tabs %}
{% tab title="General" %}

<table><thead><tr><th width="240.20001220703125">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Base Voltage (L-L)</strong></td><td>Base line-to-line voltage at the measurement location (V).</td></tr><tr><td><strong>Frequency</strong></td><td>System frequency (Hz). Supports 50 or 60 Hz.</td></tr><tr><td><strong>Operating Quantity</strong></td><td>Select the operating quantity: phase-to-neutral voltage or phase-to-phase voltage among the three phases.</td></tr><tr><td><strong>Sample Time</strong></td><td>Model time step (s).</td></tr></tbody></table>
{% endtab %}

{% tab title="27 Undervoltage" %}

<table><thead><tr><th width="240.20001220703125">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Enable 27UV</strong></td><td>Enable or disable the 27UV element.</td></tr><tr><td><strong>27UV Level 1</strong></td><td>Undervoltage level 1 (pu).</td></tr><tr><td><strong>27UV Level 2</strong></td><td>Undervoltage level 2 (pu).</td></tr><tr><td><strong>27UV Level 3</strong></td><td>Undervoltage level 3 (pu).</td></tr><tr><td><strong>27UV Level 4</strong></td><td>Undervoltage level 4 (pu).</td></tr><tr><td><strong>27UV Level 5</strong></td><td>Undervoltage level 5 (pu).</td></tr><tr><td><strong>Time for 27UV Level 1</strong></td><td>Time delay for 27UV Level 1 (s).</td></tr><tr><td><strong>Time for 27UV Level 2</strong></td><td>Time delay for 27UV Level 2 (s).</td></tr><tr><td><strong>Time for 27UV Level 3</strong></td><td>Time delay for 27UV Level 3 (s).</td></tr><tr><td><strong>Time for 27UV Level 4</strong></td><td>Time delay for 27UV Level 4 (s).</td></tr><tr><td><strong>Time for 27UV Level 5</strong></td><td>Time delay for 27UV Level 5 (s).</td></tr></tbody></table>
{% endtab %}

{% tab title="59 Overvoltage" %}

| Parameter                 | Description                         |
| ------------------------- | ----------------------------------- |
| **Enable 59OV**           | Enable or disable the 59OV element. |
| **59OV Level 1**          | Overvoltage level 1 (pu).           |
| **59OV Level 2**          | Overvoltage level 2 (pu).           |
| **59OV Level 3**          | Overvoltage level 3 (pu).           |
| **59OV Level 4**          | Overvoltage level 4 (pu).           |
| **59OV Level 5**          | Overvoltage level 5 (pu).           |
| **Time for 59OV Level 1** | Time delay for 59OV Level 1 (s).    |
| **Time for 59OV Level 2** | Time delay for 59OV Level 2 (s).    |
| **Time for 59OV Level 3** | Time delay for 59OV Level 3 (s).    |
| **Time for 59OV Level 4** | Time delay for 59OV Level 4 (s).    |
| **Time for 59OV Level 5** | Time delay for 59OV Level 5 (s).    |
| {% endtab %}              |                                     |
| {% endtabs %}             |                                     |

## Conservating ports

<table><thead><tr><th width="239.5999755859375">Port</th><th>Description</th></tr></thead><tbody><tr><td><strong>Vabc</strong></td><td>Three-phase voltage input vector in the order [Va, Vb, Vc].</td></tr><tr><td><strong>Reset</strong></td><td>Relay reset signal. The relay resets when this signal is 1.</td></tr><tr><td><strong>Trip</strong></td><td>Relay output. By default 0; becomes 1 when an overvoltage or undervoltage condition is detected.</td></tr></tbody></table>

## Inputs

This bloc has no inputs.

## Outputs

<table><thead><tr><th width="239.60003662109375">Output</th><th>Description</th></tr></thead><tbody><tr><td><strong>m</strong></td><td>monitoring signals</td></tr></tbody></table>

<details>

<summary>Available monitoring signals</summary>

| Name         | Description                      |
| ------------ | -------------------------------- |
| **Trip\_59** | Trip output of the 59OV element. |
| **Trip\_27** | Trip output of the 27UV element. |

</details>


---

# 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/rt-lab/simulink-blocks-reference/artemis-library/27-59-voltage-relay.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.
