The example shows the use of a display element for voltage and current 'phasors' with additional power bars.

The phase of 'voltageL' moves in positive sense with increasing amplitude.
Inductive current (blue) is behind, capacitive ahead of voltage (red).

The left bar (green) displays the active power,
the right bar (violet) displays the reactive power.
An additional arrow indicates the direction of active power flow.

The example uses the dqo-representation, but is valid for abc too.

Select Experiment Setup/Compiler/'MS Visual C++ with DDE'
Check Experiment Setup/Realtime/'Synchronize with realtime'
Select Experiment Setup/Realtime/'Load result interval' = 0.1 s
Select 'Diagram' in the Simulation layer

up users guide

Generated at 2024-07-24T18:15:57Z by OpenModelicaOpenModelica 1.23.1 using GenerateDoc.mos