Skip to content

Commit

Permalink
update installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Pels Leusden committed Sep 12, 2024
1 parent 0c5f86a commit eb9adeb
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 26 deletions.
30 changes: 14 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 10 additions & 10 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit eb9adeb

Please sign in to comment.