EPANET
Modules
Here is a list of all modules:
 Project FunctionsThese functions are used to manage a project
 Hydraulic Analysis FunctionsThese functions are used to perform a hydraulic analysis
 Water Quality Analysis FunctionsThese functions are used to perform a water quality analysis
 Reporting FunctionsThese functions are used to report simulation results
 Analysis Options FunctionsThese functions are used to get and set analysis options
 Network Node FunctionsThese functions are used for working with network nodes
 Nodal Demand FunctionsThese functions are used for managing nodal demands
 Network Link FunctionsThese functions are used for working with network links
 Time Pattern FunctionsThese functions are used for working with time patterns
 Data Curve FunctionsThese functions are used for working with data curves
 Simple Control FunctionsThese functions are used for working with simple conditional controls
 Rule-Based Control FunctionsThese functions are used for working with rule-based controls
 Enumerated TypesThese are the toolkit's enumerated types whose members are used as function arguments
 Error Codes
Code Meaning
0 No error
101 Insufficient memory available
102 No network data available
103 Hydraulic solver not opened
104 No hydraulics for water quality analysis
105 Water quality solver not opened
106 No results saved to report on
107 Hydraulics supplied from external file
108 Cannot use external file while hydraulics solver is open
110 Cannot solve network hydraulic equations
120 Cannot solve water quality transport equations
200 One or more errors in an input file
201 Syntax error
202 Function call contains an illegal numeric value
203 Function call refers to an undefined node
204 Function call refers to an undefined link
205 Function call refers to an undefined time pattern
206 Function call refers to an undefined curve
207 Function call attempts to control a check valve pipe or a GPV valve
208 Function call contains illegal PDA pressure limits
209 Function call contains an illegal node property value
211 Function call contains an illegal link property value
212 Function call refers to an undefined Trace Node
213 Function call contains an invalid option value
214 Too many characters in a line of an input file
215 Function call contains a duplicate ID label
216 Function call refers to an undefined pump
217 Invalid pump energy data
219 Illegal valve connection to tank node
220 Illegal valve connection to another valve
221 Mis-placed clause in rule-based control
222 Link assigned same start and end nodes
223 Not enough nodes in network
224 No tanks or reservoirs in network
225 Invalid lower/upper levels for tank
226 No head curve or power rating for pump
227 Invalid head curve for pump
230 Nonincreasing x-values for curve
231 No data provided for a curve
232 No data provided for a pattern
233 Network has unconnected nodes
240 Function call refers to nonexistent water quality source
241 Function call refers to nonexistent control
250 Function call contains invalid format (e.g.
 Warning Codes
Code Description
1 System hydraulically unbalanced - convergence to a hydraulic solution was not achieved in the allowed number of trials
2 System may be hydraulically unstable - hydraulic convergence was only achieved after the status of all links was held fixed
3 System disconnected - one or more nodes with positive demands were disconnected from all supply sources
4 Pumps cannot deliver enough flow or head - one or more pumps were forced to either shut down (due to insufficient head) or operate beyond the maximum rated flow
5 Valves cannot deliver enough flow - one or more flow control valves could not deliver the required flow even when fully open
6 System has negative pressures - negative pressures occurred at one or more junctions with positive demand