modelRce
Spice-style bipolar collector/emitter resistor of the analog electrical library
Extends from Interfaces.SpiceTwoPort (TwoPort interface for Spice-style models).
Information
The collector and emitter resistances are regular Spice-style resistors. However, a separate model had to be developed, in order to account for the Level parameter of Spice.
Parameters: R : Resistance at reference temperature (default value = 0 Ohm) 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) Level: Transistor modeling level (Ebers-Moll = 1; Gummel-Poon = 2) (default value = 2)
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 |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | p (from OnePort) | Left electrical connector | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n (from OnePort) | Right electrical connector | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort (from SpiceTwoPort) | may remain unconnected |
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 |