In this function for the diode model temperature dependencies are calculated using temperature treating functions from the equation package.
function diodeCalcTempDependencies extends Modelica.Icons.Function; input DiodeModelLineParams in_p "Input record diode model line parameters"; input DiodeParams in_dp "Input record diode parameters"; input Model.Model in_m "Input record Model"; input DiodeVariables in_v "Input record diode variables"; output DiodeCalc out_c "Output record with calculated values"; end diodeCalcTempDependencies;