modelJunctionDiode
Junction diode of the analog electrical library
Extends from Interfaces.OnePort (OnePort partial model of analog electrical library).
Information
The junction diode is built in bondgraphic technology from a bond graph Dj element, a 1-junction, and three bonds. A-causal bonds must be used here, because the causality depends on the embedding of the diode in its environment.The junction diode model is a simple diode with an exponential characteristic. The diode formula essentially is:
f = Is*(exp(e/Vt) - 1)
However, if the exponent e/Vt reaches either an upper limit EMax or a lower limit Emin, the diode characterisic is linearly continued to avoid overflow or underflow, respectively.
Parameters: Is: Transport saturation current (default value = 1e-16 Amp) Vt: Thermal voltage (default value = 0.02585 Volt) EMin: Minimum exponent (default value = -100) EMax: Maximum exponent (default value = 40)
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Current | Is | 1.e-16 | Transport saturation current |
| Modelica.SIunits.Voltage | Vt | 0.02585 | Voltage equivalent of temperature (kT/qn) |
| Real | EMin | -100 | if x < EMin, the exp(x) function is linearized |
| Real | EMax | 40 | if x > EMax, the exp(x) function is linearized |
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 |
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 |