The best EPA SWMM tutorial for a first model is the one EPA already wrote: Chapter 2, Quick Start Tutorial, of the SWMM 5.2 User’s Manual. This article follows it step by step, explains why each step exists, and points out where beginners usually go wrong.
Everything here — menu names, default values, the example data, and the reported results — comes from the official EPA documentation listed in the sources section. Nothing is invented: when this article quotes a result, it is the result EPA reports for its own example.
For the background on how SWMM grew from a 1971 FORTRAN program into today’s open engine, read the history of EPA SWMM.
The example study area
The tutorial models the drainage system of a 12-acre residential area:
- three subcatchments, S1–S3;
- four storm sewer conduits, C1–C4;
- four junctions, J1–J4;
- one outfall, Out1, discharging to a creek;
- one rain gage, Gage1.
It first simulates a 3-inch, 6-hour design storm; later sections add water quality and a multi-year continuous simulation. This article covers the design storm run, which is the core of a first model.
The example uses US customary units (acres, feet, inches, cfs). Keep them: the default values and the reported results only make sense in those units.
Step 1: project setup and defaults
- Launch EPA SWMM and select File >> New.
- Select Project >> Defaults to open the Project Defaults dialog.
- On the ID Labels page, set prefixes so new objects are numbered automatically: Rain Gages
Gage, SubcatchmentsS, JunctionsJ, OutfallsOut, ConduitsC, ID increment 1. - On the Subcatchments page, set the defaults:
| Property | Default value |
|---|---|
| Area | 4 |
| Width | 400 |
| % Slope | 0.5 |
| % Imperv. | 50 |
| N-Imperv. | 0.01 |
| N-Perv. | 0.10 |
| Dstore-Imperv. | 0.05 |
| Dstore-Perv | 0.05 |
| %Zero-Imperv. | 25 |
| Infil. Model | Modified Green-Ampt: Suction Head 3.5, Conductivity 0.5, Initial Deficit 0.26 |
- On the Nodes/Links page:
| Property | Default value |
|---|---|
| Node Invert | 0 |
| Node Max. Depth | 4 |
| Node Ponded Area | 0 |
| Conduit Length | 400 |
| Conduit Geometry | Circular, Max. Depth 1.0, 1 barrel |
| Conduit Roughness | 0.01 |
| Flow Units | CFS |
| Link Offsets | DEPTH |
| Routing Model | Kinematic Wave |
- Click OK.
Why bother? Every object you draw next inherits these defaults, so you only edit what differs. That is the main time-saver in SWMM data entry.
Then set the map display so you can see what you draw: Tools >> Map Display Options — on the Subcatchments page set Fill Style to Diagonal and Symbol Size to 5; on Nodes, Node Size 5; on Annotation, check the ID labels for Subcatchments, Nodes, and Links; on Flow Arrows, Filled style, size 7. Leave View >> Dimensions at the defaults. In the status bar, make sure Auto-Length is off and Offsets is set to Depth.
Step 2: draw the objects
Objects are added from the Project Browser (left panel) or from the Project menu:
- Subcatchments (under Hydrology): Project | Add a New Subcatchment. Click the corners of S1, then right-click or press Enter to close the polygon. Repeat for S2 and S3.
- Junctions (under Hydraulics -> Nodes): Project | Add a New Junction, then click J1 to J4 on the map.
- Outfall: Project | Add a New Outfall. It is named Out1 automatically.
- Conduits (under Hydraulics -> Links): Project | Add a New Conduit, click the start node and then the end node. C1 goes from J1 to J2; repeat for C2 to C4. A link’s end nodes must exist before the link.
- Rain gage (under Hydrology): Project | Add a New Rain Gage, click on the map.
Do not worry about exact shapes. In Object Selection mode you can drag objects; in Vertex Selection mode you can reshape a subcatchment outline.
Copy the layout from Figure 2-1 of the manual: the text only states explicitly that C1 connects J1 to J2, so take the end nodes of C2–C4 from the figure. Subcatchment outlets (S1 → J1, S2 → J2, S3 → J3) are set in the next step.
Step 3: set the properties that differ from the defaults
Open the Property Editor by double-clicking an object (or right-click > Properties). Press F1 inside it for a description of each property.
Rain gage for all subcatchments at once: Edit >> Select All, then Edit >> Group Edit. Choose Subcatchment as the object type, Rain Gage as the property, and type Gage1. SWMM confirms that 3 subcatchments changed.
Outlets, one by one: S1 → J1, S2 → J2, S3 → J3. A dotted line appears between each subcatchment and its outlet node.
Less development in S3: set its % Imperviousness to 25.
Invert elevations of the nodes:
| Node | Invert |
|---|---|
| J1 | 96 |
| J2 | 90 |
| J3 | 93 |
| J4 | 88 |
| Out1 | 85 |
Outlet pipe: select C4 and set Max. Depth to 1.5 (a 1.5 ft pipe instead of the 1 ft default).
Rain gage Gage1: Rain Format INTENSITY, Rain Interval 1:00, Data Source TIMESERIES, Series Name TS1.
The design storm, time series TS1: in the Project Browser select Time Series and click the add button. Name it TS1 and enter hourly intensities (in/hr), leaving the Date column blank so times are read as hours from the start of the simulation:
| Time (hr) | Intensity (in/hr) |
|---|---|
| 0 | 0 |
| 1 | 0.5 |
| 2 | 1.0 |
| 3 | 0.75 |
| 4 | 0.5 |
| 5 | 0.25 |
| 6 | 0 |
These hourly intensities add up to 3 inches over 6 hours, the design storm. Use the View button in the Time Series Editor to plot them.
Save: give the project the title “Tutorial Example” (Title/Notes in the Browser) and use File >> Save As with the name tutorial.inp. Project >> Details shows the project as the readable text file SWMM stores.
Step 4: simulation options
From the Project Browser select Options and open the editor:
- General page: Flow Routing = Kinematic Wave. Infiltration should already be Modified Green-Ampt. Allow Ponding unchecked.
- Dates page: End Analysis time = 12:00:00.
- Time Steps page: Routing Time Step = 60 seconds.
Click OK.
Step 5: run the simulation
Select Project >> Run Simulation (or the run button on the toolbar). If something is wrong, a Status Report opens describing the errors.
Step 6: read the results
Status Report: check the mass balance first
Report >> Status shows the continuity (mass balance) of rainfall, infiltration, evaporation, runoff, and conveyance. For this example EPA reports negligible continuity errors — −0.39 % for runoff and 0.03 % for routing, “if all data were entered correctly” — and that of the 3 inches of rain, about 1.75 inches infiltrated and essentially the rest became runoff.
If your continuity errors are large, stop and look for data entry mistakes before reading anything else.
Summary Report: where the system fails
Report >> Summary gives tables per subcatchment, node, and link (total and peak runoff; node peak depth and hours flooded; conduit peak flow, velocity, and depth). In the EPA example:
- the Node Flooding Summary shows internal flooding at J2;
- the Conduit Surcharge Summary shows that C2, just downstream of J2, ran at full capacity and appears slightly undersized.
Unless ponding is enabled, water that floods a node is lost from the system.
Map, time series and profile plots
- Map: in the Map page of the Browser choose the variables to color subcatchments, nodes, and links; move through time with the Date / Time of Day / Elapsed Time controls or animate.
- Time series: Report >> Graph >> Time Series, add conduits C1 and C2 with variable Flow.
- Profile: Report >> Graph >> Profile, Start Node J1, End Node Out1, Find Path, OK. As you move through time, you can see J2 become flooded between hours 2 and 3 of the storm.
Step 7: Kinematic Wave vs Dynamic Wave
Kinematic wave routing is efficient but cannot represent backwater, pressurized flow, flow reversal, or non-dendritic layouts. Because C2 flowed full, the tutorial re-runs the model with Dynamic Wave:
- Options > General: Flow Routing = Dynamic Wave.
- Run again.
EPA reports that with dynamic wave routing there is no junction flooding, and the peak flow in C2 increases from 3.52 cfs to 4.04 cfs — the pipe can carry more flow when it is allowed to pressurize. The manual notes that a real dynamic wave analysis would normally also use a smaller routing time step; the tutorial keeps 60 s.
This is the most useful lesson of the whole tutorial: the routing method is an engineering decision, and it can change the conclusion (flooding or not flooding).
What the tutorial continues with
The official chapter goes on to add water quality (TSS and lead, land uses, buildup and washoff) and a continuous simulation with a multi-year rainfall record and a statistical analysis of events. Once the design-storm model above works, those sections are the natural next step.
Sources
- US EPA — Storm Water Management Model (SWMM) (current version and downloads).
- Rossman, L. A., & Simon, M. A. (2022). Storm Water Management Model User’s Manual Version 5.2, EPA/600/R-22/030 — PDF, Chapter 2 Quick Start Tutorial (study area, defaults, drawing, properties, options, run, Status and Summary reports, profile plot, dynamic wave results).
- US EPA — SWMM GUI documentation, Basic tutorial (time series TS1 values and ID prefixes in text form).