modelIdealTransformer

Ideal linear transformer of analog electrical library

Extends from Interfaces.TwoPort (TwoPort partial model of analog electrical library).

Information

The ideal transformer is built in bondgraphic technology from a bond graph TF elements. A-causal bonds must be used here, because the causality depends on the embedding of the transformer in its environment.


Parameters:

 n:  Transformation constant (default value = 1)


Equations:

v1 = -n*v2
i2 = n*11

Parameters

TypeNameDefaultDescription
Realn1Turns ratio

Components

TypeNameDefaultDescription
Modelica.SIunits.Voltagev1 (from TwoPort)Voltage drop over the left port
Modelica.SIunits.Voltagev2 (from TwoPort)Voltage drop over the right port
Modelica.SIunits.Currenti1 (from TwoPort)Current flowing from pos. to neg. pin of the left port
Modelica.SIunits.Currenti2 (from TwoPort)Current flowing from pos. to neg. pin of the right port
Modelica.Electrical.Analog.Interfaces.PositivePinp1 (from TwoPort)First left electrical connector
Modelica.Electrical.Analog.Interfaces.PositivePinp2 (from TwoPort)Second left electrical connector
Modelica.Electrical.Analog.Interfaces.NegativePinn1 (from TwoPort)First right electrical connector
Modelica.Electrical.Analog.Interfaces.NegativePinn2 (from TwoPort)Second right electrical connector