This function mos2RenameParametersRevised 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 mos2RenameParametersRevised extends Modelica.Icons.Function; input Spice3.Internal.ModelcardMOS2 ex "Modelcard with technology parameters"; output Modelica.Electrical.Spice3.Internal.Mos2.Mos2ModelLineParams intern "Output record model line parameters"; end mos2RenameParametersRevised;