You are currently reviewing an older revision of this page.
Is it possible to reverse pipe orientation in bulk/batch?
As of 08.11.01.32, the fastest way to reverse pipes in bulk is to use ModelBuilder:1. Create a new FlexTable, and make the Table Type 'Pipe'.2. Add the "Label", "Start Node", "Stop Node" and "Flow" fields.3. Filter the pipes if required so that the FlexTable only contains pipes with negative flows (i.e. the pipes you want to reverse).4. Click "Export to File" and save in CSV format.
5. Open the CSV file in Excel (you will probably need to run through the Text Import Wizard).6. Swap the "Start Node" and "Stop Node" column labels, then Save as an .XLS file7. Use ModelBuilder to update the pipes in your model with the reversed Start and Stop nodes.Note though that the flow direction can change during an extended period simulation, so you may not want to reverse all pipes. Also note that there is a result field called "Flow (absolute)" that just returns the magnitude of the flow (without any negative signs), which you may be able to use instead of running though this process.