modelDiode

Real diode of the analog electrical library

Extends from Interfaces.OnePort (OnePort partial model of analog electrical library).

Information

The real electrical diode is built in bondgraphic technology from a bond graph Dreal element, a 1-junction, and three bonds. A-causal bonds must be used here, because the causality depends on the embedding of the diode in its environment.


Parameters:

 Ids:     Saturation current (default value = 1e-6 Amp)

 Vt:      Thermal voltage (default value = 0.04 Volt)

 Maxexp:  Maximum exponent (default value = 15)

 R:       Parallel Ohmic leakage resistance (default value = 1e8 Ohm)

Parameters

TypeNameDefaultDescription
Modelica.SIunits.CurrentIds1.e-6Saturation current
Modelica.SIunits.VoltageVt0.04Thermal voltage equivalent of temperature (kT/qn)
RealMaxexp15Max. exponent for linear continuation
Modelica.SIunits.ResistanceR1.e8Parallel Ohmic leakage resistance

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinp (from OnePort)Left electrical connector
Modelica.Electrical.Analog.Interfaces.NegativePinn (from OnePort)Right electrical connector

Components

TypeNameDefaultDescription
Modelica.SIunits.Voltagev (from OnePort)Voltage drop between the two pins
Modelica.SIunits.Currenti (from OnePort)Current flowing from pin p to pin n