In this function some initial calculations for the resistor model are done, especially concerning the handling of the breakthrough voltage.
function resistorInitEquations extends Modelica.Icons.Function; input ResistorParams in_p "Input record with resistor parameters"; input ResistorModelLineParams in_p2 "Input record with resistor model line parameters"; output ResistorVariables out "Output record with resistor variables"; end resistorInitEquations;