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 diodeRenameParametersDev extends Modelica.Icons.Function; input SI.Temperature TEMP "Temperature"; input Real AREA "Area factor"; input Real IC "Initial condition value (VD, not implemented yet"; input Boolean OFF "Optional initial condition: false - IC not used, true - IC used, not implemented yet"; input Boolean SENS_AREA "Flag to request sensitivity WRT area, not implemented yet"; output DiodeParams dev "Output record with calculated diode parameters"; end diodeRenameParametersDev;