From c611dfc868ae664618ff3962eceec90c57feeab8 Mon Sep 17 00:00:00 2001 From: "Tim.Kirschner" Date: Wed, 9 Feb 2022 15:01:17 +0100 Subject: [PATCH] read in Temperature timeline #6 --- simbev/main_simbev.py | 7 +++++++ simbev/simbevMiD.py | 3 +++ 2 files changed, 10 insertions(+) diff --git a/simbev/main_simbev.py b/simbev/main_simbev.py index 9d6871c..8d38991 100644 --- a/simbev/main_simbev.py +++ b/simbev/main_simbev.py @@ -32,6 +32,13 @@ def run_simbev(region_ctr, region_id, region_data, cfg_dict, charge_prob, eta_cp = cfg_dict['eta_cp'] rng = cfg_dict['rng'] soc_min = cfg_dict['soc_min'] + heating = cfg_dict['heating'] + cooling = cfg_dict['cooling'] + temp_inside = cfg_dict['temp_inside'] + + # get temperature timeline + temperature = pd.read_csv("C:/Users/Tim.Kirschner/python_projects/simbev/simbev/simbev/scenarios" + "/Temperature_dummy.csv", sep=";") # get probabilities probdata, tseries_purpose, days = simbevMiD.get_prob( diff --git a/simbev/simbevMiD.py b/simbev/simbevMiD.py index f7c63f8..e41ebdb 100644 --- a/simbev/simbevMiD.py +++ b/simbev/simbevMiD.py @@ -143,6 +143,9 @@ def availability( soc_min, tseries_purpose, carstatus, + cooling, + heating, + temp_inside, ): # day_mins = 1440