> 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/microgrid-testbed-library/curtailment-management.md).

# Curtailment Management

## Description

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

The **Power Curtailment** block, located in the **microGrid Testbed/Control** library, interfaces with the power curtailment logic that governs power distribution between wind-turbine (WT) and photo-voltaic (PV) generation systems.

{% hint style="danger" %}
This block requires a valid RT-LAB license on both the workstation and the simulator, with the OP1420 feature enabled. For more information, see [Microgrid Control & DERs](https://www.opal-rt.com/docs/rt-lab/model-and-simulation/power-systems-with-artemis/microgrid-control-and-ders.md).
{% endhint %}

## Mask parameters

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

| Parameter    | Description                                     |
| ------------ | ----------------------------------------------- |
| Sample Time  | Specifies the block sample time in seconds (s). |
| {% endtab %} |                                                 |

{% tab title="PVGS Parameters" %}

<table><thead><tr><th width="249.79998779296875">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Trip signal time delay</strong></td><td>Applies a time delay to the generator trip signal in seconds (s).</td></tr><tr><td><strong>Minimum curtailment power</strong></td><td>Sets the minimum power, in per-unit (pu), that can trigger the curtailment signal.</td></tr><tr><td><strong>Maximum curtailment power</strong></td><td>Sets the maximum power threshold, in per-unit (pu), beyond which the generation system trips.</td></tr><tr><td><strong>Curtailment time delay</strong></td><td>Applies a time delay to the curtailment signal in seconds (s).</td></tr><tr><td><strong>Power difference deadzone limits [MIN MAX]</strong></td><td>Defines the minimum and maximum limits, in per-unit (pu), of the deadzone for the difference between the set reference power and curtailment power.</td></tr><tr><td><strong>Power difference saturation limits [UPPER LOWER]</strong></td><td>Defines the lower and upper bounds, in per-unit (pu), of the saturation for the difference between the set reference power and curtailment power.</td></tr></tbody></table>
{% endtab %}

{% tab title="WTGS Parameters" %}

<table><thead><tr><th width="251.4000244140625">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Trip signal time delay</strong></td><td>Applies a time delay to the generator trip signal in seconds (s).</td></tr><tr><td><strong>Minimum curtailment power</strong></td><td>Sets the minimum power, in per-unit (pu), that can trigger the curtailment signal.</td></tr><tr><td><strong>Maximum curtailment powe</strong>r</td><td>Sets the maximum power threshold, in per-unit (pu), beyond which the generation system trips.</td></tr><tr><td><strong>Curtailment time delay</strong></td><td>Applies a time delay to the curtailment signal in seconds (s).</td></tr><tr><td><strong>Power difference deadzone limits [MIN MAX]</strong></td><td>Defines the minimum and maximum limits, in per-unit (pu), of the deadzone for the difference between the set reference power and curtailment power.</td></tr><tr><td><strong>Power difference saturation limits [UPPER LOWER]</strong></td><td>Defines the lower and upper bounds, in per-unit (pu), of the saturation for the difference between the set reference power and curtailment power.</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

## Inputs

<table><thead><tr><th width="230">Input</th><th>Description</th></tr></thead><tbody><tr><td><strong>PV P ref</strong></td><td>Reference power for the PV generation system in per-unit (pu).</td></tr><tr><td><strong>WT P ref</strong></td><td>Reference power for the WT generation system in per-unit (pu).</td></tr><tr><td><strong>Curtail P ref</strong></td><td>Power reference to be curtailed in per-unit (pu).</td></tr></tbody></table>

## Outputs

<table><thead><tr><th width="240.4000244140625">Output</th><th>Description</th></tr></thead><tbody><tr><td><strong>P ref WT</strong></td><td>Reference power output for the WTGS.</td></tr><tr><td><strong>Curtail enable WT</strong></td><td>WTGS curtailment status. 1: curtailment on; 0: curtailment off.</td></tr><tr><td><strong>P ref PV</strong></td><td>Reference power output for the PVGS.</td></tr><tr><td><strong>Curtail enable PV</strong></td><td>PVGS curtailment status. 1: curtailment on; 0: curtailment off.</td></tr><tr><td><strong>PV trip</strong></td><td>PVGS trip signal status. 1: the unit is tripped; 0: the unit is not tripped.</td></tr><tr><td><strong>WT trip</strong></td><td>WTGS trip signal status. 1: the unit is tripped; 0: the unit is not tripped.</td></tr><tr><td><strong>Curtail enable</strong></td><td>Curtailment signal status. 1: curtailment is in effect; 0: curtailment is not in effect.</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/microgrid-testbed-library/curtailment-management.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.
