modelDiode

Simple diode with heating port

Extends from Modelica.Electrical.Analog.Interfaces.OnePort (Component with two electrical pins p and n and current i from p to n), Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort (Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network).

Information

The simple diode is an electrical one port, where a heat port is added, which is defined in the Modelica.Thermal library. It consists of the diode itself and a parallel ohmic resistance R. If useTemperatureDependency is set to true, the diode formula is:

           v/N/vt_t
i = Ids (e          - 1)
where vt_t depends on the temperature of the heat port:
vt_t = k*temp/q

If useTemperatureDependency is set to false, the diode formula utilizes the voltage equivalent of the temperature, i.e.,

           v/Vt
i = Ids (e      - 1).

If the exponent v/N/vt_t or v/Vt, respectively, reaches the limit Maxexp, the diode characteristic is linearly continued to avoid overflow.
The thermal power is calculated by i*v.

Parameters

TypeNameDefaultDescription
SI.CurrentIds1e-6Saturation current
BooleanuseTemperatureDependencyfalse= true, if the diode current depends on temperature, otherwise utilizes the voltage equivalent of temperature
SI.VoltageVt0.04Voltage equivalent of temperature (kT/qn)
RealMaxexp15Max. exponent for linear continuation
SI.ResistanceR1e8Parallel ohmic resistance
RealEG1.11Activation energy
RealN1Emission coefficient
SI.TemperatureTNOM300.15Parameter measurement temperature
RealXTI3Temperature exponent of saturation current
BooleanuseHeatPort (from ConditionalHeatPort)false= true, if heatPort is enabled
SI.TemperatureT (from ConditionalHeatPort)293.15Fixed device temperature if useHeatPort = false

Connectors

TypeNameDefaultDescription
PositivePinp (from TwoPin)Positive electrical pin
NegativePinn (from TwoPin)Negative electrical pin
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPort (from ConditionalHeatPort)Conditional heat port

Components

TypeNameDefaultDescription
SI.Voltagev (from TwoPin)Voltage drop of the two pins (= p.v - n.v)
SI.Currenti (from OnePort)Current flowing from pin p to pin n
SI.PowerLossPower (from ConditionalHeatPort)Loss power leaving component via heatPort
SI.TemperatureT_heatPort (from ConditionalHeatPort)Temperature of heatPort
SI.Voltagevt_tTemperature voltage
SI.CurrentidDiode current

Revisions

  • March 11, 2009 by Christoph Clauss
    conditional heat port added
  • April 5, 2004 by Christoph Clauss
    implemented