epanet base code
Note: This is not the "official" release of EPANET -- for that, please go to the USEPA website.
However, if you are interested in extending EPANET for academic, personal, or commercial use, then this is probably a good place to be.