Description
I can't get my EMHASS to perform a "Perfect Optimization" or "Day-ahead Optimization", i see the following error in the logs. Could you provide some guidance on how to resolve? Not sure if you need me to submit my Config file also for context?
[2025-04-11 08:12:05 +1000] [23] [ERROR] Exception on /action/naive-mpc-optim [POST] Traceback (most recent call last): File "/app/.venv/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/.venv/lib/python3.12/site-packages/flask/app.py", line 919, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/.venv/lib/python3.12/site-packages/flask/app.py", line 917, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/app/.venv/lib/python3.12/site-packages/flask/app.py", line 902, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/src/emhass/web_server.py", line 414, in action_call input_data_dict = set_input_data_dict( ^^^^^^^^^^^^^^^^^^^^ File "/app/src/emhass/command_line.py", line 350, in set_input_data_dict P_PV_forecast = fcst.get_power_from_weather( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/src/emhass/forecast.py", line 673, in get_power_from_weather self.plant_conf["pv_inverter_model"][i]