Examples¶
In order to familiarize with the code or investigate the input and outputs of the rules, a notebook folder, as part of the documentation repository has been provided. In order to work with these notebooks, you need to set up the recommended folder structure for pypsa-earth:
Start by creating a folder named pypsa-earth-project by executing the following line in the terminal:
Change the current directory to that folder:
Clone pypsa-earth repository from GitHub into the folder:
Finally Clone documentation repository into the folder:
This setup helps you to start working with the following notebooks:
sample_network_analysis: introduces a sample analysis for the networks built with pypsa-earth tutorial, gives you a taste of what pypsa-earth can donetwork_comparison: compares the network models developed along the data workflow; useful and interactive plots are generatedosm_build_network_plot: provides specific plots and outputs for thedownload_osm_dataruleosm_data_access: explains how OSM data are being loaded by usingdownload_osm_dataosm_powermap: contains nice plots and description of the output of the data downloaded and cleaned by usingdownload_osm_dataandclean_osm_datasolve_network_results: provides useful plots and textual outputs to investigate the results of the last optimization performed using solve_networkbuild_bus_regions: it explores the inputs and outputs of thebuild_bus_regionsrule, namely the bus regions shapes, and the elements of the network (lines, substations, etc.)build_shapes: describes the shapes created using the rulebuild_shapesfor the on-shore and off-shore areasdemand_gegis: it enables exploring th GeGIS dataset used to perform the analysis. These data are obtained using the GlobalEnergyGIS package for Africa.shape_comparison: this notebook enables comparing the shapes used along the data workflowadd_electricity: it analyzes the outputs of theadd_electricityrule, including the PyPSA model and the RES/demand inputsbase_network: it eases the visualization and analysis of the output PyPSA network model that the rulebase_networkbuildsbuild_cutout: the notebook analyzes the outputs of the rule `build_cutout`` rule, which are the solar, wind and hydro time series generated with Atlitebuild_renewable_profiles: it enables investigating the specific time series generated by the rulebuild_renewable_profiles; in particular, it shows the potential of selected resources (e.g. solar) and the corresponding time series of renewable energy production available for selected buseslanduse-availability: this notebook aims at showing howAtliteaccounts for land constraints in the analysis