Version Checks (indicate both or one)
The Issue
When the TAMU network is imported, there is this conditional:
|
branches = pd.read_csv( |
|
fn_branches, |
|
dtype={"from_bus_id": str, "to_bus_id": str}, |
|
index_col=0, |
|
).query("from_bus_id in @n.buses.index and to_bus_id in @n.buses.index") |
|
branches.loc[branches.rateA == 0, "rateA"] = 0.01 |
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
Version Checks (indicate both or one)
This bug exists on the master branch of PyPSA-USA.
This bug exists on the develop branch of PyPSA-USA.
The Issue
When the TAMU network is imported, there is this conditional:
pypsa-usa/workflow/scripts/build_base_network.py
Lines 74 to 79 in 338af99
However,
s_nom = 0should 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=0lines should be replaced with very larges_nomvalues?Steps To Reproduce
No response
Error Message
Anything else?
No response