Diode

Scicos Block
fr - eng

##
Electrical diode

### Contents

- Electrical diode
  - Palette
  - Description
  - Dialog box
  - Default properties
  - Interfacing function
  - Modelica model

### Palette

- Electrical.cosf - Electrical toolbox

### 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, i.e.,

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/macros/scicos_blocks/Electrical/Diode.sci [view code]

### Modelica model

- SCI/macros/scicos_blocks/Electrical/Diode.mo [view code]