Initial Commit

This commit is contained in:
2021-08-12 11:30:17 +02:00
parent 4df1e89f0a
commit bae533f76b
43 changed files with 21786 additions and 0 deletions
@@ -0,0 +1,14 @@
* GLOBAL:
FORMAT = "%datetime{%Y-%M-%d %H:%m:%s} [%level]: %msg"
FILENAME = "log/data_analysis.log"
ENABLED = true
TO_FILE = true
TO_STANDARD_OUTPUT = true
SUBSECOND_PRECISION = 6
PERFORMANCE_TRACKING = true
MAX_LOG_FILE_SIZE = 20971520 ## 20MB
LOG_FLUSH_THRESHOLD = 10 ## Flush after every 10 logs
* ERROR:
FORMAT = "%datetime{%Y-%M-%d %H:%m:%s} [%level]: %msg: occured at %loc"
* FATAL:
FORMAT = "%datetime{%Y-%M-%d %H:%m:%s} [%level]: %msg: occured at %loc"
+16
View File
@@ -0,0 +1,16 @@
SystemConfig:
read_data_interval_s = 50 #continous reading interval in seconds
tcp_server_port = 7777 #TCP Port to access stored data
modbus_poc_ip = 127.0.0.1 #ip address for modbus tcp poc
modbus_poc_port = 502 #port for modbus tcp powercenter
modbus_rtu_device = /dev/pts/6 #serial modbus rtu interface
modbus_rtu_baud = 9600 #serial modbus baud rate
modbus_rtu_stop_bits = 2 #serial modbus stop bits
modbus_rtu_pairity = N #serial modbus pairiy
modbus_rtu_slave_address = 1 #serial modbus slave address
modbus_tcp_slave_address = 1 #tcp/ip modbus slave address
permanent_param_history = 5000 #seconds of permanent storage
crit_residual_current = 30.0 #critical residual current [mA]
crit_residual_timerange = 120 #notify if crit tendency is within n weeks
update_model_rate = 10 #Update ML model after n data points
narrow_block = 50 #Flushing n data points at once