pywr.parameters.ScenarioDailyProfileParameter
- class pywr.parameters.ScenarioDailyProfileParameter(model, Scenario scenario, values, *args, **kwargs)
Parameter which provides a daily profile per scenario.
This parameter provides a repeating annual profile with a daily resolution. A different profile is returned for each member of a given scenario
- Parameters:
- scenario: Scenario
Scenario object over which different profiles should be provided
- valuesiterable, array
Length of 1st dimension should equal the number of members in the scenario object and the length of the second dimension should be 366
- __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, ...)Attributes
children
comment
comment: unicode
double_size
double_size: 'int'
integer_size
integer_size: 'int'
is_constant
is_variable
is_variable: 'bool'
model
name
parents
size
tags
tags: dict