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

TypeNameDefaultDescription
Modelica.SIunits.TemperatureTnom300.15Reference temperature

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinp (from OnePort)Left electrical connector
Modelica.Electrical.Analog.Interfaces.NegativePinn (from OnePort)Right electrical connector
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPortmay remain unconnected

Components

TypeNameDefaultDescription
Modelica.SIunits.Voltagev (from OnePort)Voltage drop between the two pins
Modelica.SIunits.Currenti (from OnePort)Current flowing from pin p to pin n