-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EMHASS makes non profitable decisions about battery charge, despite battery charge/discharge weights #279
Comments
Yes but hard to say why it is behaving like that. |
This is not the expected outcome, I have seen similar results in the past which has usually been a consequence of incorrect input values. Can you update this issue with a screen shot of all the system optimisation charts and the optimisation table? They will contain the full picture and will enable us to understand why you are seeing these results. |
Have you tried with lower weights? I generally find 0.05 or 0.1 creates my desired behaviour. |
Mind you that my currency is SEK. There's about 11 SEK on one EUR, so this approximates to 0.05 EUR/kWh battery weight. It goes well with my expected battery life cost. I paid roughly 60 000 SEK for the battery, and it's 80% capacity warranty is 6000 cycles, so around 10 SEK per cycle. The battery holds 10 kWh, so 1 SEK per kWh on total. I divide that in half for charge and the other half for discharge. But I'll set up a separate standalone EMHASS just to test different configurations and see if I can both reproduce and remove this behavior. |
Describe the bug
EMHASS
naive_mpc_optim
makes incorrect decisions on charging and discharging the battery if the energy price is more or less at a constant low.Charging and discharging the battery comes at a cost, so I have set the corresponding parameters for weighting them
So when the price is at a constant low, EMHASS alternately charges and discharges the battery, at almost full power, each time period.
In my scenario, purchase price was at a (more or less) constant 0.38 SEK/kWh, and sales price at 0.15 SEK/kWh. No profit is made, but battery wear is obvious.
The numbers don't add up to be profitable.
To Reproduce
It happens when the electricity price is at a rather constant low in daytime when PV production is good.
Expected behavior
EMHASS should consider the battery charge/discharge weights and avoid a forced charge/discharge when the profit is less than the battery charge/discharge weight.
Screenshots
Home Assistant installation type
Your hardware
EMHASS installation type
Additional context
The text was updated successfully, but these errors were encountered: