Implementation

You need https://geopandas.org/en/stable/index.html, https://pandas.pydata.org/ and https://matplotlib.org/ installed to follow along.

We provide you with the following program that has already most of the code implemented. We explain where you can find which functionality in the following video.

IMPLEMENTATION

   

Tasks:

Run the model for yourself!
  1. Discuss: Which general observations can you make?
  2. Play around with parameters: What happens if you increase e.g. transport costs, investment costs etc. Figure out to which parameters the model is sensitive!
  3.  Just with geopandas: What happens if you restrict certain biomasses?
 

HINT: Working with real data

Working with real data is messy. There are some small missing or inconsistent data that will create you problems. E.g. using scenario ENS_High will not work but ENS_Med will. Also, that for example Greece is missing is not an accident, but rather a data problem. We do not ask you to analyse or solve these problems here, but we wanted to highlight it, so you see what can go wrong. Also be aware, that these problems might hinder you from doing all the sensitivity analysis you would like to do.

HINT: Problems to install geopandas

We know that some people struggle with the installation of geopandas. This will keep you from reading the data. There are the following adjustments to be made so you can still run the program:
 
change lines 8 to 11 in model.py:
import data_handler as data
import visualisation as plotter
# import data_handler_wo_geopandas as data
# import visualisation_wo_geopandas as plotter
 
to
# import data_handler as data
# import visualisation as plotter
import data_handler_wo_geopandas as data
import visualisation_wo_geopandas as plotter

Explanation of how the data handler is created:

We will provide you with most of the code, you only have to fill gaps. We still want to walk you step by step on how the data is selected, created and read into python.
In the following project module, we expect you to do similar analysis by yourself. It will also help you understand the provided code.
Generally working with geopandas:
   
 
Handling big data files:
 
   
Sie haben 65% der Lektion erledigt.
65%