> 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/model-and-simulation/import-models-from-external-software-or-code/import-from-emtp/adjust-machines.md).

# Adjust Machines

This page provides guidelines to identify and proactively address saturation modeling discrepancies in synchronous and asynchronous machines between EMTP and HYPERSIM.

## Adjustment procedure

{% stepper %}
{% step %}

## Verify saturation characteristic definition

Check how the machine saturation characteristic is defined in the model. In EMTP, the saturation curve is typically defined using multiple points or piecewise-linear segments, while HYPERSIM uses an **analytical model** defined by the parameters **EU, EL, SGL, and SGU**.

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

**Issue:**

* HYPERSIM derives its saturation parameters from EMTP data at **Vt = 1.0 pu and 1.2 pu**
* The saturation curve is reconstructed using a fixed number of points
* HYPERSIM represents saturation **only on the D-axis** (Q-axis saturation is not considered)
  {% endstep %}

{% step %}

## Validate saturation curve representation

Check if the EMTP saturation characteristic uses a limited number of segments or simple linear approximations.

**Issue:**

* EMTP curves defined with few segments may not accurately map to the analytical model used in HYPERSIM
* HYPERSIM internally generates **eight points** for the saturation curve at:\
  $$Vt=\[0.8, 0.9, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5]V\_t = \[0.8,\ 0.9,\ 1.0,\ 1.1,\ 1.2,\ 1.3,\ 1.4,\ 1.5]$$
* The characteristic is:
  * **Linear** from 0 to 0.8 pu
  * **Nonlinear** above 0.8 pu
    {% endstep %}

{% step %}

## Adjust saturation curve for compatibility

Ensure the saturation characteristic is adequately defined to match HYPERSIM behavior:

* Use **multiple segments** to represent the EMTP saturation curve
* Prefer at least **three segments** for a reasonable approximation
* For improved consistency with HYPERSIM:
  * Define a curve equivalent to the **eight-point characteristic** used internally
  * Ensure the curve shape aligns with the expected nonlinear behavior above 0.8 pu
    {% endstep %}
    {% endstepper %}


---

# 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/model-and-simulation/import-models-from-external-software-or-code/import-from-emtp/adjust-machines.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.
