modelInductor

Linear inductor of analog electrical library

Extends from Interfaces.OnePortI (OnePort partial model of analog electrical library for inductors).

Information

The ideal linear inductor is built in bondgraphic technology from a bond graph I element, a 1-junction, and three bonds. A-causal bonds must be used here, because the causality depends on the embedding of the inductor in its environment.


Parameters:

 L:  Inductance (default value = 1 Henry)

Parameters

TypeNameDefaultDescription
Modelica.SIunits.Currenti0 (from OnePortI)0Initial current across inductor
Modelica.SIunits.InductanceL1Inductance
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

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