pywrdrb.parameters.UpdateTemperatureAtLordville

pywrdrb.parameters.UpdateTemperatureAtLordville#

class pywrdrb.parameters.UpdateTemperatureAtLordville(model, temperature_model, **kwargs)#
__init__(model, temperature_model, **kwargs)#

A custom parameter class to update the temperature model at Lordville using the previous flow values.

Parameters:
  • model (pywr.core.Model) – The Pywr model object.

  • temperature_model (TemperatureModel) – The TemperatureModel instance to be updated.

  • **kwargs (dict) – Additional keyword arguments for the Parameter class.

Methods

__init__(model, temperature_model, **kwargs)

A custom parameter class to update the temperature model at Lordville using the previous flow values.

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

str

double_size

'int'

integer_size

'int'

is_constant

is_variable

'bool'

model

name

parents

size

tags

dict