Diode
Simple diode
Library
Modelica/Electrical/Analog/Semiconductors
Description
The simple diode is a one port. It consists of the diode itself and an parallel ohmic resistance R. The diode formula is:
v/vt i = ids ( e - 1).
If the exponent v/vt reaches the limit maxex, the diode characteristic is linearly continued to avoid overflow.
Please note: In case of useHeatPort=true the temperature dependence of the electrical behavior is not modelled yet. The parameters are not temperature dependent.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_T_heatPort | T_heatPort | T_heatPort | Structure | |
mo_T_heatPort/fixed | fixed | Cell of scalars | true | |
mo_T_heatPort/start | start | Cell of scalars | ||
mo_Ids | Ids | Saturation current | Scalar | |
mo_Vt | Vt | Voltage equivalent of temperature (kT/qn) | Scalar | |
mo_Maxexp | Maxexp | Max. exponent for linear continuation | Scalar | |
mo_R | R | Parallel ohmic resistance | Scalar | |
mo_useHeatPort | useHeatPort | =true, if heatPort is enabled | Number | 0 |
mo_T | T | Fixed device temperature if useHeatPort = false | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | 'v' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
p | implicit | Positive electrical pin | input | 1 |
n | implicit | Negative electrical pin | output | 1 |
Port 3 | implicit | Conditional heat port | input | mo_useHeatPort |