diff --git a/main.go b/main.go index 5ecde6e..239666e 100644 --- a/main.go +++ b/main.go @@ -35,13 +35,13 @@ import ( // In practice, savings will be even higher when gas is not being consumed continuously. // // When Tariff 1 is active, Tariff 2 isn't. -// Therefore, only updating their values on-change should at least half their storage capacity requirements +// When energy is being imported, it is not being returned. +// Therefore, only updating their values on-change should save at least 75% storage capacity requirements // An average month has 2 629 743.83 seconds. // This saves at least: // 2,629,743.83 seconds * 4 bytes = 10,518,975.32 bytes = 10,518.98 kB = 10.52 MB -// This applies both to Dt1 and Dt2 as well as Rt1 and Rt2, so should be doubled. -// 10.52 * 2 = 21.04 MB. -// In practice, savings will be even higher when electricity is not being consumed continuously. +// This applies both to Dt1 and Dt2 as well as Rt1 and Rt2, so should be quadrupled. +// 10.52 * 4 = 42.08 MB. type Payload struct { T string `json:"t"` // Timestamp