This function mos1ModelLineParamsInitEquation does the initial precalculation of the MOSFET model line parameters for level 1.
function mos1ModelLineParamsInitEquations extends Modelica.Icons.Function; input Mos1ModelLineParams in_p "Input record model line parameters for MOS1"; input SpiceConstants in_C "Spice constants"; input Integer in_m_type "Type of MOS transistor"; output Mos.MosModelLineVariables out_v "Output record model line variables"; end mos1ModelLineParamsInitEquations;