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.Temperature temp "Device Temperature"; input SI.Temperature tnom "Nominal Temperature"; output SI.Voltage ret "Output voltage"; end junctionPotDepTemp;