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.Temp_K temp "Device Temperature"; input SI.Temp_K tnom "Nominal Temperature"; input Real emissioncoeff; input Real energygap; input Real satcurexp; output SI.Current ret "Output value"; end saturationCurDepTempSPICE3;