IdealTransformer

Ideal transformer

    IdealTransformer

Library

Modelica/Electrical/QuasiStationary/SinglePhase/Ideal

Description

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

IdealTransformer_0

NameLabelDescriptionData TypeValid Values

mo_n

n

Ratio of primary to secondary voltage

Scalar

IdealTransformer_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

'abs_v1'
'arg_v1'
'abs_i1'
'arg_i1'
'P1'
'Q1'
'S1'
'pf1'
'abs_v2'
'arg_v2'
'abs_i2'
'arg_i2'
'P2'
'Q2'
'S2'
'pf2'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

pin_p1

implicit

Primary positive pin

input

1

pin_p2

implicit

Secondary positive pin

input

2

pin_n1

implicit

Primary negative pin

output

1

pin_n2

implicit

Secondary negative pin

output

2