pywr.parameters.DataFrameParameter¶
-
class
pywr.parameters.
DataFrameParameter
(model, dataframe, scenario=None, **kwargs)¶ Timeseries parameter with automatic alignment and resampling
- Parameters
- modelpywr.model.Model
- dataframepandas.DataFrame or pandas.Series
- scenario: pywr._core.Scenario (optional)
-
__init__
(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(*args, **kwargs)Initialize self.
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 timestep, …)Attributes
children
comment
comment: unicode
dataframe
dataframe: object
double_size
double_size: ‘int’
integer_size
integer_size: ‘int’
is_variable
is_variable: ‘bool’
model
name
parents
scenario
scenario: pywr._core.Scenario
size