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.Temperature temp "Device temperature"; input SI.Temperature tnom "Nominal temperature"; output SI.Voltage junctionpot "Junction potential"; output Real junctioncap "Junction capacitance"; end junctionParamDepTempSPICE3;