ADGEfficiency / energy-py-linear

Optimize energy assets using mixed-integer linear programming

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error trying to use forecasts in optimisation

tomharvey opened this issue · comments

Following along with the README and I get:

info = model.optimize(prices, forecast=forecasts, initial_charge=4)

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: optimize() got an unexpected keyword argument 'forecast'

Looks like a typo in the README

Fix in #3

Thanks :)