Documentation Home Page eHS Toolbox Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Specific requirements

  • RT-LAB
  • MATLAB SIMULINK

Circuit Design Using the SimPowerSystems Libraries

The circuit must be designed using a special subset of blocks found in the SimPowerSystems libraries. Also, these blocks must be properly named such that they can be easily managed outside the eHS solver.

Supported Block

In the SimPowerSystems Elements library, the following blocks are supported:

  • Series RLC Branch/Load
  • Parallel RLC Branch/Load
  • Ground/Neutral
  • Breaker
  • Pi section lines
  • Linear Transformers
  • Mutual Inductances
  • Inductance Matrix Type Transformers
  • Saturable Transformers (only supported in some specific firmware)

Elements supported in the SimPowerSystems Elements library

In the SimPowerSystems Measurements block library, the following blocks are supported (refer to Figure 9):

  • Current Measurement
  • Voltage Measurement
  • Three-Phase VI Measurement

Elements supported in the SimPowerSystems Measurements block library

In the SimPowerSystems Power Electronics block library, the following blocks are supported (refer to Figure 10):

  • Breaker
  • Diode
  • IGBT
  • IGBT/Diode
  • Ideal Switch
  • Three-Level Bridge
  • Thyristor
  • Universal Bridge

Elements supported in the SimPowerSystems Power Electronics block library

In the SimPowerSystems Electrical Sources block library, the following elements are supported (refer to Figure 11):

  • DC Voltage Source
  • AC Voltage Source
  • AC Current Source
  • Controlled Voltage Source
  • Controlled Current Source
  • Three-Phase Source

Elements supported in the SimPowerSystems Electrical Sources block library

Component Naming 

The algorithm implemented by OPAL-RT (to convert the SimPowerSystems model into the data used by the eHS to compute the currents and voltages in the circuit in real time) requires that the model be analyzed to find the supported elements listed above. For source and switch control signals, as well as measurement outputs, the corresponding elements are listed in alphabetical order and will be accessible in that order within the Simulink/RT-LAB environments. For that reason, it is strongly recommended to rename elements with names that are easily recognizable and whose identification from within RT-LAB will be straightforward. The following naming convention is strongly recommended:

  • Switching devices should be named with the prefix “SW” followed by a 2-digit index, starting from SW01. Elements categorized as “switching elements” are the following: Diode, IGBT/Diode, Breaker and Ideal Switch. This prefix can be followed by other
  • Sources, whether controlled current or voltage sources, should have the prefix “U” followed by a 2-digit index, starting from U01. This prefix can be followed by other To avoid confusion, the prefix for a three-phase source should contain three indices, starting with phase A (e.g. “U05 U06 U07 Vabc”).
  • Measurements of any kind should have the prefix “Y” followed by a 2-digit index, starting from This prefix can be followed by other characters.
  • Inductances, capacitors and resistors are not accessed directly from RT-LAB and do not have any special naming

An example of a valid SimPowerSystems model for a three-phase inverter:

A three-phase inverter implemented with supported SimPowerSystems elements with block named according to the naming convention described in the chapter.


  • No labels