WOLFRAM SYSTEMMODELER

CompareTransformers

Transformer circuit to show the magnetization facilities

Diagram

Wolfram Language

In[1]:=
Click for copyable input
SystemModel["Modelica.Electrical.Analog.Examples.CompareTransformers"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This example is to demonstrate the behaviour of transformer models. The Basic.Transformer, which consists of mutual coupled inductors, is compared with the ideal transformer model. If the ideal model is used with considerMagnetization=true leakage inductances are taken into account, otherwise not. The example is constructed in such a way that the ideal transformer circuit with considerMagnetization=true shows the same behaviour as the basic transformer.

Simulate until T=50 s with both considerMagnetization=false and considerMagnetization=true of the ideal transformer. Plot in separate windows for comparison:
basicTransformer.p1.v and idealTransformer.p1.v
basicTransformer.p1.i and idealTransformer.p1.i
basicTransformer.p2.v and idealTransformer.p2.v basicTransformer.p2.i and idealTransformer.p2.i

Parameters (14)

Vdc

Value: 0.1

Type: Voltage (V)

Description: DC offset of voltage source

Vpeak

Value: 0.1

Type: Voltage (V)

Description: Peak voltage of voltage source

f

Value: 10

Type: Frequency (Hz)

Description: Frequency of voltage source

phi0

Value: pi / 2

Type: Angle (rad)

Description: Phase of voltage source

n

Value: 2

Type: Real

Description: Turns ratio primary:secondary voltage

R1

Value: 0.01

Type: Resistance (Ω)

Description: Primary resistance w.r.t. primary side

L1sigma

Value: 0.05 / (2 * pi * f)

Type: Inductance (H)

Description: Primary leakage inductance w.r.t. primary side

Lm1

Value: 10. / (2 * pi * f)

Type: Inductance (H)

Description: Magnetizing inductance w.r.t. primary side

L2sigma

Value: 0.05 / (2 * pi * f) / n ^ 2

Type: Inductance (H)

Description: Secondary leakage inductance w.r.t. secondary side

R2

Value: 0.01 / n ^ 2

Type: Resistance (Ω)

Description: Secondary resistance w.r.t. secondary side

RL

Value: 1 / n ^ 2

Type: Resistance (Ω)

Description: Load resistance

L1

Value: L1sigma + M * n

Type: Inductance (H)

Description: Primary no-load inductance

L2

Value: L2sigma + M / n

Type: Inductance (H)

Description: Secondary no-load inductance

M

Value: Lm1 / n

Type: Inductance (H)

Description: Mutual inductance

Components (16)

sineVoltage1

Type: SineVoltage

Description:

ground11

Type: Ground

Description:

resistor11

Type: Resistor

Description:

resistor12

Type: Resistor

Description:

load1

Type: Resistor

Description:

ground12

Type: Ground

Description:

sineVoltage2

Type: SineVoltage

Description:

ground21

Type: Ground

Description:

resistor21

Type: Resistor

Description:

inductor21

Type: Inductor

Description:

inductor22

Type: Inductor

Description:

resistor22

Type: Resistor

Description:

load2

Type: Resistor

Description:

ground22

Type: Ground

Description:

basicTransformer

Type: Transformer

Description:

idealTransformer

Type: IdealTransformer

Description: