Skip to content

Optimizer: configurable battery efficiency#32042

Draft
andig wants to merge 5 commits into
masterfrom
feat/battery-efficiency
Draft

Optimizer: configurable battery efficiency#32042
andig wants to merge 5 commits into
masterfrom
feat/battery-efficiency

Conversation

@andig

@andig andig commented Jul 22, 2026

Copy link
Copy Markdown
Member

depends on evcc-io/optimizer#99
fixes #32038

Makes the battery charge/discharge efficiency used by the optimizer configurable instead of assuming 90% for every battery. Default stays 90%.

  • new advanced efficiency parameter for battery meters, part of the shared battery params preset, hence available on all battery templates without touching a single device
  • the parameter is handled while creating the meter and never reaches the device implementation since the device does not use it
  • sent as the per-battery eta_c/eta_d added by feat: per-battery charge/discharge efficiency optimizer#99, the request-level values stay the default for batteries without configured efficiency

🤖 Generated with Claude Code

@andig andig added enhancement New feature or request devices Specific device support labels Jul 22, 2026

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@andig
andig marked this pull request as draft July 22, 2026 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devices Specific device support enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Optimizer Battery Efficiency

1 participant