Skip to content

Input File Format

Sopasakis Pantelis edited this page Aug 16, 2017 · 15 revisions

The EPANET Toolkit works with an input text file that describes the pipe network being analyzed. The file is organized by sections where each section begins with a keyword enclosed in brackets. The various keywords are listed below. Click on a section to see the format of the data it contains.

Network Components System Operation Water Quality Options & Reporting
[TITLE] [CURVES] [QUALITY] [OPTIONS]
[JUNCTIONS] [PATTERNS] [REACTIONS] [TIMES]
[RESERVOIRS] [ENERGY] [SOURCES] [REPORT]
[TANKS] [STATUS] [MIXING]
[PIPES] [CONTROLS]
[PUMPS] [RULES]
[VALVES] [DEMANDS]
[EMITTERS]

The order of sections is not important. However, whenever a node or link is referred to in a section it must have already been defined in the [JUNCTIONS], [RESERVOIRS], [TANKS], [PIPES], [PUMPS], or [VALVES] sections. Thus it is recommended that these sections be placed first.

Each section can contain one or more lines of data. Blank lines can appear anywhere in the file and the semicolon (;) can be used to indicate that what follows on the line is a comment, not data. A maximum of 255 characters can appear on a line.

The ID labels used to identify nodes, links, curves and patterns can be any combination of up to 31 characters and numbers.

Clone this wiki locally
You can’t perform that action at this time.