wntr.morph.link#
The wntr.morph.link module contains functions to split/break pipes.
Functions
Break a pipe by adding a two unconnected junctions and one new pipe segment. |
|
Reverse a link to switch between the start and end nodes The function can reverse any link (pipe, pump or valve) Vertices order will be reversed to maintain the link layout |
|
Split a pipe by adding a junction and one new pipe segment. |