EWG · Smart Water · EPANET Lab
EPANET Lab
The real EPANET engine (OWA-EPANET source compiled to WebAssembly) runs right in this browser, no server involved — change the pump schedule, water demand or tariff and see how pressure, tank levels and energy cost respond, or press “Find the cheapest plan” to see M6 in miniature: try every plan, let EPANET check it, and keep the cheapest one that meets the limits
1 · Network and assumptions
On-Peak 09:00–22:00 TOU · default prices are assumed figures close to Thai TOU rates, editable ·
Pumping energy cost / day
฿–
Same as original model
Energy
– kWh
Minimum pressure at demand nodes
– m
Energy cost per m³
–
2 · Pump schedule
Loading the EPANET engine…
Faded cells = pump runs by the original model's rules (time / tank level) · tick a pump name to set it manually, then click cells to toggle each hour on/off · orange hour numbers = On-Peak · every figure above recalculates instantly on each change
3 · Flow in the network — hour 0:00
Loading the EPANET engine…
How to read the results — and how this relates to M6
- •Net3 is a US EPA sample network (97 nodes, 2 pumps, 3 tanks) — pump 10 draws from the Lake, pump 335 fills tanks by level. It is not the EWG network
- •Try moving pump 10 to night-time by hand: energy cost may go up because pump 335 has to compensate more — this is why EPANET must check every plan rather than guessing from the tariff alone
- •The "Find the cheapest plan" button tries every pump run window (24 start times × 8 lengths), discards plans with low pressure or tanks overflowing/draining, and keeps the cheapest — the real M6 uses a smarter optimizer (MILP / GA) across many pumps at once, but the principle is the same
- •If you have an EWG EPANET (.inp) file, press "Open your own .inp file" — the file never leaves your machine; everything is computed in the browser