This function mos2RenameParameters assigns the external (given by the user, e.g., RD) technology parameters to the internal parameters (e.g., m_drainResistance). It also does the analysis of the IsGiven values (level 2).
function mos2RenameParameters extends Modelica.Icons.Function; extends Modelica.Icons.ObsoleteModel; input Spice3.Internal.ModelcardMOS2 ex "Modelcard with technology parameters"; input Spice3.Internal.SpiceConstants con "Spice constants"; output Mos2ModelLineParams intern "Output record model line parameters"; end mos2RenameParameters;