Skip to content

KTH-dESA/Drin_Water_Energy_Nexus_Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOI

Drin nexus assessment model

Python scripts for the integrated Water-Energy model of the Drin River Basin. This repository contains the working code for the “Drin River Basin Nexus Assessment” project. The project is funded by the Global Water Partnership - Mediterranean (GWP-Med) and the United Nations Economic Commission for Europe (UNECE) KTH is providing analyses and support on decision making across the climate, land, energy and water spheres.

Installation

To install the required dependencies, install the miniconda or conda package manager and create a conda environments running conda env create -n <name-of-environment> -f envs/requirements.txt in the conda shell or git bash (replace by a custom name for your environment). Afterwards, activate the environment with conda activate <name-of-environment> or source activate <name-of-environment>.

The notebook environment is intended to run the standalone jupyter notebooks, provided for each step of the model.

Running the Model

To run the model, first activate the previously created conda environment for notebooks by running conda activate <name-of-environment> or source activate <name-of-environment> and then type jupyter notebook and hit entre. Alternatively, you can start the Anaconda navigator, select the previously created environment and start a Jupyter notebook session. Open any of the runner files of either model and follow the steps.

Visualazing results

To explore results, you can use either:

  • DRIN_Scenario_runner_and_results_vis.ipynb: this notebook will run each osemosys scenario and visualize its resutls. This notebook can be found under (osemosys_scenarios) and under the respective folder of each scenaario.
  • DRIN_RESULTS_COMPARISON.ipynb: this notebook will compare the results of more than one scenario and will generate costumized graphs. This notebook can be found under (results).

Credits

Conceptualization: Youssef Almulla, Emir Fejzic, Vignesh Sridharan, Klodian Zaimi , Lucia De Strasser and Francesco Gardumi.
Methodology: Youssef Almulla and Francesco Gardumi on the energy model, Klodian Zaimi on the water model.
Software: Youssef Almulla, Emir Fejzic, Vignesh Sridharan and Francesco Gardumi.
Funding, Management and Advisory support: Lucia De Strasser
and Francesco Gardumi.