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

# 505167 Directional 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-31a86ffede0da91fa057a4b5d48403a988383735%2FArtemis_505167_direct_overcurrent_relay_block.png?alt=media" alt="" width="151"><figcaption></figcaption></figure>

The **Directional Overcurrent Relay (50-51-67)** block, located in the **ARTEMiS/Tools/Protection Relays** library, combines nondirectional overcurrent elements (50P, 50N, 51P, 51N) with directional elements (67P, 67N) to trip only when the current exceeds a pickup threshold and flows in the specified direction.

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-efaca50af1190553f7db052dc592dd507b4d86c7%2FArtemis_505167_direct_overcurrent_relay_schem.png?alt=media" alt="" width="563"><figcaption><p>Concept of how the relay operates</p></figcaption></figure>

The 67 model determines direction by comparing the phase angle between an operating quantity (fault current) and a polarizing quantity. The polarizing quantity serves as the reference, and the Element Characteristic Angle (ECA) shifts the comparison to define forward and reverse operating regions. The directional element can either enable tripping or provide a blocking signal to the overcurrent elements. The model supports 50 Hz and 60 Hz systems.

**67P (phase directional)** uses phase current as the operating quantity and line-to-line voltage as the polarizing quantity. Because phase voltage may be depressed during faults, line-to-line voltage is used and shifted by the user-defined ECA.

* If the phase-to-phase voltage drops below 0.1 pu, the model uses memorized voltage from three cycles earlier for direction discrimination. When enabled, “Block after voltage memory expiration” blocks 67P-controlled phase overcurrent once the memorized voltage expires; when disabled, 67P can still permit tripping after memory expiration.
* If phase current exceeds 0.05 pu, the 67P output indicates direction: forward (1) or reverse (0). Forward is used for tripping; reverse blocks tripping.

**67N (neutral directional)** uses zero-sequence current as the operating quantity:

<p align="center">I<sub>0</sub> = (1/3)·I<sub>N</sub> = (1/3)·(I<sub>A</sub> + I<sub>B</sub> + I<sub>C</sub>).</p>

A positive-sequence restraint is applied:

<p align="center">I<sub>op</sub> = 3·(I<sub>0</sub> − K·I<sub>1</sub>), with K recommended at 1/16 (user-adjustable).</p>

Direction is determined by the angle between operating and polarizing quantities, using user-defined pickup currents and limit angles for forward and reverse. 67N provides two direction outputs (forward and reverse). Non-operating zones exist where both outputs are zero. In Dual polarization, forward is treated as the main direction if both forward and reverse would assert simultaneously. The 67N output serves as the tripping signal to the neutral overcurrent element, selectable from forward or reverse direction.

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-e67b5bb458896a44c03f61e6acee9c366b9c9cb0%2Fimage.png?alt=media" alt="" width="563"><figcaption><p>The different directional elements in 67.</p></figcaption></figure>

{% hint style="info" %}
In Dual polarization for 67N, forward direction prevails if both forward and reverse evaluate as true at the same time.
{% endhint %}

For nondirectional overcurrent details (50P, 51P, 50N, 51N), see the [50-51 relay documentation](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/artemis-library/5051-overcurrent-relay.md).

{% 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-a2cd835ddefae800ffde6b42b42e940495d27f52%2FArtemis_505167_direct_overcurrent_relay_mask.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The parameters for 50P, 51P, and 51N are covered in the [50-51 relay documentation](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/artemis-library/5051-overcurrent-relay.md).
{% endhint %}

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

<table><thead><tr><th width="281.79998779296875">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Frequency</strong></td><td>System frequency of the measured current signals (Hz). Supports 50 Hz and 60 Hz.</td></tr><tr><td><strong>Base current</strong></td><td>Base value for current (A).</td></tr><tr><td><strong>Base voltage</strong></td><td>Base value for voltage (V).</td></tr><tr><td><strong>Sample Time</strong></td><td>Block sample time (s).</td></tr><tr><td><strong>Enable directional components</strong></td><td>Enable the directional elements (67P, 67N).</td></tr></tbody></table>
{% endtab %}

{% tab title="Phase directional overcurrent" %}

<table><thead><tr><th width="280.20001220703125">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Enable phase directional 67P</strong></td><td>Enable 67P to control phase overcurrent tripping.</td></tr><tr><td><strong>ECA (67P)</strong></td><td>Element Characteristic Angle for 67P (degrees).</td></tr><tr><td><strong>Blocking signal when voltage memory expires</strong></td><td>When enabled, sends a blocking signal once voltage memory expires in 67P.</td></tr></tbody></table>

{% hint style="info" %}
When “Blocking signal when voltage memory expires” is enabled, 67P blocks phase overcurrent once the memorized voltage expires; disable it if tripping should still be permitted after memory expiration.
{% endhint %}
{% endtab %}

{% tab title="Neutral directional overcurrent" %}

<table><thead><tr><th width="277.800048828125">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Enable neutral directional 67N</strong></td><td>Enable 67N to control neutral overcurrent tripping.</td></tr><tr><td><strong>Choose directional element for tripping</strong></td><td>Select which 67N direction is used to trip: Forward (1) or Reverse (2).</td></tr><tr><td><strong>Positive sequence restraint factor (K)</strong></td><td>Factor K used in the positive-sequence restraint for 67N operating current (recommended 1/16).</td></tr><tr><td><strong>ECA (67N)</strong></td><td>Element Characteristic Angle for 67N (degrees). Used with voltage polarization.</td></tr><tr><td><strong>Polarization mode</strong></td><td>Select the 67N polarization mode: Current (1), Voltage (3), or Dual (2).</td></tr><tr><td><strong>Enable ground calculation (current polarization)</strong></td><td>Enable ground current and voltage calculations used by current polarization.</td></tr><tr><td><strong>Forward direction pickup current</strong></td><td>Pickup current for forward directional discrimination (pu).</td></tr><tr><td><strong>Reverse direction pickup current</strong></td><td>Pickup current for reverse directional discrimination (pu).</td></tr><tr><td><strong>Forward direction limit angle</strong></td><td>Limit angle for forward directional discrimination (degrees).</td></tr><tr><td><strong>Reverse direction limit angle</strong></td><td>Limit angle for reverse directional discrimination (degrees).</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

## Conservating ports

<table><thead><tr><th width="239.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>V</strong><sub><strong>abc</strong></sub></td><td>Three-phase voltages.</td></tr><tr><td><strong>I</strong><sub><strong>G</strong></sub></td><td>Ground current from the ground CT.</td></tr><tr><td><strong>V</strong><sub><strong>G</strong></sub></td><td>Ground voltage from the ground VT.</td></tr><tr><td><strong>Reset</strong></td><td>Relay reset signal. When this signal becomes 1, the relay resets.</td></tr><tr><td><strong>Trip</strong></td><td>Overall relay trip. Defaults to 0; becomes 1 when overcurrent is detected in the desired direction.</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>Vector of multiple signals, to monitor the response of each protection element and direction of each element.</td></tr></tbody></table>

<details>

<summary>m: available monitoring signals</summary>

<table><thead><tr><th width="157.4000244140625">Output</th><th>Description</th></tr></thead><tbody><tr><td><strong>trip5051</strong></td><td>Trip from overcurrent elements only (excludes directional control).</td></tr><tr><td><strong>trip50P</strong></td><td>Instantaneous phase overcurrent trip [A, B, C].</td></tr><tr><td><strong>trip51P</strong></td><td>Inverse-time phase overcurrent trip [A, B, C].</td></tr><tr><td><strong>trip50N</strong></td><td>Instantaneous neutral overcurrent trip.</td></tr><tr><td><strong>trip51N</strong></td><td>Inverse-time neutral overcurrent trip.</td></tr><tr><td><strong>trip505167P</strong></td><td>Phase overcurrent trip under 67P directional control.</td></tr><tr><td><strong>dir67P</strong></td><td>67P direction indication [A, B, C]: 1 = forward, 0 = reverse.</td></tr><tr><td><strong>trip505167N</strong></td><td>Neutral overcurrent trip under 67N directional control.</td></tr><tr><td><strong>dir67NF</strong></td><td>67N forward direction indication (0 or 1).</td></tr><tr><td><strong>dir67NR</strong></td><td>67N reverse direction indication (0 or 1).</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/505167-directional-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.
