pywr.parameters.AggregatedParameter¶
-
class
pywr.parameters.AggregatedParameter¶ A collection of IndexParameters
This class behaves like a set. Parameters can be added or removed from it. It’s value is the value of it’s child parameters aggregated using a aggregating function (e.g. sum).
Parameters: - parameters : iterable of IndexParameter
The parameters to aggregate
- agg_func : callable or str
The aggregation function. Must be one of {“sum”, “min”, “max”, “mean”, “product”}, or a callable function which accepts a list of values.
-
__init__($self, /, *args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
addafterbeforefinishget_all_valuesget_double_lower_boundsget_double_upper_boundsget_double_variablesget_integer_lower_boundsget_integer_upper_boundsget_integer_variablesget_valueloadlower_boundsregisterremoveresetset_double_variablesset_integer_variablessetupunregisterupdateupper_boundsvalueAttributes
agg_funcchildrencommentdouble_sizeinteger_sizeis_variablemodelnameparametersparentssize