modelIdealTransformer
Ideal transformer
Information
The ideal transformer is a two-port circuit element without magnetization. Voltages and currents are ideally transformed:
v1 = v2*n; i2 = -i1*n;
where n is a real number called the turns ratio.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | n | 1 | Ratio of primary to secondary voltage |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| QuasiStatic.SinglePhase.Interfaces.PositivePin | pin_p1 | Primary positive pin | |
| QuasiStatic.SinglePhase.Interfaces.PositivePin | pin_p2 | Secondary positive pin | |
| QuasiStatic.SinglePhase.Interfaces.NegativePin | pin_n1 | Primary negative pin | |
| QuasiStatic.SinglePhase.Interfaces.NegativePin | pin_n2 | Secondary negative pin |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.ComplexVoltage | v1 | pin_p1.v - pin_n1.v | Voltage drop of side 1 |
| SI.ComplexCurrent | i1 | pin_p1.i | Current into side 1 |
| SI.ComplexVoltage | v2 | pin_p2.v - pin_n2.v | Voltage drop of side 2 |
| SI.ComplexCurrent | i2 | pin_p2.i | Current into side 2 |
| SI.Voltage | abs_v1 | Modelica.ComplexMath.abs(v1) | Magnitude of complex voltage v1 |
| SI.Angle | arg_v1 | Modelica.ComplexMath.arg(v1) | Argument of complex voltage v1 |
| SI.Current | abs_i1 | Modelica.ComplexMath.abs(i1) | Magnitude of complex current i1 |
| SI.Angle | arg_i1 | Modelica.ComplexMath.arg(i1) | Argument of complex current i1 |
| SI.ActivePower | P1 | Modelica.ComplexMath.real(v1*Modelica.ComplexMath.conj(i1)) | Active power, side 1 |
| SI.ReactivePower | Q1 | Modelica.ComplexMath.imag(v1*Modelica.ComplexMath.conj(i1)) | Reactive power, side 1 |
| SI.ApparentPower | S1 | Modelica.ComplexMath.abs(v1*Modelica.ComplexMath.conj(i1)) | Magnitude of complex apparent power, side 1 |
| Real | pf1 | cos(Modelica.ComplexMath.arg(Complex(P1, Q1))) | Power factor, side 1 |
| SI.Voltage | abs_v2 | Modelica.ComplexMath.abs(v2) | Magnitude of complex voltage v2 |
| SI.Angle | arg_v2 | Modelica.ComplexMath.arg(v2) | Argument of complex voltage v2 |
| SI.Current | abs_i2 | Modelica.ComplexMath.abs(i2) | Magnitude of complex current i2 |
| SI.Angle | arg_i2 | Modelica.ComplexMath.arg(i2) | Argument of complex current i2 |
| SI.ActivePower | P2 | Modelica.ComplexMath.real(v2*Modelica.ComplexMath.conj(i2)) | Active power, side 2 |
| SI.ReactivePower | Q2 | Modelica.ComplexMath.imag(v2*Modelica.ComplexMath.conj(i2)) | Reactive power, side 2 |
| SI.ApparentPower | S2 | Modelica.ComplexMath.abs(v2*Modelica.ComplexMath.conj(i2)) | Magnitude of complex apparent power, side 2 |
| Real | pf2 | cos(Modelica.ComplexMath.arg(Complex(P2, Q2))) | Power factor, side 2 |
Revisions
2014-01-02, Christian Kral
- Initial implementation of ideal transformer model