check_bounds
despasito.equations_of_state.saft.saft.EosType.check_bounds
- EosType.check_bounds(parameter, param_name, bounds)[source]
Ensures that bounds given for parameter are within the range of feasibility defined in this class. If the bounds are outside of the allowed range, they are adjusted.
- Parameters:
parameter (str) – Parameter type to be fit (e.g. for ‘epsilon_CO2’, this argument will be ‘epsilon’).
param_name (str) – Full parameter string to be fit. See EOS documentation for supported parameter names.
bounds (list) – Upper and lower bound for given parameter type
- Returns:
bounds – A screened and possibly corrected low and a high value for the parameter, param_name
- Return type:
list