VariableInductor

Ideal linear electrical inductor with variable inductance

    VariableInductor

Library

Electrical/Analog/Basic

Description

The linear inductor connects the branch voltage v with the branch current i by
v = d Psi/dt with Psi = L * i .
The inductance L is as input signal. It is required that L ≥ 0, otherwise an assertion is raised. To avoid a variable index system, L = Lmin, if 0 ≤ L < Lmin, where Lmin is a parameter with default value Modelica.Constants.eps.

Besides the Lmin parameter the inductor model has got the two parameters IC and UIC that belong together. With the IC parameter the user can specify an initial value of the current that flows through the inductor.


Hence the inductor has an initial current at the beginning of the simulation. The other parameter UIC is of type Boolean. If UIC is true, the simulation tool uses


the IC value at the initial calculation by adding the equation i= IC. If UIC is false, the IC value can be used (but it does not need to!) to calculate the initial values in order to simplify the numerical algorithms of initial calculation.

Parameters

VariableInductor_0

NameLabelDescriptionData TypeValid Values

mo_Lmin

Lmin

lower bound for variable inductance

Scalar

mo_IC

IC

Initial Value

Scalar

mo_UIC

UIC

Scalar

true
false

VariableInductor_1

NameLabelDescriptionData TypeValid Values

mo_v

v

v

Structure

mo_v/fixed

fixed

Cell of scalars

true
false

mo_v/start

start

Cell of scalars

mo_i

i

i

Structure

mo_i/fixed

fixed

Cell of scalars

true
false

mo_i/start

start

Cell of scalars

mo_L

L

L

Structure

mo_L/fixed

fixed

Cell of scalars

true
false

mo_L/start

start

Cell of scalars

mo_Psi

Psi

Psi

Structure

mo_Psi/fixed

fixed

Cell of scalars

true
false

mo_Psi/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

p

implicit

Positive electrical pin

input

1

n

implicit

Negative electrical pin

output

1

L

implicit

input

2