Repository navigation
feat(S2): rates of fill level and site sensors in W - #290
Merged
Merged
Conversation
S2 states fill rates and usage per second, which in kWh/s puts a heat buffer's rates near 1e-5. Ported from #289 without its leakage-as-usage work, which stays with #286. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CcpawsJs74cSwFLXkz7ZwW Signed-off-by: F.N. Claessen <[email protected]>
Consistent with the handler's defaults, and readable at residential scale. Sensors an existing site already has are reused by name and keep their units. Ported from #289. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CcpawsJs74cSwFLXkz7ZwW Signed-off-by: F.N. Claessen <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CcpawsJs74cSwFLXkz7ZwW Signed-off-by: F.N. Claessen <[email protected]>
Coverage Report for CI Build 42718610932Warning No base build found for commit Coverage: 95.951%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsRequires a base build to compare against. How to fix this → Coverage Stats
💛 - Coveralls |
Flix6x
added a commit
that referenced
this pull request
Nov 10, 2026
…ection #290 carried #289's unit changes on their own, so its conflicts resolve to this branch's side, which already has them along with the leakage as usage. #287's handling of an early actuator status and #288's changelog wording are kept, and the changelog links #290 next to #289. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CcpawsJs74cSwFLXkz7ZwW Signed-off-by: F.N. Claessen <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Split off from #289, as asked, so that the unit changes reach 0.10.0 without the usage correction (#286), which is on hold. #289's leakage-as-usage work stays with #286, since it builds on #286's inline usage.
What
fill_rate_unit(defaultW; alsokWorMW). S2 states fill rates and usage per second. InkWh/s, a heat buffer's rates of some tens of watts read near 1e-5. So the fill rate and the usage forecast are now recorded in a power unit. FlexMeasures converts them into the sensor's own unit. Any other unit is refused when the handler is created.W, energy and fill levels inkWh, prices perkWh. A larger site, such as one with charge points, passes its ownsensorspluspower_unitandfill_rate_unitinhandler_options. Sensors an existing site already has are reused by name and keep their units.The leakage is still recorded as a storage efficiency (
%) here; it moves toWwith #289's work.Evidence
fill_rate_unit, whatever the power and energy units; the refusal of a unit that is no power unit; the value of a posted fill rate; and the site sensors' units.🤖 Generated with Claude Code
https://claude.ai/code/session_01CcpawsJs74cSwFLXkz7ZwW