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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Current | i0 (from OnePortI) | 0 | Initial current across inductor |
| Modelica.SIunits.Temperature | Tnom (from SpiceTwoPortI) | 300.15 | Reference temperature |
| Modelica.SIunits.Inductance | L | 1 | Inductance at reference temperature |
| Real | TL1 | 0 | Linear temperature coefficient |
| Real | TL2 | 0 | Quadratic temperature coefficient |
| Advanced | |||
| Boolean | enforceStates (from OnePortI) | true | Use electrical variables as states instead of bond graph variables |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | p (from OnePortI) | Left electrical connector | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n (from OnePortI) | Right electrical connector | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort (from SpiceTwoPortI) | may remain unconnected |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Voltage | v (from OnePortI) | Voltage drop between the two pins | |
| Modelica.SIunits.Current | i (from OnePortI) | Current flowing from pin p to pin n |