From 2bc2cd01421761489c6c3e5000fcb9d5cbabab3f Mon Sep 17 00:00:00 2001 From: Emmanuel Balogun <42688418+ebalogun01@users.noreply.github.com> Date: Thu, 28 Dec 2023 13:20:52 -0800 Subject: [PATCH 1/2] Update README.md Minor updates --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2f19a641..b6e5b22e 100644 --- a/README.md +++ b/README.md @@ -211,10 +211,13 @@ install packages listed in the environment manually. You can also use the `requi * Now navigate one level of out `/feeder_population` and run scenarios.py using `python3 scenarios.py` or `gridlabd python scenarios.py` (recommended). 6. For base case (Requires GridLAB-D install): - * Navigate to `./test_cases/base_case/feeder_population` and run `feeder_population.py`. This uses the - `./test_cases/base_case/feeder_population/config.txt` settings to prepare the power system and populate the secondary distribution network \ - with time-varying base loads - * Navigate back one directory to `./test_cases/base_case` and run master_sim.py using `python3 master_sim.py` + * **If using Unix based system or Windows Subsystem for Linux (WSL) [RECOMMENDED]**: Make sure you are in the project root directory and run `python3 evecosim.py --mode base-case-grid` or `python3 evecosim.py --mode=base-case-grid`. The base-case simulation without any EV Charging nor Distrbuted Energy Resources will run. Results will be in the `test_cases/base_case` folder. + + * **If using Native Windows** + * Navigate to `./test_cases/base_case/feeder_population` and run `feeder_population.py`. This uses the + `./test_cases/base_case/feeder_population/config.txt` settings to prepare the power system and populate the secondary distribution network \ + with time-varying base loads + * Navigate back one directory to `./test_cases/base_case` and run master_sim.py using `python3 master_sim.py` ## Post-simulation analysis * This is done with the modules in the `analysis` folder. Please see the `analysis` folder section for more details. From 1b5f6ce196983f84cbe5b3207ec3cdca6945ec02 Mon Sep 17 00:00:00 2001 From: Emmanuel Balogun <42688418+ebalogun01@users.noreply.github.com> Date: Thu, 28 Dec 2023 13:30:17 -0800 Subject: [PATCH 2/2] Update README.md minor changes --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b6e5b22e..c954f617 100644 --- a/README.md +++ b/README.md @@ -179,12 +179,12 @@ from the simulation. ## How to run For quick-run, it is recommended to use MacOS or Linux. All Native Windows from windows 11 come with WSL2. Older windows -users can install WSL2. See [here](https://docs.microsoft.com/en-us/windows/wsl/install-win10) for more details. +users can install WSL2. See [here](https://docs.microsoft.com/en-us/windows/wsl/install-win10) for more details. Read [requirements](#requirements) for how to setup the environment and skip to item #3. 1. If you do not have conda installed and want to use conda, please follow the instructions [here](https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html) to install conda. 2. Create a new environment using `conda env create --name -f environment.yml`OR -install packages listed in the environment manually. You can also use the `requirements.txt` file and [pip](https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/) to install the required packages Some users may find pip to be more convenient. +install packages listed in the environment manually. You can also use the `requirements.txt` file and [pip](https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/) to install the required packages using the command `pip install -r requirements.txt`. 3. Ensure gridlabd is installed by following recommended installation method if using the online (MPC) power system co-simulation functionality.