modelLS

Spice-style inductor model

Extends from Interfaces.SpiceTwoPort (Special twoPort element used by Spice 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.


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)


Equations:

DTemp = e2 - Tnom
Lval = L*(1 + TL1*DTemp + TL2*DTemp*DTemp)
p1 = Lval*f1
der(p1) = e1
f2 = 0

Parameters

TypeNameDefaultDescription
Modelica.SIunits.TemperatureTnom (from SpiceTwoPort)300.15Reference temperature
Modelica.SIunits.InductanceL1Inductance at reference temperature
RealTL10Linear temperature coefficient
RealTL20Quadratic temperature coefficient

Connectors

TypeNameDefaultDescription
BondLib.Interfaces.BondConBondCon1 (from TwoPort)Left bond graph connector
BondLib.Interfaces.BondConBondCon2 (from TwoPort)Right bond graph connector

Components

TypeNameDefaultDescription
Reale1 (from TwoPort)Bondgraphic primary effort
Realf1 (from TwoPort)Bondgraphic primary flow
Reale2 (from TwoPort)Bondgraphic secondary effort
Realf2 (from TwoPort)Bondgraphic secondary flow
Modelica.SIunits.TemperatureDTemp (from SpiceTwoPort)Difference between circuit temperature and reference temperature
RealDTempSq (from SpiceTwoPort)Square of DTemp
Modelica.SIunits.InductanceLvalInductance value at circuit temperature