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
| Type | Name | Default | Description |
| Modelica.SIunits.Temperature | Tnom (from SpiceTwoPort) | 300.15 | Reference temperature |
| Modelica.SIunits.Resistance | R | 0 | Resistance at reference temperature |
| Real | TR1 | 0 | Linear temperature coefficient |
| Real | TR2 | 0 | Quadratic temperature coefficient |
| Integer | Level | 1 | MOSFET modeling level (check documentation window for details) |
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 |