This function mos1ModelLineParamsInitEquation does the initial precalculation of the MOSFET model line parameters for level 2.
function mos2ModelLineParamsInitEquations extends Modelica.Icons.Function; extends Modelica.Icons.ObsoleteModel; input Mos2ModelLineParams in_p "Input record model line parameters for MOS2"; input Spice3.Internal.SpiceConstants in_C "Spice constants"; input Integer in_m_type "Type of MOS transistor"; output Mos2ModelLineVariables out_v "Output record with model line variables"; end mos2ModelLineParamsInitEquations;