PyPSA / PyPSA/pypsa-app

[USER STORY] Show generation/load per Node - and Load Flow per HV Line section

Open
#6 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
25
Forks
5
PR merge metrics
No merged PRs in 30d

Description

is there a more recent alternative GUI / interface / Dashboard / analysis tool for finished PyPSA runs?

The PyPSA-App already provides a strong basis for exploring PyPSA networks, but it is currently difficult to understand what is physically happening at the node and line level.

I would like to request functionality to display generation, load, and power flow per node and per HV line section in the web UI.

  1. Node-level balances
    For each bus/node, show:
    • Total generation (MW)
    • Total load (MW)
    • Net injection (generation − load)
    • Optional: storage charge/discharge
    • Optional: curtailed generation

This should be visible:
• In the node tooltip
• In a side panel when clicking a node
• As a color scale on the map (e.g. net injection/export vs import)

This makes it possible to immediately see:
• Which nodes are exporters vs importers
• Where congestion and balancing stress arises
• Whether local generation is actually serving local demand

  1. HV line / link load flow
    For each transmission line or link:
    • Actual power flow (MW)
    • % of thermal limit
    • Direction of flow

This should be visualized:
• As line thickness (MW)
• As color (loading %, or congestion)
• With arrows for flow direction
• With detailed values on hover / click

This is essential for:
• Congestion analysis
• Grid reinforcement studies
• BESS placement and curtailment diagnostics
• Understanding dispatch results

  1. Time-step support
    These metrics should update when:
    • The user changes the selected snapshot
    • Or scrubs through time

So the app becomes a true grid playback & diagnosis tool, not just a static network viewer.

Why this matters
Without node-level balances and line-level flows, PyPSA-App is mainly a topology viewer.
With these features, it becomes a proper power system analysis cockpit, suitable for:
• Market & dispatch debugging
• Congestion analysis
• Storage & grid expansion planning
• Education and stakeholder communication

This would be a major step toward turning PyPSA-App into a serious operational and planning frontend for PyPSA models.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the PyPSA-App web UI entry points for the map, node tooltip or side panel, line hover or click behavior, and selected-snapshot or time-scrubbing controls. Review how completed PyPSA runs are exposed there; done means node balances and line flows are visible and update for the selected snapshot or time step.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization, frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.