modelL

Spice-style inductor of the analog electrical library

Extends from Interfaces.SpiceTwoPortI (TwoPort interface for Spice-style models).

Information

The Spice-style inductor has a reference inductance value computed at the reference temperature, Tnom. It changes its value as a function of the circuit temperature.

Although the inductor does not produce any heat (heat flow = 0), it requires a heat port, because it imports the current device temperature through that port.

The heating port may remain unconnected, in which case the device is being simulated at a constant temperature of Tnom.


Parameters:

 L:     Reference inductance (default value = 1 H)

 Tnom:  Reference temperature (default value = 300.15 oK)

 TL1:   Linear temperature variation coefficient (default value = 0 1/oK)

 TL2:   Quadratic temperature variation coefficient (default value = 0 1/oK2)


Compiler Parameters:

 enforceStates:  State selector (default value = true)
                   enforceStates = true:   Use (external) inductive current as state variable
                   enforceStates = false:  Use (internal) bond graph flow as state variable

Parameters

TypeNameDefaultDescription
Modelica.SIunits.Currenti0 (from OnePortI)0Initial current across inductor
Modelica.SIunits.TemperatureTnom (from SpiceTwoPortI)300.15Reference temperature
Modelica.SIunits.InductanceL1Inductance at reference temperature
RealTL10Linear temperature coefficient
RealTL20Quadratic temperature coefficient
Advanced
BooleanenforceStates (from OnePortI)trueUse electrical variables as states instead of bond graph variables

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinp (from OnePortI)Left electrical connector
Modelica.Electrical.Analog.Interfaces.NegativePinn (from OnePortI)Right electrical connector
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPort (from SpiceTwoPortI)may remain unconnected

Components

TypeNameDefaultDescription
Modelica.SIunits.Voltagev (from OnePortI)Voltage drop between the two pins
Modelica.SIunits.Currenti (from OnePortI)Current flowing from pin p to pin n