> 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-governors/ieee-degov1.md).

# IEEE DEGOV1

## Description

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-3a7badad659bdcb417d7e3f0badf70dcecfce92d%2Fimage%20(778).png?alt=media" alt="" width="220"><figcaption></figcaption></figure>

The **IEEE DEGOV1** block, located in the **Control Governors** library, is the Woodward diesel generator governor model, developed according to the governor–turbine architecture described in references \[1–3]. The model includes an electric actuator, a fuel injection actuator, and the diesel engine.

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-4abf2472972beee82dcd46c56d36883f0f579076%2Fimage%20(779).png?alt=media" alt=""><figcaption><p>DEGOV1 diagram</p></figcaption></figure>

{% hint style="info" %}
The HYPERSIM<sup>®</sup> simulation option Set Initial Conditions must be checked for the automatic initialization to work properly.
{% endhint %}

## Mask parameters

{% tabs %}
{% tab title="DEGOV1" %}

| Parameter    | Description                                                                                                                  |
| ------------ | ---------------------------------------------------------------------------------------------------------------------------- |
| **Selector** | <p>Feedback source selector (Boolean):<br>0 = feedback from actuator output;<br>1 = feedback from electrical port output</p> |
| **T1**       | Electric control box time constant (s)                                                                                       |
| **T2**       | Electric control box time constant (s)                                                                                       |
| **T3**       | Electric control box time constant (s)                                                                                       |
| **T4**       | Actuator time constant (s)                                                                                                   |
| **T5**       | Actuator time constant (s)                                                                                                   |
| **T6**       | Actuator time constant (s)                                                                                                   |
| **K**        | Actuator gain (pu)                                                                                                           |
| **TD**       | Engine time delay (s)                                                                                                        |
| **R**        | Droop (pu)                                                                                                                   |
| **TE**       | Power droop time constant (s)                                                                                                |
| **Pm0**      | Initial mechanical power output (pu)                                                                                         |
| **Tmax**     | Maximum limit (pu)                                                                                                           |
| **Tmin**     | Minimum limit (pu)                                                                                                           |

{% hint style="danger" %}
**The variable TD for transport delay has a maximum buffer size of 20,000 input points**.

For example, at 5 us, the maximum TD allowed is 100 ms : *TD = 20000 \* 5us = 100 ms*
{% endhint %}
{% endtab %}

{% tab title="Initial values" %}

| Parameter | Description               |
| --------- | ------------------------- |
| **Pm0**   | Initial power output (pu) |

{% hint style="info" %}
The initial power output can be set manually by entering a numerical value, or automatically from load flow calculations by entering a referenced synchronous machine variable. Machine variables are available in the machine netlist.
{% endhint %}

For example, if the synchronous machine name is “SM1”, set Pm0 as “=SM1.Peo/SM1.BaseMVA” if a thermal machine or a hydraulic machine is used, and as “=SM1.lfP/1e6/SM1.sBase” if a pu standard or a pu fundamental machine is used, where Peo and IfP are the initial power outputs of the machines, respectively
{% endtab %}
{% endtabs %}

## Inputs

| Input    | Description                          |
| -------- | ------------------------------------ |
| **wref** | Reference speed of the governor (pu) |
| **w**    | Actual machine speed (pu)            |
| **VAR**  | External reference (e.g., Pref) (pu) |
| **Pe**   | Electrical power input (pu)          |

{% hint style="danger" %}
**Vuel** and **Voel** are normally inputs for this excitation system. You can choose fixed constant values directly in the mask by selecting the “internal” option.
{% endhint %}

The observable field current Ifd from the synchronous machine in HYPERSIM needs to be multiplied in its current version by the machine’s Xad = Xd – Xl prior to its input to the exciter if a thermal machine or a hydraulic machine is used. This multiplication is not required if a pu standard or pu fundamental machine is used.

## Outputs

| Output | Description                  |
| ------ | ---------------------------- |
| **Pm** | Mechanical power output (pu) |

## References

1. P. Kundur, Power System Stability and Control, New York:McGraw-Hill, 1994.
2. NEPLAN AG. Turbine-Governor Models, Standard Dynamic Turbine-Governor Systems in NEPLAN Power System Analysis Tool; NEPLAN: CH-8700 Küsnacht (ZH), Switzerland, 2013; p. 91.
3. PSS®E 34.2.0 Model Library. NY, USA: Siemens Industry, Inc., 2017.


---

# 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-governors/ieee-degov1.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.
