This internal function calculates the temperature dependent saturation current based on the actual and the nominal temperature.
function saturationCurDepTempSPICE3 extends Modelica.Icons.Function; input SI.Current satcur0 "Saturation current"; input SI.Temperature temp "Device Temperature"; input SI.Temperature tnom "Nominal Temperature"; input Real emissioncoeff; input Real energygap; input Real satcurexp; output SI.Current ret "Output value"; end saturationCurDepTempSPICE3;