1-phase PV router
|
Basic configuration values to be set by the end-user. More...
Go to the source code of this file.
Variables | |
constexpr uint8_t | ANTI_CREEP_LIMIT { 5 } |
constexpr conditional< DATALOG_PERIOD_IN_SECONDS *SUPPLY_FREQUENCY >=UINT8_MAX, uint16_t, uint8_t >::type | DATALOG_PERIOD_IN_MAINS_CYCLES { DATALOG_PERIOD_IN_SECONDS * SUPPLY_FREQUENCY } |
constexpr uint8_t | DATALOG_PERIOD_IN_SECONDS { 5 } |
constexpr uint16_t | delayBeforeSerialStarts { 1000 } |
constexpr float | invDATALOG_PERIOD_IN_MAINS_CYCLES { 1.0f / DATALOG_PERIOD_IN_MAINS_CYCLES } |
constexpr float | invSUPPLY_FREQUENCY { 1.0f / SUPPLY_FREQUENCY } |
constexpr uint32_t | JOULES_PER_WATT_HOUR { 3600 } |
constexpr uint32_t | mainsCyclesPerHour { SUPPLY_FREQUENCY * SECONDS_PER_MINUTE * MINUTES_PER_HOUR } |
constexpr uint16_t | MINUTES_PER_HOUR { 60 } |
constexpr uint8_t | NO_OF_PHASES { 1 } |
constexpr int16_t | REQUIRED_EXPORT_IN_WATTS { 0 } |
constexpr uint16_t | SECONDS_PER_MINUTE { 60 } |
constexpr uint16_t | startUpPeriod { 3000 } |
constexpr uint8_t | SUPPLY_FREQUENCY { 50 } |
constexpr uint32_t | WORKING_ZONE_IN_JOULES { 360 } |
Basic configuration values to be set by the end-user.
Definition in file config_system.h.
|
inlineconstexpr |
in Joules per mains cycle (has no effect when set to 0)
Definition at line 32 of file config_system.h.
Referenced by printConfiguration().
|
inlineconstexpr |
Period of datalogging in cycles
Definition at line 39 of file config_system.h.
Referenced by processDataLogging().
|
inlineconstexpr |
Period of datalogging in seconds
Definition at line 36 of file config_system.h.
Referenced by processCalculationsForLogging().
|
inlineconstexpr |
in milli-seconds, to allow Serial window to be opened
Definition at line 45 of file config_system.h.
Referenced by processStartUp(), and setup().
|
inlineconstexpr |
Definition at line 43 of file config_system.h.
|
inlineconstexpr |
Definition at line 42 of file config_system.h.
Referenced by printForSerialText().
|
inlineconstexpr |
(0.001 kWh = 3600 Joules)
Definition at line 24 of file config_system.h.
|
inlineconstexpr |
Definition at line 34 of file config_system.h.
|
inlineconstexpr |
Definition at line 23 of file config_system.h.
|
inlineconstexpr |
number of phases of the main supply.
Definition at line 19 of file config_system.h.
Referenced by calcBufferSize().
|
inlineconstexpr |
when set to a negative value, this acts as a PV generator
Definition at line 29 of file config_system.h.
Referenced by printConfiguration().
|
inlineconstexpr |
Definition at line 22 of file config_system.h.
|
inlineconstexpr |
in milli-seconds, to allow LP filter to settle
Definition at line 46 of file config_system.h.
Referenced by processStartUp().
|
inlineconstexpr |
Definition at line 27 of file config_system.h.
Referenced by loop(), and processLatestContribution().
|
inlineconstexpr |
0.1 Wh, reduced for faster start-up
Definition at line 28 of file config_system.h.