OpenWaterAnalytics / EPANET

The Water Distribution System Hydraulic and Water Quality Analysis Toolkit
MIT License
272 stars 201 forks source link

Closed valve pressure error #772

Open BlomTbl opened 3 months ago

BlomTbl commented 3 months ago

How is it possible that with a closed valve a pressure is calculated and there is no consumption at a node? EPANET should therefore not calculate pressure here. closed valve pressure errorinp.txt

LRossman commented 2 months ago

EPANET assumes (actually requires) that all links are always full of water. In the example network (Resv -> Pipe -> Valve -> Pipe with zero demand) in order for the pipes to be full the valve must have been open prior to time 0 allowing them to fill and have the head at their nodes equal the Reservoir head of 50 m. This would result in a pressure at these nodes equal to 50 minus their elevation. When the valve closes at time 0 nothing really changes since there are no demands. The pressures at the nodes remain at what they were when the valve was open.