> 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/5051-overcurrent-relay.md).

# 5051 Overcurrent Relay

## Description

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

The **Overcurrent relay** block, located in the **ARTEMiS/Tools/Protection Relays** library, implements the 50P (instantaneous or definite-time phase overcurrent), 50N (instantaneous or definite-time neutral overcurrent), 51P (inverse-time phase overcurrent), and 51N (inverse-time neutral overcurrent) elements. 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-c7535f0e0a938230c64b41da4ef684ce92135275%2FArtemis_5051_overcurrent_relay_schem.png?alt=media" alt="" width="563"><figcaption><p>Tripping logic of the relay</p></figcaption></figure>

The relay trips when the monitored current exceeds its pickup setting. A time delay allows the relay to ride through momentary disturbances and avoid nuisance operation.

For 50P and 50N, a zero time delay makes the element instantaneous; any nonzero time delay makes it definite-time. A trip is issued only if the measured current remains above the pickup value longer than the configured delay; otherwise, the internal timer resets.

The 51P and 51N elements apply the same timing and reset mechanisms but use inverse-time characteristics defined by either standardized curves (IEC or US) or a user-defined custom curve. The relay trips if any enabled element among 50P (per phase), 50N, 51P (per phase), or 51N asserts a trip.

Elements 50P and 51P use phase currents. Elements 50N and 51N use the zero-sequence current defined as I0 = (1/3) × (Ia + Ib + Ic).

Inverse-time operation (51P and 51N) is determined using a time dial multiplier (TD) and a selected curve type. Setting TD = 0 makes the response instantaneous. If overcurrent exceeds the pickup level and custom curves are not enabled, the trip time is computed as:

<p align="center"><span class="math">T = TD \times \left[ a + \frac{b}{\left( \left( \frac{I}{I_{\text{pickup}}} \right)^c - 1 \right)} \right]</span></p>

Parameters a, b, and c depend on the selected curve. The model provides five US standard curve types (U Series) and five IEC curve types (C Series). The US coefficients are based on values used by SEL relays and follow the IEEE C37.112-2018 equation. The IEC curves use the same equation and coefficients per IEC 60255 for inverse-time overcurrent relays.

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

<details>

<summary>Parameter values a, b, and c depending on the selected curve</summary>

| Curve name | Curve shape        | a       | b       | c    |
| ---------- | ------------------ | ------- | ------- | ---- |
| US (U1)    | Moderately Inverse | 0.0226  | 0.0104  | 0.02 |
| US (U2)    | Inverse            | 0.180   | 5.95    | 2    |
| US (U3)    | Very Inverse       | 0.0963  | 3.88    | 2    |
| US (U4)    | Extremely Inverse  | 0.0352  | 5.67    | 2    |
| US (U5)    | Short-time Inverse | 0.00262 | 0.00342 | 0.02 |
| IEC (C1)   | Standard Inverse   | 0       | 0.14    | 0.02 |
| IEC (C2)   | Very Inverse       | 0       | 13.5    | 1    |
| IEC (C3)   | Extremely Inverse  | 0       | 80      | 2    |
| IEC (C4)   | Long-time Inverse  | 0       | 120     | 1    |
| IEC (C5)   | Short-time Inverse | 0       | 0.05    | 0.04 |

</details>

Custom inverse-time curves (51P/51N) use five user-defined data points (Level 1 to Level 5). Each point specifies a pickup current and an associated delay time. The operating time for a given current is determined by linear interpolation between the two adjacent levels that bound the measured current.

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-dbf0aef94016fc001dbc096429bcb95ff46b642b%2FArtemis_5051_overcurrent_relay_level5_curve.png?alt=media" alt="" width="303"><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-db0ad41fe141eec532957e2117a6a5217aad74ba%2FArtemis_5051_overcurrent_relay_mask.png?alt=media" alt=""><figcaption></figcaption></figure>

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

| Parameter        | Description                                                                           |
| ---------------- | ------------------------------------------------------------------------------------- |
| **Frequency**    | Fundamental frequency of the measured current signals (Hz). Supports 50 Hz and 60 Hz. |
| **Base current** | Base value for current (A).                                                           |
| **Sample Time**  | Block sample time (s).                                                                |
| {% endtab %}     |                                                                                       |

{% tab title="Definite-time 50P" %}

| Parameter                       | Description                                                    |
| ------------------------------- | -------------------------------------------------------------- |
| **Enable 50P**                  | Enable or disable the definite-time phase overcurrent element. |
| **Pickup current in 50P relay** | Pickup current for the 50P element (pu).                       |
| **Delay time in 50P relay**     | Time delay for the 50P element (s).                            |
| {% endtab %}                    |                                                                |

{% tab title="Inverse-time 51P" %}

<table><thead><tr><th width="255.39990234375">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Enable 51P</strong></td><td>Enable or disable the inverse-time phase overcurrent element.</td></tr><tr><td><strong>Pickup current 51P</strong></td><td>Pickup current for the 51P element (pu).</td></tr><tr><td><strong>Time Dial</strong></td><td>Time dial multiplier.</td></tr><tr><td><strong>Curve types</strong></td><td>Inverse-time curve based on IEC or US standard: U1 (U.S. Moderately Inverse), U2 (U.S. Inverse), U3 (U.S. Very Inverse), U4 (U.S. Extremely Inverse), U5 (U.S. Short-time Inverse), C1 (IEC Class A Standard Inverse), C2 (IEC Class B Very Inverse), C3 (IEC Class C Extremely Inverse), C4 (IEC Long-time Inverse), C5 (IEC Short-time Inverse).</td></tr><tr><td><strong>Customized curve</strong></td><td>Use custom curve instead of a standard time curve.</td></tr><tr><td><strong>Pickup current — Level 1</strong></td><td>Pickup current for Level 1 in the 51P custom curve (pu).</td></tr><tr><td><strong>Pickup current — Level 2</strong></td><td>Pickup current for Level 2 in the 51P custom curve (pu).</td></tr><tr><td><strong>Pickup current — Level 3</strong></td><td>Pickup current for Level 3 in the 51P custom curve (pu).</td></tr><tr><td><strong>Pickup current — Level 4</strong></td><td>Pickup current for Level 4 in the 51P custom curve (pu).</td></tr><tr><td><strong>Pickup current — Level 5</strong></td><td>Pickup current for Level 5 in the 51P custom curve (pu).</td></tr><tr><td><strong>Pickup time — Time for level 1</strong></td><td>Delay time for Level 1 in the 51P custom curve (s).</td></tr><tr><td><strong>Pickup time — Time for level 2</strong></td><td>Delay time for Level 2 in the 51P custom curve (s).</td></tr><tr><td><strong>Pickup time — Time for level 3</strong></td><td>Delay time for Level 3 in the 51P custom curve (s).</td></tr><tr><td><strong>Pickup time — Time for level 4</strong></td><td>Delay time for Level 4 in the 51P custom curve (s).</td></tr><tr><td><strong>Pickup time — Time for level 5</strong></td><td>Delay time for Level 5 in the 51P custom curve (s).</td></tr></tbody></table>
{% endtab %}

{% tab title="Definite-time 50N" %}

<table><thead><tr><th width="240.20001220703125">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Enable 50N</strong></td><td>Enable or disable the definite-time neutral overcurrent element.</td></tr><tr><td><strong>Pickup current in 50N relay</strong></td><td>Pickup current for the 50N element (pu).</td></tr><tr><td><strong>Delay time in 50N relay</strong></td><td>Time delay for the 50N element (s).</td></tr></tbody></table>
{% endtab %}

{% tab title="Inverse-time 51N" %}

<table><thead><tr><th width="256.199951171875">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Enable 51N</strong></td><td>Enable or disable the inverse-time neutral overcurrent element.</td></tr><tr><td><strong>Pickup current 51N</strong></td><td>Pickup current for the 51N element (pu).</td></tr><tr><td><strong>Time Dial</strong></td><td>Time dial multiplier.</td></tr><tr><td><strong>Curve types</strong></td><td>Inverse-time curve based on IEC or US standard: U1 (U.S. Moderately Inverse), U2 (U.S. Inverse), U3 (U.S. Very Inverse), U4 (U.S. Extremely Inverse), U5 (U.S. Short-time Inverse), C1 (IEC Class A Standard Inverse), C2 (IEC Class B Very Inverse), C3 (IEC Class C Extremely Inverse), C4 (IEC Long-time Inverse), C5 (IEC Short-time Inverse).</td></tr><tr><td><strong>Customized curve</strong></td><td>Use custom curve instead of a standard time curve.</td></tr><tr><td><strong>Pickup current — Level 1</strong></td><td>Pickup current for Level 1 in the 51N custom curve (pu).</td></tr><tr><td><strong>Pickup current — Level 2</strong></td><td>Pickup current for Level 2 in the 51N custom curve (pu).</td></tr><tr><td><strong>Pickup current — Level 3</strong></td><td>Pickup current for Level 3 in the 51N custom curve (pu).</td></tr><tr><td><strong>Pickup current — Level 4</strong></td><td>Pickup current for Level 4 in the 51N custom curve (pu).</td></tr><tr><td><strong>Pickup current — Level 5</strong></td><td>Pickup current for Level 5 in the 51N custom curve (pu).</td></tr><tr><td><strong>Pickup time — Time for level 1</strong></td><td>Delay time for Level 1 in the 51N custom curve (s).</td></tr><tr><td><strong>Pickup time — Time for level 2</strong></td><td>Delay time for Level 2 in the 51N custom curve (s).</td></tr><tr><td><strong>Pickup time — Time for level 3</strong></td><td>Delay time for Level 3 in the 51N custom curve (s).</td></tr><tr><td><strong>Pickup time — Time for level 4</strong></td><td>Delay time for Level 4 in the 51N custom curve (s).</td></tr><tr><td><strong>Pickup time — Time for level 5</strong></td><td>Delay time for Level 5 in the 51N custom curve (s).</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

## Conservating blocs

<table><thead><tr><th width="251.5999755859375">Port</th><th>Description</th></tr></thead><tbody><tr><td><strong>I</strong><sub><strong>abc</strong></sub></td><td>Three-phase currents.</td></tr><tr><td><strong>Reset</strong></td><td>Relay reset signal. The relay resets when this input is 1.</td></tr><tr><td><strong>Trip</strong></td><td>Relay trip output. Default is 0; becomes 1 when an overcurrent condition is detected.</td></tr></tbody></table>

## Outputs

<table><thead><tr><th width="250">Output</th><th>Description</th></tr></thead><tbody><tr><td><strong>m</strong></td><td>Vector of monitoring signals for each protection element:</td></tr></tbody></table>

<details>

<summary>m: vector of monitoring signals</summary>

<table><thead><tr><th width="82.79998779296875">Name</th><th>Description</th></tr></thead><tbody><tr><td>_50P</td><td>A three-dimension output of 50P, in the order of phase A, B, C</td></tr><tr><td>_51P</td><td>A three-dimension output of 51P, in the order of phase A, B, C</td></tr><tr><td>_50N</td><td>Output of 50N</td></tr><tr><td>_51N</td><td>Output of 51N</td></tr></tbody></table>

</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/5051-overcurrent-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.
