Skip to content

Raise default night injection level to 30/80 W#33

Merged
haraldschilly merged 1 commit into
mainfrom
claude/increase-night-feed-in-opN5D
Apr 23, 2026
Merged

Raise default night injection level to 30/80 W#33
haraldschilly merged 1 commit into
mainfrom
claude/increase-night-feed-in-opN5D

Conversation

@haraldschilly
Copy link
Copy Markdown
Owner

Summary

  • Bumps the default level_night from 20,50 W to 30,80 W so the nighttime baseload better matches typical overnight standby consumption (router, fridge duty cycles, small chargers).
  • Users on the old default can restore it via LEVEL_NIGHT=20,50 or --level-night 20,50.

Changes

  • src/solmate_optimizer/logic.py — default level_night + module docstring.
  • src/solmate_optimizer/main.py — CLI default for --level-night.
  • README.md — "Injection levels" table, "Configuration" table, example output.
  • tests/test_logic.pytest_custom_night_level now uses (40, 100) so it still exercises a value distinct from the new default.
  • CHANGELOG.md — entry under [Unreleased].

Test plan

  • uv run pytest --cov=solmate_optimizer.logic --cov-report=term-missing — 60 passed, 100% coverage.

https://claude.ai/code/session_01VatpoNcozpEat3sBD66gzi


Generated by Claude Code

Overnight standby consumption (router, fridge duty cycles, small
chargers) is typically above 20 W — the previous baseload barely
covered it. Bumping the default to 30/80 W keeps the battery
contributing through the night without risking excessive drain.

Users on the old default can restore it via LEVEL_NIGHT=20,50 or
--level-night 20,50.

https://claude.ai/code/session_01VatpoNcozpEat3sBD66gzi
@haraldschilly haraldschilly marked this pull request as ready for review April 23, 2026 21:33
@haraldschilly haraldschilly merged commit 823bdd7 into main Apr 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants