In this function some initial calculations for the diode model are done, especially concerning the handling of the breakthrough voltage.
function diodeInitEquations extends Modelica.Icons.Function; input DiodeModelLineParams in_p "Input record with diode model line parameters"; output DiodeVariables out_v "Output record with diode variables"; end diodeInitEquations;