3-phase PV router
Loading...
Searching...
No Matches
Classes | Functions | Variables
dualtariff.h File Reference

Classes/types needed for dual-tariff support. More...

#include "config.h"
Include dependency graph for dualtariff.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  _rg_OffsetForce< N, OffPeakDuration >
 Template class for Load-Overriding. More...
 

Functions

void printDualTariffConfiguration ()
 Print the settings for off-peak period.
 

Variables

constexpr auto rg_OffsetForce { _rg_OffsetForce< NO_OF_DUMPLOADS, ul_OFF_PEAK_DURATION >() }
 
uint32_t ul_TimeOffPeak
 

Detailed Description

Classes/types needed for dual-tariff support.

Author
Frédéric Metrich (frede.nosp@m.ric..nosp@m.metri.nosp@m.ch@l.nosp@m.ive.f.nosp@m.r)
Version
0.1
Date
2021-10-04

Definition in file dualtariff.h.

Variable Documentation

◆ rg_OffsetForce

constexpr auto rg_OffsetForce { _rg_OffsetForce< NO_OF_DUMPLOADS, ul_OFF_PEAK_DURATION >() }
inlineconstexpr

start & stop offsets for each load

Definition at line 64 of file dualtariff.h.

◆ ul_TimeOffPeak

uint32_t ul_TimeOffPeak
inline

'timestamp' for start of off-peak period

Definition at line 62 of file dualtariff.h.