Electrical diode
This component consists of a simple diode parallel with an ohmic
resistance R. The current passing through this component is
defined as a function of the voltage across the ports, i.e.,
where Ids and Vt are the saturation current and the voltage
equivalent of temperature, respectively. If the exponent v/Vt
reaches a certain limit (Maxexp), the diode characteristic becomes
linear to avoid overflow.
- 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.
- 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.000D+08
 Is a state variable : no.
 
 
- File name of the model : Diode
- SCI/macros/scicos_blocks/ModElectrical/Diode.sci [view code]
- SCI/macros/scicos_blocks/ModElectrical/Electrical.mo [view code]