Data protection and erasure
Which of flexpool's data is personal, how every event declares it, and how an erasure in another system reaches flexpool and is confirmed truthfully.
Most of flexpool's assets sit in homes: a battery in a cellar, a heat pump, a wallbox. The data names no person, but a unit with a Marktlokation can be traced to one. flexpool treats it that way.
What is personal🔗
An owner marked household = true in portfolio.toml is a person:
[[owner]]
id = "haushalte"
name = "Haushaltskunden"
household = trueAnything about one unit or meter of a household is personal data. Pools, connections and utility-scale sites are not.
Every event says what it carries🔗
Every CloudEvent flexpool sends declares its classification (see Events):
| What | dataclassification | dataregulation | datacategory |
|---|---|---|---|
| an alarm about a pool, a connection or a site | internal | ||
| an alarm about one unit in a home | confidential | GDPR | standard |
| a flexibility offer (it aggregates a congestion point) | confidential | ||
| an erasure confirmation | confidential | GDPR | standard |
Inbound events must declare theirs too, or flexpool refuses them.
Erasure: erasure@1🔗
When a person asks to be erased, the system that knows them, such as the energy manager or the sales or account system, erases its own data and sends erasure@1. The event names the person only by references the receivers already hold. flexpool acts on the ones it maps itself:
Reference kind | Matched against |
|---|---|
unit | an asset's id, SR-ID or TR-ID |
metering-point | an asset's Marktlokation (MaLo) |
Parties, accounts and contracts are other systems' mappings; flexpool answers only for its own.
What happens🔗
- At once: every matched unit leaves the flexibility offers: an open draft that moved it is built again from the other batteries, or withdrawn when nothing fits without it. It is no longer processed for new business.
- While the unit is in the portfolio: flexpool answers
pendingat once, withexpected_bya month on (Art. 12(3) GDPR): received, and the unit is no longer used. The portfolio is a reviewed file, so a person removes the asset's row fromassets.csv(and any slice of it fromportfolio.toml) and restarts flexpoold.GET /api/v1/erasuresand the top of Flexibilität list what is waiting and which rows to remove. Witherasure.pending_fileset, the erasure is kept across that restart and answered at the next start. - Once the unit is gone: flexpool sends the final
erasure@1#/$defs/Confirmation, and it is true:
| flexpool still holds | outcome |
|---|---|
| offers an order accepted that named the unit, with their orders and settlements | retained: accounting vouchers under Art. 17(3)(b) GDPR with § 147 Abs. 1 Nr. 4, Abs. 3–4 AO, until 31 December eight years after the year the last one was created |
| only alarm journal records naming the unit id | anonymised: the hash-chained journal is never rewritten, but nothing maps the id to anyone any more |
| nothing | none-held |
An offer no order accepted is no voucher: the erased unit leaves it at once. Both answers go out through events.webhooks, caused by the erasure event, with the erasure's subject as their subject; the pending one has an id of its own, so a consumer that deduplicates on source + id keeps the final one. References of kind device are accepted; flexpool holds none.
Settings🔗
| Key | Default | Meaning |
|---|---|---|
erasure.consumer | flexpool | This system's name in confirmations |
erasure.pending_file | — | Where erasures that wait for a person survive a restart |