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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Current | i0 (from OnePortI) | 0 | Initial current across inductor |
| Modelica.SIunits.Inductance | L | 1 | Inductance |
| 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 |
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 |