emhass
emhass copied to clipboard
P_Batt forecast value calculation issue
Describe the bug
P_Batt forecast value calculation uses eta_disch as a multiplier and this causes issue where p_batt is lower than it should be.
For example at the moment max sell from battery should be happening.
Pd_max: 15600 eta_disch: 0.95
P_batt should be 15600, but it is 15600 * 0.95 =14 820
I'm using p_batt in automation to set the discharge power and in this case losing some power.
Expected behavior Would be nice to get the real b_batt value. I think it would be beneficial for utilizing battery the most. Maybe it will be a possibility to make the eta_disch calculation for after the p_batt so that load and grid would be correct.