HeatingDiode
Simple diode with heating port
Library
Modelica/Electrical/Analog/Semiconductors
Description
The simple diode is an electrical one port, where a heat port is added, which is defined in the Modelica.Thermal library. It consists of the diode itself and an parallel ohmic resistance R. The diode formula is:
v/vt_t i = ids ( e - 1).where vt_t depends on the temperature of the heat port:
vt_t = k*temp/q
If the exponent v/vt_t reaches the limit maxex, the diode characteristic is linearly
continued to avoid overflow.
The thermal power is calculated by i*v.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_Ids | Ids | Saturation current | Scalar | |
mo_Maxexp | Maxexp | Max. exponent for linear continuation | Scalar | |
mo_R | R | Parallel ohmic resistance | Scalar | |
mo_EG | EG | Activation energy | Scalar | |
mo_N | N | Emission coefficient | Scalar | |
mo_TNOM | TNOM | Parameter measurement temperature | Scalar | |
mo_XTI | XTI | Temperature exponent of saturation current | 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_v | v | v | Structure | |
mo_v/fixed | fixed | Cell of scalars | true | |
mo_v/start | start | Cell of scalars | ||
mo_i | i | i | Structure | |
mo_i/fixed | fixed | Cell of scalars | true | |
mo_i/start | start | Cell of scalars | ||
mo_LossPower | LossPower | LossPower | Structure | |
mo_LossPower/fixed | fixed | Cell of scalars | true | |
mo_LossPower/start | start | Cell of scalars | ||
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_vt_t | vt_t | vt_t | Structure | |
mo_vt_t/fixed | fixed | Cell of scalars | true | |
mo_vt_t/start | start | Cell of scalars | ||
mo_id | id | id | Structure | |
mo_id/fixed | fixed | Cell of scalars | true | |
mo_id/start | start | Cell of scalars |
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 |