> 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/phasor-domain-with-ephasorsim/integrate-a-power-system-model-to-ephasorsim.md).

# Integrate a Power System Model to ePHASORSIM

ePHASORSIM supports several methods for integrating power system models, including importing models from third-party tools and creating models directly with ePHASORSIM [Native Library Components](https://www.opal-rt.com/docs/hypersim/model-and-simulation/phasor-domain-with-ephasorsim/integrate-a-power-system-model-to-ephasorsim/native-library-components.md) .

During initialization, imported components and dynamic models are mapped to equivalent ePHASORSIM [Native Library Components](https://www.opal-rt.com/docs/hypersim/model-and-simulation/phasor-domain-with-ephasorsim/integrate-a-power-system-model-to-ephasorsim/native-library-components.md) and converted into the data structures required by the solver.

As a result, imported and native models use the same simulation engine and support the same I/O pin configuration mechanisms.

ePHASORSIM supports the following approaches for integrating a power system model:

* **Build a Model with the Excel Template Using Native Components**\
  Create a network in the Excel template configuration file using the ePHASORSIM native component library.
* **Use a PSS®E Model**\
  Import a network from PSS®E RAW and DYR files.
* **Use a PowerFactory Model**\
  Import a network exported from PowerFactory in DGS-XML format.

In addition to the Native Library, ePHASORSIM supports Modelica-based components through the Functional Mock-up Interface (FMI) standard. Users can either use pre-compiled Modelica-based components or develop custom components in a Modelica environment and import them as **Functional Mock-up Units (FMUs)**. See [Include FMU Components](https://www.opal-rt.com/docs/hypersim/model-and-simulation/phasor-domain-with-ephasorsim/integrate-a-power-system-model-to-ephasorsim/include-fmu-components.md) for complete implementation and configuration details.


---

# 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/phasor-domain-with-ephasorsim/integrate-a-power-system-model-to-ephasorsim.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.
