evcc-io/core/optimizer.md
2025-10-31 15:25:53 +00:00

1 KiB

Optimizer

Optimizer uses mixed integer linear programming (MILP) to minize a cost function. The optimizer model implementation honors:

  • energy consumption/ feed-in costs
  • solar forecast
  • base load (aka home) energy demand
  • end of forecast commercial value
  • strategy- either "charge before export" (charge loads as soon as possible) or "attenuate grid peaks"
  • home battery or loadpoint/vehicle...
    • capacity, soc and charge goals
    • charge/discharge power limits and efficiency

Optimization spans N slots with N being minimum of available forecast data.

Parameters

Energy consumption/ feed-in costs/ Solar forecast

Grid/ feed-in/ solar tariff data.

TODO

  • make feed-in optional
  • make solar optional

Base load energy demand

Collected 15min energy profile averaged over the last 30 days.

End of forecast commercial value

Use minimum of energy consumption cost.

Home Battery

Loadpoint and Vehicles

  • home battery or loadpoint/vehicle...
    • capacity, soc and charge goals
    • charge/discharge power limits and efficiency