modelSpiceTwoPortI
TwoPort interface for Spice-style models
Extends from BondLib.Electrical.Analog.Interfaces.OnePortI (OnePort partial model of analog electrical library for inductors).
Information
All Spice-style OnePorts must have an additional HeatPort, even capacitors and inductors. The reason is that they need the current circuit temperature, which they import through the HeatPort.
Parameters
| Type | Name | Default | Description |
| Modelica.SIunits.Current | i0 (from OnePortI) | 0 | Initial current across inductor |
| Modelica.SIunits.Temperature | Tnom | 300.15 | Reference temperature |
| Advanced |
| Boolean | enforceStates (from OnePortI) | true | Use electrical variables as states instead of bond graph variables |
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 |