Simple diode
Library
Electrical/Analog/Semiconductors
Description
The simple diode is a one port. It consists of the diode itself and an parallel ohmic resistance R. The diode formula is:
i = Ids * (exp(v/Vt) - 1) .
If the exponent v/Vt reaches the limit Maxexp, the diode characterisic is linearly continued to avoid overflow.
Parameters

- Ids [A] : Saturation current (Ids): Scalar.
- Vt [V] : Voltage equivalent of temperature (kT/qn) (Vt): Scalar.
- Maxexp [-] : Max. exponent for linear continuation (Maxexp): Scalar.
- R [Ohm] : Parallel ohmic resistance (R): Scalar.
Ports
- Port 1 at left position: implicit input fixedport numbered 1.
- Port 1 at right position: implicit output fixedport numbered 1.