EnergyLab Introduction to PyPSA#
Welcome to the introductory course on PyPSA for EnergyLab! This course provides hands-on training and practical examples for energy system modelling using PyPSA (Python for Power System Analysis).
About This Course#
Through interactive lessons and examples, you will learn how to:
Build and analyze energy system models
Work with network components (buses, generators, loads, lines, links)
Import and export network data
Optimize power system operations
Visualize and interpret results
Course Materials#
The course includes interactive Jupyter notebooks that you can run in Google Colab or locally on your computer. Each lesson builds on previous concepts and includes practical examples.
Access the accompanying presentation at this link.
Contact#
Getting Started#
Option 1: Google Colab (Recommended for Beginners)#
You can run the notebooks directly in your browser using Google Colab. Click the rocket icon at the top of any lesson page and select “Colab” to get started. This requires a Google account but no local installation.
Option 2: Local Installation#
To run the notebooks locally:
Clone this repository:
git clone https://github.com/PriyeshGosai/energylab-intro-pypsa.git cd energylab-intro-pypsa
Install dependencies:
pip install -r requirements.txt
Launch Jupyter Lab:
jupyter lab
Course Contents#
This course consists of multiple lessons covering different aspects of PyPSA:
Exercise 1: Getting started with PyPSA
Exercise 2: Capacity Expansion Planning
Exercise 3: Hydro, Scheduling and Dispatch
Each lesson includes:
Conceptual explanations
Code examples
Hands-on exercises
Visualization tools
Resources#
PyPSA Documentation: https://pypsa.org
PyPSA-Earth: pypsa-meets-earth
Course Repository: PriyeshGosai/energylab-intro-pypsa
Further Learning#
License#
This course material is open source and available for educational purposes.
Ready to get started? Navigate to Lesson 1 using the sidebar or the links above!