This internal function calculates the temperature dependent junction potential based on the actual and the nominal temperature.
function junctionPotDepTemp extends Modelica.Icons.Function; input SI.Voltage phi0; input SI.Temp_K temp "Device Temperature"; input SI.Temp_K tnom "Nominal Temperature"; output SI.Voltage ret "Output voltage"; end junctionPotDepTemp;