modelSpiceTwoPort
TwoPort interface for Spice-style models
Extends from BondLib.Electrical.Analog.Interfaces.OnePort (OnePort partial model of analog electrical library).
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.Temperature | Tnom | 300.15 | Reference temperature |
Components
| Type | Name | Default | Description |
| Modelica.SIunits.Voltage | v (from OnePort) | | Voltage drop between the two pins |
| Modelica.SIunits.Current | i (from OnePort) | | Current flowing from pin p to pin n |