Written and maintained by CASRAI Editorial Board
Published
On this page
Hydraulic modeling is the use of computer simulation to calculate how water moves through a river reach, a pressurized pipe network or a drainage system, producing quantities such as flow, water level, pressure and velocity that engineers use to plan, analyze and design water infrastructure. The model you choose depends on the kind of system: open channels and floodplains, pressurized distribution pipes, or storm and sewer drainage each have their own widely used public-agency tools.
Short answer
A hydraulic model is a mathematical description of a water system that is solved on a computer. You describe the physical system (channel or pipe geometry, roughness, pumps, valves, tanks), supply the flows or demands that enter it, and the software returns how water behaves inside it. In civil and water-resources engineering the three reference tools published by US government agencies are HEC-RAS from the US Army Corps of Engineers Hydrologic Engineering Center for rivers and floodplains, EPANET from the US Environmental Protection Agency for pressurized pipe networks, and the EPA Storm Water Management Model (SWMM) for urban runoff and drainage. This guide explains what each one computes, what inputs a model of this kind needs, and where the results are used.
Definition and scope
Hydraulics is the part of water engineering concerned with the behavior of water as it flows and is stored in constructed or natural conveyances. Hydrology, by comparison, concerns how much water arrives from rainfall, snow melt and catchments; the two are linked in practice because a hydrologic model often produces the flow hydrograph that a hydraulic model then routes downstream. If you need the upstream half of that chain, see the CASRAI guides on what hydrology is and on the HEC-HMS hydrologic modeling system.
A hydraulic model therefore sits between a description of the physical system and a decision. Its outputs are state variables: how much water is in each pipe, tank or channel section, at what pressure or elevation, and how that changes with time. The agency tool documentation describes this in different words for different systems. EPA states that EPANET tracks “the flow of water in each pipe, the pressure at each node, the height of water in each tank,” and that SWMM is used for “decision support, emergency response, planning, analysis, and design” of stormwater, combined and sanitary sewer systems.
The field is part of the wider discipline described in the civil engineering overview, and hydraulic models are among the tools used to map flood hazard, a use covered in the flood risk mapping guide.
How hydraulic modeling is used in practice
The agency software documentation describes a recognizable sequence of model elements. The sequence below is assembled from the contents of the HEC-RAS 2D User’s Manual and the EPANET and SWMM program descriptions; it names the elements rather than prescribing a procedure.
1. Describe the geometry
For a river or floodplain model in HEC-RAS, the 2D User’s Manual lists loading terrain data and developing the 2D computational mesh as separate chapters. For a pipe network, EPANET represents the system as pipes, nodes, pumps, valves and storage tanks. SWMM represents drainage as hydrologic subcatchments connected to pipes and channels, and it models both conventional (gray) infrastructure and low impact development (LID) controls.
2. Assign roughness and loss parameters
Every hydraulic model needs a way to represent friction. The HEC-RAS 2D manual has a chapter on creating land cover and Manning’s n values and another on flow roughness factor curves in calibration regions. EPANET lets the user choose among three headloss formulas for pipe flow: Hazen-Williams, Darcy-Weisbach and Chezy-Manning. It also accounts for minor losses in bends and fittings.
3. Set boundary conditions and controls
The HEC-RAS 2D manual includes a section on external boundary conditions. In EPANET the equivalents are demands, pump operation and valve settings: EPANET models constant or variable speed pumps, shutoff, check, pressure-regulating and flow-control valves, pressure-dependent demands, and both simple and rule-based controls. EPANET can also compute pumping energy and cost.
4. Choose how the equations are solved
The solver options differ by tool. HEC-RAS offers one-dimensional steady flow and one- and two-dimensional unsteady flow computations; its 2D documentation refers to the shallow water or diffusion wave equations. SWMM routes flow through pipes and channels with “kinematic wave or full dynamic wave hydraulic flow routing methods.” EPANET performs extended-period simulation, meaning it tracks the network over a sequence of time steps rather than at a single instant.
5. Calibrate and interpret
The presence of calibration regions in the HEC-RAS 2D manual’s table of contents shows that comparing model output with observations and adjusting roughness is part of the documented workflow. The agencies’ pages do not give a universal acceptance threshold for a calibrated model, so any acceptance criterion should come from the project’s own regulator, client or standard rather than from the software.
Types of hydraulic model
Open-channel and floodplain models
HEC-RAS is the Hydrologic Engineering Center’s river analysis software. Its current software page lists one-dimensional steady flow, one- and two-dimensional unsteady flow, sediment transport with mobile bed modeling, stormwater pipe network modeling, and water temperature and water quality modeling. It is the tool most often associated with computing water surface elevations in streams and floodplains.
Pressurized pipe network models
EPANET models the hydraulic behavior of water distribution piping systems. Besides hydraulics, it can model water quality: reaction and decay of materials moving through the pipes, water age, and the tracing of flow from a source. EPA lists the current version as 2.2, released 23 July 2020.
Drainage and sewer models
SWMM combines hydrology with hydraulics. EPA describes it as simulating runoff quantity and quality, with hydrologic processes such as infiltration, evaporation and snow melt feeding hydraulic routing through pipes and channels. EPA describes SWMM as open source, publicly and freely available. The version EPA lists as latest is 5.2.4, dated 7 August 2023.
One-dimensional and two-dimensional approaches
HEC-RAS is the clearest example in the agency documentation of the choice between dimensions: its software page lists both one-dimensional and two-dimensional unsteady flow computation, and its 2D manual treats the mesh, terrain and roughness as the main building blocks. The data table below sets the three tools side by side using only the capabilities each agency states.
Where hydraulic modeling matters
EPA frames SWMM output as support for decisions in planning, analysis, design and emergency response for drainage systems, and EPANET output as the basis for studying pressures, tank levels, energy use and water quality in distribution networks. For rivers, HEC-RAS covers steady and unsteady flow, which is why it appears wherever water surface elevations, sediment movement or in-channel water quality are the question. In each case the model is a decision-support tool: the engineer, not the software, remains responsible for the inputs and the interpretation.
For research and project teams, the practical consequences are about documentation and fit. Record the program, version and calculation method used (for example, kinematic wave versus full dynamic wave in SWMM, or Hazen-Williams versus Darcy-Weisbach in EPANET), because the agencies themselves list these as alternatives and results can differ between them. Model versions change: HEC-RAS currently lists a 2025 beta release, EPANET is at 2.2 and SWMM at 5.2.4 on the dates the pages were read, so citing the exact version makes a model reproducible.
Common misunderstandings
A hydraulic model is not a hydrologic model
SWMM is a useful illustration of the overlap: it includes hydrologic processes and hydraulic routing in one program, while HEC-HMS (see the HEC-HMS guide) is a separate hydrologic tool. Treat the two terms as describing different questions, how much water arrives versus how it moves, even when one package does both.
One tool does not cover every water system
EPANET is described by EPA for pressurized pipe networks, SWMM for runoff and drainage, and HEC-RAS for river and floodplain flow. Their capabilities overlap in places (HEC-RAS lists stormwater pipe network modeling, and SWMM routes flow in pipes), but each tool’s documentation is written around its own system type.
Software availability is not the same as suitability
EPA states that SWMM is open source and freely available. That statement is about availability; it says nothing about whether SWMM is the right method for a given project, which depends on the system and on any regulator or client requirements.
A model result is not a measurement
Output depends on geometry, roughness, boundary conditions and the chosen solver. That is why the HEC-RAS 2D manual devotes sections to terrain, roughness and calibration regions, and why model documentation should state the assumptions behind a result.
Frequently asked questions
What is hydraulic modeling?
It is computer simulation of water flow and storage in a defined system, such as a river reach, a pressurized pipe network or a storm drain system, producing outputs like flow, pressure, water level and velocity for planning and design.
What software is used for hydraulic modeling?
Three widely documented public-agency programs are HEC-RAS (US Army Corps of Engineers Hydrologic Engineering Center), EPANET (US EPA) and SWMM (US EPA). Other commercial and academic programs exist, but this guide only describes what these three agencies state about their own software.
What is the difference between 1D and 2D hydraulic modeling?
HEC-RAS lists both one-dimensional and two-dimensional unsteady flow computation. The 2D manual builds the model on a computational mesh, terrain data and roughness values, while its 1D option is listed with steady and unsteady flow computations. The agency pages do not set a rule for choosing between them.
What does EPANET model?
EPANET models pressurized pipe networks over extended periods, tracking flow in each pipe, pressure at each node and tank levels, and it can also simulate water quality, including decay of reactive materials, water age and source tracing.
Is SWMM a hydraulic or a hydrologic model?
Both. EPA describes SWMM as simulating hydrologic processes (infiltration, evaporation, snow melt) and hydraulic routing through pipes and channels using kinematic wave or full dynamic wave methods.
Sources
- US Army Corps of Engineers, Hydrologic Engineering Center. HEC-RAS software page. hec.usace.army.mil/software/hec-ras. Read 2026-11-15.
- US Army Corps of Engineers, Hydrologic Engineering Center. HEC-RAS 2D User’s Manual, table of contents. hec.usace.army.mil/confluence/rasdocs/r2dum/latest. Read 2026-11-15.
- US Environmental Protection Agency. EPANET. epa.gov/water-research/epanet. Read 2026-11-15.
- US Environmental Protection Agency. Storm Water Management Model (SWMM). epa.gov/water-research/storm-water-management-model-swmm. Read 2026-11-15.
Data: Stated capabilities of three public-agency hydraulic modeling programs
Compares HEC-RAS, EPANET and SWMM by publisher, system type, flow computation or solver methods, and water-quality capability, compiled only from each agency's own software page as read on 2026-11-15.
Period covered: 2026. Coverage: United States.
| Program | Publisher | System modeled | Flow computation or solver stated | Water quality stated | Version stated on page |
|---|---|---|---|---|---|
| HEC-RAS | US Army Corps of Engineers, Hydrologic Engineering Center | Rivers and floodplains; also stormwater pipe networks and sediment transport | One-dimensional steady flow; one- and two-dimensional unsteady flow | Yes (water temperature and water quality modeling) | HEC-RAS 2025 Beta listed |
| EPANET | US Environmental Protection Agency | Pressurized pipe networks | Extended-period simulation; Hazen-Williams, Darcy-Weisbach or Chezy-Manning headloss | Yes (reactive decay, water age, source tracing) | 2.2 (released 2020-07-23) |
| SWMM | US Environmental Protection Agency | Urban runoff, stormwater, combined and sanitary sewers, with LID controls | Kinematic wave or full dynamic wave flow routing | Yes (runoff quality) | 5.2.4 (2023-08-07) |
Sources
- HEC-RAS software page (accessed 2026-11-15)
- EPANET (US EPA) (accessed 2026-11-15)
- Storm Water Management Model (SWMM) (US EPA) (accessed 2026-11-15)
Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.







