pywr.parameters.ArrayIndexedScenarioMonthlyFactorsParameter¶
-
class
pywr.parameters.ArrayIndexedScenarioMonthlyFactorsParameter(model, Scenario scenario, values, factors, *args, **kwargs)¶ Time varying parameter using an array and Timestep.index with multiplicative factors per Scenario
-
__init__()¶ values is the baseline timeseries data that is perturbed by a factor. The factor is taken from factors which is shape (scenario.size, 12). Therefore factors vary with the individual scenarios in scenario and month.
Methods
values is the baseline timeseries data that is perturbed by a factor.
after(self)before(self)finish(self)get_all_values(self)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(type cls, model, data)register(type cls)reset(self)set_double_variables(self, double[)set_integer_variables(self, int[)setup(self)unregister(type cls)value(self, Timestep ts, …)Attributes
childrencommentcomment: unicode
double_sizedouble_size: ‘int’
integer_sizeinteger_size: ‘int’
is_variableis_variable: ‘bool’
modelnameparentssize-