Free Course · Self-Paced

Stormwater & Urban Flood
Modeling Fundamentals

How a stormwater model turns rain into runoff, routes it through inlets, pipes, channels and streets, and shows where it floods. Covers design rainfall through master plan analysis. Everything is on this page, free, with no sign-up.

Free No Sign-Up
11 Sections Read in Order
SWMM + HEC-RAS 2D Open Engines
Section 1

The big picture: what a stormwater model is for

A stormwater model follows rain from the moment it lands until it leaves the system. It shows how much runs off, how fast it arrives, whether the inlets, pipes and channels can carry it, and where the rest goes when they cannot. That last question, where the water goes, is what separates a drainage model from a flood model.

Flooding

Which streets and buildings flood?

Map flood depth, extent and duration for a design storm, and count the structures affected.

Capacity

Is the pipe or culvert big enough?

Check every inlet, pipe and culvert against the level of service it was meant to provide.

Development

Does the new site make things worse?

Compare peak flows before and after development, and size the detention that offsets the difference.

Investment

Which projects buy the most protection?

Compare alternatives by flood damage avoided per dollar, and phase them into a capital plan.

Minor and major systems

Every urban drainage system is two systems on top of each other. The minor system is the inlets, pipes and ditches, sized for frequent storms. The major system is the streets, swales, open channels and low ground that carry what the pipes cannot. Good flood modeling represents both, and the exchange of water between them.

The modeling process

Define purpose

Pipe capacity, flood mapping or development review set the tools needed.

Collect data

LiDAR, storm GIS, soils, land cover, rainfall, complaints.

Build hydrology

Catchments, imperviousness, infiltration.

Build hydraulics

Inlets, pipes, culverts, channels, the 2D surface.

Calibrate

Against gauges, high water marks and known flooding.

Analyze

Design storms, flood maps, deficiencies.

Alternatives

Pipes, detention, green infrastructure, channels.

Plan

Benefit, cost and phasing into a capital plan.

Section 2

Design rainfall

Every stormwater result starts with a rainfall input, and the choice of storm often moves the answer more than any model parameter. A design storm has three parts: how rare it is, how long it lasts, and how its rain is spread over that time.

How rare: return period and annual chance

Return periodAnnual chanceChance in 30 yearsTypically used for
2-year50%> 99%Water quality, channel protection, small inlets
10-year10%96%Storm sewers and inlets (minor system)
25-year4%71%Larger trunks, culverts under local roads
100-year1%26%Major system, building protection, floodplain mapping

A "100-year storm" is not one that happens once a century. It has a 1% chance in any year, and a 26% chance of happening at least once over a 30-year mortgage.

Chance in n years = 1 − (1 − 1/T)n T return period (years), n years of exposure. For T = 100 and n = 30: 1 − 0.9930 = 0.26.

How much and how long: depth and duration

In the US, rainfall depths for each return period and duration come from NOAA Atlas 14 (intensity-duration-frequency data for a point). Pick a duration long enough for the whole catchment to contribute: short, intense storms (1 to 6 hours) stress small urban pipe systems, while 24-hour storms stress ponds, channels and larger basins. Many studies run several durations and keep the worst result at each location, called the critical duration.

How it is spread: temporal distribution

  • SCS (NRCS) Type I, IA, II and III 24-hour distributions concentrate rain in the middle of the storm. Type II is common across much of the central and eastern US; Type III along the Gulf and Atlantic coasts.
  • NOAA Atlas 14 temporal distributions come from observed storms in each region, split into four quartiles by when the heaviest rain falls.
  • Historical storms, recorded by gauges or radar, are used for calibration and to explain known flood events to the public.

Plan for a changing climate. Atlas 14 is based on past records. Many cities now add a climate factor, often 10 to 20% more depth, to design storms for long-lived infrastructure. Agree the factor before any design work begins.

Section 3

From rain to runoff

Only part of the rain becomes runoff. Some soaks into the ground, some sits in puddles and on leaves, and the rest flows over the surface toward an inlet or channel. Paving a catchment changes all three, and so changes both how much water runs off and how fast it arrives.

Before development After development After development, with a detention pond
Runoff from one catchment before development, after development, and after development with a detention pond Before development the runoff peaks at 110 cfs about 2.5 hours into the storm. After development, with more pavement and roofs, it peaks at 260 cfs after 1.4 hours and carries more volume. A detention pond holds the developed runoff back and releases it more slowly, bringing the peak down to about 99 cfs at 3 hours, below the pre-development peak, while the extra volume drains over a longer time. 050100150200250300 024681012hours from the start of the storm runoff, cfs developed peak 260 cfs pre-development peak 110 cfs with detention 99 cfs
One catchment in the same storm. Roofs and pavement raise the peak from 110 to 260 cfs, bring it an hour sooner, and add about a third more runoff volume. A detention pond cannot remove that volume, but it can release it slowly enough to bring the peak back under the pre-development value (Section 9).

The rational method: quick peak flow

Q = C × i × A Q peak flow (cfs), C runoff coefficient (about 0.9 for pavement, 0.3 for lawns), i rainfall intensity (in/hr) for a duration equal to the time of concentration, A area (acres). Suited to small catchments, often under about 200 acres; it gives a peak, not a hydrograph.

The time of concentration is how long water takes to travel from the farthest point of the catchment to its outlet: sheet flow, then shallow concentrated flow, then flow in a gutter, pipe or channel. A shorter time means a higher design intensity and a higher peak.

The SCS Curve Number: runoff depth

Q = (P − 0.2S)2 / (P + 0.8S)   ·   S = 1000/CN − 10 Q runoff depth (in), P rainfall depth (in), S potential retention (in), CN curve number from soil group and land cover (98 for pavement). Example: P = 4 in on CN 80 gives S = 2.5 in and Q = 3.52 / 6 = 2.0 in of runoff, half the rain.

How SWMM does it: subcatchments

SWMM treats each subcatchment as a sloping plane split into pervious and impervious parts. Runoff from each part is computed with Manning's equation as the surface ponds above its depression storage. The key inputs:

InputWhat it controlsHow to estimate it
AreaTotal volume of rain caughtDelineate from LiDAR to each inlet or outfall
% imperviousHow much of that rain runs off quicklyLand cover and building footprints. Directly connected impervious area matters most.
WidthHow fast the runoff arrives (the shape of the hydrograph)Area divided by the longest overland flow path; a main calibration parameter
SlopeOverland flow speedAverage slope along the flow paths, from the DEM
Manning's nSurface resistanceAbout 0.011–0.015 for pavement, 0.15–0.4 for grass and woods as overland sheet flow
Depression storageRain held in puddles before runoff startsAbout 0.05–0.1 in impervious, 0.1–0.3 in pervious
InfiltrationLosses to the soil on pervious areasHorton, Green-Ampt or Curve Number, from NRCS soil groups A (sandy) to D (clay)
Section 4

Drainage elements in SWMM

SWMM uses the same nodes and links as a sewer model, plus a few elements that matter mostly for stormwater: open channels, culverts, street inlets and green infrastructure.

ElementRepresentsKey inputsCommon mistake
JunctionA manhole, catch basin or channel confluence.Invert, maximum depth to the rim or ground, ponded area.No ponded area, so water that leaves a node is lost from the model instead of returning when the pipes drain.
InletA street inlet that captures gutter flow into the pipe below (SWMM 5.2 and later).Type (grate, curb opening, combination, slotted, drop), size, clogging factor.Assuming every drop of street flow reaches the pipe. Real inlets bypass flow, especially on steep streets.
Conduit: pipeA storm sewer.Shape, size, length, Manning's n (0.012–0.015), offsets.Pipe n used for corrugated metal, which is much rougher (0.022–0.027).
Conduit: open channelA ditch, swale or stream.Cross-section transect from survey or LiDAR, n for bed and banks.A LiDAR cross section that misses the water below the surface at the time of the flight.
Conduit: culvertA pipe or box under a road.Size, shape, and a culvert code for its inlet shape, so SWMM checks inlet control.Leaving out the culvert code, so the model ignores inlet control and overstates capacity.
Storage unitA pond, basin or underground vault.Stage-storage curve from the grading plan or survey.Counting the permanent pool of a wet pond as flood storage.
Orifice and weirA pond outlet structure: low-flow orifices, overflow weirs, emergency spillway.Size, invert or crest, coefficient.Crest heights entered as elevations instead of heights above the node.
OutfallWhere the system discharges.Boundary: free, normal, fixed stage, tidal or a time series of river levels.A free outfall into a river that is also high during the same storm.
LID controlGreen infrastructure on a subcatchment.Type (bioretention, permeable pavement, green roof, rain barrel, infiltration trench) and its layers.Full performance assumed with no clogging or maintenance.

Modeling the street: dual drainage

In a dual drainage model, each street segment is a conduit drawn above the pipe beneath it, with the street cross section as its shape. Inlets move water from the street to the pipe. When the pipe is full, water stays on the street, or flows back up out of an inlet, and continues downhill. This is how a 1D model shows the major system. Section 5 covers the 2D alternative.

Section 5

1D, 2D and 1D–2D models

Water in a pipe or a well-defined channel flows in one direction, so a 1D model describes it well. Water spreading across streets, yards and parking lots flows in every direction, and only a 2D model follows it reliably. The right tool depends on where the water goes when the pipes are full.

ApproachHow it worksUse it when
1D only (SWMM)Pipes, channels and, with dual drainage, streets as links.Pipe capacity studies; flow stays in known paths.
2D only (HEC-RAS 2D)The ground surface as a mesh of cells. Rain can fall directly on the mesh ("rain on grid").Overland flooding, riverine floodplains, areas with no pipe system.
Coupled 1D–2DPipes in 1D, the surface in 2D, exchanging water at inlets and manholes.Urban flood mapping, where both pipes and surface flow matter.

Recent HEC-RAS versions can model pipe networks inside the 2D mesh. Many studies instead couple a SWMM pipe network to a 2D surface model.

Building a 2D surface

  1. Terrain

    A bare-earth LiDAR DEM, typically 1 to 3 ft resolution in urban areas. Burn in channels and culvert openings that LiDAR cannot see; add buildings as obstructions.

  2. Mesh

    Cells of about 10 to 50 ft in urban areas, smaller along streets and channels. Add breaklines along curbs, road crowns, levees and embankments, so cell faces follow the features that steer the water.

  3. Roughness

    Manning's n by land cover: about 0.015–0.02 for pavement, 0.03–0.05 for lawns, 0.08–0.15 for woods. Buildings are blocked out or given very high roughness.

  4. Boundaries

    Rain on the mesh or inflow hydrographs from 1D catchments, and downstream water levels where the mesh meets a river or the sea.

  5. Time step

    Set it from the Courant number: smaller cells and faster flow need shorter steps. An unstable run shows up as oscillating depths or mass balance errors.

Section 6

Building the model

Storm GIS is usually the weakest data a utility owns: inverts are missing, ditches are not mapped, and culverts are drawn where they were planned rather than where they were built. Plan for field verification from the start.

Data inventory

DataTypical sourceUsed for
TerrainLiDAR DEM (USGS 3DEP or local flights)Catchment delineation, slopes, 2D surface, rim elevations
Drainage networkStorm GIS, as-builts, development plansInlets, pipes, culverts, ditches, outfalls
Field surveyCulvert and channel surveys, inlet inventoriesInverts, sizes and shapes the GIS lacks
Land coverImpervious surfaces, building footprints, aerial imagery% impervious, roughness, building obstructions
SoilsNRCS SSURGO hydrologic soil groupsInfiltration parameters, curve numbers
Rainfall and flowRain gauges, radar rainfall, stream gauges, level loggersCalibration storms
Flood evidenceComplaints, high water marks, photos, insurance claimsValidation and problem areas

Step by step

  1. Decide the extent and detail

    A master plan usually models pipes 15 to 18 inches and larger, every culvert, and every channel. Smaller pipes are added where flooding is known.

  2. Fix the network

    Confirm flow direction, connect pipes to inlets and outfalls, fill missing inverts by interpolating between known points, and flag every guess for field checks.

  3. Delineate subcatchments

    Use the DEM to draw the area draining to each modeled inlet or channel point. Adjust by hand where curbs, walls and roads steer water in ways the DEM misses.

  4. Compute subcatchment parameters

    Overlay impervious cover, soils and slope to get % impervious, infiltration, slope and width for each subcatchment.

  5. Add culverts, channels and ponds

    Survey the critical ones. Enter culvert codes, channel transects, and stage-storage curves with their outlet structures.

  6. Set boundary conditions

    Outfalls into rivers or tidal water need a realistic tailwater: a stage that rises with the storm, not a free outfall.

  7. Add the surface

    Either a dual drainage street network or a 2D mesh linked to inlets and manholes (Section 5).

  8. Run and check

    Keep SWMM's continuity errors under about 1 to 2%. Look for nodes flooding in small storms, which usually point to data errors rather than real problems.

Section 7

Calibration and validation

Stormwater models rarely have as much measured data as water or sewer models. Many are calibrated against a few gauges and validated against what people saw: high water marks, photos and complaint records. Use every source; each one tests a different part of the model.

Evidence to calibrate against

Measured

Flow and level gauges

Temporary level loggers in pipes and channels, and USGS stream gauges. They test runoff volume, peak and timing.

Observed

High water marks

Debris lines and stains surveyed after a flood. They test flood depths and the 2D surface.

Reported

Complaints and photos

Where and how often flooding happens. They test whether the model floods in the right places.

The calibration sequence

  1. Get the rain right

    Use the nearest gauges, or gauge-adjusted radar for each subcatchment. Rainfall error is often the largest error in the model.

  2. Small storms: impervious area

    In small storms almost all runoff comes from directly connected impervious area. Adjust % impervious until runoff volumes match.

  3. Large storms: pervious losses

    In larger storms pervious areas start to contribute. Adjust infiltration and depression storage.

  4. Peak and timing: width and roughness

    Adjust subcatchment width and overland n until the hydrograph rises and peaks at the right time.

  5. Flood depths: the hydraulics

    Compare with high water marks. Large misses point to a missing culvert, a blocked inlet, a wrong tailwater or terrain the DEM got wrong.

  6. Validate

    Run storms and flood events not used in calibration.

How close is close enough

MeasureCommon target
Peak flow, per storm+25% to −15% (CIWEM Urban Drainage Group)
Runoff volume, per storm+20% to −10%
Depth in pipes and channelsWithin about ±0.1 m (4 in); surcharged +0.5 m to −0.1 m
Continuous flow recordNash-Sutcliffe efficiency above 0.5 is often called satisfactory
High water marksTypically within 0.5 to 1 ft, allowing for the uncertainty of the marks themselves
Reported floodingThe model floods where people reported flooding, and not where they did not
Section 8

Flood and capacity analysis

Run the design storms and compare results against level-of-service criteria. Stormwater criteria are less about pipes being full and more about where the water ends up: on the road, across a driveway or inside a building.

Typical level-of-service criteria

CriterionTypical valueDesign storm
Storm sewersCarry the flow with the hydraulic grade below the inlets or rims2- to 10-year
Street spreadKeep at least one travel lane open on collectors; both lanes on arterials10-year
Road floodingDepth no more than about 6 in at the crown for emergency access100-year
CulvertsHeadwater no more than 1.5 times the culvert height (HW/D ≤ 1.5); no road overtopping10- to 100-year by road class
BuildingsNo water above finished floor; often 1 ft of freeboard below it100-year
New developmentPost-development peak no higher than pre-development2-, 10- and 100-year

These are common values, not a standard. Use your city's drainage criteria manual, state DOT rules for roads, and FEMA rules for mapped floodplains.

What to look at in the results

  • Maximum depth maps from the 2D surface, filtered to depths that matter, such as 0.5 ft and above, to hide the shallow sheet flow.
  • Flood duration: how long a road stays impassable often matters more than how deep it gets.
  • Hazard: depth times velocity. Shallow fast water on a steep street can knock a person over; deep still water is the danger in a low-lying underpass.
  • Structures flooded: overlay building footprints with finished floor elevations to count the buildings affected.
  • Pipe and culvert capacity: peak flow against full capacity, and HGL profiles to find whether a pipe is undersized or only backed up by a downstream restriction or a high tailwater.
Section 9

Detention and green infrastructure

Pipes move water faster; storage slows it down. A detention pond does not remove runoff. It holds the peak back and releases it slowly, which is why it can bring the post-development peak below the pre-development one (Section 3).

How a detention pond works

  1. Stage-storage

    From the grading, the volume held at each water level.

  2. Stage-discharge

    From the outlet structure, the outflow at each water level. A typical multi-stage riser has a small orifice for the water quality storm, a larger orifice or weir for the 2- and 10-year, and an emergency spillway for the 100-year.

  3. Routing

    For each time step, inflow minus outflow equals the change in storage. SWMM's storage unit does this automatically; by hand it is the storage-indication method.

  4. Check every storm

    Each design storm must meet its peak target, and the 100-year must pass the spillway with freeboard to the top of the embankment.

Watch the timing. A pond that delays its peak can make flooding worse downstream if the delayed peak lands on top of the peak from another catchment. Check ponds at the watershed scale, not only at their own outlets.

Green infrastructure

PracticeHow it worksBest at
Bioretention / rain gardenPonds runoff on a planted soil layer that filters it and lets it soak inFrequent small storms, water quality
Permeable pavementRunoff passes through the surface into a stone storage layer belowParking lots and low-traffic roads
Green roofA thin soil layer holds rain and returns it to the airVolume reduction where there is no ground space
Infiltration trenchA stone-filled trench stores runoff and lets it infiltrateSandy soils (groups A and B)
Rain barrel / cisternCaptures roof runoff for later useSmall storms, reuse

Green infrastructure is strongest in frequent storms, which carry most of the yearly runoff volume and pollution. In a 100-year storm it usually fills early, so flood control still needs pipes, channels or detention. SWMM models each practice as an LID control with its soil, storage and drain layers.

Section 10

Master plan analysis

A stormwater master plan lists the flood problems in a city, the projects that solve them, and the order to build them in. Because flood projects compete for limited money, the plan has to show which projects prevent the most damage per dollar.

The master planning process

  1. Inventory the problems

    Combine model results with complaints, maintenance records and staff knowledge into a single list of problem areas.

  2. Set the scenarios

    Existing conditions, future land use at buildout, and future rainfall with a climate factor. Run each at the design storms set by the level-of-service criteria.

  3. Find deficiencies

    Every inlet, pipe, culvert and channel that breaks a criterion, and every street and building that floods. Group neighboring problems with one cause into a single project area.

  4. Develop alternatives

    For each area, test the options below. Model the whole watershed with each alternative in place, so you can see whether it moves flooding downstream.

  5. Estimate benefits

    Use depth-damage curves for each flooded building to estimate damage in each storm. Integrate across storms to get expected annual damage. The benefit of a project is the expected annual damage it removes.

  6. Cost and rank

    Capital, operating and maintenance costs over the project life. Rank by benefit-cost ratio, with life-safety problems such as deep road flooding and flooded underpasses placed first regardless of ratio.

  7. Phase into a capital plan

    Build downstream capacity before upstream improvements that send more water to it. Coordinate with road reconstruction, and look for grant funding, which often requires a benefit-cost ratio of at least 1.0.

Alternatives to test

OptionHow it helpsWatch for
Upsize pipes and inletsMore water off the street, fasterSends more water, sooner, to the next downstream problem
Replace culvertsRemoves a bottleneck and road overtoppingLoses the storage the old culvert created upstream
Regional detentionCuts peaks for a whole watershedNeeds land; timing with other tributaries
Channel improvementsMore conveyance in open channelsEnvironmental permits; erosion downstream
Green infrastructureLess runoff in frequent storms, water quality creditLimited effect in large storms; long-term maintenance
Overland flow pathsSafe routes for water the pipes cannot carryNeeds space between buildings and street grading
Floodproofing or buyoutsProtects the few buildings no project can reach economicallyCommunity acceptance
Section 11

Where to go next

Most stormwater studies still do these steps by hand: weeks of catchment delineation, one design storm and duration at a time, and flood maps that are out of date as soon as the next development is built. The Stormwater practitioner track teaches you to automate the same workflow on your own watershed.

Stormwater Systems — Foundation

Build the SWMM and HEC-RAS 2D models from GIS and LiDAR by script, run every storm and duration in the cloud, calibrate against your own gauges and high water marks, and drive it all through an AI agent. Two days, live online, on your own catchment.