2.2 Typical Workflow
This is the usual path to build, verify and simulate a distribution network with QGISRed.
Step 1 β Create or open the project#
Use the General bar to get started:
- New project from scratch: Create project β choose name, folder and reference system. QGISRed automatically generates the 6 base SHPs (Junctions, Pipes, Tanks, Reservoirs, Valves, Pumps).
- Existing project: Project manager β double click on the project in the recent list.
- From an EPANET file: Import project β select the
.inp. QGISRed converts it to SHP and opens it.
Step 2 β Configure project options#
From the Project bar, access Project Options to define:
- Flow units (LPS, GPM, CMHβ¦)
- Head loss formula (D-W, H-W, C-M)
- Quality Model (None, Chlorine, Age, Tracer)
The indicator on the main bar (LPS | D-W) always reflects the active values.
Step 3 β Build the network#
Activate the Edition bar and draw the network on the map:
- Start with the pipes β the extreme nodes create themselves.
- Add tanks and reservoirs by clicking on existing nodes.
- Insert valves and pumps by clicking on a pipe.
- Edit the properties of each element (diameter, roughness, dimension, demand...).
π‘ You can import existing geometry (infrastructure SHP, background orthophoto) and plot the network on top of it.
Step 4 β Check model quality#
Before simulating, use the Debug bar:
- Consolidate and review data β detects incomplete or inconsistent attributes.
- Verify connectivity β identifies isolated areas without a pressure source.
- Hydraulic sectors β check the power supply to each sector.
Correct any problems noted in the incident report before continuing.
Step 5 β Prepare demand data#
From the Tools bar:
- Interpolate elevations if the nodes do not have elevations assigned.
- Assign roughness based on material and installation date.
- Nodal demand builder to distribute consumption.
Step 6 β Simulate#
From the Analysis bar:
- Analysis options β check the duration and time step.
- Run model β the simulation can take from one second to several minutes depending on the size of the network.
- When finished, QGISRed automatically loads the result layers and opens the Results Viewer.
Step 7 β Explore results#
In the side panel of the Results Viewer:
- Select which variable to show in nodes (Pressure, Demand, Quality) and in pipes (Flow, Velocity, Unit Loss...).
- Move the time slider to see the evolution throughout the simulated period.
- Activate Map Notices to read values ββwhen you mouse over any element.
- Use Time Series to graph the evolution of a specific point.
Step 8 β Save#
- Save Map saves the QGIS project (
.qgz) with the visible layers and styles. - Export project (from the Project Manager) generates a portable ZIP of the project.
β IMPORTANT: QGISRed does not modify the layers while they are in Edit Mode of QGIS. Be sure to commit (
Ctrl+Son the layer) or discard your changes before using any plugin tools.