Repository navigation
Add the reaction-rules pictures for the flexmeasures-client scheduling guide - #21
Conversation
… guide Drawn by examples/reaction_rules_saldering.py of flexmeasures-client (PR #299).
Flix6x
left a comment
There was a problem hiding this comment.
Self-review before merging.
The pictures are what the examples draw. I redrew all three from flexmeasures-client#299 at 4fd1ea5fe
(python examples/reaction_rules_saldering.py --out … and python examples/reaction_rules_retrigger.py --out …, dependency group examples):
each is pixel-identical to the PNG in this PR (89b1cc7). The numbers the saldering example prints match the cost bars
(4.22, 3.87, 5.14 and 4.27 EUR), and the retrigger example prints band exits at 40 s and 210 s, one retrigger at 330 s and the new plan at 360 s,
which is where the picture draws them.
Merge order. docs/scheduling.rst in flexmeasures-client#299 embeds the three pictures from this repository's main,
and the flexmeasures-client/ folder doesn't exist on main yet, so this PR should be merged before (or together with) #299;
otherwise the guide shows three broken images.
Follow-up (we do it ourselves). After this review I push two redrawn pictures to this PR and the matching changes to flexmeasures-client#299:
the label "feed-in price below zero" moved clear of the legend in the day picture, the dwell shaded after both band exits in the band-exit picture,
and the guide's "within a few cents of the plan" sentence fixed (reaction rules end 0.40 EUR above the plan and within 0.05 EUR of the saldering day).
The pictures still need to be merged before #299.
… 39b9d5a9 The label "feed-in price below zero" now sits clear of the legend in the day picture, and the band-exit picture shades the dwell after the kettle's exit as well as the oven's. The cost picture redraws identically, so it is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The follow-ups from the review, pushed:
All 1079 tests of flexmeasures-client pass at 39b9d5a9. Merge order still holds: this PR before flexmeasures-client#299. |
Three pictures drawn by the examples of FlexMeasures/flexmeasures-client#299, embedded in its scheduling guide:
flexmeasures-client/reaction-rules-day.png: one day after saldering, a plain schedule against reaction rules.flexmeasures-client/reaction-rules-cost.png: what that day costs, four ways.flexmeasures-client/reaction-rules-retrigger.png: a band exit second by second, with the exit gate letting a kettle pass and the oven firing one retrigger.Regenerate with
python examples/reaction_rules_saldering.py --out flexmeasures-clientandpython examples/reaction_rules_retrigger.py --out flexmeasures-clientfrom the client repository (dependency groupexamples).🤖 Generated with Claude Code
https://claude.ai/code/session_01WGt2vUmJ4goxUYxexuArDE