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.

Download PDF from GitHub

Contact#

Instructor

Priyesh Gosai


priyesh@innovateimpact.com

LinkedIn | GitHub

CCG Energy Lab I4I

Getting Started#

Option 2: Local Installation#

To run the notebooks locally:

  1. Clone this repository:

    git clone https://github.com/PriyeshGosai/energylab-intro-pypsa.git
    cd energylab-intro-pypsa
    
  2. Install dependencies:

    pip install -r requirements.txt
    
  3. 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#

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!