Skip to content

feat(battery-policy): pass learned RTE and consumption forecast to OptimizationEngine#126

Merged
jtebbens merged 2 commits intomasterfrom
claude/battery-policy-info-Y3QVV
Mar 15, 2026
Merged

feat(battery-policy): pass learned RTE and consumption forecast to OptimizationEngine#126
jtebbens merged 2 commits intomasterfrom
claude/battery-policy-info-Y3QVV

Conversation

@jtebbens
Copy link
Copy Markdown
Owner

  • OptimizationEngine.compute() now accepts optional rte and consumptionWPerSlot params
  • Charge cost calculation uses the actual learned round-trip efficiency instead of
    the static 0.75 default, making arbitrage decisions more accurate
  • Discharge value now splits between local consumption (full retail price) and
    grid export (30% of price), discouraging discharge during low-demand hours
  • _recomputeOptimizer() in device.js reads the validated learned RTE from
    EfficiencyEstimator and builds a 24h consumption forecast from LearningEngine
    patterns before calling the optimizer

https://claude.ai/code/session_01TxTuBQ5JK9LUz81L5kRord

claude and others added 2 commits March 15, 2026 16:15
…timizationEngine

- OptimizationEngine.compute() now accepts optional `rte` and `consumptionWPerSlot` params
- Charge cost calculation uses the actual learned round-trip efficiency instead of
  the static 0.75 default, making arbitrage decisions more accurate
- Discharge value now splits between local consumption (full retail price) and
  grid export (30% of price), discouraging discharge during low-demand hours
- _recomputeOptimizer() in device.js reads the validated learned RTE from
  EfficiencyEstimator and builds a 24h consumption forecast from LearningEngine
  patterns before calling the optimizer

https://claude.ai/code/session_01TxTuBQ5JK9LUz81L5kRord
@jtebbens jtebbens merged commit c76261e into master Mar 15, 2026
0 of 2 checks 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