Performancing Metrics

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 EPANet Plus (at your own risk) form 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.
Tagged with: , , ,
Posted in EPANET related, Free software
5 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.

  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)

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>