Modelica.Electrical.Spice3.Internal.Functions

Equations for semiconductor calculation

Information

The package Equation contains functions that are needed to model the semiconductor models. Some of these functions are used by several semiconductor models.

Extends from Modelica.Icons.InternalPackage (Icon for an internal package (indicating that the package should not be directly utilized by user)).

Package Content

Name Description
Modelica.Electrical.Spice3.Internal.Functions.junctionPotDepTemp junctionPotDepTemp Temperature dependency of junction potential
Modelica.Electrical.Spice3.Internal.Functions.saturationCurDepTempSPICE3MOSFET saturationCurDepTempSPICE3MOSFET Temperature dependency of saturation current
Modelica.Electrical.Spice3.Internal.Functions.junctionVCrit junctionVCrit Voltage limitation
Modelica.Electrical.Spice3.Internal.Functions.junctionParamDepTempSPICE3 junctionParamDepTempSPICE3 Temperature dependency of junction parameters
Modelica.Electrical.Spice3.Internal.Functions.junctionCapCoeffs junctionCapCoeffs Coefficient calculation
Modelica.Electrical.Spice3.Internal.Functions.junction2SPICE3MOSFETRevised junction2SPICE3MOSFETRevised Junction current and conductance calculation
Modelica.Electrical.Spice3.Internal.Functions.junction2SPICE3MOSFET junction2SPICE3MOSFET Junction current and conductance calculation, obsolete, use junction2SPICE3MOSFETRevised
Modelica.Electrical.Spice3.Internal.Functions.junctionCapRevised junctionCapRevised Junction capacity
Modelica.Electrical.Spice3.Internal.Functions.junctionCap junctionCap Junction capacity, obsolete, use JunctionCapRevised
Modelica.Electrical.Spice3.Internal.Functions.saturationCurDepTempSPICE3 saturationCurDepTempSPICE3 Temperature dependency of saturation current
Modelica.Electrical.Spice3.Internal.Functions.junctionVoltage23SPICE3 junctionVoltage23SPICE3 Junction Voltage
Modelica.Electrical.Spice3.Internal.Functions.junction3 junction3 Junction current and conductance calculation
Modelica.Electrical.Spice3.Internal.Functions.junctionCapTransTime junctionCapTransTime Junction capacitance transittime calculation
Modelica.Electrical.Spice3.Internal.Functions.junction2 junction2 Junction current and conductance calculation
Modelica.Electrical.Spice3.Internal.Functions.resDepTemp resDepTemp Temperature dependent conductance
Modelica.Electrical.Spice3.Internal.Functions.resDepGeom resDepGeom Resistance dependent from width and narrow
Modelica.Electrical.Spice3.Internal.Functions.saturationCurDepTempSPICE3JFET saturationCurDepTempSPICE3JFET Temperature dependency of saturation current
Modelica.Electrical.Spice3.Internal.Functions.capDepGeom capDepGeom Capacitance dependent from width and narrow
Modelica.Electrical.Spice3.Internal.Functions.energyGapDepTemp energyGapDepTemp Temperature dependency of energy gap
Modelica.Electrical.Spice3.Internal.Functions.junction2SPICE3BJT junction2SPICE3BJT Junction current and conductance calculation
Modelica.Electrical.Spice3.Internal.Functions.energyGapDepTemp_old energyGapDepTemp_old Temperature dependency of energy gap

Modelica.Electrical.Spice3.Internal.Functions.junctionPotDepTemp Modelica.Electrical.Spice3.Internal.Functions.junctionPotDepTemp

Temperature dependency of junction potential

Information

This internal function calculates the temperature dependent junction potential based on the actual and the nominal temperature.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
phi0[V]
tempDevice Temperature [K]
tnomNominal Temperature [K]

Outputs

NameDescription
retOutput voltage [V]

Modelica.Electrical.Spice3.Internal.Functions.saturationCurDepTempSPICE3MOSFET Modelica.Electrical.Spice3.Internal.Functions.saturationCurDepTempSPICE3MOSFET

Temperature dependency of saturation current

Information

This internal function calculates the temperature dependent saturation current based on the actual and the nominal temperature.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
satcur0Saturation current [A]
tempDevice Temperature [K]
tnomNominal Temperature [K]

Outputs

NameDescription
retOutput current

Modelica.Electrical.Spice3.Internal.Functions.junctionVCrit Modelica.Electrical.Spice3.Internal.Functions.junctionVCrit

Voltage limitation

Information

This internal function limits the junction voltage. If it increases 1e10, it is hold to be constant at that value.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
temptemperature [K]
ncoeff 
satcurSaturation current [A]

Outputs

NameDescription
retOutput value

Modelica.Electrical.Spice3.Internal.Functions.junctionParamDepTempSPICE3 Modelica.Electrical.Spice3.Internal.Functions.junctionParamDepTempSPICE3

Temperature dependency of junction parameters

Information

This internal function calculates several temperature dependent junction parameters based on the actual and the nominal temperature.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
phi0[V]
cap0 
mcoeff 
tempDevice temperature [K]
tnomNominal temperature [K]

Outputs

NameDescription
junctionpotJunction potential [V]
jucntioncapJunction capacitance

Modelica.Electrical.Spice3.Internal.Functions.junctionCapCoeffs Modelica.Electrical.Spice3.Internal.Functions.junctionCapCoeffs

Coefficient calculation

Information

This internal auxiliary function calculates some coefficients which are necessary for the calculation of junction capacities.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
mj 
fc 
phij[V]

Outputs

NameDescription
f1[V]
f2 
f3 

Modelica.Electrical.Spice3.Internal.Functions.junction2SPICE3MOSFETRevised Modelica.Electrical.Spice3.Internal.Functions.junction2SPICE3MOSFETRevised

Junction current and conductance calculation

Information

This internal function calculates both the junction current and the junction conductance dependent from the given voltage.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
voltageInput voltage [V]
tempDevice Temperature [K]
ncoeff 
satcurSaturation current [A]

Outputs

NameDescription
out_currentCalculated current [A]
out_condCalculated conductance [S]

Modelica.Electrical.Spice3.Internal.Functions.junction2SPICE3MOSFET Modelica.Electrical.Spice3.Internal.Functions.junction2SPICE3MOSFET

Junction current and conductance calculation, obsolete, use junction2SPICE3MOSFETRevised

Information

This internal function calculates both the junction current and the junction conductance dependent from the given voltage.

Extends from Modelica.Icons.Function (Icon for functions), Modelica.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Inputs

NameDescription
currentInput current [A]
condInput conductance [S]
voltageInput voltage [V]
tempDevice Temperature [K]
ncoeff 
satcurSaturation current [A]

Outputs

NameDescription
out_currentCalculated current [A]
out_condCalculated conductance [S]

Modelica.Electrical.Spice3.Internal.Functions.junctionCapRevised Modelica.Electrical.Spice3.Internal.Functions.junctionCapRevised

Junction capacity

Information

This internal function calculates the charge and the capacitance of the junction capacity dependent from the given voltage.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
capinInput capacitance [F]
voltageInput voltage [V]
depcap[V]
mj 
phij 
f1[V]
f2 
f3 

Outputs

NameDescription
capoutOutput capacitance [F]
chargeOutput charge [C]

Modelica.Electrical.Spice3.Internal.Functions.junctionCap Modelica.Electrical.Spice3.Internal.Functions.junctionCap

Junction capacity, obsolete, use JunctionCapRevised

Information

This internal function calculates the charge and the capacitance of the junction capacity dependent from the given voltage.

Extends from Modelica.Icons.Function (Icon for functions), Modelica.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Inputs

NameDescription
capinInput capacitance [F]
voltageInput voltage [V]
depcap[V]
mj 
phij 
f1[V]
f2 
f3 

Outputs

NameDescription
capoutOutput capacitance [F]
chargeOutput charge [C]

Modelica.Electrical.Spice3.Internal.Functions.saturationCurDepTempSPICE3 Modelica.Electrical.Spice3.Internal.Functions.saturationCurDepTempSPICE3

Temperature dependency of saturation current

Information

This internal function calculates the temperature dependent saturation current based on the actual and the nominal temperature.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
satcur0Saturation current [A]
tempDevice Temperature [K]
tnomNominal Temperature [K]
emissioncoeff 
energygap 
satcurexp 

Outputs

NameDescription
retOutput value [A]

Modelica.Electrical.Spice3.Internal.Functions.junctionVoltage23SPICE3 Modelica.Electrical.Spice3.Internal.Functions.junctionVoltage23SPICE3

Junction Voltage

Information

This internal function calculates the junction voltage based on the actual temperature, voltage and saturation current.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
vb[V]
ivb[A]
satcurSaturation current [A]
tempDevice temperature [K]
ncoeff 

Outputs

NameDescription
v23Output value [V]

Modelica.Electrical.Spice3.Internal.Functions.junction3 Modelica.Electrical.Spice3.Internal.Functions.junction3

Junction current and conductance calculation

Information

This internal function calculates both the junction current and the junction conductance dependent from the given voltage.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
voltageInput voltage [V]
tempDevice Temperature [K]
ncoeff 
satcurSaturation current [A]
v23[V]

Outputs

NameDescription
currentOutput current [A]
condOutput conductance [S]

Modelica.Electrical.Spice3.Internal.Functions.junctionCapTransTime Modelica.Electrical.Spice3.Internal.Functions.junctionCapTransTime

Junction capacitance transittime calculation

Information

This internal function calculates the capacitance and the charge dependent on the transittime.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
capinInput capacitance [F]
voltageInput voltage [V]
depcap[V]
mj 
phij 
f1[V]
f2 
f3 
transittime[s]
conductInput conductance [S]
currentInput current [A]

Outputs

NameDescription
capoutOutput capacitance [F]
chargeOutput charge [C]

Modelica.Electrical.Spice3.Internal.Functions.junction2 Modelica.Electrical.Spice3.Internal.Functions.junction2

Junction current and conductance calculation

Information

This internal function calculates both the junction current and the junction conductance dependent from the given voltage.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
voltageInput Voltage [V]
tempDevice Temperature [K]
ncoeff 
satcurSaturation current [A]

Outputs

NameDescription
currentOutput current [A]
condOutput conductance [S]

Modelica.Electrical.Spice3.Internal.Functions.resDepTemp Modelica.Electrical.Spice3.Internal.Functions.resDepTemp

Temperature dependent conductance

Information

This internal function calculates the conductance in dependency from the temperature.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
resistInput resistance [Ohm]
tempDevice temperature [K]
tnomNominal temperature [K]
tc1 
tc2 

Outputs

NameDescription
conductOutput conductance [S]
dCond_dTempOutput value

Modelica.Electrical.Spice3.Internal.Functions.resDepGeom Modelica.Electrical.Spice3.Internal.Functions.resDepGeom

Resistance dependent from width and narrow

Information

This internal function calculates the resistance in dependency from the geometrical values (width, narrow) and resistivity.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
rshInput sheet resistance
widthInput transistor width [m]
lengthInput transistor length [m]
narrowInput narrow [m]

Outputs

NameDescription
outOutput value

Modelica.Electrical.Spice3.Internal.Functions.saturationCurDepTempSPICE3JFET Modelica.Electrical.Spice3.Internal.Functions.saturationCurDepTempSPICE3JFET

Temperature dependency of saturation current

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
satcur0Saturation current [A]
tempDevice Temperature [K]
tnomNominal Temperature [K]

Outputs

NameDescription
retOutput value [A]

Modelica.Electrical.Spice3.Internal.Functions.capDepGeom Modelica.Electrical.Spice3.Internal.Functions.capDepGeom

Capacitance dependent from width and narrow

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
cap0Junction bottom capacitance [F/m2]
capsw0Junction sidewall capacitance [F/m]
widthInput capacitor width [m]
lengthInput capacitor length [m]
narrowInput narrow [m]

Outputs

NameDescription
outOutput value [F]

Modelica.Electrical.Spice3.Internal.Functions.energyGapDepTemp Modelica.Electrical.Spice3.Internal.Functions.energyGapDepTemp

Temperature dependency of energy gap

Information

This internal function calculates the temperature dependent energy gap based on the actual temperature, and two coefficients given as input to the function.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
tempTemperature [K]

Outputs

NameDescription
retOutput Gap Energy [eV]

Modelica.Electrical.Spice3.Internal.Functions.junction2SPICE3BJT Modelica.Electrical.Spice3.Internal.Functions.junction2SPICE3BJT

Junction current and conductance calculation

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
voltageInput Voltage [V]
tempDevice Temperature [K]
ncoeff1 
ncoeff2 
satcur1Saturation current [A]
satcur2Saturation current [A]

Outputs

NameDescription
current1Output current [A]
cond1Output conductance [S]
current2Output current [A]
cond2Output conductance [S]

Modelica.Electrical.Spice3.Internal.Functions.energyGapDepTemp_old Modelica.Electrical.Spice3.Internal.Functions.energyGapDepTemp_old

Temperature dependency of energy gap

Information

This internal function calculates the temperature dependent energy gap based on the actual temperature, and two coefficients given as input to the function.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
tempTemperature [K]

Outputs

NameDescription
retOutput voltage [V]
Automatically generated Thu Dec 19 17:20:02 2019.