Skip to main content

OPAL-RT HYPERSIM OPAL-RT logo

Source code: https://github.com/VILLASframework/node/tree/master/clients/hypersim

HYPERSIM is a digital real-time power system simulator developed by OPAL-RT and Hydro Quebec.

HYPERSIM is a top-performance, fully digital simulator designed for in depth analysis of transient electromagnetic and electromechanical phenomena. It is used to analyze and validate power system control and protection circuits. HYPERSIM runs on SGI parallel supercomputers.

Interfacing VILLASnode and HYPERSIM​

note

These instructions have been tested with HYPERSIM 2023.2.0.o389.

important

An OPAL-RT System using a Redhat OS is required.

  1. Create a new UCM name “node” and save to the real-time simulator folder of HYPERSIM. Example: C:\Users\auser\HYPERSIM\ucm.
Add UCM block to HYPERSIM
Add UCM block to HYPERSIM.
  1. This will create a file name ucm_node.def

  2. Open the file in editor and copy paste the downloaded code from the VILLASnode Git repository VILLASnode/clients/hypersim/model/ucm_node.def

  3. Right click and update the code.

Update the UCM code
Update the UCM code.
  1. Within the opening window, adjust the user settings

    • Destination Port number
    • Destination IP address
  2. Go to options and set for real time

Enable real-time settings
Enable real-time settings.
  1. Start simulation on HYPERSIM, and VILLASnode

  2. The received data can be viewed on the ScopeView

Inspect data in ScopeView
Inspect data in ScopeView.

Screenshot​

HYPERSIM model with VILLASnode UCM block
HYPERSIM model with VILLASnode UCM block.

Limitations​

Currently, the number if input/output control signals is hard-coded to 7 in the UCM-code. This can be adjusted by manually changing the UCM-code and rebuilding the model.

Troubleshooting​

ERROR: Unable to execute RPC call​

*** ERROR: Unable to execute RPC call to host RTServer program 0x3ff00115 service HS_RPC_COMMAND_EXECUTE Status
Unable to connect to simulation for user XXXXX on MTL-L-04439:1 IP-Address

Work around: Clean shared memories of your target or restart target.

Authors​