ArticleslgStudy

computer science

EPANET

EPANET is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand EPANET rather than just read about it. In short: EPANET (Environmental Protection Agency Network Evaluation Tool) is a public domain, water distribution system modeling software package developed by the United States Environmental Protection Agency's (EPA) Water Supply and Water Resources Division. It performs extended-period simulation of hydraulic and water-quality behavior within pressurized pipe networks and is designed to be "a research tool that improves our…

EPANET — main illustration
EPANET — illustration

Key takeaways

  • EPANET belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect EPANET to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of EPANET from memory before moving on to harder problems.

Reference excerpt

EPANET (Environmental Protection Agency Network Evaluation Tool) is a public domain, water distribution system modeling software package developed by the United States Environmental Protection Agency's (EPA) Water Supply and Water Resources Division. It performs extended-period simulation of hydraulic and water-quality behavior within pressurized pipe networks and is designed to be "a research tool that improves our understanding of the movement and fate of drinking-water constituents within distribution systems". EPANET first appeared in 1993. EPANET 2 is available both as a standalone program and as an open-source toolkit (API in C). Its computational engine is used by many software companies that developed more powerful, proprietary packages, often GIS-centric. The EPANET ".inp" input file format, which represents network topology, water consumption, and control rules, is supported by many free and commercial modeling packages. Therefore, it is arguably considered to be the industry standard.

Features EPANET provides an integrated environment for editing network input data, running hydraulic and water quality simulations, and viewing the results in a variety of formats. EPANET provides a fully equipped extended period of hydraulic analysis that can handle systems of any size. The package also supports the simulation of spatially and temporally varying water demand, constant or variable speed pumps, and the minor head losses for bends and fittings. The modeling provides information such as flows in pipes, pressures at junctions, propagation of a contaminant, chlorine concentration, water age, and even alternative scenario analysis. This helps to compute pumping energy and cost and then model various types of valves, including shutoffs, check pressure regulating and flow control. EPANET's water quality modeling functionality allows users to analyze the movement of a reactive or non-reactive tracer material which spreads through the network over time. It tracks the reactive material as it spreads, measuring the percentage of flow from the given nodes. The package employs the global reaction rate coefficient which can be modified on a pipe-by-pipe basis. The storage tanks can be modeled as complete mix, plug flow or two-compartment reactors. The visual network editor of EPANET simplifies the process of building piping network models and editing their properties. These various types of data reporting visualization tools are used to assist to analyze the networks, which include the graphics views, tabular views, and special reports.

Hydraulic simulation

Headloss in pipe segments The EPANET hydraulics engine computes headlosses along the pipes by using one of the three formulas:

Hazen-Williams equation: used to model full flow conditions under simplified conditions (turbulent flow, temperature around 60 degrees Fahrenheit, and viscosity similar to water) Darcy-Weisbach equation: used to model pressurized flow under a broader range of hydraulic conditions Chezy-Manning equation: used to model pressurized flow by using Chezy's roughness coefficients for Manning's equation Since the pipe segment headloss equation is used within the network solver, the formula above is selected for the entire model.

Head-flow Curves of Pumps Within EPANET, pumps are modeled using a head-flow curve, which defines the relationship between hydraulic head imparted to the system by the pump and flow conveyed by the pump. The model calculates the flow conveyed by the pump element for a given system head condition based on this curve. EPANET can also model a pump as a constant power input, effectively adding a given amount of energy to the system downstream of the pump element.

Network solver The network hydraulics solver employed by EPANET uses the "Gradient Method" first proposed by Todini and Pilati, which is a variant of Newton–Raphson method.

Water-quality simulation EPANET includes the capability to model water age and predict flow of non-reactive materials and, under simplified conditions, reactive materials. This capability is frequently used to predict chlorine residuals within water distribution systems. While the internal water quality simulation capabilities only evaluate decay or growth of a single constituent, an extension is available (EPANET-MSX), which allows modeling of interactions between constituents.

EPANET Toolkit EPANET's computational engine is available for download as a separate dynamic link library for incorporation into other applications. The source code for EPANET 2 is available on the EPA's EPANET website. In 2012, Baseform released a rewrite of the EPANET toolkit in Java under the GNU GPLv3 license.

Compatibility EPANET uses a binary file format, but also includes the capability for importing and exporting data in DXF, metafile, and ASCII file formats. EPANET's ASCII file format is called an input file within EPANET, and uses a file extension ".inp". The input file can include data describing network topology, water consumption, and control rules, and is supported by many free and commercial modeling packages. While EPANET is used as the computational engine for most water distribution system models, most models are developed and maintained in hydraulic modeling packages based on EPANET's computational engine. Some of the major hydraulic modeling packages are:

… excerpt ends here. Continue reading the full article.

Illustrations

EPANET illustration

Worked examples

Example 1 — a first encounter with EPANET

Start with the simplest possible case. Write down what EPANET claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to EPANET before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about EPANET ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of EPANET

In research
EPANET appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses EPANET in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
EPANET is common in secondary-school and first-year university syllabi. It links to neighbouring topics Civil engineering, Computer programming, Environmental engineering, so understanding it makes those chapters shorter.
In everyday life
Look for EPANET outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “EPANET” →

How to study EPANET in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what EPANET means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain EPANET out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is EPANET in simple terms?

EPANET (Environmental Protection Agency Network Evaluation Tool) is a public domain, water distribution system modeling software package developed by the United States Environmental Protection Agency's (EPA) Water Supply and Water Resources Division. It performs extended-period simulation of hydrau…

Why does EPANET matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study EPANET?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on EPANET.

Tags

  • Civil engineering
  • Computer programming
  • Environmental engineering
  • Free simulation software
  • Hydraulic engineering
  • Public-domain software with source code
  • Software programmed in Pascal
  • United States Environmental Protection Agency

Keep exploring