update_parameter

despasito.equations_of_state.saft.saft.EosType.update_parameter

EosType.update_parameter(param_name, bead_names, param_value)[source]

Update a single parameter value during parameter fitting process.

To refresh those parameters that are dependent on to bead_library or cross_library, use method parameter_refresh.

Parameters:
  • param_name (str) – Parameter to be fit. See EOS documentation for supported parameter names. Cross interaction parameter names should be composed of parameter name and the other bead type, separated by an underscore (e.g. epsilon_CO2).

  • bead_names (list) – Bead names to be changed. For a self interaction parameter, the length will be one, for a cross interaction parameter, the length will be two.

  • param_value (float) – Value of parameter