-
-
Notifications
You must be signed in to change notification settings - Fork 101
Description
Setup
Deye SG05LP3 inverter with 32 kWh LiFePO4 home battery
VW Passat GTE (PHEV, 19.3 kWh battery)
Dynamic import/export pricing (Energy Knights / Nordpool)
car_charging_from_battery: On
best_soc_keep: set to 15 kWh in the evening to reserve energy for car charging
Import price threshold configured so the car does not charge when grid price > €0.25/kWh
Problem
When I plan to charge my car in the evening from the home battery, Predbat blocks the car charging because the current grid import price exceeds my threshold (e.g. €0.30/kWh).
However, the car is not drawing from the grid — it is drawing from the home battery, which was charged earlier at a much lower cost (e.g. €0.05/kWh from solar or cheap night rates). The grid import price at the time of car charging is irrelevant in this scenario.
Expected behaviour
When car_charging_from_battery is On and there is sufficient battery SoC to cover the car charging load, Predbat should evaluate the effective cost of the stored energy (i.e. what was paid to charge the battery), not the current grid import price, when deciding whether to allow car charging.
The grid price threshold should only apply when the car would actually be charged from the grid.
Current behaviour
Predbat applies the grid import price threshold regardless of whether the energy source is the grid or the home battery, effectively preventing the car from charging even when cheap stored energy is available.
Suggestion
The planner could check the energy source for the car charging slot: if the plan shows the car being supplied from the home battery (discharge), use the effective stored energy cost instead of the live grid import rate when evaluating against the price threshold.