This function mosCalcInitEquations does the initial precalculation of the MOSFET parameters (level 1).
function mosCalcInitEquations extends Modelica.Icons.Function; input Spice3.Internal.Mos1.Mos1ModelLineParams in_p "Input record model line parameters for MOS1"; input Spice3.Internal.SpiceConstants in_C "Input record SPICE constants"; input MosModelLineVariables in_vp "Input record model line variables"; input Spice3.Internal.Mosfet.Mosfet in_m "Input record MOSFET parameters"; output Spice3.Internal.Mos1.Mos1Calc out_c "Output record Mos1 calculated values"; end mosCalcInitEquations;