Conversation
Co-authored-by: MaStr <1036501+MaStr@users.noreply.github.com>
|
@copilot please add a feature flag on the functionality. Add it to the batcontrol.expert settings |
Co-authored-by: MaStr <1036501+MaStr@users.noreply.github.com>
Implemented in 48447a1. Added |
|
@copilot Change the battery_control_expert.enable_precharge_overhang default to false |
Co-authored-by: MaStr <1036501+MaStr@users.noreply.github.com>
Done in aa320b0. |
|
@copilot I need to change the logic a bit. |
Co-authored-by: MaStr <1036501+MaStr@users.noreply.github.com>
Implemented in 16c07dd. Early overhang charging now only applies when |
Wenn die nachzuladende Energie größer ist als in einem Slot mit
max_grid_charge_rateerreichbar, soll vor dem Preis-Wendepunkt mit einem Überhang begonnen werden, während der Hauptanteil weiter am Wendepunkt geladen wird. Zusätzlich wird ein konservativer Ladeverlust als Expert-Parameter berücksichtigt.Logic: overflow-first charging before turning point
DefaultLogicto detect the first lower-price turning point and compute slot capacity from:max_grid_charge_rate__get_recharge_overhang_energy) to keep existing decision flow intact.Logic: price-proximity guard for early overhang charging
abs(current_price - next_lowest_price) <= min_price_difference / 2Config: expert loss assumption
battery_control_expert.max_charge_loss_factor(default0.1) to model worst-case charging losses in slot planning.Logic.create_logic(...).Config: expert feature flag
battery_control_expert.enable_precharge_overhang(defaultfalse) as a feature flag.Parameter plumbing for slot-capacity calculation
max_grid_charge_ratetoCalculationParameters.Focused behavior coverage
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.