Package 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 Contents

NameDescription
capDepGeomCapacitance dependent from width and narrow
energyGapDepTempTemperature dependency of energy gap
energyGapDepTemp_oldTemperature dependency of energy gap
junction2Junction current and conductance calculation
junction2SPICE3BJTJunction current and conductance calculation
junction2SPICE3MOSFETJunction current and conductance calculation, obsolete, use junction2SPICE3MOSFETRevised
junction2SPICE3MOSFETRevisedJunction current and conductance calculation
junction3Junction current and conductance calculation
junctionCapJunction capacity, obsolete, use JunctionCapRevised
junctionCapCoeffsCoefficient calculation
junctionCapRevisedJunction capacity
junctionCapTransTimeJunction capacitance transittime calculation
junctionParamDepTempSPICE3Temperature dependency of junction parameters
junctionPotDepTempTemperature dependency of junction potential
junctionVCritVoltage limitation
junctionVoltage23SPICE3Junction Voltage
resDepGeomResistance dependent from width and narrow
resDepTempTemperature dependent conductance
saturationCurDepTempSPICE3Temperature dependency of saturation current
saturationCurDepTempSPICE3JFETTemperature dependency of saturation current
saturationCurDepTempSPICE3MOSFETTemperature dependency of saturation current

Function 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

TypeNameDescription
Voltagephi0 
Temp_KtempDevice Temperature
Temp_KtnomNominal Temperature

Outputs

TypeNameDescription
VoltageretOutput voltage

Function 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

TypeNameDescription
Currentsatcur0Saturation current
Temp_KtempDevice Temperature
Temp_KtnomNominal Temperature

Outputs

TypeNameDescription
RealretOutput current

Function 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

TypeNameDescription
Temp_Ktemptemperature
Realncoeff 
CurrentsatcurSaturation current

Outputs

TypeNameDescription
RealretOutput value

Function 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

TypeNameDescription
Voltagephi0 
Realcap0 
Realmcoeff 
Temp_KtempDevice temperature
Temp_KtnomNominal temperature

Outputs

TypeNameDescription
VoltagejunctionpotJunction potential
RealjucntioncapJunction capacitance

Function 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

TypeNameDescription
Realmj 
Realfc 
Voltagephij 

Outputs

TypeNameDescription
Voltagef1 
Realf2 
Realf3 

Function 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

TypeNameDescription
VoltagevoltageInput voltage
Temp_KtempDevice Temperature
Realncoeff 
CurrentsatcurSaturation current

Outputs

TypeNameDescription
Currentout_currentCalculated current
Conductanceout_condCalculated conductance

Function 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) and Modelica.​Icons.​ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Inputs

TypeNameDescription
CurrentcurrentInput current
ConductancecondInput conductance
VoltagevoltageInput voltage
Temp_KtempDevice Temperature
Realncoeff 
CurrentsatcurSaturation current

Outputs

TypeNameDescription
Currentout_currentCalculated current
Conductanceout_condCalculated conductance

Function 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

TypeNameDescription
CapacitancecapinInput capacitance
VoltagevoltageInput voltage
Voltagedepcap 
Realmj 
Realphij 
Voltagef1 
Realf2 
Realf3 

Outputs

TypeNameDescription
CapacitancecapoutOutput capacitance
ChargechargeOutput charge

Function 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) and Modelica.​Icons.​ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Inputs

TypeNameDescription
CapacitancecapinInput capacitance
VoltagevoltageInput voltage
Voltagedepcap 
Realmj 
Realphij 
Voltagef1 
Realf2 
Realf3 

Outputs

TypeNameDescription
CapacitancecapoutOutput capacitance
ChargechargeOutput charge

Function 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

TypeNameDescription
Currentsatcur0Saturation current
Temp_KtempDevice Temperature
Temp_KtnomNominal Temperature
Realemissioncoeff 
Realenergygap 
Realsatcurexp 

Outputs

TypeNameDescription
CurrentretOutput value

Function 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

TypeNameDescription
Voltagevb 
Currentivb 
CurrentsatcurSaturation current
Temp_KtempDevice temperature
Realncoeff 

Outputs

TypeNameDescription
Voltagev23Output value

Function 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

TypeNameDescription
VoltagevoltageInput voltage
Temp_KtempDevice Temperature
Realncoeff 
CurrentsatcurSaturation current
Voltagev23 

Outputs

TypeNameDescription
CurrentcurrentOutput current
ConductancecondOutput conductance

Function 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

TypeNameDescription
CapacitancecapinInput capacitance
VoltagevoltageInput voltage
Voltagedepcap 
Realmj 
Realphij 
Voltagef1 
Realf2 
Realf3 
Timetransittime 
ConductanceconductInput conductance
CurrentcurrentInput current

Outputs

TypeNameDescription
CapacitancecapoutOutput capacitance
ChargechargeOutput charge

Function 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

TypeNameDescription
VoltagevoltageInput Voltage
Temp_KtempDevice Temperature
Realncoeff 
CurrentsatcurSaturation current

Outputs

TypeNameDescription
CurrentcurrentOutput current
ConductancecondOutput conductance

Function 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

TypeNameDescription
ResistanceresistInput resistance
Temp_KtempDevice temperature
Temp_KtnomNominal temperature
Realtc1 
Realtc2 

Outputs

TypeNameDescription
ConductanceconductOutput conductance
RealdCond_dTempOutput value

Function 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

TypeNameDescription
RealrshInput sheet resistance
LengthwidthInput transistor width
LengthlengthInput transistor length
LengthnarrowInput narrow

Outputs

TypeNameDescription
RealoutOutput value

Function Modelica.​Electrical.​Spice3.​Internal.​Functions.​saturationCurDepTempSPICE3JFET
Temperature dependency of saturation current

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
Currentsatcur0Saturation current
Temp_KtempDevice Temperature
Temp_KtnomNominal Temperature

Outputs

TypeNameDescription
CurrentretOutput value

Function Modelica.​Electrical.​Spice3.​Internal.​Functions.​capDepGeom
Capacitance dependent from width and narrow

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
CapacitancePerAreacap0Junction bottom capacitance
Permittivitycapsw0Junction sidewall capacitance
LengthwidthInput capacitor width
LengthlengthInput capacitor length
LengthnarrowInput narrow

Outputs

TypeNameDescription
CapacitanceoutOutput value

Function 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

TypeNameDescription
Temp_KtempTemperature

Outputs

TypeNameDescription
GapEnergyretOutput Gap Energy

Function Modelica.​Electrical.​Spice3.​Internal.​Functions.​junction2SPICE3BJT
Junction current and conductance calculation

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
VoltagevoltageInput Voltage
Temp_KtempDevice Temperature
Realncoeff1 
Realncoeff2 
Currentsatcur1Saturation current
Currentsatcur2Saturation current

Outputs

TypeNameDescription
Currentcurrent1Output current
Conductancecond1Output conductance
Currentcurrent2Output current
Conductancecond2Output conductance

Function 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

TypeNameDescription
Temp_KtempTemperature

Outputs

TypeNameDescription
VoltageretOutput voltage