Diode

Simple diode with heating port

    Diode

Library

Modelica/Electrical/Analog/Semiconductors

Description

The simple diode is an electrical one port, where a heat port is added, which isdefined in the Modelica.Thermal library. It consists of the diode itself and a parallel ohmicresistance R. If useTemperatureDependency is set to true, the diode formula is:

           v/N/vt_ti = Ids (e          - 1)
where vt_t depends on the temperature of the heat port:
vt_t = k*temp/q

If useTemperatureDependency is set to false, the diode formula utilizes the voltage equivalent of the temperature, i.e.,

           v/Vti = Ids (e      - 1).

If the exponent v/N/vt_t or v/Vt, respectively, reaches the limit Maxexp, the diode characteristic is linearly continued to avoid overflow.
The thermal power is calculated by i*v.

Parameters

Diode_0

NameLabelDescriptionData TypeValid Values

mo_T_heatPort

T_heatPort

T_heatPort

Structure

mo_T_heatPort/fixed

fixed

Cell of scalars

true
false

mo_T_heatPort/start

start

Cell of scalars

mo_htemp

htemp

htemp

Structure

mo_htemp/fixed

fixed

Cell of scalars

true
false

mo_htemp/start

start

Cell of scalars

mo_Ids

Ids

Saturation current

Scalar

mo_useTemperatureDependency

useTemperatureDependency

= true, if the diode current depends on temperature, otherwise utilizes the voltage equivalent of temperature

Scalar

true
false

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_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
1

mo_T

T

Fixed device temperature if useHeatPort = false

Scalar

Diode_1

NameLabelDescriptionData TypeValid 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'
'i'
'LossPower'
'vt_t'
'id'
'aux'
'auxp'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

p

implicit

Positive electrical pin

input

1

n

implicit

Negative electrical pin

output

1

Port 3

implicit

Conditional heat port

input

mo_useHeatPort

See Also