Context
PR #286 unified contingency handling around NetworkModification. Three-winding transformer outages are currently only supported via the internal ThreeWindingTransformerWinding type (individual winding arcs). Passing a full PSY.ThreeWindingTransformer component to the outage classification will error.
Current behavior
ThreeWindingTransformerWinding arcs are correctly classified via _resolve_branch_arc and handled in _compute_arc_ybus_delta.
- A raw
PSY.ThreeWindingTransformer passed as an outage component raises an error with a message directing users to use individual windings.
Desired behavior
- Accept
PSY.ThreeWindingTransformer directly in NetworkModification constructors and automatically decompose it into its three winding arcs.
- Handle partial 3W transformer outages (single winding trip).
References
Context
PR #286 unified contingency handling around
NetworkModification. Three-winding transformer outages are currently only supported via the internalThreeWindingTransformerWindingtype (individual winding arcs). Passing a fullPSY.ThreeWindingTransformercomponent to the outage classification will error.Current behavior
ThreeWindingTransformerWindingarcs are correctly classified via_resolve_branch_arcand handled in_compute_arc_ybus_delta.PSY.ThreeWindingTransformerpassed as an outage component raises an error with a message directing users to use individual windings.Desired behavior
PSY.ThreeWindingTransformerdirectly inNetworkModificationconstructors and automatically decompose it into its three winding arcs.References