modelSpiceTwoPortV
TwoPort interface for Spice-style models
Extends from BondLib.Electrical.Analog.Interfaces.OnePortV (OnePort partial model of analog electrical library for capacitors).
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.Voltage | u0 (from OnePortV) | 0 | Initial voltage across capacitor |
| Modelica.SIunits.Temperature | Tnom | 300.15 | Reference temperature |
| Advanced |
| Boolean | enforceStates (from OnePortV) | true | Use electrical variables as states instead of bond graph variables |
Components
| Type | Name | Default | Description |
| Modelica.SIunits.Voltage | v (from OnePortV) | | Voltage drop between the two pins |
| Modelica.SIunits.Current | i (from OnePortV) | | Current flowing from pin p to pin n |