WOLFRAM SYSTEM MODELER

CompareTransformers

Transformer circuit to show the magnetization facilities

Diagram

Wolfram Language

In[1]:=
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

Outputs (8)

v1B

Default Value: resistor11.n.v

Type: Voltage (V)

Description: Primary voltage, basic transformer

i1B

Default Value: resistor11.i

Type: Current (A)

Description: Primary current, basic transformer

v2B

Default Value: resistor12.p.v

Type: Voltage (V)

Description: Secondary voltage, basic transformer

i2B

Default Value: resistor12.i

Type: Current (A)

Description: Secondary current, basic transformer

v1I

Default Value: resistor21.n.v

Type: Voltage (V)

Description: Primary voltage, basic transformer

i1I

Default Value: resistor21.i

Type: Current (A)

Description: Primary current, basic transformer

v2I

Default Value: resistor22.p.v

Type: Voltage (V)

Description: Secondary voltage, basic transformer

i2I

Default Value: resistor22.i

Type: Current (A)

Description: Secondary current, basic transformer

Components (16)

sineVoltage1

Type: SineVoltage

Description: Sine voltage source

ground11

Type: Ground

Description: Ground node

resistor11

Type: Resistor

Description: Ideal linear electrical resistor

resistor12

Type: Resistor

Description: Ideal linear electrical resistor

load1

Type: Resistor

Description: Ideal linear electrical resistor

ground12

Type: Ground

Description: Ground node

sineVoltage2

Type: SineVoltage

Description: Sine voltage source

ground21

Type: Ground

Description: Ground node

resistor21

Type: Resistor

Description: Ideal linear electrical resistor

inductor21

Type: Inductor

Description: Ideal linear electrical inductor

inductor22

Type: Inductor

Description: Ideal linear electrical inductor

resistor22

Type: Resistor

Description: Ideal linear electrical resistor

load2

Type: Resistor

Description: Ideal linear electrical resistor

ground22

Type: Ground

Description: Ground node

basicTransformer

Type: Transformer

Description: Transformer with two ports

idealTransformer

Type: IdealTransformer

Description: Ideal transformer core with or without magnetization

Revisions

2009
by Anton Haumer
initially implemented