Developed by Environmental Protection Agency's (EPA) Water Supply and Water Resources Division, EPANET is software that models water distribution piping systems. It is a Windows program that performs extended-period simulation of the hydraulic and water quality behavior within pressurized pipe networks.
There is a tutorial inside the software itself. Please refer to the tutorial, there are a number of examples within.
Additional help can be found here on the Environmental Protection Agency website.