Skip to content

Duty charging can resume a spent pulse when power becomes unavailable #1243

Closed

Description

@frahlg

A source-aged charger power sample sets PowerUnavailable. The candidate deletes delivery history but still lets duty dispatch command the planned peak, so a spent 100 Wh pulse can resume at 11 kW until slot end.

Local controller regression: spend the 100 Wh budget, make power unavailable for the rest of the interval, then restore the reading with the delayed counter unchanged. Before the fix, the test commands 11 kW at the first unavailable tick. Expected: explicit zero while power is unknown, preserve intent, and retain spent energy across recovery. Manual charge must also pause without erasing the request and resume only after measurements recover.

Fix and regressions: #1240.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions