Skip to content

s_nom=0 values from TAMU #741

@trevorb1

Description

@trevorb1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions