modelRS2

Spice-style resistor model for BJTs

Extends from Interfaces.SpiceTwoPort (Special twoPort element used by Spice models).

Information

This is the regular Spice-style resistive source RS model, except that it looks at the modeling level. If the level is not equal to 2, the resistance is set equal to zero.

Parameters

TypeNameDefaultDescription
Modelica.SIunits.TemperatureTnom (from SpiceTwoPort)300.15Reference temperature
Modelica.SIunits.ResistanceR0Resistance at reference temperature
RealTR10Linear temperature coefficient
RealTR20Quadratic temperature coefficient
RealArea1Relative area occupied by resistor
IntegerLevel2Transistor modeling level (Ebers-Moll = 1; Gummel-Poon = 2)

Connectors

TypeNameDefaultDescription
BondLib.Interfaces.BondConBondCon1 (from TwoPort)Left bond graph connector
BondLib.Interfaces.BondConBondCon2 (from TwoPort)Right bond graph connector

Components

TypeNameDefaultDescription
Reale1 (from TwoPort)Bondgraphic primary effort
Realf1 (from TwoPort)Bondgraphic primary flow
Reale2 (from TwoPort)Bondgraphic secondary effort
Realf2 (from TwoPort)Bondgraphic secondary flow
Modelica.SIunits.TemperatureDTemp (from SpiceTwoPort)Difference between circuit temperature and reference temperature
RealDTempSq (from SpiceTwoPort)Square of DTemp
Modelica.SIunits.ResistanceRvalResistance value at circuit temperature