optiwindnet.repair¶
Module Contents¶
- optiwindnet.repair.repair_routeset_path(Sʹ: networkx.Graph, A: networkx.Graph, ringed: bool = False) networkx.Graph[source]¶
This is only able to repair crossings where one of the paths is split in either a leaf and a path or a hook and a path.
- Parameters:
Sʹ – solution topology that contains non-branching rooted tree(s)
A – available edges used in creating
Sʹringed – rank fix choices as if both path extremes get a feeder, for topologies destined for ring form (
Sʹitself must still be in single-feeder path form)
- Returns:
Topology without the crossing in a shallow copy of
Sʹ.