From 29e46811e3b86cc645232e6b9334a7dd66fe3e10 Mon Sep 17 00:00:00 2001 From: ebalogun01 <42688418+ebalogun01@users.noreply.github.com> Date: Tue, 19 Dec 2023 02:03:17 -0800 Subject: [PATCH] removing paramplot --- app.py | 2 +- .../battery/feeder_population/__init__.py | 26 +++++++++++++++++++ .../battery/feeder_population/config.txt | 4 +-- test_cases/battery/gblvar.py | 1 - 4 files changed, 29 insertions(+), 4 deletions(-) diff --git a/app.py b/app.py index 0ad1c5baf..7799ac34f 100644 --- a/app.py +++ b/app.py @@ -275,6 +275,6 @@ def run_scenarios_sequential(testing=False): if __name__ == '__main__': - test = True + test = False USER_INPUTS = load_default_input() simulate(USER_INPUTS, test=test) diff --git a/test_cases/battery/feeder_population/__init__.py b/test_cases/battery/feeder_population/__init__.py index e69de29bb..a12fed08f 100644 --- a/test_cases/battery/feeder_population/__init__.py +++ b/test_cases/battery/feeder_population/__init__.py @@ -0,0 +1,26 @@ +""" +**Introduction**\n +This is the feeder population module within the battery test case. This file performs the pre-simulation step for +running EV-Ecosim.\n\n +It takes in a base Gridlab-D Model (GLM) file (for example, `IEEE123.glm`), and modifies that file by including +secondary distribution, home loads, and EV Charging station and transformers. + + +Once this script is done running, it reads and writes new GLM as _populated.glm and +_secondary.glm, and saves them within the test case folder. These saved files are used to run the +simulation. These files are saved in the 'test_case_dir' field specified in config.txt. + + +**Input file description** \n +Config `config.txt`: configuration file describing the pre-simulation parameters. +This can be modified directly or with the help of our Graphic User Interface (GUI). The return outputs of this module +are files that are read in to run the EV-Ecosim environment. + + +**Output file description**\n +`real_power.csv` - Real power; this is residential real load timeseries file per node_name/bus +`reactive_power.csv` - Reactive power; this is residential reactive load timeseries file per node_name/bus +`dcfc_bus.txt` - DC fast charging bus locations; this is used in co-simulation +`L2charging_bus.txt` - L2 charging bus locations; this is used in co-simulation. + +""" \ No newline at end of file diff --git a/test_cases/battery/feeder_population/config.txt b/test_cases/battery/feeder_population/config.txt index 2174f65e3..2e58521b8 100644 --- a/test_cases/battery/feeder_population/config.txt +++ b/test_cases/battery/feeder_population/config.txt @@ -3,14 +3,14 @@ 'mean_scale': 0.5, 'box_pts': 60, 'base_file_dir': '/feeders', - 'base_load_file': 'data_2015_use.csv', + 'base_load_file': 'data_2015_use.csv', 'test_case_dir': '/test_cases/battery', 'load_data_dir': '/base_load_data', 'starttime': "'2018-07-01 00:00:00'", 'endtime': "'2018-07-30 23:59:00'", 'python_module': 'event_handlers', 'safety_factor': 0.1, - 'dcfc_charging_stall_base_rating': '75_kW_kW', + 'dcfc_charging_stall_base_rating': '75_kW', 'l2_charging_stall_base_rating': '11.5_kW', 'num_dcfc_nodes': 4, 'num_l2_nodes': 0, diff --git a/test_cases/battery/gblvar.py b/test_cases/battery/gblvar.py index 250873f06..051774c12 100644 --- a/test_cases/battery/gblvar.py +++ b/test_cases/battery/gblvar.py @@ -55,7 +55,6 @@ trans_dt = 10.0 # integration timestep [seconds]? trans_Ta = 20.0 # ambient temperature[C] {SLIGHTLY HIGHER THAN JUNE AVERAGE IN 2018} -# TODO: find where all these transformer values were obtained from # Transformer has various cooling modes that determine m and n for transformer. # ONAF: Natural convection flow of oil through windings and radiators. Forced convection flow of air over radiators by