PyPSA / PyPSA/pypsa-de

Endogenous steel and endogenous hvc config

Open
#16 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
50
Forks
32
Avg merge
5d 21h
Merged PRs (30d)
1

Description

When setting config endogenous_steel: true and endogenous_hvc: true, the loads appear as NaN.
This is due to add_industry in prepare_sector_network.
Somehow the variable p_set is not grouped for each node which can be added as
p_set = p_set.groupby(level="node").sum()

For further investigation it would be crucial to know whether this is a pypsa-eur or pypsa-ariadne problem.

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 in prepare_sector_network, focusing on add_industry and how p_set is assembled for endogenous steel and HVC. Determine whether the issue belongs to pypsa-de, pypsa-eur, or pypsa-ariadne, then verify that the affected loads are grouped by node and no longer become NaN when both configurations are enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.