3-phase PV router
|
Functions used for managing dual tariff periods. More...
Classes | |
class | _rg_OffsetForce< N, OffPeakDuration > |
Template class for Load-Overriding. More... | |
Functions | |
uint16_t | getDualTariffForcingBitmask (const int16_t currentTemperature_x100) |
Calculates the dual tariff forcing bitmask based on current conditions. | |
void | printDualTariffConfiguration () |
Print the settings for off-peak period. | |
Functions used for managing dual tariff periods.
This group includes functions that detect and handle changes between off-peak and on-peak tariff periods. It adjusts load priorities and diversion strategies based on the current tariff state. Features like forced load operation during off-peak periods are also supported.
uint16_t getDualTariffForcingBitmask | ( | const int16_t | currentTemperature_x100 | ) |
Calculates the dual tariff forcing bitmask based on current conditions.
This function determines which loads should be forced ON during off-peak periods based on elapsed time since off-peak start, configured time windows, and temperature conditions.
currentTemperature_x100 | Current temperature multiplied by 100. |
Definition at line 65 of file main.cpp.
|
inline |
Print the settings for off-peak period.
Definition at line 71 of file dualtariff.h.