3-phase PV router
Loading...
Searching...
No Matches
Variables
config_system.h File Reference

Basic configuration values to be set by the end-user. More...

#include <Arduino.h>
#include "type_traits.hpp"
Include dependency graph for config_system.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

constexpr conditional< DATALOG_PERIOD_IN_SECONDS *SUPPLY_FREQUENCY > = UINT8_MAX
 
constexpr uint8_t ::type DATALOG_PERIOD_IN_MAINS_CYCLES { DATALOG_PERIOD_IN_SECONDS * SUPPLY_FREQUENCY }
 
constexpr uint8_t DATALOG_PERIOD_IN_SECONDS { 5 }
 
constexpr float invDATALOG_PERIOD_IN_MAINS_CYCLES { 1.0F / DATALOG_PERIOD_IN_MAINS_CYCLES }
 
constexpr float invSUPPLY_FREQUENCY { 1.0F / SUPPLY_FREQUENCY }
 
constexpr uint8_t NO_OF_PHASES { 3 }
 
constexpr int16_t REQUIRED_EXPORT_IN_WATTS { 20 }
 
constexpr uint8_t SUPPLY_FREQUENCY { 50 }
 
constexpr uint16_t
 
constexpr uint32_t WORKING_ZONE_IN_JOULES { 3600UL }
 

Detailed Description

Basic configuration values to be set by the end-user.

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
2023-05-05

Definition in file config_system.h.

Variable Documentation

◆ conditional< DATALOG_PERIOD_IN_SECONDS *SUPPLY_FREQUENCY >

constexpr conditional< DATALOG_PERIOD_IN_SECONDS *SUPPLY_FREQUENCY > = UINT8_MAX
inlineconstexpr

Definition at line 32 of file config_system.h.

◆ DATALOG_PERIOD_IN_MAINS_CYCLES

constexpr uint8_t ::type DATALOG_PERIOD_IN_MAINS_CYCLES { DATALOG_PERIOD_IN_SECONDS * SUPPLY_FREQUENCY }

Period of datalogging in cycles

Definition at line 32 of file config_system.h.

◆ DATALOG_PERIOD_IN_SECONDS

constexpr uint8_t DATALOG_PERIOD_IN_SECONDS { 5 }
inlineconstexpr

Period of datalogging in seconds

Definition at line 31 of file config_system.h.

◆ invDATALOG_PERIOD_IN_MAINS_CYCLES

constexpr float invDATALOG_PERIOD_IN_MAINS_CYCLES { 1.0F / DATALOG_PERIOD_IN_MAINS_CYCLES }
inlineconstexpr

Definition at line 36 of file config_system.h.

◆ invSUPPLY_FREQUENCY

constexpr float invSUPPLY_FREQUENCY { 1.0F / SUPPLY_FREQUENCY }
inlineconstexpr

Definition at line 35 of file config_system.h.

◆ NO_OF_PHASES

constexpr uint8_t NO_OF_PHASES { 3 }
inlineconstexpr

number of phases of the main supply.

Definition at line 19 of file config_system.h.

◆ REQUIRED_EXPORT_IN_WATTS

constexpr int16_t REQUIRED_EXPORT_IN_WATTS { 20 }
inlineconstexpr

when set to a negative value, this acts as a PV generator

Definition at line 23 of file config_system.h.

◆ SUPPLY_FREQUENCY

constexpr uint8_t SUPPLY_FREQUENCY { 50 }
inlineconstexpr

number of cycles/s of the grid power supply

Definition at line 27 of file config_system.h.

◆ uint16_t

constexpr uint16_t

Definition at line 32 of file config_system.h.

◆ WORKING_ZONE_IN_JOULES

constexpr uint32_t WORKING_ZONE_IN_JOULES { 3600UL }
inlineconstexpr

number of joule for 1Wh

Definition at line 29 of file config_system.h.