WOLFRAM SYSTEMMODELER

M_Transformer

Generic transformer with free number of inductors

Wolfram Language

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

Information

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

The model M_Transformer is a model of a transformer with the possibility to choose the number of inductors. Inside the model, an inductance matrix is built based on the inductance of the inductors and the coupling inductances between the inductors given as a parameter vector from the user of the model.

An example shows that approach:
The user chooses a model with three inductors, that means the parameter N has to be 3. Then he has to specify the inductances of the three inductors and the three coupling inductances. The coupling inductances are no real existing devices, but effects that occur between two inductors. The inductivities (main diagonal of the inductance matrix) and the coupling inductivities have to be specified in the parameter vector L. The length dimL of the parameter vector is calculated as follows: dimL=(N*(N+1))/2

The following example shows how the parameter vector is used to fill in the inductance matrix. To specify the inductance matrix of a three inductances transformer (N=3):

L_m

the user has to allocate the parameter vector L[6] , since Nv=(N*(N+1))/2=(3*(3+1))/2=6. The parameter vector must be filled like this: L=[1,0.1,0.2,2,0.3,3] .

Inside the model, two loops are used to fill the inductance matrix to guarantee that it is filled in a symmetric way.

Connectors (2)

p

Type: PositivePin[N]

Description: Positive pin

n

Type: NegativePin[N]

Description: Negative pin

Parameters (4)

N

Value: 3

Type: Integer

Description: Number of inductors

dimL

Value: div(N * (N + 1), 2)

Type: Integer

Description:

L

Value: {1, 0.1, 0.2, 2, 0.3, 3}

Type: Inductance[dimL] (H)

Description: Inductances and coupling inductances

Lm

Value:

Type: Inductance[N,N] (H)

Description: Complete symmetric inductance matrix, calculated internally

Used in Components (2)

segment

Multiple line segment model

segment_last

Multiple line last segment model