Support : Knowledge base

Knowledge Base

Welcome to OPAL-RT’s Knowledge Base

OPAL-RT offers a repository of support information for optimal use of its technology.

Loading…

Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.

For optimal experience, use a desktop computer.

Reference Number: AA-02107// Views: AA-02107// Created: 2022-11-07 17:06:46// Last Updated: 2022-11-08 10:44:26
HowTo
How to use observables in Hypersim to gain access to the internal signals of the block

How to use observables in Hypersim to gain access to the internal signals of the block (and use them inside the model)

When building a Hypersim model with some control logic, is very  likely that users need to access  signals from the Hypersim blocks and have them available for use INSIDE the model itself. If that is the case, users need to use the "observable" feature of simulink blocks. The Observables feature of the blocks allows users to enable an output pin for the blocks and send through that port the available observables (i.e. the internal signals of the block ). To do so, follow the below steps (also illustrated in the below image):

1.-Right click on any block of interest and select the option Observables, this gives you access to the available signals from the selected block that can be made available through an output pin that appears for the block of interest. For this example the block of interest is a three phase voltage source.

2.- The window "Select observables" pops up , click on the signals of interest to have them available in the observables output pin. For the "Voltage source" block the available internal signals are : currents I a/b/c, internal voltages VINT a/b/c  and the active P and reactive Q powers. For this example the three currents Ia, Ib, Ic have been selected.

3.-After clicking OK and closing the "Select Observables" window, the output pin for the observables becomes available. This output pin contains in a bus the selected signals: Ia , Ib , Ic

4.- From this point users can select the observables output pin and use a "bundle breakout"  to have access to the Ia, Ib , Ic currents and route them at will inside the model. If necessary see hypersim's help on "Creating a Breakout").