> 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/model-and-simulation/phasor-domain-with-ephasorsim/integrate-a-power-system-model-to-ephasorsim/use-a-powerfactory-model/prepare-the-dgs-xml-file/turbine-governor-mapping.md).

# Turbine Governor Mapping

## Turbine governor data

Turbine governor data is imported from the **ElmDsl** section of the **DGS-XML** file. Depending on their PowerFactory configuration, the turbine governor components are mapped to different ePHASORSIM native library **Turbine-Governor** components.

The turbine governor name in the **DGS-XML** file depends on the version of PowerFactory:

* **PowerFactory 2022 and earlier:** turbine governor names use the prefix `gov_`.
* **PowerFactory 2023 and later:** turbine governor names use the prefix `gov_PSSE_`.

### GAST

`gov_GAST` or `gov_PSSE_GAST` components are mapped to the ePHASORSIM **GAST** turbine governor native library component.

| Parameter | Description                          |
| --------- | ------------------------------------ |
| `R`       | Speed droop \[pu]                    |
| `T1`      | Controller time constant \[s]        |
| `T2`      | Actuator time constant \[s]          |
| `T3`      | Compressor time constant \[s]        |
| `AT`      | Ambient temperature load limit \[pu] |
| `Kt`      | Turbine factor \[pu]                 |
| `Dturb`   | Friction losses factor \[pu]         |
| `Vmin`    | Controller minimum output \[pu]      |
| `Vmax`    | Controller maximum output \[pu]      |

### GGOV1

`gov_GGOV1` or `gov_PSSE_GGOV1` components are mapped to the ePHASORSIM **GGOV1** turbine governor native library component.

| Parameter | Description                                    |
| --------- | ---------------------------------------------- |
| `Ldref`   | Load limiter reference value \[pu]             |
| `Kturb`   | Turbine gain \[pu]                             |
| `Wfnl`    | No-load fuel flow \[pu]                        |
| `Kpload`  | Load limiter proportional gain \[pu]           |
| `Tfload`  | Load limiter time constant \[s]                |
| `Tsa`     | Temperature detection lead time constant \[s]  |
| `Tsb`     | Temperature detection lag time constant \[s]   |
| `Ka`      | Acceleration limiter gain \[pu/s]              |
| `Ta`      | Acceleration limiter time constant \[s]        |
| `Kimw`    | Power controller reset gain \[pu]              |
| `Tpelec`  | Electrical power transducer time constant \[s] |
| `Rselect` | Governor droop feedback selector \[-]          |
| `Aset`    | Acceleration limiter setpoint \[pu/s]          |
| `r`       | Permanent droop \[pu]                          |
| `db`      | Speed governor deadband \[pu]                  |
| `Kpgov`   | Governor proportional gain \[pu]               |
| `Kigov`   | Governor integral gain \[pu]                   |
| `Kdgov`   | Governor derivative gain \[pu]                 |
| `Tdgov`   | Governor derivative time constant \[s]         |
| `Tact`    | Actuator time constant \[s]                    |
| `Trate`   | Rated turbine power \[MW]                      |
| `Dm`      | Mechanical damping coefficient \[pu]           |
| `Flag`    | Fuel source coefficient selector \[-]          |
| `bf1`     | Turbine second-stage factor \[pu]              |
| `Teng`    | Diesel engine transport delay \[s]             |
| `Tc`      | Turbine lead time constant \[s]                |
| `Tb`      | Turbine lag time constant \[s]                 |
| `Tc`      | Temperature control \[°F]                      |
| `Kiload`  | Load limiter integral gain \[pu]               |
| `rdown`   | Maximum load-limit decrease rate \[pu/s]       |
| `minerr`  | Minimum speed error signal \[pu]               |
| `Vmin`    | Minimum valve position \[pu]                   |
| `rclose`  | Maximum valve closing rate \[pu/s]             |
| `rup`     | Maximum load-limit increase rate \[pu/s]       |
| `maxerr`  | Maximum speed error signal \[pu]               |
| `Vmax`    | Maximum valve position \[pu]                   |
| `ropen`   | Maximum valve opening rate \[pu/s]             |

### HYGOV

`gov_HYGOV` or `gov_PSSE_HYGOV` components are mapped to the ePHASORSIM **HYGOV** turbine governor native library component.

| Parameter | Description                  |
| --------- | ---------------------------- |
| `r`       | Temporary droop \[pu]        |
| `Tr`      | Governor time constant \[s]  |
| `Tf`      | Filter time constant \[s]    |
| `Tg`      | Servo time constant \[s]     |
| `Tw`      | Water starting time \[s]     |
| `At`      | Turbine gain \[pu]           |
| `Dturb`   | Friction losses factor \[pu] |
| `qnl`     | No-load flow \[pu]           |
| `R`       | Permanent droop \[pu]        |
| `Gmin`    | Minimum gate position \[pu]  |
| `Velm`    | Gate velocity limit \[pu/s]  |
| `Gmax`    | Maximum gate position \[pu]  |

### IEEEG1

`gov_IEEEG1` or `gov_PSSE_IEEEG1` components are mapped to the ePHASORSIM **IEEEG1** turbine governor native library component.

| Parameter  | Description                                      |
| ---------- | ------------------------------------------------ |
| `K`        | Controller gain \[pu]                            |
| `T1`       | Governor time constant \[s]                      |
| `T2`       | Governor derivative time constant \[s]           |
| `T3`       | Servo time constant \[s]                         |
| `K1`, `K2` | High-pressure turbine factors \[pu]              |
| `T5`       | Intermediate-pressure turbine time constant \[s] |
| `K3`, `K4` | Intermediate-pressure turbine factors \[pu]      |
| `T6`       | Medium-pressure turbine time constant \[s]       |
| `K5`, `K6` | Medium-pressure turbine factors \[pu]            |
| `T4`       | High-pressure turbine time constant \[s]         |
| `T7`       | Low-pressure turbine time constant \[s]          |
| `K7`, `K8` | Low-pressure turbine factors \[pu]               |
| `Uc`       | Valve closing rate \[pu/s]                       |
| `Pmin`     | Minimum gate position \[pu]                      |
| `Uo`       | Valve opening rate \[pu/s]                       |
| `Pmax`     | Maximum gate position \[pu]                      |

{% hint style="info" %}
`PNhp` and `PNlp` parameters are deprecated and not considered at import.
{% endhint %}

### IEEEG2

`gov_IEEEG2` or `gov_PSSE_IEEEG2` components are mapped to the ePHASORSIM **IEEEG2** turbine governor native library component.

| Parameter | Description                            |
| --------- | -------------------------------------- |
| `K`       | Controller gain \[pu]                  |
| `T1`      | Governor time constant \[s]            |
| `T2`      | Governor derivative time constant \[s] |
| `T3`      | Servo time constant \[s]               |
| `T4`      | Water starting time \[s]               |
| `Pmin`    | Minimum gate position \[pu]            |
| `Pmax`    | Maximum gate position \[pu]            |

### IEESGO

`gov_IEESGO` or `gov_PSSE_IEESGO` components are mapped to the ePHASORSIM **IEESGO** turbine governor native library component.

| Parameter | Description                                                                                  |
| --------- | -------------------------------------------------------------------------------------------- |
| `T1`      | Governor time constant \[s]                                                                  |
| `T2`      | Governor derivative time constant \[s]                                                       |
| `K1`      | Controller gain \[pu]                                                                        |
| `T3`      | Servo time constant \[s]                                                                     |
| `T4`      | Steam chest and inlet piping time constant \[s]                                              |
| `K3`      | Low-pressure turbine factor \[pu]                                                            |
| `T6`      | Intermediate- and low-pressure turbine time constant \[s]                                    |
| `K2`      | High-pressure turbine factor \[pu]                                                           |
| `T5`      | Reheater time constant \[s]                                                                  |
| `PN`      | Rated turbine power \[MW]. Defaults to `0` when imported from PowerFactory 2022 and earlier. |
| `Pmin`    | Minimum gate position \[pu]                                                                  |
| `Pmax`    | Maximum gate position \[pu]                                                                  |

### TGOV1

`gov_TGOV1` or `gov_PSSE_TGOV1` components are mapped to the ePHASORSIM **TGOV1** turbine governor native library component.

| Parameter | Description                           |
| --------- | ------------------------------------- |
| `T3`      | Turbine delay time constant \[s]      |
| `T2`      | Turbine derivative time constant \[s] |
| `Dt`      | Friction losses factor \[pu]          |
| `R`       | Governor droop \[pu]                  |
| `T1`      | Governor time constant \[s]           |
| `Vmin`    | Minimum gate position \[pu]           |
| `Vmax`    | Maximum gate position \[pu]           |

{% hint style="info" %}
`At` parameter is deprecated and not considered at import.
{% 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/model-and-simulation/phasor-domain-with-ephasorsim/integrate-a-power-system-model-to-ephasorsim/use-a-powerfactory-model/prepare-the-dgs-xml-file/turbine-governor-mapping.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.
