
Product(s): 
WaterGEMS, WaterCAD, HAMMER 


Version(s): 
V8i, CONNECT Edition 


Area: 
General 

Problem
How is the "Flow Stored" calculated in the Calculation Summary generated after computing a model? What is the difference between Flow Supplied, Flow Demanded and Flow Stored?
What is the difference between Flow (In) and Flow (Out) for tank results?
Solution
For each time step in an EPS simulation (or for the single time step in a steady state), WaterCAD/WaterGEMS displays the mass balance of flow supplied, flow demanded, and flow stored.
The "Flow Supplied" is the total flow rate out of water sources. This is mainly reservoirs, but also included negative demands (inflows). Reservoirs that are filling will experience negative flow supplied. In a system with only demands, the flow supplied will be equal to the flow demanded. In a system with downstream tanks, the reservoir flow supplied is based on energy balance  the outflow required in order for those known HGL boundaries to be true, while also supplying demands.
The "Flow Demanded" is the total demand at that time (flow leaving the system), which could be from fixed demands at nodes, pressure dependent
demands, emitter coefficients on hydrants, etc.
The "Flow Stored" is the net inflow into tanks at that time. For example, if you have just one tank which has only outflow at that time, the flow stored will be negative, at that amount. If it has only inflow at that time, the flow stored will be positive.
Therefore: Flow Stored = Flow Supplied  Flow Demanded
In other words, if more flow is coming from reservoirs than is demanded, the surplus goes into tank storage. If more flow is demanded than is supplied by reservoirs, the deficit is supplied by tank storage.
For tanks, if the Flow(In Net) result is greater than zero, then the flow into the tank is greater than the flow out, and thus the tank is filling and the level will rise. If the Flow (In Net) is less than zero, then the flow into the tank is less than the flow out and thus the tank is draining and the level will drop. The "Flow (Out net)" will always have the same magnitude as Flow (In net), but with opposite sign.