TSNet-TS

About TSNet-TS

TSNet-TS is an online water hammer and hydraulic transient simulator. It runs the Method of Characteristics on water distribution networks described by EPANET .inp files, entirely in the browser — no server-side hydraulic engine for the demo.

The project is a TypeScript port of TSNet by Xing and Sela. The original Python package is described in:

Xing, L., & Sela, L. (2020). Transient simulations in water distribution networks: TSNet python package. Advances in Engineering Software, 149, 102884. doi:10.1016/j.advengsoft.2020.102884

Please cite that paper if you use this work in research. Questions or commercial licensing for the web app: tsnetts@gmail.com.

Library and web app

What you can simulate

Valve closure and opening, pump shutdown and startup, pipe burst, background leak, demand pulse, and surge tanks. Friction can be steady, quasi-steady, or unsteady. Steady-state start-up uses EPANET demand-driven (DD) or pressure-dependent demand (PDD).

Run a transient in the browser