This internal function calculates the temperature dependent energy gap based on the actual temperature, and two coefficients given as input to the function.
function energyGapDepTemp_old extends Modelica.Icons.Function; input SI.Temp_K temp "Temperature"; output SI.Voltage ret "Output voltage"; end energyGapDepTemp_old;