1-phase PV router
|
Variables | |
volatile uint16_t | absenceOfDivertedEnergyCountInSeconds { 0 } |
volatile bool | b_datalogEventPending { false } |
volatile bool | b_diversionEnabled { true } |
volatile bool | b_newCycle { false } |
volatile bool | b_overrideLoadOn [NO_OF_DUMPLOADS] {} |
volatile bool | b_reOrderLoads { false } |
volatile uint16_t | copyOf_countLoadON [NO_OF_DUMPLOADS] |
volatile uint16_t | copyOf_divertedEnergyTotal_Wh |
volatile uint16_t | copyOf_divertedEnergyTotal_Wh_forDL |
volatile int32_t | copyOf_energyInBucket_long |
volatile uint8_t | copyOf_lowestNoOfSampleSetsPerMainsCycle |
volatile uint16_t | copyOf_sampleSetsDuringThisDatalogPeriod |
volatile int32_t | copyOf_sum_Vsquared |
volatile int32_t | copyOf_sumP_diverted_overDL_Period |
volatile int32_t | copyOf_sumP_grid_overDL_Period |
volatile bool | EDD_isActive { false } |
|
inline |
number of seconds without diverted energy
Definition at line 17 of file shared_var.h.
Referenced by printForJSON(), printForSerialText(), proceedLoadPrioritiesAndOverriding(), processLatestContribution(), and sendTelemetryData().
|
inline |
async trigger to signal datalog is available
Definition at line 10 of file shared_var.h.
Referenced by loop(), and processDataLogging().
|
inline |
async trigger to stop diversion
Definition at line 14 of file shared_var.h.
Referenced by checkDiversionOnOff(), loop(), processDivertedCurrentRawSample(), and updatePhysicalLoadStates().
|
inline |
async trigger to signal start of new main cycle based on first phase
Definition at line 11 of file shared_var.h.
Referenced by loop(), and processLatestContribution().
|
inline |
async trigger to force specific load(s) to ON
Definition at line 12 of file shared_var.h.
Referenced by forceFullPower(), loop(), proceedLoadPrioritiesAndOverriding(), proceedLoadPrioritiesAndOverridingDualTariff(), processDivertedCurrentRawSample(), and updatePhysicalLoadStates().
|
inline |
async trigger for loads re-ordering
Definition at line 13 of file shared_var.h.
Referenced by proceedRotation(), and updatePhysicalLoadStates().
|
inline |
copy of number of cycle the load was ON (over 1 datalog period)
Definition at line 30 of file shared_var.h.
Referenced by processDataLogging().
|
inline |
copy of WattHour register of 63K range
Definition at line 24 of file shared_var.h.
Referenced by loop(), and processLatestContribution().
|
inline |
copy of WattHour register of 63K range
Definition at line 25 of file shared_var.h.
Referenced by loop(), printForJSON(), printForSerialText(), processDataLogging(), and sendTelemetryData().
|
inline |
copy of main energy bucket (over all phases)
Definition at line 27 of file shared_var.h.
Referenced by printForSerialText(), and processDataLogging().
|
inline |
Definition at line 28 of file shared_var.h.
Referenced by printForSerialText(), processDataLogging(), and sendTelemetryData().
|
inline |
copy of for counting the sample sets during each datalogging period
Definition at line 29 of file shared_var.h.
Referenced by printForSerialText(), processCalculationsForLogging(), processDataLogging(), and sendTelemetryData().
|
inline |
copy of for summation of V^2 values during datalog period
Definition at line 26 of file shared_var.h.
Referenced by processCalculationsForLogging(), and processDataLogging().
|
inline |
copy of cumulative diverted power
Definition at line 23 of file shared_var.h.
Referenced by processCalculationsForLogging(), and processDataLogging().
|
inline |
copy of cumulative grid power
Definition at line 22 of file shared_var.h.
Referenced by processCalculationsForLogging(), and processDataLogging().
|
inline |
energy diversion detection
Definition at line 16 of file shared_var.h.
Referenced by loop(), processLatestContribution(), and processRawSamples().