Proximity check helps you find assets that are spatially close but not topologically connected, which typically are a consequence of a data entry or import error.

What is a proximity check?

Proximity check is a data quality and clean-up feature in epanet-js. Its main purpose is to find components in your model that look right visually but are not connected in the network's topology.

This problem is extremely common when importing data from a GIS. Proximity check finds where junctions are near a pipe but isn't actually "snapped" to it, meaning the model doesn't know they are connected.

Why these warnings might be a problem?

If not fixed, these proximity errors may break your hydraulic simulation or produce highly inaccurate results:

The hydraulic solver relies on a perfectly connected network to calculate how flow and pressure move. A node that isn't connected to a pipe—even if it's 1mm away—is "invisible" to the solver.

How is it handled?

Proximity check works by scanning your model and flagging nodes that are within a specified distance of pipes.

epanet-js will generate a list of potential issues for review. Selecting an issue from this list will center the map display on the involved assets. It’s then the user's responsibility to inspect the issue and take one of two actions:

  1. Resolve the issue by manually repositioning the junction to connect with the pipe.
  2. Discard the issue and continue to the next item.

What’s the best way to run a proximity check?

A good workflow is to start with a very small distance, such as 0.1 m. Review the issues that appear, fix the ones that need fixing, and clear out the obvious false positives. Once that list is clean, gradually increase the distance and repeat the process.

By stepping the distance up slowly, you avoid being overwhelmed by a massive list of potential issues all at once. Instead, you work through the real problems first, then expand outward until the remaining items are things that genuinely don’t need to be connected. This approach keeps the review manageable and helps you clean up your network much more efficiently.

Screenshot 2025-10-30 at 12.29.20.png

Related articles

Orphan assets

Crossing pipes

Connectivity trace