> 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/smart-inverter-library/voltage-protection.md).

# Voltage Protection

## Description

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

The \*\*voltage protection\*\*, located in the \*\*Smart Inverter Library\*\*, detects abnormal grid-voltage conditions using user-defined over-voltage and under-voltage regions, as specified in \\\[1]. Up to five regions can be defined for each event type. For each region, the block determines the power injection mode—mandatory operation, momentary cessation, or cease to energize—and reports it on the VRT\\\_Mode output.

{% hint style="danger" %}
This block requires a valid license on both the simulator and the workstation with the feature SMART INVERTER enabled.
{% 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-8c7c9d0668cc9866dcfe2d1ea21530a91a171bb6%2FCSI_RT_voltageprotection_mask1.png?alt=media" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="190.22222900390625">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Sample Time</strong></td><td>Computational time step (s)</td></tr></tbody></table>

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

{% tabs %}
{% tab title="Over-Voltage Range" %}

<table><thead><tr><th width="190">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Number of Over-Voltage Points</strong></td><td>Number of over-voltage regions delimited by a set of voltage points (maximum 5).</td></tr><tr><td><strong>Voltage Points [Point1,…, Point 5]</strong></td><td>Low-limit voltage values before reaching the respective over-voltage trip region (per-unit, pu).</td></tr><tr><td><strong>Time Points [Point1,…, Point 5]</strong></td><td>Time the converter must remain in a voltage region before tripping (s).</td></tr><tr><td><strong>Operating Mode</strong></td><td>Power injection mode reported on VRT_Mode (1: Mandatory Operation, 2: Momentary Cessation, 3: Cease to Energize).</td></tr></tbody></table>
{% endtab %}

{% tab title="Under-Voltage Range" %}

<table><thead><tr><th width="190">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Number of Under-Voltage Points</strong></td><td>Number of under-voltage regions delimited by a set of voltage points (maximum 5).</td></tr><tr><td><strong>Voltage Points [Point1,…, Point 5]</strong></td><td>Low-limit voltage values before reaching the respective under-voltage trip region (per-unit, pu).</td></tr><tr><td><strong>Time Points [Point1,…, Point 5]</strong></td><td>Time the converter must remain in a voltage region before tripping (s).</td></tr><tr><td><strong>Operating Mode</strong></td><td>Power injection mode reported on VRT_Mode (1: Mandatory Operation, 2: Momentary Cessation, 3: Cease to Energize).</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

## Inputs

| Input   | Description                                                  |
| ------- | ------------------------------------------------------------ |
| **Vpu** | Grid voltage at the point of common coupling (per-unit, pu). |

## Outputs

| Output        | Description                                                                                       |
| ------------- | ------------------------------------------------------------------------------------------------- |
| **UOV\_Trip** | Trip signal for under-voltage or over-voltage events.                                             |
| **VRT\_Mode** | Voltage ride-through mode (1: Mandatory Operation, 2: Momentary Cessation, 3: Cease to Energize). |

## Signals available for monitoring and external I/O connections (via sensors form)

All block inputs and outputs are available as signals for monitoring and for external I/O connections.

## References

**\[1]** IEEE, "IEEE Standard for Interconnection and Interoperability of Distributed Energy Resources with Associated Electric Power Systems Interfaces," IEEE Std 1547-2018 (Revision of IEEE Std 1547-2003), no. doi: 10.1109/IEEESTD.2018.8332112, pp. 1-138, 2018.

**\[2]** IEEE, "IEEE Standard Conformance Test Procedures for Equipment Interconnecting Distributed Energy Resources with Electric Power Systems and Associated Interfaces," IEEE Std 1547.1-2020, pp. 1-282, 2020.

{% hint style="danger" %}

## **Intellectual Property Disclaimer**

Natural Resources Canada owns all intellectual property rights in the Smart Inverter Modelling Toolbox software and related products.
{% endhint %}

{% hint style="info" %}

## Acknowledgements <a href="#acknowledgements" id="acknowledgements"></a>

The development of the <code class="expression">page.vars.block\_name</code> block in the Smart Inverter Control Library is a contribution of CanmetENERGY at Natural Resource Canada.
{% endhint %}


---

# 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/smart-inverter-library/voltage-protection.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.
