Skip to main content

Module taf2

Module taf2 

Source
Expand description

Single-meter TAF 2 register simulation for quarter-hour electricity readings.

Use one instance per meter, energy direction and evaluation profile. The caller authenticates the source, classifies its status and supplies the commissioned register for the entire elapsed period. Store original observations separately.

Structs§

Registers
Fixed-size derived registers for one continuous, nondecreasing register trace.
TariffRegister
A commissioned tariff register (1 through 62 in this simulator).

Enums§

Destination
Where to book the measured energy delta, in addition to the total.
Error
A rejected operation leaves all accumulator state intact.
Outcome
Result of consuming one slot.
Reading
Meter status at a scheduled registration instant, supplied by the caller.