> 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/hypersim/library-blocks-reference/control-smart-inverters/protection-latch.md).

# Protection Latch

## Description

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-c75d1c2528e63bbe1b9ce06a45dc56eec712c72c%2FCSI_protection_latch_block.png?alt=media" alt=""><figcaption></figcaption></figure>

The **Protection Latch** block, located in the **Control Smart Inverters library**, integrates trip signals from protection blocks into a single latched disable signal. The disable output remains asserted until a clear input is received.

{% 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://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-81ef377aad4953cc626f9b05d70a8db612692e11%2FCSI_protection_latch_mask.png?alt=media" alt="" width="434"><figcaption></figcaption></figure>

<table><thead><tr><th width="190">Parameter</th><th>Description</th><th width="140">Variable &#x26; Constraints</th></tr></thead><tbody><tr><td><strong>Bridge Protection</strong></td><td>Enables or disables the bridge protection logic.</td><td>B_prot ∈ {0, 1}</td></tr><tr><td><strong>Voltage Protection</strong></td><td>Enables or disables the voltage protection logic.</td><td>V_prot ∈ {0, 1}</td></tr><tr><td><strong>Frequency Protection</strong></td><td>Enables or disables the frequency protection logic.</td><td>F_prot ∈ {0, 1}</td></tr><tr><td><strong>Initial Value of Disable</strong></td><td>Sets the initial value of the Disable output until the Initialization Freeze Time elapses.</td><td>dis_init ∈ {0, 1}</td></tr><tr><td><strong>Initialization Freeze Time (s)</strong></td><td>Duration after start-up during which the block ignores abnormal conditions.</td><td>t_freeze unconstrained</td></tr></tbody></table>

## Inputs

| Input     | Description                                          |
| --------- | ---------------------------------------------------- |
| **OC**    | Over-current event flag.                             |
| **U/O V** | Under- or over-voltage event flag.                   |
| **U/O F** | Under- or over-frequency event flag.                 |
| **ROCOF** | Over rate of change of frequency (ROCOF) event flag. |
| **CLR**   | Clear command to reset the latched Disable output.   |

## Outputs

| Output      | Description                                                        |
| ----------- | ------------------------------------------------------------------ |
| **Disable** | Latched output that disables the converter and all control layers. |

## 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.

\[3] U.S. National Renewable Energy Laboratory, "Study and Development of Anti-Islanding Control for Grid-Connected Inverters," Golden, CO, 2004.

## Intellectual Property and Acknowledgements

{% 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/hypersim/library-blocks-reference/control-smart-inverters/protection-latch.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.
