From eb9adebb0135eb07a71c700a1db38173364ddddb Mon Sep 17 00:00:00 2001 From: Christoph Pels Leusden Date: Thu, 12 Sep 2024 13:12:32 +0200 Subject: [PATCH] update installation --- README.md | 30 ++++++++++++++---------------- requirements.txt | 20 ++++++++++---------- 2 files changed, 24 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index ebf9c24..3f417b1 100644 --- a/README.md +++ b/README.md @@ -21,28 +21,26 @@ src: python sources # Installation The following steps are recommended to install the energy-system-planning-workshop on a Windows PC. -1. Download and install Anaconda Navigator: https://www.anaconda.com/products/individual -2. Open Anaconda Navigator -3. Create new environment for python 3.7 -4. Activate your environment -5. Open Terminal in your environment -6. Download energy-system-planning-workshop (Planspiel) from this repository and store all files with the given folder structure on your harddrive in a defined project-folder -7. In Terminal Window: Navigate to the project-folder -8. Install all required packages using the command “pip install –r requirements.txt” -9. Download and install Solver 'cbc' für Python 3.7: https://oemof-solph.readthedocs.io/en/latest/readme.html#installing-a-solver +1. Download and install Miniconda: https://docs.anaconda.com/miniconda/miniconda-install/ +2. Download energy-system-planning-workshop (Planspiel) from this Github-repository and store all files with the given folder structure on your harddrive in a defined project-folder +3. Open a Miniconda Terminal Window and navigate to the projekt-folder +4. Create a new environment ("planspiel") for python 3.8 with the command: conda create -n "planspiel" python=3.8 +5. Activate the environment with the command: conda activate planspiel +6. Install all required packages using the command: pip install –r requirements.txt +7. Download and install Solver 'cbc' für Python 3.8: https://oemof-solph.readthedocs.io/en/latest/readme.html#installing-a-solver + # Operation The following steps are recommended to run the energy-system-planning-workshop on a Windows PC. 1. Define calculation setup in the file “config.yml” in the folder “experiment_config” using a standard editor. 2. Define boundary conditions for the optimization by adapting data in file “parameters_Team_XX” (XX for Team numbers 01-08) in folder “data”. -3. Open Anaconda Navigator -4. Activate environment which was created in the installation process -5. Open Terminal in this environment -6. Navigate to folder src in the Terminal Window -7. Start optimization in Terminal Window with: “python main.py” -8. Wait computation to finish in Terminal Window -9. Analyse results in folder “results” +3. Open a Miniconda Terminal Window and navigate to the projekt-folder (defined in the installation process) +4. Activate the environment which was created in the installation process with the command: conda activate planspiel +5. Navigate in the Terminal Window to the folder "src" +6. Start optimization in Terminal Window with: “python main.py” +7. Wait computation to finish in Terminal Window +8. Find and analyse results in folder “results” # Contact christoph.pels-leusden(at)bht-berlin.de diff --git a/requirements.txt b/requirements.txt index 037fb34..165b039 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,18 +1,18 @@ appdirs==1.4.4 -blinker==1.4 +blinker==1.8.2 decorator==5.1.0 -dill==0.3.4 +dill==0.3.8 matplotlib==3.1.2 -networkx==2.5 +networkx==3.1 nose==1.3.7 -numpy==1.21.2 -oemof.solph==0.4.4 -oemof.tools==0.4.1 -pandas==1.3.3 +numpy==1.24.4 +oemof.solph==0.5.5 +oemof.tools==0.4.3 +pandas==2.0.3 ply==3.11 -Pyomo==5.7.2 -python-dateutil==2.8.2 -pytz==2021.3 +Pyomo==6.8.0 +python-dateutil==2.9.0post0 +pytz==2024.1 PyUtilib==6.0.0 PyYAML==5.4.1 six==1.16.0 \ No newline at end of file