pywrdrb.parameters.TemperatureModel

pywrdrb.parameters.TemperatureModel#

class pywrdrb.parameters.TemperatureModel(model, start_date, activate_thermal_control, activate_input_bias_correction, Q_C_lstm_var_name, Q_i_lstm_var_name, cannonsville_storage_pct_lstm_var_name, PywrDRB_ML_plugin_path, disable_tqdm, debug, **kwargs)#
__init__(model, start_date, activate_thermal_control, activate_input_bias_correction, Q_C_lstm_var_name, Q_i_lstm_var_name, cannonsville_storage_pct_lstm_var_name, PywrDRB_ML_plugin_path, disable_tqdm, debug, **kwargs)#

Methods

__init__(model, start_date, ...)

after(self)

before(self)

finish(self)

forecast(Q_C, Q_i, cannonsville_storage_pct)

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)

make_control_release(Q_C, Q_i, ...)

Make the thermal control release decision based on the LSTM model predictions.

register(cls)

reset(self)

set_double_variables(self, double[)

set_integer_variables(self, int[)

setup(self)

unregister(cls)

update(Q_C, Q_i, cannonsville_storage_pct, ...)

Forward the LSTM models to one step.

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