add cost for increased battery life depletion when sitting at very high or low SOC#62
Conversation
|
@ekkea I think there are two conflicting goals here: keep battery and lowest possible (but still sufficient) soc and flattening grid feed-in curve. Both seem at least potentially contradictory. Do you think you could add another PR for grid-aware battery charging where charging happens preferably during peak production? I think this should be configurable per battery as to not apply this to vehicles but only to home batteries. I've closed #70 which was trying to do something similar. |
|
Opened #71 for the approach. |
|
@andig This feature does already exist. There is a strategy called something with "attenuation" which incentifies charging at solar peak hours. |
|
Also, I don't think that the feature here contradicts any other goal. It is just assinging costs to "extreme" SOCs which becomes a target function contribution. Whether these costs exist in reality (increased aging) is a different discussion. |
added feature that allows to specify a cost for batteries sitting at very high or very low SOC for longer time.
added optional cost parameters to battery API:
prc_dpl_soc_high:
Price in €/h for higher battery life depletion when sitting at high SOC.
A linear cost model is applied, starting at 80% SOC, applying full price at 100% SOC
The battery capacity is assumed to be s_capacity or s_max if s_capacity is not specified.
prc_dpl_soc_low:
Price in €/h for higher battery life depletion when sitting at low SOC.
A linear cost model is applied, starting at 20% SOC, applying full price at 0% SOC
The battery capacity is assumed to be s_capacity or s_max if s_capacity is not specified.
The feature is tested and works as expected, however, it is not clear how useful it is as the optimization time horizon is short in relation to time duration needed to create noticeable life time depletion.