Waterschap Brabantse Delta · R&D lab · research artifact
change-heartbeat) does not compress. This study looks for the compression method, or combination of methods,
that stores the data in the fewest bytes while every reconstructed measurement stays within the repeatability
of the sensor. Monotone PCHIP and SDT are the minimum building blocks. The best method is then compared, on the same five public
datasets that Untied was tested on and with the same error bound, with Untied, the method of the R&D lab. The winner becomes the reducer in
generalFunctions. This artifact lists the requirements as user stories with acceptance criteria, prioritised with the MoSCoW method.[1][2]
change-heartbeat (no compression), measured on the same five datasets as the comparison. A trial run on synthetic data gave about 223 bytes per Observation, 76 % of it metadata.How the study works, step by step:[2]
change-heartbeat stores on the five datasets, the same data as the comparison (a trial run on synthetic data, 38.2 GB per year for 4 sensors, was used to build and test the counting script).change-heartbeat stores on the five datasets; the reference for the saving.src/frost/reducer.js).Each requirement is a user story with a description and acceptance criteria. The stakeholder in every story is the R&D lab. Changed in version 1.6: US-1, US-2, US-3 (now includes US-16), US-8; US-19 lowered to Should, US-4 lowered to Could. New: US-21, US-22 and US-23. Removed: US-7, US-12 (now part of US-21), US-14 (now part of US-1), US-15 and US-16 (now part of US-3). Changed in version 1.7: US-8 lowered to Should and handled as in Untied (invalid values left out, no time limit, "no data" allowed but not required), US-1 (bytes counted as in Untied's benchmark), US-11, US-21 (datasets, ε, gap rule, no split into tuning and comparison data, Untied run in the same script), and the definitions of storage, ε and gap.
| ID | User story | Priority | Description | Acceptance criteria |
|---|---|---|---|---|
| US-1 | As the R&D lab I want measurement data to be stored in as few bytes as possible, so that storage and cost go down. | MUST | Changed in 1.6. The criterion is bytes, not the number of knots; the storage format counts (includes the former US-14, compact timestamps). |
|
| US-2 | As the R&D lab I want the reconstructed series never to deviate more than the repeatability of the sensor, so that the deviation stays within the measurement uncertainty. | MUST | Changed in 1.6: the bound also applies between two measurements, not only on them. |
|
| US-3 | As the R&D lab I want to retrieve values at any timestamp and interval of my choice, so that I can analyse the series. | MUST | Changed in 1.6: includes the former US-16 (retrieval at a chosen time step). |
|
| US-21 | As the R&D lab I want the methods to be compared on equal terms, so that the choice of the final reducer can be justified. | MUST | New in 1.6. Includes the former US-12 (saving and deviation per series). Changed in 1.7: datasets, ε and gap rule fixed. |
|
| US-22 | As the R&D lab I want to know which method works best and why. | MUST | New in 1.6. Candidates are built and measured before the best one is chosen. |
|
| US-8 | As the R&D lab I want to see when a sensor did not measure, so that I don't mistake missing data for real measurements. | SHOULD | Lowered from Must in 1.7, and handled as in Untied: invalid values are left out before compression, and there is no time limit for a gap. |
|
| US-6 | As the R&D lab I want the method to fit on the edge device, so that it can run between sensor and storage. | SHOULD | Lowered from Must in 1.6: the study runs offline on the datasets first. |
|
| US-10 | As the R&D lab I want recent measurements to be available in storage quickly, so that I can follow the current situation. | SHOULD | Blocks delay storage; the delay is recorded for every method. |
|
| US-11 | As the R&D lab I want missing or faulty values to be handled by fixed rules, so that the compression doesn't derail on bad data. | SHOULD | Values such as NaN or sensor error codes are recognised and processed predictably. |
|
| US-13 | As the R&D lab I want each stored block to record how it was compressed, so that the data can always be reconstructed correctly later. | SHOULD | The bytes of this metadata count towards US-1. |
|
| US-19 | As the R&D lab I want the compression to work on a copy of the data, so that the control in the nodes (for example pumps) keeps using the full, original data. | SHOULD | Lowered from Must in 1.6: it applies once the method runs as a reducer (US-20). |
|
| US-20 | As the R&D lab I want the best own method as a general function in generalFunctions, so that every node with a FROST writer can use it. | SHOULD | The method becomes a reducer in the plug-in point of the FROST writer. |
|
| US-4 | As the R&D lab I want the reconstructed series to contain no peaks or dips that were not measured, so that I don't analyse fake data. | COULD | Lowered from Must in 1.6: the criterion is storage within ε (US-2). |
|
| US-5 | As the R&D lab I want no data to be lost when the edge device restarts or storage is unreachable, so that the series is always complete. | COULD | Lowered from Must in 1.6: only relevant when the method is applied in the live system (US-23). |
|
| US-9 | As the R&D lab I want the highest and lowest values to be kept exactly, so that I can check afterwards whether a limit was exceeded. | COULD | Lowered from Should in 1.6. |
|
| US-23 | As the R&D lab I want the winning own method applied in the current system, so that the saving is real. | COULD | New in 1.6. Only if the own method wins and there is time; if Untied wins, the R&D lab applies Untied itself. |
|
| US-17 | As the R&D lab I want to compress multiple series together. | WON'T | Out of scope: each series is compressed separately. |
|
| US-18 | As the R&D lab I want to receive an alarm from the edge device when a threshold is exceeded. | WON'T | Out of scope: alarming belongs to a different system. |
|
change-heartbeat row by row.
Also decided: storage is counted as in Untied's benchmark for every method, the baseline included (US-1), and Untied is run in the same script, checked against its published results (US-21).
Still to agree with the product owner: how a block is stored in FROST, once the winning method becomes a reducer (US-20).
The source document is in Dutch; the stories are translated to English here following the HELIX artifact language rule.
data/zet-om.py, data/datasets.json). consulted 2026-10-23