EPANet Plus – improved map export to DXF

Baoyu Zhuang added a few functions to the EPANet GUI to allow more options while exporting a map to the DXF format. The USEPA version of EPANet allows the user to export a map to DXF using the File->Export->Map form:

Original EPANet map export

This export function will save a DXF file containing the nodes and links of the network and the labels. The elements color will be according to their selected viewed properties.

Original EPANet DXF export

Elements id’s, properties and results values are missing and that is were EPANet Plus kicks in. While starting with a small error message the program runs as expected. The difference is in the map export form:

EPANet Plus map export form

The upper part is the same as the original form but there is a new frame with the following functionality:

  • If no option is selected then the exported file will  be the same as the original program. However, if the display ID’s checkboxs are selected in the map options form then they will be shown in the DXF file:

Nodes and links ID's

  • If the “Pipes Properties” box is selected then for each link longer then the selected value a set of properties will be shown (length, diameter, velocity and headloss).

Link properties

  • When the “Junctions Properties” box is selected the pressure and demand values will be shown for each junction.

Node's properties

  • The last option, “[Pipe’s ID], will just print the pipe’s ID in brackets.

Each set of values will be placed in a specific layer in the DXF file:

DXF layers

When I wrote about the future of EPANet and about open sourcing the program, this is one of the things I imagined – users and developers would add new features to the program. Zhuang didn’t release the source code of his changes but hopefully he would.

Download and use EPANet Plus form (at your own risk) here.

Update: Baoyu sent a few more tips for using EPANet Plus:

  1. Never try to export pipe’s and/or junction’s property before running the simulation.
  2. The position of junction’s property box could be changed according to the junction’s Tag property.  The position will be northeast, southwest and southeast to the junction while the Tag of that junction is set to 2, 3 and 4 respectively. If the Tag is set to other value or left blank, the position would be northwest of the junction.
  3. The font size is adjustable. It is controlled by both values of the font size and zoom level in Views – Options – Notation section
  4. Besides the enhancement of the export function, EPANET Plus fixes the arrow position issue. When a pipe has multiple sections, the position of link arrows could be placed at wrong position in the DXF exported by the original EPANET. The algorithm to calculate the position of link arrow was also updated for both export function and network map browser.
Posted in EPANET related, Free software Tagged with: , , ,
11 comments on “EPANet Plus – improved map export to DXF
  1. Edisson Muñoz says:

    Hi, where can I download this program?
    thanks

  2. The download link is in the middle of the post.

    • Anish Neupane says:

      Sir,
      The software cannot send flow to autocad directly so this is problen or it has solution please add me to ur software to improve it better by calling me there there are other bugs too

  3. omargut says:

    For sure, Epanet as open source will develop in a great program from thousand users around the World

  4. saeid bagheri says:

    i can not open hammer software would you pls help me.

  5. Steph says:

    is it possible to get the pipe flow to be output into the .dxf, also get the pressures and demands at the nodes to be placed on there own layers (eg. Pressure & Demand)

  6. Homero says:

    Hi, I am unable to download the EPANET Plus described.
    I would like if possible to send me or postasse to download the program again.
    Thank you.

  7. Homero says:

    Thank you very much !!!!! It worked, will greatly facilitate to export data to cad.

  8. Branko says:

    Have anyone solved the issue of exporting the flow with other parameters of link to CAD? Great thing for users would be the possibility to export all parameters, divided in sections with checkboxes, so every user can create his own export model. Just a suggestion, if there is any possibility for the developer to make those changes.
    PS Program is very helpfull…works fine.

Leave a Reply

Your email address will not be published. Required fields are marked *

*