epanet.de / DC Water Design Extension / Manual

Frequently Asked Questions

Why is there no graphical user interface to the DCWatDes.Bitcode.* functions?

The provided AVENUE functions are more flexible this way. Bit codes can be useful for quite a number of operations. Try using the functions with the field calculator and the query. Examples are given in the section called “API Documentation”.

What is the Setup Dialog for?

The Extension depends on several software packages. The Setup Dialog allows you to use other versions of these software packages than the ones supplied with the Extension itself.

How do I recalculate the pipe length for all the pipes?

  • Open the attribute table of the pipe theme.

  • Make sure that the pipe theme is editable.

  • Make sure that no records are selected.

  • Click on the heading for the length field.

  • Click on the field calculator button.

  • Enter the following line into the value field:

    [Shape].returnLength
  • Click OK.

I get strange errors when I try to create the EPANET model. What can I do?

Try the following:

  • Try "Check EPANET model". This should help you to resolve duplicate IDs.

  • Have a close look at the erroneous features: Often accidentally duplicates features cause trouble. Tools like JUMP can help to identify duplicate features

I made a mistake. Why is undo not working?

[Important]Important

Undo support had to be taken out for the sake of editing multiple themes at the same time. Make frequent backups.

You've been warned.

How do I add rule-based controls?

If you have a text file for simple controls, add lines like the following to it:

[RULES]
      
      RULE 1 IF TANK LEVEL 1 ABOVE 19.1
      
      THEN PUMP 355 STATUS IS CLOSED

How do I add the initial status of a pump?

Just add it to the properties field of the pump like in the following example:

	HEAD Curve1 SPEED 1.2

I found a bug in the Extension. What should I do?

Please send your bug reports to or use the bug tracker on the website.

How Can I Select All Rows where DC_ID is Longer than 13 Characters?

  • Click on the Query button.

  • Enter the following query text:

    [dc_id].count > 13
  • Click the New Set button.

How Can I Select All Rows where DC_ID Contains Spaces?

  • Click on the Query button.

  • Enter the following query text:

    [dc_id].contains(" ") >
  • Click the New Set button.

Running "Make EPANET Model" Fails. What can I do?

Closely analyse the selected records.

Try to increase the snapping radius (the section called “Setup”).

epanet.de / Compiling / Manual

Imprint