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
| 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 |
| Real | Area | 1 | Relative area occupied by resistor |
| Integer | Level | 2 | Transistor modeling level (Ebers-Moll = 1; Gummel-Poon = 2) |
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 |