Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
Diode
Electrical diode
Block Screenshot
Contents
Description
This component consists of a simple diode parallel with an ohmic resistance (). The current passing through this component is defined as a function of the voltage across the ports, ,
where and are the saturation current and the voltage equivalent of temperature, respectively. If the exponent reaches a certain limit (), the diode characteristic becomes linear to avoid overflow.
Dialog box
Saturation current (A)
Saturation current
Properties : Type 'vec' of size 1.
Voltage equivalent to temperature (Volt)
Voltage equivalent of temperature
Properties : Type 'vec' of size 1.
Max exponent for linear continuation
Max exponent for linear continuation
Properties : Type 'vec' of size 1.
R (ohm)
Parallel ohmic resistance.
Properties : Type 'vec' of size 1.
Default properties
Inputs :
Modelica variable name : 'p'
Implicit variable.
Outputs :
Modelica variable name : 'n'
Implicit variable.
Parameters :
Modelica parameter name : 'Ids'
Default value : 0.000001
Is a state variable : no.
Modelica parameter name : 'Vt'
Default value : 0.04
Is a state variable : no.
Modelica parameter name : 'Maxexp'
Default value : 15
Is a state variable : no.
Modelica parameter name : 'R'
Default value : 1.000E+08
Is a state variable : no.
File name of the model : Diode
Interfacing function
SCI/modules/scicos_blocks/macros/Electrical/Diode.sci
Modelica model
SCI/modules/scicos_blocks/macros/Electrical/Diode.mo
<< CurrentSensor | Electrical palette | Ground >> |