PyPSA / PyPSA/pypsa-usa

Move natural gas piepline assumptions to config file

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

Nobody has claimed this yet.

enhancement Sector
Dominant language
Python
Stars
148
Forks
55
Avg merge
2d 11h
Merged PRs (30d)
18

Description

Feature Request

Three assumptions are hard-coded into the calculation of linepack. These should be moved to the configuration file. These assumptions are:

  • Including both interstate and intrastate pipelines in the calculation
  • The size of both interstate and intrastate pipelines
  • The operating pressures of interstate and intrastate pipelines
Suggested Solution

No response

Additional Info

https://github.com/PyPSA/pypsa-usa/blob/afa303376babfae2b6e109d8f35f2ec60460010f/workflow/scripts/build_natural_gas.py#L1081-L1126

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 workflow/scripts/build_natural_gas.py around lines 1081-1126 and trace the linepack calculation. Check how this workflow loads configuration and determine where the interstate/intrastate inclusion, pipeline sizes, and operating pressures belong. Done means all three assumptions are configurable rather than hard-coded and the calculation still uses the configured values.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.