Transformer

Transformer with two ports

    Transformer

Library

Modelica/Electrical/Analog/Basic

Description

The transformer is a two port. The left port voltage v1, left port current i1, right port voltage v2 and right port current i2 are connected by the following relation:

         | v1 |         | L1   M  |  | i1' |         |    |    =    |         |  |     |         | v2 |         | M    L2 |  | i2' |

L1, L2, and M are the primary, secondary, and coupling inductances respectively.

Parameters

Transformer_0

NameLabelDescriptionData TypeValid Values

mo_i1

i1

i1

Structure

mo_i1/fixed

fixed

Cell of scalars

true
false

mo_i1/start

start

Cell of scalars

mo_i2

i2

i2

Structure

mo_i2/fixed

fixed

Cell of scalars

true
false

mo_i2/start

start

Cell of scalars

mo_L1

L1

Primary inductance

Scalar

mo_L2

L2

Secondary inductance

Scalar

mo_M

M

Coupling inductance

Scalar

Transformer_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

'v1'
'v2'
'dv'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

p1

implicit

Positive electrical pin of port 1

input

1

n1

implicit

Negative electrical pin of port 1

output

1

p2

implicit

Positive electrical pin of port 2

input

2

n2

implicit

Negative electrical pin of port 2

output

2