> 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-wesgov.md).

# IEEE WESGOV

## Description

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

The **IEEE WESGOV** block, located in the **Control Governors** library, implements the Westinghouse digital governor for gas turbines and was developed in line with reference \[1].

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-00eae860378210a2b09beea734b060cec8e734fe%2Fimage%20(766).png?alt=media" alt=""><figcaption><p>WESGOV 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

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

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

<table><thead><tr><th width="200.20001220703125">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>delTC</strong></td><td>Sample period for the speed measurement (s)</td></tr><tr><td><strong>delTP</strong></td><td>Sample period for the electrical power measurement (s)</td></tr><tr><td><strong>Droop</strong></td><td>Power droop (pu)</td></tr><tr><td><strong>KP</strong></td><td>Controller proportional gain</td></tr><tr><td><strong>Alim</strong></td><td>Maximum change between samples (pu)</td></tr><tr><td><strong>TI</strong></td><td>Controller integral time constant (s)</td></tr><tr><td><strong>T1</strong></td><td>Actuator time constant (s)</td></tr><tr><td><strong>T2</strong></td><td>Actuator time constant (s)</td></tr><tr><td><strong>Tpe</strong></td><td>Electrical power transducer time constant (s)</td></tr></tbody></table>
{% endtab %}

{% tab title="Initial values" %}

<table><thead><tr><th width="200.20001220703125">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Pm0</strong></td><td>Initial mechanical power output (pu)</td></tr><tr><td><strong>w0</strong></td><td>Speed reference (pu)</td></tr></tbody></table>

The **speed reference w0** can be set manually by entering a numerical value. It can also be set automatically from load flow results by entering a referenced synchronous machine variable available in the machine netlist.

* For a **pu standard or pu fundamental machine** named SM1, insert “=SM1.Wm\_Init”
* For a **thermal machine or a hydraulic machine** named SM1, insert "=SM1.wo”

Similarly, the **initial mechanical power output Pm0** can be set automatically.

* For a **pu standard or pu fundamental machine** named SM1, insert “=SM1.lfP/1e6/SM1.sBase”
* For a **thermal machine or a hydraulic machine** named SM1, insert “=SM1.Peo/SM1.BaseMVA”
  {% endtab %}
  {% endtabs %}

## Inputs

| Input   | Description                     |
| ------- | ------------------------------- |
| **w**   | Machine actual speed (pu)       |
| **Ref** | External control reference (pu) |
| **Pe**  | Measured electrical power (pu)  |

## Outputs

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

## References

\[1] 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-wesgov.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.
