IdealDiode
Ideal diode
Library
Modelica/Electrical/Analog/Ideal
Description
This is an ideal diode, for details see partial model IdealSemiconductor
The diode is conducting if voltage > Vknee.
The diode is locking if current < Vknee/Goff.
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_off | off | off | Structure | |
mo_off/fixed | fixed | Cell of scalars | true | |
mo_off/start | start | Cell of scalars | true | |
mo_s | s | s | Structure | |
mo_s/fixed | fixed | Cell of scalars | true | |
mo_s/start | start | Cell of scalars | ||
mo_Ron | Ron | Forward state-on differential resistance (closed resistance) | Scalar | |
mo_Goff | Goff | Backward state-off conductance (opened conductance) | Scalar | |
mo_Vknee | Vknee | Forward threshold voltage | 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 |