Back in May 2001, Lewis Rossman, author of EPANET, released a small utility to convert dxf files to EPANET format. After a little time he announced that the EPA will not continue to distribute and support the utility.
A few days ago I found the file in my old computer and thought that people may find it useful. So here is a short description form the utility manual and a download link:
“DXF2EPA is a Windows utility program that converts a line drawing of a pipe network stored in Autodesk’s DXF file format into an input data file that can be read by the EPANET water distribution system analysis program. It converts all of the line and polyline elements in selected layers of the DXF drawing into a set of pipes and junctions for EPANET, with all coordinates and vertex points intact. Additional elements, such as reservoirs, tanks, pumps, and valves, have to be added to the EPANET model by hand. Although the conversion program can compute pipe lengths if so desired, other network data, such as junction elevations and demands, and pipe diameters and roughness values have to be edited within EPANET after the converted file is loaded.”