modelRM

Spice-style resistor model for MOSFETs

Extends from Interfaces.SpiceTwoPort (TwoPort interface for Spice-style models).

Information

This is the regular Spice-style resistive source RS model, except that it looks at the modeling level. If the level is equal to 0, 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
IntegerLevel1MOSFET modeling level (check documentation window for details)

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_aheatPort (from SpiceTwoPort)may 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