modelRM
Spice-style resistor model for MOSFETs
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 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 | 3 | MOSFET modeling level (check documentation window for details) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| BondLib.Interfaces.BondCon | BondCon1 (from TwoPort) | Left bond graph connector | |
| BondLib.Interfaces.BondCon | BondCon2 (from TwoPort) | Right bond graph connector |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | e1 (from TwoPort) | Bondgraphic primary effort | |
| Real | f1 (from TwoPort) | Bondgraphic primary flow | |
| Real | e2 (from TwoPort) | Bondgraphic secondary effort | |
| Real | f2 (from TwoPort) | Bondgraphic secondary flow | |
| Modelica.SIunits.Temperature | DTemp (from SpiceTwoPort) | Difference between circuit temperature and reference temperature | |
| Real | DTempSq (from SpiceTwoPort) | Square of DTemp | |
| Modelica.SIunits.Resistance | Rval | Resistance value at circuit temperature |