modelTrafoIdealBase

Base for ideal transformer, 1-phase

Extends from Ports.PortTrafo_p_n (Two port for transformers).

Information

Terminology (formal, the models are symmetric).
  - index 1 (term_p) "primary"
  - index 2 (term_n) "secondary"

Transformer ratio.
The winding ratio is determined indirectly by the choice of nominal voltages.
It may be > or < 1.

Tap changers.
For constant transformer ratio no tap changer input needed.
For variable transformer ratio tap changer input needed.

The sequence of the parameters

  v_tc     tc voltage levels v_tc[1], v_tc[2], v_tc[3], ...

must be defined in accordance with the input-signals of

  tap     index of tap voltage levels, v_tc[tap]

Set dynTC = true if tap-index changes during simulation.

Parameters

TypeNameDefaultDescription
BooleandynTCfalseenable dynamic tap-changing
Parameters.TrafoIdeal1phpartrafo parameter

Connectors

TypeNameDefaultDescription
Base.Interfaces.ElectricV_pterm_p (from Port_p_n)positive terminal
Base.Interfaces.ElectricV_nterm_n (from Port_p_n)negative terminal
Modelica.Blocks.Interfaces.IntegerInputtap_p1: index of voltage level
Modelica.Blocks.Interfaces.IntegerInputtap_n2: index of voltage level

Components

TypeNameDefaultDescription
SI.Voltagev1 (from PortTrafo_p_n)voltage 1
SI.Currenti1 (from PortTrafo_p_n)current 1
SI.Voltagev2 (from PortTrafo_p_n)voltage 2
SI.Currenti2 (from PortTrafo_p_n)current 2