PyPSA / PyPSA/pypsa-usa

`s_nom=0` values from TAMU

Open Beginner friendly
#741 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Version Checks (indicate both or one)
The Issue

When the TAMU network is imported, there is this conditional:

https://github.com/PyPSA/pypsa-usa/blob/338af9912addbaf038c6098fe27e1e6ef099d8aa/workflow/scripts/build_base_network.py#L74-L79

However, s_nom = 0 should represent unconstrained lines? This is from the TAMU datapackage.

{
    "name": "rateA",
    "description": "MVA rating A (long term rating), set to 0 for unlimited",
    "type": "float"
},

Shouldn't this conditional go the other way, and the s_nom=0 lines should be replaced with very large s_nom values?

Steps To Reproduce

No response

Error Message

Anything else?

No response

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 at workflow/scripts/build_base_network.py lines 74-79 and compare its conditional with the TAMU datapackage description of rateA. Verify how imported TAMU lines with s_nom=0 are represented; done when the import handles those values consistently with the documented unlimited-rating meaning.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-engineering
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.