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
Datapartrafo parameter record
Initialization
Types.DynamicsdynTypesystem.dynTypetransient or steady-state model
PS.Currenti1_start0start value of primary current
PS.Currenti2_starti1_startstart value of secondary current
Options
Booleanuse_tap_1_infalse= true to enable input tap_1_in
Integertap_1par.tap_neutral[1]fixed tap_1 position
Booleanuse_tap_2_infalse= true to enable input tap_2_in
Integertap_2par.tap_neutral[2]fixed tap_2 position
BooleandynTCfalseenable dynamic tap-changing

Connectors

TypeNameDefaultDescription
Ports.TwoPin_pterm_p (from Port_p_n)positive terminal
Ports.TwoPin_nterm_n (from Port_p_n)negative terminal
Modelica.Blocks.Interfaces.IntegerInputtap_1_in1: index of voltage level
Modelica.Blocks.Interfaces.IntegerInputtap_2_in2: index of voltage level

Components

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

Contents

NameDescription
Datatrafo parameters