pypsa-meets-earth / documentation

Contains hackathon material, jupyter notebook visualizations and images
GNU General Public License v3.0
15 stars 68 forks source link

Adjust a set of demo-notebooks #6

Open ekatef opened 1 year ago

ekatef commented 1 year ago

Currently notebooks keep plenty of valuable ideas on development, validation and visualisation. However, they were created along with the mainstream development process and it was not always possible/feasible to provide a full set of instructions how to reproduce the model output being used in the notebook.

It makes sense to select a set of the notebooks and revise them to ensure that it's easy to fully reproduce them. In particular, it a network model for a selected country can be attached as discussed with @pz-max.

pz-max commented 1 year ago

Hi @AnasAlgarei ,

  1. I will clean-up the notebooks folder
  2. Could you compile each for the Nigeria case & fix the description if necessary?
AnasAlgarei commented 1 year ago

Hi @AnasAlgarei ,

  1. I will clean-up the notebooks folder
  2. Could you compile each for the Nigeria case & fix the description if necessary?

Sure, I will do that and report if there are any issues

pz-max commented 1 year ago

@AnasAlgarei I just did the first step. There are some notebooks that start with 0. As probably done for the other notebooks can you add a description that fixes:

As mentioned above, I suggest compiling each notebook to learn from the output/picture, and try to fix naming pypsa-africa -> pypsa-earth. Remember to only commit once for one notebook. This means do all the changes for one notebook, clear all outputs, start from fresh kernel, compile the whole notebook & the commit :100:

AnasAlgarei commented 1 year ago

@AnasAlgarei I just did the first step. There are some notebooks that start with 0. As probably done for the other notebooks can you add a description that fixes:

  • Unclear what workflow needs to be executed so that the notebook can work
  • Unclear what config.yaml was necessary to create the illustrations
  • Run PyPSA-Earth for whole Africa to plot the outputs & also run in a parallel the mode for Nigeria (new folder). I think some notebooks may require Nigeria data instead of continental data

As mentioned above, I suggest compiling each notebook to learn from the output/picture, and try to fix naming pypsa-africa -> pypsa-earth. Remember to only commit once for one notebook. This means do all the changes for one notebook, clear all outputs, start from fresh kernel, compile the whole notebook & the commit :100:

Running Nigeria shouldn't be a problem, I'll try for whole Africa as well and hopefully it works, as for the notebooks' outputs, as I recall, some of them would work for Nigeria but not for other countries (i.e. Saudi Arabia). However, I will try some of the countries that I already solved and report any issues