Opening an existing project

You can open your existing EPANET models into epanet-js using the standard INP file format. This lets you view, edit, and run simulations right in your browser –no extra software needed.

You can access this option from the Welcome modal or from the Create new… dropdown in the main toolbar.

  1. Click Open INP and select an .inp file.
  2. The network loads onto the map.

Tips for a successful import

1. Nodes must have coordinates

All nodes (junctions, reservoirs, tanks) defined in your INP file must have corresponding entries in the [COORDINATES] section to be properly imported and visualized. If coordinates are missing for some nodes, you will receive a warning, and those nodes will not be included in the imported model.

2. WGS84 projection (latitude/longitude) required

epanet-js needs your network to be projected in the standard WSG 84 projection system. If that’s not the case, the application will warn you about this and won’t be able to open it.

However, you can reproject your network with one of our EPANET utilities.

How to reproject your network

3. Import issues & warnings

<aside> 💡

We're actively developing epanet-js to enhance INP file support and add more features. You can follow progress in our changelog and roadmap.

</aside>

When you import an INP file, epanet-js checks its contents. If it finds sections that aren't supported (e.g. options that differ from the default settings or water quality) it will list them as issues.

image.png

When you save the model, epanet-js will ask you to save a copy so your original file stays unchanged.