From 240854839d74a91e1f06cd1cac7b3a52cf2edc96 Mon Sep 17 00:00:00 2001 From: drbacke <35328755+drbacke@users.noreply.github.com> Date: Wed, 4 Sep 2024 08:31:37 +0200 Subject: [PATCH] Update config.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ladeströme (Diskret) --- config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config.py b/config.py index b0bef6f..821704f 100644 --- a/config.py +++ b/config.py @@ -3,6 +3,9 @@ from datetime import datetime, timedelta prediction_hours=48 strafe=10 +moegliche_ladestroeme_in_prozent = [0.0 ,6.0/16.0, 7.0/16.0, 8.0/16.0, 9.0/16.0, 10.0/16.0, 11.0/16.0, 12.0/16.0, 13.0/16.0, 14.0/16.0, 15.0/16.0, 1.0 ] + + db_config = { 'user': '', 'password': '!', @@ -22,4 +25,4 @@ def get_start_enddate(prediction_hours=48,startdate=None): else: date = (startdate + timedelta(hours = prediction_hours)).strftime("%Y-%m-%d") date_now = startdate.strftime("%Y-%m-%d") - return date_now,date \ No newline at end of file + return date_now,date