pywr.parameters.MaxParameter

class pywr.parameters.MaxParameter

Parameter that takes maximum of another Parameter and constant value (threshold)

This class is a more efficient version of AggregatedParameter where a single Parameter is compared to constant value.

Parameters:
parameter : Parameter

The parameter to to compare with the float.

threshold : float (default=0.0)

The threshold value to compare with the given parameter.

__init__($self, /, *args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

Methods

after
before
finish
get_all_values
get_double_lower_bounds
get_double_upper_bounds
get_double_variables
get_integer_lower_bounds
get_integer_upper_bounds
get_integer_variables
get_value
load
lower_bounds
register
reset
set_double_variables
set_integer_variables
setup
unregister
update
upper_bounds
value

Attributes

children
comment
double_size
integer_size
is_variable
model
name
parameter
parents
size
threshold