Skip to content

Loadpoint: split sense and control, parallel maintainance#30367

Open
premultiply wants to merge 1 commit into
masterfrom
feature/lp-update-phase1
Open

Loadpoint: split sense and control, parallel maintainance#30367
premultiply wants to merge 1 commit into
masterfrom
feature/lp-update-phase1

Conversation

@premultiply
Copy link
Copy Markdown
Member

@premultiply premultiply commented May 31, 2026

Main part of the loadpoint sense/control epic #30366.

  • Fast, independent sensing — each loadpoint senses status + measurements on its own 2s loop, so a "vehicle plugged in" is detected within seconds regardless of how many loadpoints the site has (no longer N × interval).
  • Event-driven control — control runs when something actually changes (fairly scheduled so no loadpoint starves), instead of one loadpoint per interval tick.
  • Parallel actuation — loadpoints no longer wait for each other. A self-correcting in-flight reserve (site surplus + per-circuit headroom) hides power a loadpoint just claimed until the meters catch up, so parallel ramps can't double-allocate surplus or overshoot a circuit. The reserve is valid for one control interval and collapses the instant the meter reflects the new draw.

@premultiply premultiply self-assigned this May 31, 2026
@premultiply premultiply added enhancement New feature or request infrastructure Basic functionality backlog Things to do later experimental Experimental feature labels May 31, 2026
@premultiply premultiply linked an issue May 31, 2026 that may be closed by this pull request
3 tasks
@premultiply premultiply changed the title feat(core): fast sense loop for status & measurements (lp-update phase 1) Core: fast loop for status & measurements May 31, 2026
@premultiply premultiply linked an issue May 31, 2026 that may be closed by this pull request
3 tasks
@premultiply premultiply force-pushed the feature/lp-update-phase1 branch 2 times, most recently from d3bedc1 to 8e794f9 Compare May 31, 2026 20:50
@premultiply premultiply changed the title Core: fast loop for status & measurements Core: decouple loadpoint sensing from control + parallel actuation May 31, 2026
@premultiply premultiply changed the title Core: decouple loadpoint sensing from control + parallel actuation Loadpoint: fast sensing, event-driven control, parallel actuation May 31, 2026
@premultiply premultiply force-pushed the feature/lp-update-phase1 branch 2 times, most recently from 7488987 to c336355 Compare May 31, 2026 22:51
@premultiply premultiply marked this pull request as ready for review June 1, 2026 00:01
Copilot AI review requested due to automatic review settings June 1, 2026 00:01
sourcery-ai[bot]

This comment was marked as outdated.

This comment was marked as resolved.

@premultiply premultiply force-pushed the feature/lp-update-phase1 branch from c336355 to 0d5bdc8 Compare June 1, 2026 00:31
Sense each loadpoint fast and independently (status + measurements published within ~2s regardless of loadpoint count) and drive control from those events. Loadpoints actuate in parallel, kept safe by a self-correcting in-flight reserve (site surplus + per-circuit headroom) instead of serializing the control loop.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@premultiply premultiply force-pushed the feature/lp-update-phase1 branch from 0d5bdc8 to 438936d Compare June 1, 2026 01:06
@premultiply premultiply requested a review from andig June 1, 2026 07:08
@andig
Copy link
Copy Markdown
Member

andig commented Jun 1, 2026

each loadpoint senses status + measurements on its own ~2s loop

Do they run concurrently? We should create/check race builds if this surfaces hidden bugs.

And if we do this- how do we treat cloud apis? Meters/ chargers are not prepared for this request volume.

andig

This comment was marked as off-topic.

@premultiply

This comment was marked as off-topic.

@premultiply
Copy link
Copy Markdown
Member Author

each loadpoint senses status + measurements on its own ~2s loop

Do they run concurrently?

Yes.

how do we treat cloud apis? Meters/ chargers are not prepared for this request volume.

This is #30375

@andig

This comment was marked as off-topic.

@premultiply premultiply changed the title Loadpoint: fast sensing, event-driven control, parallel actuation Loadpoint: split sense and control, parallel maintainance Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backlog Things to do later enhancement New feature or request experimental Experimental feature infrastructure Basic functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Epic: Faster, parallel loadpoint control — decouple sensing from control

3 participants