Documentation Home Page ◇ HYPERSIM Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.
ePHASORSIM Interface
Prerequisite
To use ePHASORSIM Interface in HYPERSIM, Dashboard must be enabled in the Preferences
Overview
ePHASORSIM is a real-time phasor simulation tool integrated into the HYPERSIM environment. It is primarily used for simulating large power systems with a focus on phasor-domain behavior. This document provides a high-level description of ePHASORSIM and its role within the HYPERSIM simulation platform.
Key Features
Phasor-Based Simulation:
ePHASORSIM operates in the phasor domain, performing dynamic simulations of power systems where electromechanical phenomena occur (up to 10 Hz). This capability is ideal for transient stability studies. The solver also effectively handles steady-state analysis of electrical systems, emphasizing voltage, current, and power at the phasor level rather than detailed waveform analysis.
This approach allows for faster simulation of large networks compared to time-domain simulations.
Real-Time Capabilities:
ePHASORSIM supports real-time simulation, making it a valuable tool for hardware-in-the-loop (HIL) testing, system protection, and control studies.
It can model and simulate thousands of buses in real time.
Integration with HYPERSIM:
Within the HYPERSIM platform, ePHASORSIM is tightly integrated, enabling it to simulate large power grids alongside detailed electromagnetic transient (EMT) simulations.
Users can seamlessly switch between EMT and phasor domain simulations depending on the needs of the study.
Applications:
Stability Analysis: ePHASORSIM is used to assess the stability of large power grids under various disturbances.
Protection Studies: It facilitates protection relay testing by simulating fault conditions and validating relay responses.
Real-Time Power System Operation: Enables the simulation of real-world operational scenarios for large-scale systems.
Simulation Environment:
ePHASORSIM provides an intuitive user interface to configure and run a simulation.
Users can set up system models, define faults and events, and configure various simulation parameters via the HYPERSIM interface.
ePHASORSIM Workflow and Model Setup in HYPERSIM
This guide provides a step-by-step walkthrough to configure and run an ePHASORSIM model using HYPERSIM. The configuration window for setting up the simulation is shown in the screenshot and explained below.
Model Setup:
Add an ePHASORSIM Interface from library Network Interface
By double clicking on the empty component, the ePHASORSIM UI is presented
Some ePHASORSIM features described below require a specific license key. If that is the case, the feature is identified with a lock and key icon in the table below.
Import settings |
| ||||||||
|---|---|---|---|---|---|---|---|---|---|
Import format | The format of the files used to import the model. The possible values are:
License keys required:
| ||||||||
Model conversion options |
| ||||||||
Import switches (Powerfactory) | When importing a model using the Powerfactory format, it is possible to filter switch components out of the original Powerfactory model.
| ||||||||
Common settings |
| ||||||||
External components (optional) | If external components are required in the simulation, they can specified here. Details on how to include FMUs to an ePHASORSIM model are found in the ePHASORSIM documentation (Integrating a User-Defined GenUnit FMU). Select Folder: This optional step allows importing additional external components that may interact with the power grid (e.g., renewable energy sources, control devices). This could include external code or custom models from external simulations. | ||||||||
Mappings (required conditionally) | When including external components to a model whenever the import format is PSS/E or Powerfactory, the mappings field is required. The format specification of the mappings file is found in the ePHASORSIM documentation (.yaml FMU Specification). Select File: Click this button to provide the component identifier to external component mapping. | ||||||||
Time Step | The time step is critical in determining how frequently the phasor domain equations are solved during the simulation. Time Step: Enter the time step value in seconds. A typical value could be 0.01 seconds or other values depending on the desired simulation speed and accuracy. This defines the simulation's resolution and determines how accurately phasor behavior is captured over time. | ||||||||
Number of cores | This setting determines the number of CPU cores used to parallelize computation during the simulation. The system automatically assigns each simulation thread to a distinct CPU core. When the number of cores is set to 1, no parallelization occurs. Parallelization is only supported on OPAL-RT Linux License keys required:
| ||||||||
Number of partitions | This field is reserved for future use to enhance parallelization performance gains. At this time, the only possible value for this field is 1. License keys required:
| ||||||||
Timeout for sync client | This advanced simulation setting allows more time for signal acquisition synchronization when initializing the simulation. It may be necessary to increase this value for large models. This is an expert setting; it is recommended to leave the setting to the default value. | ||||||||
Load flow settings |
| ||||||||
Calculate load flow | Enabling load flow initializes bus voltages correctly, allowing the dynamic simulation to start with the network in a steady-state condition. Calculate load flow: This step is optional and can be disabled if the load flow has already been calculated and integrated into the import source files. License key required:
| ||||||||
Max iterations | Max Iterations: Set the maximum number of iterations for the load flow solver to converge. Typically set to 100, but the load flow usually converges in less than 5-10 steps for stable networks. | ||||||||
Tolerance | Tolerance: This defines the convergence tolerance of the load flow solver. For high accuracy, a value like 1.0000e-8 is appropriate, ensuring that the mismatch, on the per unit value of the active and reactive power, between successive iterations is small enough to consider the solution converged. | ||||||||
Initialization mo | When setting the ePHASORSIM simulation in HYPERSIM, the Initialization Mode determines how the load flow starts. Since the Newton Raphson method used for this calculation is very sensitive to the starting point, this setting can make the load flow converge on a difficult network. Here’s a breakdown of the three initialization modes available: 1. From Input Data
2. Flat Start
3. Smart Start
| ||||||||
Controls |
| ||||||||
Create | Once all settings have been configured: Create: Click the "Create" button to set up the simulation environment with the specified configurations. Once the “Create” button has been clicked and the operation succeeded, modifications of the import source files are not possible. For modifications on the import source files to be reflected, it is required to create a new block and reconnect any existing connection. See Current Limitations. | ||||||||
Revert | Undo all user inputs made in the current session. | ||||||||
Cancel | Closes the window effectively cancelling the configuration of the simulation environment. |
OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter