Peak shaving operations dashboards: display design
Owner: Dmytro Dzifuta; drafted with Claude. Current as of 7 October 2026. Open items in section 9.
Scope: what the dashboards show and how. Where the numbers are computed and which store Grafana reads is the developer's decision (open item 9.1). The monitoring design set in fion-docs (monitoring/problems.md, architecture.md, non-functional-requirements.md) is referenced by its ids (P, R, N); this document does not restate it.
Mockups with mock data: published for the team at https://fion-dashboard-mockups.pages.dev/ and kept with their generators in 2026-09-30-peak-shaving-dashboards/mockups/. This document is rendered at https://fion-dashboard-mockups.pages.dev/spec.
1. Purpose
- Operational situational awareness for HLZF peak shaving across the battery fleet. Not a business dashboard: no euros, no savings, no KPIs beyond what an operator needs to act.
- Two surfaces, one artifact set: a wall screen showing the fleet view, and a laptop where an operator drills from the fleet view into one site.
- Two horizons only: now and today. Nothing on any dashboard looks back beyond midnight. The year's peak appears as a reference number in a check, never as a view.
- Every site runs HLZF peak shaving; the design assumes it and shows the exceptions (other modes, commissioning) as grey.
2. Vocabulary and text rule
2.1 Text rule
Every string on a dashboard is one of four things: a fixed label from this document, a number with unit, a time, or a declared value from the world model (mode, state, formula). Pairs join with " · ", comparisons use symbols ("256 kW > 229 kW", "250 > 229 kW"), actions use an arrow ("Target → 266 kW"). No verbs, no clauses, nothing that would need a language model to compose. The rule applies to mockups as well, because mock text is what gets specified.
Every kW card names its aggregation in words as the first subline item: "Now, 1 s", "Mean so far", "15-min mean". Sub-values without a word are 1-second values. Durations are always minutes ("93 min", "41 min since 16:31"); times HH:MM in Europe/Berlin; a space before every unit including % ("51 %"); kW and % without decimals on cards, one decimal only in deltas.
2.2 Glossary
| Term on screen | Meaning | Note |
|---|---|---|
| MaLo | The power series at the Marktlokation, the billing-relevant quantity, computed by the site's declared formula over its measuring points | The name of the time series only, never a card name. The site header states the formula: "MaLo = Grid meter", "MaLo = Consumption", "MaLo = MeLo 1 + MeLo 2". May be computed, so not "grid import" |
| Now | The current 1-second value of a series | The aggregation word for live values |
| 15 min | The aligned quarter-hour mean, provisional while open, final at the boundary ("15 over 15") | The number the bill is written on. The open interval's card is labelled by its interval, "17:00–17:15". On screen always "15 min", never "quarter hour" |
| HLZF | Hochlastzeitfenster, the grid operator's high-load window | Team and DSO vocabulary; the Hub uses "Peak Load Window (HLZF)" |
| Target | The declared HLZF peak target from the world model | The only reference for colour. "Target → x kW" is the action a card proposes |
| Controller | The threshold the OpenEMS peak-shaving component is actually set to | Compared with Target on its own card, never used as the reference |
| Shortfall ≥ 60 s | MaLo above Target with the battery unable to cover it, registered after 60 s | Value: the 60 s mean of the excess over Target |
| Depletion | Minutes of battery left after the window end at the current discharge rate | Negative means empty before the end. The ratio of effective to sustainable discharge stays in the subline as "Rate" |
| Past peak vs target | The year's highest 15-min MaLo mean inside HLZF windows, compared with the current Target | A ratchet from 1 January, including intervals before the battery took control |
| Materiality | The achieved reduction of the HLZF peak below the year's highest peak, against the required threshold for the voltage level | The atypical-grid-use condition. The year peak is its secondary value |
| Close forecast | The value the open 15-min interval will close at if nothing changes | A forecast, not a guarantee |
| Load | The factory's own consumption: MaLo + Battery, plus PV where declared | The OpenEMS consumption channel; shown with its terms so the sum can be checked |
| PV | PV production now, where the site declares PV | "none" where no PV is declared; amber "no data" where declared but silent |
| Battery | The ESS state from OpenEMS (OK, Warning, Fault) with the power as sub-value | "+" discharge, "−" charge in the sub-value |
| SoC, Window, Telemetry, Readiness | State of charge; the current HLZF window; age of the last point; projected SoC at window start against the required SoC | |
| BREACHING, AT RISK, NO DATA, OK, OFF-WINDOW, NOT PEAK SHAVING, READY, NOT READY, DONE | The state labels of section 3 |
3. Site state
3.1 States
One state per site, evaluated top to bottom. NO DATA is evaluated first because nothing below it can be judged without data.
| State | Colour | Condition | Card must also show |
|---|---|---|---|
| NO DATA | red inside a window; amber outside | No telemetry within the freshness contract, or values frozen (P3). Inside HLZF 60 s of silence is red; outside HLZF 60 s is amber and 15 min is red | Time of the last point, minutes since, and which P3 case when known: link down, link up and no points, points frozen |
| NOT PEAK SHAVING | grey | Mode is trading, maintenance, commissioning, or outside the HLZF season | Mode and until when |
| OFF-WINDOW | blue | Peak-shaving mode, no window open | SoC, next window, required SoC |
| OK | green | In window; no metric at orange or red | |
| AT RISK | orange | In window; any metric at orange and none at red | The metric that set it, with values |
| BREACHING | red | In window; any metric at red | The metric that set it, with values |
Display variants of the same model: before a window, OFF-WINDOW shows as READY or NOT READY once the readiness lead time has started; after the last window of the day it shows as DONE or DONE · n OVER.
3.2 Rules
- Colour is always measured against the declared Target. The year's peak and the controller's threshold are checks of their own (M5, M8), never the reference.
- Site status is worst-of across all metrics: any red makes the site red; no red and any orange makes it orange; otherwise OK. On the fleet view a card names the single metric that set its colour; on the site view the cards below the header say it, so the header carries no driver line.
- The window phase (in window, opens within lead time, later today, done) comes from the declared schedule, never from the telemetry stream, so a NO DATA site still shows whether its window is open.
- Every state chip carries "since HH:MM", the time of the last state change.
- A card is a traffic light, green included, only when its big value is the judged quantity. A card whose big value is a fact stays neutral until a check attached to it fails, and then the failing check leads the subline.
4. Metric register
Ids are for this document and the implementation; they do not appear on screen. The thresholds listed in open item 9.3 are parameters with defaults until real data settles them.
| Id | Card | Measures | Evaluated | Tiers and action |
|---|---|---|---|---|
| M1 | SoC | SoC against the tiers, during HLZF only | in window | amber below 30 %, red below 10 %; neutral fact outside a window. Subline "Usable 85 kWh · Floor 5 % ? · Amber < 30 % · Red < 10 %" |
| M2 | Readiness | Projected SoC at window start, at the achievable charge rate, against the required start SoC | from window start minus lead time; lead time = capacity over max charge power plus a margin (about 1 h for a 1C battery) | orange when projected below required; required SoC declared per site, default 100 %. "n/a" inside a window |
| M3 | Depletion | Minutes of battery left after the window end at the current discharge rate; the rate as effective over sustainable discharge | in window | red when negative, orange under 30 min, green from 30 min. Red carries the sustainable target, "Target → 266 kW", so the battery lasts the window |
| M4 | Shortfall ≥ 60 s | MaLo above Target with the battery unable to cover it; the 60 s mean of the excess | in window | registers after 60 s above Target, clears after 60 s below it; reads "not responding" when the battery is more than 5 % below its maximum while the shortfall stands. Red subline: duration, then the action: "Target → 190 kW · 3 min" while the open interval can still close on Target, otherwise "Interval lost · Target → 257 kW", the close forecast. Green subline: "Battery 50 of 92 kW" |
| M5 | Past peak vs target | The year's highest 15-min HLZF mean against the current Target | always | value "250 > 229 kW"; green at or under, amber when the peak exceeds the target by more than 2.5 %, red beyond 10 %; the action is to raise the target to the peak, "Target → 250 kW". Reference period: calendar year from 1 January, including intervals before the battery took control, shown with their date |
| M6 | 17:00–17:15 (the open interval) | Mean so far of the open 15-min interval, its delta to Target and the close forecast | in window | red when the mean is above Target or the forecast cannot be pulled back, orange when the forecast is above Target but recoverable. Value "256 kW (+27 kW)", subline "Mean so far · Target 229 kW · 3 min left · Close forecast 257 kW" |
| M7 | Battery | ESS state from OpenEMS | always, red in window and orange before | value "ESS OK" / "ESS Warning" / "ESS Fault"; sub-value "Discharging 92 of 92 kW", "Charging 40 of 46 kW", "Idle · Max 92 kW" |
| M8 | Controller | Controller threshold and windows against the declared Target and windows | always | orange on any drift; value the controller's kW, subline "Declared 229 kW · Windows OK". The follow-up check after any "Target →" action |
| M9 | Windows today | Per window: outcome, 15-min intervals held of total, the intervals over Target with their means | at window close, and running for the open window | a record, not a tier. Pill: "held" green, "n over" red, "open" blue, "open · n over" red |
| M10 | Telemetry | Age of the last point against the freshness contract | always | in window red above 60 s; outside amber above 60 s, red above 15 min. Subline shows the current phase's tiers and the OpenEMS edge id as source reference |
| M11 | Materiality | Achieved reduction of the HLZF peak below the year's highest peak, against the required threshold | always | value "12 % < 20 %"; red below the threshold, amber within two points above it; subline "Year peak 285 kW · HLZF peak 250 kW · Threshold 20 %" |
Not on the dashboards: charging inside the window (correct behaviour when load is low; a charge that lifts the interval mean is caught by M6); off-window peaks against the non-HLZF threshold (financial, not operational); a live cross-check of MaLo against the metering operator's meter (a site has one live meter, the RLM meter where it can be read or another meter where it cannot, never both; the RLM-versus-recorded comparison is the EMS app's settlement job, R5).
Three cards propose the same lever, the declared Target, in different directions: Shortfall down while the open interval can still be saved and up the moment it cannot; Depletion up so the battery survives the window; Past peak vs target up once an interval is written above it. Controller then verifies the controller followed.
Computation notes from the monitoring design: the first minute of each 15-min interval is blanked in the aligned mean; the sliding mean serves hysteresis; there are two projection horizons, inside the interval (M6) and inside the window (M3); on PV sites M3, M4 and M6 run on the PV-inclusive exposure, not the meter alone.
5. Fleet view
5.1 Groups by window phase
| Group | Membership | Card type |
|---|---|---|
| In window · n | A window is open now | Full card, subject to the overflow rule |
| Opens within 1 h · n | Readiness lead time has started | Readiness tile |
| Later today · n | A window still ahead today, lead time not started | Compact tile |
| Done today · n | Last window of the day closed | Compact tile with the day's ribbon |
| Not peak shaving · n | Mode other than peak shaving, or out of season | Chip row: state disc and name |
Group headers are counts only. A NO DATA site stays in its phase group; inside a window it is red and sorts with BREACHING, outside it is amber and sorts with AT RISK.
5.2 Lattice and display modes
One grid for the whole wall, six columns, every card one cell, the same column count in every section; six because Grafana's grid is 24 units wide and a lattice there has 4, 6, 8 or 12 columns. Card widths and edges never differ between rows.
Two renderings of the same dashboard, switched in the header ("Desktop | TV") and intended as a URL parameter or dashboard variable so a TV can be pinned to its mode:
| Parameter | TV | Desktop |
|---|---|---|
| Type | scale 1.0, weights 600 and 700 | scale 0.85, weights one step lighter |
| Card padding and gaps | compact | about 50 % more inside cards, wider gaps, thinner status stripe |
| Page | fits 16:9, no scrolling | scrolls; groups take the height they need |
| Controls | none, kiosk | legend toggles, links, tooltips, resolution switch, group filter |
| Refresh | 30 s | 1 min |
5.3 Card types
Full card: state chip with since; site name, city, minutes to window end; one driver line naming the metric that set the colour, for example "15 min 254 kW > 229 kW · Close forecast 254 kW · 3 min left", "Depletion +13 min · Empty 19:28 · End 19:15 · Rate 0.91", "No data since 17:02 · 10 min · Link up", or for green sites "Depletion > 120 min · 15 min 293 kW · Target 310 kW"; a "Past peak 250 > Target 229 kW · +9 %" line when the year's peak is above Target; a mini chart of the current window (MaLo, SoC, battery wash, Target line, window band, now line); the day's ribbon; three KPIs: SoC, Now, Battery (for NO DATA: SoC, Last, Since).
Readiness tile: state chip with since; name, city, minutes to open; "SoC 71 % → 84 % at 18:00 · Required 90 % · Charging 30 kW"; a meter with the current SoC filled, the projected gain lighter, a mark at the required SoC; KPIs SoC, Opens, Target.
Compact tile: state chip with since; name, city; the day's ribbon for done sites; one note line ("20/20 held · SoC 100 %", "19/20 held · 12:30 812 kW > 790 kW", "19:00–22:00 · SoC 100 % · Check 18:00").
The ribbon: one cell per 15 minutes inside today's windows, colour only, uniform height; green held, orange AT RISK during that interval, red over Target, amber no data, hatched the open interval, outlined the intervals ahead; a gap between two windows of the same day.
5.4 Overflow rule
Full cards fill one lattice row. Order inside the in-window group: BREACHING and in-window NO DATA first, then AT RISK, then OK sites by least window time remaining. From the seventh site on, in-window sites are compact tiles under the same header with their driver line. The wall therefore never overflows and a problem site always has a chart. For the 100-site horizon (N1) a compact group shows at most two rows of tiles, then a count and its non-OK exceptions only; the exact form is open item 9.4.
5.5 Sorting inside groups
In window: severity, then remaining time. Opens within 1 h: minutes to open. Later today: window start. Done today: over before held, then window end. Not peak shaving: alphabetical.
5.6 Frame
Header: title, the six state chips as a legend, the mode switch, date and clock. Footer on desktop: symbol legend for the chart series and the ribbon; none on TV. No prose anywhere on the wall. On the laptop, clicking a card opens the site view with that site selected; a customer-group filter narrows the fleet view.
6. Site view
6.1 Header
Three lines: the site name and city; the state chip with since; "MaLo = Grid meter · 261 kW now · Target 229 kW". Clock and links (VENMA, Hub EMS, Dimension, back to the fleet) on the right. Nothing else: the state is explained by the cards below, and the reference data sits in the footer.
6.2 Cards
Thirteen cards in a six-column grid with fixed positions, so operators learn where a number lives; they fill two rows and one cell of a third. The commitment cards come first: the open interval, Shortfall ≥ 60 s, Depletion, Past peak vs target, Materiality, Controller, Window. Then the plant: SoC, Battery, PV, Load, Telemetry, Readiness.
| Card | Value | Subline | Colour |
|---|---|---|---|
| 17:00–17:15 | 256 kW (+27 kW) | Mean so far · Target 229 kW · 3 min left · Close forecast 257 kW | traffic light (M6) |
| Shortfall ≥ 60 s | 32 kW | 41 min since 16:31 · Interval lost · Target → 257 kW, or · Target → 190 kW · 3 min | traffic light (M4) |
| Depletion | −38 min | Empty 18:07 · End 18:45 · Rate 1.68 · Target → 266 kW | traffic light (M3) |
| Past peak vs target | 250 > 229 kW | Peak 250 kW · 15-min mean · 16:45 today · +9 % · Target → 250 kW | traffic light (M5) |
| Materiality | 12 % < 20 % | Year peak 285 kW · HLZF peak 250 kW · Threshold 20 % | traffic light (M11) |
| Controller | 225 kW | Declared 229 kW · Windows OK | traffic light (M8) |
| Window | 93 min | 16:15–18:45 · 2 of 2 | blue, informational |
| SoC | 51 % | Usable 85 kWh · Floor 5 % ? · Amber < 30 % · Red < 10 % | traffic light in window (M1), neutral outside |
| Battery | ESS OK | Discharging 92 of 92 kW | traffic light (M7) |
| PV | 14 kW, or none | Now, 1 s / No PV at this site | neutral; amber "no data" when declared but silent |
| Load | 367 kW | Now, 1 s · MaLo 261 + Battery 92 + PV 14 kW | neutral fact |
| Telemetry | 4 s | Last point · Red > 60 s · OpenEMS edge-100500170 (in window) / Last point · Amber > 60 s · Red > 15 min · OpenEMS … (outside) | traffic light (M10) |
| Readiness | n/a in window, else projected % | Next window · Required 100 % | traffic light before a window (M2), neutral in window |
6.3 Chart
One chart for today, 06:00 to 22:00 by default (the site's day is a per-site setting). Two y-axes, kW left and SoC % right: the values must be read against each other at one instant, and two axes are how the energy industry reads them.
Series: MaLo (heavy), Battery power as line and wash around zero (+ discharge, − charge), SoC on the right axis, PV where declared, Load hidden by default. Lines: Target inside the windows, Controller inside the windows only when it differs from Target, non-HLZF and charge thresholds outside the windows, the year's HLZF peak across the day. Windows shaded and labelled. A now line with the current MaLo, SoC and battery values as end labels. Legend split into series and lines; every item toggles; hidden series stay listed. Crosshair tooltip with all series at one time. Axis titles and ticks in ink; the right axis carries a SoC swatch.
6.4 Resolution switch
Explicit, three positions, default 1 min, always printed at the chart. Zooming the time range never changes it silently, because a number without its resolution cannot be argued about (P6).
| Position | Power series show | Source | Available |
|---|---|---|---|
| 15 min | quarter-hour step means, the bill's view; open interval provisional | aligned tier | indefinitely (N8) |
| 1 min | minute means | 1-min tier | months (N8) |
| 1 s | as reported | raw tier | 7 to 14 days (N10), and only for ranges up to about 3 h |
The strip under the chart is always the 15-min view, so the billing grid never disappears when drilling down.
6.5 Strip, windows, incidents, footer
Strip: aligned to the chart's time axis, one bar per 15 minutes inside today's windows; bar height the mean over Target against a dashed target line, colour the worst state in the interval, the open one hatched, the ones ahead outlined; a symbol legend, no caption.
Windows today: per window its times, an outcome pill whose words match its colour ("held", "1 over", "open", "open · 2 over"), intervals held of total, the intervals over Target with their means.
Incidents today: the unit the monitoring architecture acts on, with the joined events as evidence underneath, instead of a flat event list (a flat list re-creates P1). One row per incident: severity disc, time opened, the opening rule and value as title, a tier tag (page, notify, record), the state ("open · 41 min · paged 16:32" or "resolved 11:15"); the joined events as muted sub-rows in the same time column, expanded while open, collapsed to a count once resolved. One dot per incident, none on events. Grouping events into incidents is Detection's correlation rule (open item 9.7); the mockups group the events inside one window on one site into that window's incident, and a rule firing outside any window is its own incident.
Footer, one muted line: mode and validity, today's HLZF windows, battery kW and kWh, the FION site id, the FION edge id (unnamed in the world model yet, shown as "?"), the OpenEMS edge id as source reference. Naming rule: an unprefixed id is a world-model entity, OpenEMS ids are prefixed.
7. Encoding
- Status colours are the dataviz reference status palette: OK
#0ca30c, amber#fab219, orange#ec835a, red#d03b3b; OFF-WINDOW blue#3987e5; NOT PEAK SHAVING grey#6f6e69. A status colour never appears without its glyph and label. - State is encoded in form as well as colour: a left severity stripe on every card, a glyph disc, a hatched background for NO DATA, a hatched cell for the open interval.
- Series colours: MaLo blue
#3987e5, SoC violet#9085e9, battery aqua#199e70, thresholds in ink tones. - Dark surfaces only (
#1a1a19on#0d0d0d), matching Grafana's dark theme on the wall and the laptop; a light theme is not designed. - Text in ink tokens (
#ffffff,#c3c2b7,#898781); system sans; all sizes scale with the wall width.
8. Inputs the display needs
Listed so the implementation has a checklist; not an implementation. Sources as the monitoring agreements set them: per-site limits and windows from the world model; peak-shaving health numbers as declared telemetry signals.
Per site, from the world model: FION site id and FION edge id; declared HLZF windows with season dates and holidays; declared Target; operating mode with validity; the MaLo formula over the site's measuring points; whether PV is declared; battery capacity, maximum charge and discharge power, operational SoC floor; required start SoC (default 100 %); the freshness contract; the required materiality threshold for the voltage level; customer group; links to VENMA, Hub EMS and Dimension.
Per site, from OpenEMS via the poller: controller threshold and windows as configured, controller enabled, ESS state and allowed discharge power.
Telemetry, in three tiers (raw, 1 min, aligned 15 min with the open interval provisional): MaLo power, battery power, SoC, PV where declared, consumption or PV-inclusive exposure.
Computed per site: the register metrics M1 to M8, M10 and M11 as signals; the year's highest HLZF 15-min mean and the year's highest 15-min mean at any time, from 1 January; one status row per evaluation pass with state, since, driving metric and its values; window outcomes (M9); incidents with their joined events and delivery facts (delivered, paged, acknowledged).
9. Open items
- Where the numbers are computed and what Grafana reads: the developer decides. Candidate approaches: store only; InfluxDB raw bucket with Flux; contract first with a stopgap producer.
- The FION edge id: the developer decides with the world model, which has not named edges yet.
- Parameters with defaults until real data settles them: Depletion orange under 30 min of margin; Shortfall clear time 60 s and the "not responding" margin 5 % below the battery's maximum; Materiality amber within two points above the threshold; required start SoC 100 % unless declared per site. Fixed tiers, not parameters: SoC 30 % and 10 %, Telemetry 60 s and 15 min, Past peak vs target 2.5 % and 10 %, Shortfall registration 60 s.
- The 100-site form of compact groups (count plus exceptions): the developer decides when the fleet approaches it.
- Grafana feasibility of worst-first repeats on auto-refresh and the overflow rule: the developer decides; if Grafana cannot, the fleet view becomes a small custom page reading the same inputs and nothing else changes.
- The SoC floor: value and role unconfirmed; shown on the SoC card with a question mark.
- Incident grouping: Detection's correlation rule is not defined yet; the mockups group by window (section 6.5).
- Access policy for the published pages (Cloudflare Access, @fion-energy.com).
- Wall hardware and viewing distance.
10. Mockups
Published at https://fion-dashboard-mockups.pages.dev/: fleet view (desktop and TV renderings), site view BREACHING (Autenrieth, two windows, PV), site view AT RISK (Sprehe Cappeln, one long window, no PV, depletion 0.85 as the only orange metric), and this document at /spec. Sources, standalone pages and the deploy script are in 2026-09-30-peak-shaving-dashboards/mockups/; regen.py rebuilds the mockup pages, render_doc.py renders this document, deploy.sh rebuilds and publishes. All data is mock, shaped to one made-up moment: Wednesday 17:12 in the HLZF season with all 19 sold sites live.