This internal function calculates several temperature dependent junction parameters based on the actual and the nominal temperature.
function junctionParamDepTempSPICE3 extends Modelica.Icons.Function; input SI.Voltage phi0; input Real cap0; input Real mcoeff; input SI.Temp_K temp "Device temperature"; input SI.Temp_K tnom "Nominal temperature"; output SI.Voltage junctionpot "Junction potential"; output Real jucntioncap "Junction capacitance"; end junctionParamDepTempSPICE3;