EPA's Storm Water Management Model (SWMM) is used throughout the world for planning, analysis and design related to stormwater runoff, combined and sanitary sewers, and other
drainage systems in urban areas. There are many applications for drainage systems in non-urban areas as well.
SWMM is a dynamic hydrology-hydraulic water quality simulation model. It is used for single event or long-term (continuous)
simulation of runoff quantity and quality from primarily urban areas. The runoff component operates on a collection of
sub catchment areas that receive precipitation and generate runoff and pollutant loads. The routing portion transports this runoff
through a system of pipes, channels, storage/treatment devices, pumps, and regulators.
SWMM tracks the quantity and quality of runoff made within each sub catchment. It tracks the flow rate, flow depth, and quality of water
in each pipe and channel during a simulation period made up of multiple time steps.
SWMM also models the hydrologic performance of specific types of low impact development (LID) controls.
The direct.h header is now only #included in the swmm5.c file when compiled for Windows. (swmm5.c)
Engine Update #7 in Build 5.1.011 (internally aligning the wet time step with the reporting time step) was redacted since it caused problems for certain combinations of time steps. (runoff.c)
A subcatchment's bottom elevation is now used instead its parent aquifer's value when saving a water table value to the binary results file. (subcatch.c)
A bug that failed to limit surface inflitration into a saturated rain garden LID unit was fixed. (lidproc.c)
Calculation of the maximum limit on LID drain flows was modified to produce smoother results at low depths above the drain offset. (lidproc.c)
A variable used for reporting detailed LID results is now properly initialized. (lid.c & lid.h)
The occasional writing of duplicate lines to the detailed LID results file was fixed. (lidproc.c)
The conversion from conduit seepage rate per unit area to rate per unit of length was changed to use top width instead of wetted perimeter since only vertical seepage is assumed to occur. (link.c)
The coefficient of the evaporation/seepage term in the dynamic wave equation for updating conduit flow was corrected (from 1.5 to 2.5). (dwflow.c)
The Engels flow equation for side flow weirs was corrected (the original equation used in SWMM 3 & 4 was incorrect). (link.c)
Crest length reductions for end contractions are no longer used for trapezoidal weirs. (link.c)
The Slope Correction Factor for culverts with mitered inlets was corrected. (culvert.c)
An entry in the table of gravel roadway weir coefficients was corrected. (roadway.c)
The user supplied minimum slope option is now initialized to 0.0 (meaning none is provided). (project.c)
NO/YES are no longer accepted as attributes for the NORMAL_FLOW_LIMITED dynamic wave simulation option (only SLOPE/FROUDE/BOTH are valid). (project.c)
Changes were made so that the Routing Events and Skip Steady Flow options work correctly together. (routing.c & globals.h)
Steady state periods with no flow routing no longer contribute to the routing time step statistics. (stats.c and report.c)
When compiling statistics on the frequency of full conduit flow the number of barrels is now accounted for. (stats.c)
Under kinematic wave or steady flow routing, the water level in storage nodes that have no outflow links is now updated correctly over time. (flowrout.c)
The formula for the depth at maximum width for the Modified Basket Handle cross section was corrected. (xsect.c)
SWMM 5.1.011 September, 2016
Released: September 07, 2016
Download Size: 4.75 MB
Detailed flow routing can now be restricted to a set of pre-defined event periods. The event periods are listed in an [EVENTS] section of the SWMM input file, where each line contains a start date, start time, end date and end time for each event.
A bottom Seepage Rate can now be specified for Rain Garden LID controls. This fixes the problem of having no inflitration out of a Rain Garden.
Rule premises can now include SIMULATION DAYOFYEAR as a condition, where day of year is either in month/day format or a number between 1 and 365.
New functions, swmm_getError() and swmm_getWarnings(), were added to the API used for interfacing SWMM with other applications (see the updated Interfacing Guide for details).
The new format for precipitation amounts in rainfall files downloaded from the NCDC's Climate Data Online service are now recognized.
Monthly adjustments for hydraulic conductivity are now also applied to the internal Green-Ampt "Lu" parameter which varies with the square root of conductivity.
A check was added to insure that subcatchment imperviousness does not exceed 100 percent.
Runoff time steps are now adjusted to stay aligned with the Report time step (making model validation easier).
A time step correction was made when computing the outflow volume produced by an outfall that sends its outflow back onto a designated subcatchment.
The LID routines were modified so that native soil infiltration is satisfied first when it occurs along with underdrain flow, instead of the other way around.
The allowable offset height for an LID underdrain is no longer limited to the top of the storage layer thus allowing upturned drains to be modelled.
The detailed LID report file now lists results by both date/time and elapsed hours and reports water level instead of moisture content for permeable pavement.
If the offset of the opening of a regulator link is below its downstream node invert it is now raised to the invert level and a warning message is still issued.
A weir with an open rectangular shape and non-zero slope parameter will no longer generate an input error message - the slope value is now ignored.
Node surcharging is now only reported for dynamic wave flow routing and storage nodes are never classified as surcharged.
The Status Report no longer lists control actions taken by modulated controls since they occur continuously over time and can produce an enormous number of actions.
The error codes returned by the API functions (swmm_open, swmm_start, swmm_step, etc.) were corrected.
An illegal array index bug that could occur when checking the pump curve type for an Ideal Pump in dynamic wave flow routing was fixed.
A redundant unit conversion of max. reported depth from the Node Depth Summary table was removed.
A failure to convert a storage unit's surface area curve from metric to internal units when computing bottom exfiltration was fixed.
A bug that caused a link's TIMEOPEN variable (used in control rule conditions) to be re-set to 0 when its setting changed from one partly opened state to another was fixed.
A failure to convert a Roadway Weir's road width that was in metric units was fixed.
A bug that caused the saved link settings read from a hot start file to be incorrect in a model containing pollutants was fixed.
A refactoring bug that affected water quality mass balance results for Steady Flow routing was fixed.
The function that decodes the fractional part of a date/time value into hours:minutes:seconds was modified so that rounding doesn't cause the time to exceed 24 hours.
Microsoft exception handling statements are now only enabled when the engine is compiled with the Microsoft C compiler.
When the new events feature is used, computation of seepage/evaporation is continued during inter-event periods for storages/conduits, resulting in high routing continuity error reported.
When events are used, maximum routing time step can be more than specified routing time step.
Under some combinations of reporting/runoff time steps, detailed LID reports are not created.
SWMM 5.1.010 August, 2015
Released: August 05, 2015
Download Size: 4.74 MB
A modified version of Green-Ampt infiltration (MODIFIED GREEN AMPT) was added that no longer redistributes upper zone moisture deficit during low rainfall events. The original authors of SWMM's Green-Ampt model have endorsed this modified version. It will produce more infiltration for storm events that begin with low rainfall intensities, such as the SCS design storm distributions.
A new type of weir, a ROADWAY weir, has been added. It models roadway overtopping using the FHWA HDS-5 method and would typically be used in parallel with a culvert conduit.
Rule premises can now test whether a link has been open (or closed) for a specific period of time. See the Help file for more details.
Unsaturated hydraulic conductivity ("K") was added to the list of variables that can be used in a user-supplied groundwater flow equation.
The Hargreaves evaporation forumla was modified to use a 7-day running average of daily temperatures, instead of just single day values, as recommended by the formula's authors.
Daily potential evapotranspiration (PET) was added as a system output variable.
The qualrout.c module was refactored to make it more compact and easier to follow.
Storage seepage and evaporation losses are now based on the storage volume at the end, not the start, of the prior time step.
The command line used to build the engine included in the "makefile" for the GNU C/C++ compiler was corrected to include the OpenMP libraries.
A bug introduced in update 2 of release 5.1.008 that failed to include infiltration from LID units into the groundwater routine was fixed.
A bug that failed to properly initialize the flag indicating that one or more LID controls was initially wet was fixed.
Duplicate printing of the first line of an LID detailed report file was corrected.
Monthly adjustments for hydraulic conductivity used for rainfall infiltration and for exfiltration from storage nodes and conduits was added.
LID drains can now send their outflow to a different node or subcatchment than the parent subcatchment in which they were placed.
Conveyance system Outfall nodes now have the option to send their outflow onto a subcatchment, to simulate irrigation or complex LID treatment options.
A new LID practice, Rooftop Disconnection, has been added. It allows one to explicitly model roof runoff with an optional limit on the flow capacity of their downspouts. Disconnection is specified by setting the Return To Pervious Area field in the [LID_USAGE] section to 1.
An optional soil layer has been added to Permeable Pavement LIDs so that a sand filter or bedding layer beneath the pavement can be modeled.
Several new built-in variable names can now be used in custom groundwater flow equations for porosity, unsaturated hydraulic conductivity, infiltration rate, and percolation rate. See the Help file for more details.
A Groundwater Summary table has been added that reports several groundwater statistics for each subcatchment.
A new option, the Minimum Variable Time Step, was added that limits the smallest time step that can be computed under variable time stepping for dynamic wave flow routing. In previous releases it was fixed at 0.5 seconds which remains the default. The smallest value it can now have is 0.001 sec.
The dynamic wave routing procedure was parallelized to take advantage of multiple processors, making it run several times faster. A new option, THREADS, sets the number of parallel threads to use, where the default is 1.
A new column was added to the Node Depth Summary report table that shows the maximum depth recorded at the Reporting Time Step so it can be compared to the maximum depth attained over all routing time steps also shown in the table.
Control rule premises can now contain conditions that compare the values of a node or link variable at two different locations (e.g. IF NODE 123 HEAD > NODE 456 HEAD) and node volume was added as a condition clause variable.
When a subcatchment with LID controls receives runon from another source (e.g., a subcatchment, LID drain or outfall node) the runon is now distributed only across the non-LID area of the sub- catchment instead of the full area. If a single LID takes up the full subcatchment area then the runon is directed onto the LID.
Storage node HRT was added to the state variables saved in the Hot Start file.
The threshold value for reporting a non-zero runoff result was changed from 0.001 cfs to 0.001 inches/hr.
The calculation of overall flow routing mass balance was modified to account for cases where some flow streams, like total external inflow, are negative.
The "Surface Runoff" label in the Runoff Continuity Report was replaced with "Total Runoff" since the value reported consists of both surface runoff and LID drain flow.
The "Internal Outflow" label in the Flow Routing Continuity Report was replaced with "Flooding Losses" to improve clarity.
The pollutant washoff routines were moved to a new code module (surfqual.c) and revised to account for the reduction in pollutant load that results from runoff flow reduction by LID units.
Initial flows for Steady Flow routing are now ignored since they are not used in the routing calculation and the initial volume associated with them contributed to system mass balance error.
The various types of lateral inflows to conveyance system nodes are now evaluated at the date/time for the start of the routing time step instead of at the end of the time step.
The final runoff and routing time steps are adjusted to insure that the simulation's total duration is not exceeded.
When evaluating user-supplied math expressions, any NaN (Not a Number) result (caused by an underflow, overflow or divide by zero) is set to 0 so that the NaN doesn't propagate through subsequent calculations.
The evaporation rates read from a time series would only change when a new day was reached (even though values at more frequent intervals were present) and could cause a run to stop pre- maturely in some rare cases.
The runoff read from a Hot Start file should have been assigned to a subcatchment's newRunoff property, not to oldRunoff.
An indexing bug that caused Hot Start files with snowmelt parameters to be read incorrectly was fixed.
The setting for a non-conduit link read from a Hot Start file was not being used to initialize the link.
A bug in adjusting snowmelt for snow covered area derived from an areal depletion curve was fixed.
Snowmelt should not have been included in the total precipitation reported for a subcatchment since the snowfall which produced it was already accounted for.
When computing a flow rate through the Drainage Mat of a Green Roof LID unit, the mat's void ratio was being applied to the water depth instead of to the mat's area.
The state of LID controls was not being considered when choosing to use the wet or dry runoff time step which sometimes lead to excessive LID continuity errors.
A re-factoring bug that left reporting time in minutes instead of hours in the detailed LID results file was fixed and results are now written to the file at each runoff time step where the state of the LID unit changes.
Failure to initialize groundwater evaporation loss to 0 was causing problems with the reported groundwater mass balance for subcatchments that had no pervious area.
Excessive continuity errors for systems having conduits with large seepage rates was fixed.
Pollutant loss through seepage in conduits and storage nodes was not being included in the mass balance calculations.
Concentrations in conduits and storage nodes were not being increased to account for loss of water volume when evaporation was occurring.
Premature exiting of the routine that checks for capacity limited links whenever a non-conduit link was encountered was fixed.
A bug in identifying the percent of time that a conduit has either end full was fixed.
A re-factoring bug that prevented surcharged weirs (see Update 5 for 5.1.007) from passing any flow was fixed.
A bug in evaluating recursive calls to nodal water quality treatment functions was fixed.
SWMM 5.1.007 September, 2014
Released: September 15, 2014
Download Size: 4.5 MB
A new feature that provides monthly adjustments for temperature, evaporation rate, and rainfall was added.
Support for reading the new GHCN-Daily climate data files available from NCDC's Climate Data Online service was added.
In addition to lateral groundwater flow, a custom equation can now also be used for seepage flow to a deeper groundwater aquifer.
A new Weir parameter was added that specifies if the weir can surcharge using an orifice equation or not. Surcharging was the only option in SWMM 5.0 but was switched to no surcharging in earlier 5.1 releases. This new parameter accommodates both closed top weirs that can surcharge and open channel weirs that cannot.
Seepage from storage units can now be modeled using Green- Ampt infiltration, which makes the seepage rate a function of storage level. The constant seepage rate option can still be used by setting the G-A initial moisture deficit to 0.
The [GW_FLOW] section of the project file was renamed to [GWF] and its format was changed to accommodate both lateral and deep groundwater flow equations.
The formula used to recover infiltration capacity during dry periods for the Modified Horton method was revised.
All of the Green-Ampt infiltration functions were re-factored to make the code easier to follow.
The calculation of infiltration out of the bottom of a Bio-Retention Cell or Permeable Pavement LID unit with a zero-depth storage layer was corrected.
Most of the LID simulation routines were modified to provide more accurate results under flooded conditions.
Results written to the detailed LID results report now always correspond to a full reporting time step.
The initial cumulative infiltration into the upper soil zone for Green-Ampt infiltration had been incorrectly set to the maximum value instead of zero.
The name of the variable used to represent the height of the receiving channel bottom in a user-defined groundwater flow equation was corrected to match the name displayed in the GUI's Groundwater Editor dialog (Hcb).
A problem with the program crashing when a climate file was used to provide evaporation rates for open channels and storage nodes when runoff was not computed (as when there were no subcatchments in the project) was fixed.
Flow and pollutant routing mass balance accounting was modified to correctly handle negative external inflows.
The procedure for computing the area available for seepage out of a storage node that has a tabular storage curve was corrected.
The function that finds depth as a function of volume from a storage curve was corrected for the case where the depth falls within a portion of the curve where area is constant with depth (i.e., vertical side walls).
SWMM 4.4h [2005.10] - Oregon State University BETA version
This is the last public version of the older SWMM4 available. Posted by Dr. Wayne Huber from Oregon State University, it contains a number of improvements and additional capability (including larger array sizes). Earlier releases of 4.4 are also provided. For more information please click here.