Hi,
I’m not sure, but could there be a bug when using
"set_def_constant":[true]
?
this is the command:
curl -i -H "Content-Type: application/json" -X POST -d '{
"set_def_constant":[true],
"pv_power_forecast":[0.0, 0.0, 7.6, 44.3, 142.7, 251.0, 234.6, 110.39999999999999, 21.4, 0.0, 0.0, 0.0],
"def_total_hours":[5],
"prediction_horizon":12,
"load_cost_forecast":[23.494008, 27.6, 27.543143999999998, 25.4988, 25.040243999999998, 24.73248, 24.172572, 24.27516, 24.755964, 27.2292, 28.968252, 27.387408],
"prod_price_forecast":[12.464, 12.454, 12.444, 12.434, 12.424, 12.414, 12.404, 12.414, 12.424, 12.434, 12.444, 12.454]
}' http://localhost:5000/action/naive-mpc-optim
and here the result:
I recognized that, when using set_def_constant with true, as I wanted to have my heatpump to run without interruption.
for me it seems to be “shifted” half of the deferrable hours. I’ve seen a similar result yesterday.