This function assigns the external (given by the user, e.g., AREA) device parameters to the internal parameters (e.g., m_area). It also does the analysis of the IsGiven values.
function resistorRenameParametersDev extends Modelica.Icons.Function; input SI.Resistance R "Resistance"; input SI.Length W "Width"; input SI.Length L "Length"; input SI.Temp_C TEMP "Temperature"; input Boolean SENS_AREA "Parameter for sensitivity analyses, not implemented yet"; input SpiceConstants con "Spice constants"; output ResistorParams intern "Output record with resistor parameters"; end resistorRenameParametersDev;