pywr.parameters.ArrayIndexedParameter
- class pywr.parameters.ArrayIndexedParameter(model, values, *args, **kwargs)
Time varying parameter using an array and Timestep.index
The values in this parameter are constant across all scenarios.
- __init__(*args, **kwargs)
Methods
__init__(*args, **kwargs)after(self)before(self)finish(self)get_all_values(self)get_constant_value(self)Return a constant value.
get_double_lower_bounds(self)get_double_upper_bounds(self)get_double_variables(self)get_integer_lower_bounds(self)get_integer_upper_bounds(self)get_integer_variables(self)get_value(self, ScenarioIndex scenario_index)load(cls, model, data)register(cls)reset(self)set_double_variables(self, double[)set_integer_variables(self, int[)setup(self)unregister(cls)value(self, Timestep ts, ...)Returns the value of the parameter at a given timestep
Attributes
childrencommentcomment: str
double_sizedouble_size: 'int'
integer_sizeinteger_size: 'int'
is_constantis_variableis_variable: 'bool'
modelnameparentssizetagstags: dict