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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | dynTC | false | enable dynamic tap-changing |
| Parameters.TrafoIdeal1ph | par | trafo parameter |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Base.Interfaces.ElectricV_p | term_p (from Port_p_n) | positive terminal | |
| Base.Interfaces.ElectricV_n | term_n (from Port_p_n) | negative terminal | |
| Modelica.Blocks.Interfaces.IntegerInput | tap_p | 1: index of voltage level | |
| Modelica.Blocks.Interfaces.IntegerInput | tap_n | 2: index of voltage level |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | v1 (from PortTrafo_p_n) | voltage 1 | |
| SI.Current | i1 (from PortTrafo_p_n) | current 1 | |
| SI.Voltage | v2 (from PortTrafo_p_n) | voltage 2 | |
| SI.Current | i2 (from PortTrafo_p_n) | current 2 |