Planner: add continuous strategy (BC)#24423
Conversation
|
@iseeberg79 thanks for the PR. I dont think this is the right choice UI-wise. Having three knobs there is too cluttered and needs more explanation when we can provide on this small space. The "Late" Option already was a stretch that confused people. I guess the important question is: Do we really need to have this level of control per plan? The above examples show a loadpoint plan (kWh based). We also have soc-based plans in combination with recurring plans (stored at vehicle level). Suggestion: Make the "Planner Strategy" (Lade+Timespan? Continuous vs Cheapest?) a top level configuration that applies for all plans of this vehicle/loadpoint. This way we can simplify the actual plan items (lines). I'd see the strategy configuration collapsed by default (text that summarizes current state) and something the user can expand if we wants to make changes. Assumption being, that changing strategy is something you do less often then setting goals. The drawback is, that the user has less granule control (late charging on Wednesdays, cheapest charging on Sundays). But I'd say this is fine. |
|
As you might have realized, I am NOT a UI designer 😀 I'd love the flexibility in the UI. What about reusing the late toggle for advanced options, defaulting to 0min preconditioning and the option to enable single slot planning? I agree on "much options" are confusing, keep it simple. A loadpoint setting would define a planning default which would be a great extension but from my actual point of view it's not flexible enough. But that's relative.. Initially I thought about a loadpoint setting only, but prefer the UI choice at the moment. Best option with counterparts would be a combination within the planning logic but that's way too complex and never meets anybodies criteria. |
Interesting idea. Let me think on this.
I wouldn't want to go the route of having configurable defaults and per item overwrites. That's indeed most flexible but also a hard to understand and visualize mechanism. |
|
I read your comment once more, thought about and absolutely agree, top level configuration of planning strategy that applies to any repeating plan makes sense and simplifies. |
|
What I was thinking about: is it possible and useful to somehow integrate or visualize the loadpoint gap constraints in the UI (preview)? I'd love to try applying some kind of mask for the constraints to get visible (preview level at least). What do you think? |
|
@iseeberg79 can you explain, what you mean with "visualize the loadpoint gap constraints" exactly? |
Then let's start with this. That means we need to persist and publish the I can offer to do the UI part here. I'd likely make this an option that's located near the preview chart so users can see its effect immediately. Since it's similar I'd also like to do this for precondition/late, but lets keep this for a dedicated followup PR to not blow up this one. |
That would be cool. |
Let's perhaps not blow this PR up. Involved you in Slack for a full reference. At this moment just thinking about. |
UI integration
adapt MockAPI
0b66689 to
fff0039
Compare
|
ich brauch 'ne Sekunde.. hab bei mir gerade den lokalen Stand vor dem Upload in echt durchgetestet. Du überholst micht gerade ;) |
|
All done, merging! |
Fix #24461, fix #24769, fix #24486
SinglePlan / Continuous Window Mode (optimized)
Cheapest Window / Default Mode (old)
Video
plan.webm
Screenshots

Breaking Change
The precondition / late charging feature has moved from plan level to vehicle level. This simplifies our API and UI but means that all plans of a vehicle (static&repeating) use the same precondition option now.
TODOs
openapi.yaml