pyml.exceptions.excpetions.OutsideSpecifiedRange#

exception OutsideSpecifiedRange(input, variable_name, lower_limit, upper_limit)[source]#

Exception raised when an input value is outside the specified range.

This exception is raised when a provided input value is not within the limits defined by a specified lower and upper bound.

Parameters:
  • input (float) – The input value that is outside the specified range.

  • variable_name (str) – The name of the variable associated with the input value.

  • lower_limit (float) – The lower limit of the specified range.

  • upper_limit (float) – The upper limit of the specified range.