This function mos2ModelLineParamsInitEquationsRevised does the initial precalculation of the MOSFET model line parameters for level 2.
function mos2ModelLineParamsInitEquationsRevised extends Modelica.Icons.Function; input Modelica.Electrical.Spice3.Internal.Mos2.Mos2ModelLineParams in_p "Input record model line parameters for MOS2"; input Integer in_m_type "Type of MOS transistor"; output Modelica.Electrical.Spice3.Internal.Mos2.Mos2ModelLineParams out_p "Input record model line parameters for MOS2"; end mos2ModelLineParamsInitEquationsRevised;