Skip to main content

Module taf7

Module taf7 

Source
Expand description

Bounded, in-memory TAF 7 series for one commissioned active-energy channel.

Each slot retains the original cumulative Wh, source time and caller-classified quality, or an explicit gap. Archive the block before starting the next one.

Structs§

Channel
Identity supplied by a caller that has authenticated the meter.
Entry
One original observation, indexed by its scheduled registration instant.
Series
Append-only block of at most N entries. Every slot uses fixed storage, including gaps.

Enums§

Direction
Direction of cumulative active energy, normalized to whole watt-hours.
Error
Observation
Original observation for a scheduled instant. Source and scheduled times are Unix seconds.
Period
Registration cadence for this electricity simulation.
Quality
Status assigned by the caller using the source and reception evidence.