> 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/81-frequency-relay.md).

# 81 Frequency Relay

## Description

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

The **Frequency Relay (81)** block, located in the **ARTEMiS/Tools/Protection Relays** library, includes three frequency protection elements: overfrequency (81O), underfrequency (81U), and rate-of-change-of-frequency (ROCOF, 81R).

The 81O and 81U elements provide five threshold levels, each with an independent tripping delay, while the 81R element provides one level with a tripping delay. The relay measures frequency from the input voltage signals using zero-crossing detection and operates when the measured frequency or ROCOF exceeds the configured settings. A time delay helps the relay ride through momentary fluctuations to prevent nuisance operation. The model supports 50 Hz and 60 Hz systems.

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-51622b6d76f3fa2928954725a200e5330240dea5%2FArtemis_81_freq_relay_charac.jpg?alt=media" alt="" width="563"><figcaption></figcaption></figure>

{% 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-c5f8b6ef1b0ee264d8c205d042ea957825276623%2FArtemis_81_freq_relay_mask.jpg?alt=media" alt=""><figcaption></figcaption></figure>

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

<table><thead><tr><th width="253">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Frequency</strong></td><td>Nominal frequency of the input voltage signals (Hz). Supports 50 Hz and 60 Hz.</td></tr><tr><td><strong>Freeze Time</strong></td><td>Freezing time of the 81 relay (s). When t &#x3C; Freeze Time, the relay does not operate.</td></tr><tr><td><strong>Sample Time</strong></td><td>Block sample time (s).</td></tr></tbody></table>
{% endtab %}

{% tab title="Overfrequency" %}

<table><thead><tr><th width="251.4000244140625">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Enable Overfrequency</strong></td><td>Enable or disable the overfrequency element (81O).</td></tr><tr><td><strong>Level 1</strong></td><td>Overfrequency threshold (Hz).</td></tr><tr><td><strong>Level 2</strong></td><td>Overfrequency threshold (Hz).</td></tr><tr><td><strong>Level 3</strong></td><td>Overfrequency threshold (Hz).</td></tr><tr><td><strong>Level 4</strong></td><td>Overfrequency threshold (Hz).</td></tr><tr><td><strong>Level 5</strong></td><td>Overfrequency threshold (Hz).</td></tr><tr><td><strong>Time 1</strong></td><td>Tripping delay associated with Level 1 (s).</td></tr><tr><td><strong>Time 2</strong></td><td>Tripping delay associated with Level 2 (s).</td></tr><tr><td><strong>Time 3</strong></td><td>Tripping delay associated with Level 3 (s).</td></tr><tr><td><strong>Time 4</strong></td><td>Tripping delay associated with Level 4 (s).</td></tr><tr><td><strong>Time 5</strong></td><td>Tripping delay associated with Level 5 (s).</td></tr></tbody></table>
{% endtab %}

{% tab title="Underfrequency" %}

<table><thead><tr><th width="250.60003662109375">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Enable Underfrequency</strong></td><td>Enable or disable the underfrequency element (81U).</td></tr><tr><td><strong>Level 1</strong></td><td>Underfrequency threshold (Hz).</td></tr><tr><td><strong>Level 2</strong></td><td>Underfrequency threshold (Hz).</td></tr><tr><td><strong>Level 3</strong></td><td>Underfrequency threshold (Hz).</td></tr><tr><td><strong>Level 4</strong></td><td>Underfrequency threshold (Hz).</td></tr><tr><td><strong>Level 5</strong></td><td>Underfrequency threshold (Hz).</td></tr><tr><td><strong>Time 1</strong></td><td>Tripping delay associated with Level 1 (s).</td></tr><tr><td><strong>Time 2</strong></td><td>Tripping delay associated with Level 2 (s).</td></tr><tr><td><strong>Time 3</strong></td><td>Tripping delay associated with Level 3 (s).</td></tr><tr><td><strong>Time 4</strong></td><td>Tripping delay associated with Level 4 (s).</td></tr><tr><td><strong>Time 5</strong></td><td>Tripping delay associated with Level 5 (s).</td></tr></tbody></table>
{% endtab %}

{% tab title="ROCOF" %}

<table><thead><tr><th width="251.4000244140625">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Enable ROCOF</strong></td><td>Enable or disable the ROCOF element (81R).</td></tr><tr><td><strong>Level</strong></td><td>ROCOF threshold (Hz/s).</td></tr><tr><td><strong>Time</strong></td><td>Tripping delay associated with Level 1 (s).</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

## Conservating ports

<table><thead><tr><th width="210">Input</th><th>Description</th></tr></thead><tbody><tr><td><strong>Vabc</strong></td><td>Three-phase voltages.</td></tr><tr><td><strong>Reset</strong></td><td>Reset signal for the relay. The relay resets when this input becomes 1.</td></tr></tbody></table>

## Inputs

This bloc has no inputs.

## Outputs

<table><thead><tr><th width="210">Output</th><th>Description</th></tr></thead><tbody><tr><td><strong>81O</strong></td><td>Overfrequency element output. Defaults to 0; becomes 1 when an overfrequency condition is detected.</td></tr><tr><td><strong>81U</strong></td><td>Underfrequency element output. Defaults to 0; becomes 1 when an underfrequency condition is detected.</td></tr><tr><td><strong>81R</strong></td><td>ROCOF element output. Defaults to 0; becomes 1 when a ROCOF condition is detected.</td></tr></tbody></table>


---

# 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/81-frequency-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.
