IdealDiode

Ideal diode

    IdealDiode

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

IdealDiode_0

NameLabelDescriptionData TypeValid Values

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
1

mo_T

T

Fixed device temperature if useHeatPort = false

Scalar

mo_unitVoltage

unitVoltage

Scalar

mo_unitCurrent

unitCurrent

Scalar

IdealDiode_1

NameLabelDescriptionData TypeValid Values

mo_v

v

v

Structure

mo_v/fixed

fixed

Cell of scalars

true
false

mo_v/start

start

Cell of scalars

mo_i

i

i

Structure

mo_i/fixed

fixed

Cell of scalars

true
false

mo_i/start

start

Cell of scalars

mo_LossPower

LossPower

LossPower

Structure

mo_LossPower/fixed

fixed

Cell of scalars

true
false

mo_LossPower/start

start

Cell of scalars

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_off

off

off

Structure

mo_off/fixed

fixed

Cell of scalars

true
false

mo_off/start

start

Cell of scalars

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