Skip to content

Show HN: Epanet-JS – Simulate a water distribution network in JavaScript

github.com/modelcreate
8 pointslbutler1 comment
On HN

Comments

The core engine for this library is EPANET which the US EPA released in the public domain many years ago.

Extremely niche as I don't suspect there will be many engineers simulating water networks but every water utility will do this at some level.

Usually, utilities will use commercial applications such as InfoWater or WaterGEM which use the same engine and charge between $5-$20k per licence to water utilities.

I wanted to try and make the original C library easier to adapt to the web, so I compiled it to JavaScript and created an API that manages all the memory for you.

There are simple demos linked on the readme, and also some links to some larger React apps I've created.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.