modelR

Spice-style resistor of the analog electrical library

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

Information

The Spice-style resistor has a reference resistance value computed at the reference temperature, Tnom, and for a relative area of Area=1. It changes its value as a function of the circuit temperature and the relative area occupied by the resistor.

The heating port may remain unconnected, in which case the device is being simulated at a constant temperature of Tnom.


Parameters:

 R:     Reference resistance (default value = 1 Ohm)

 Tnom:  Reference temperature (default value = 300.15 oK)

 TR1:   Linear temperature variation coefficient (default value = 0 1/oK)

 TR2:   Quadratic temperature variation coefficient (default value = 0 1/oK2)

 Area:  Relative area occupied by resistor (default value = 1)

Parameters

TypeNameDefaultDescription
Modelica.SIunits.TemperatureTnom (from SpiceTwoPort)300.15Reference temperature
Modelica.SIunits.ResistanceR1Resistance at reference temperature
RealTR10Linear temperature coefficient
RealTR20Quadratic temperature coefficient
RealArea1Relative area occupied by resistor

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