Skip to content

Instantly share code, notes, and snippets.

@MarkusPic
Last active March 9, 2023 15:07
Show Gist options
  • Save MarkusPic/31ea2885056213e03e7a180317da2bd0 to your computer and use it in GitHub Desktop.
Save MarkusPic/31ea2885056213e03e7a180317da2bd0 to your computer and use it in GitHub Desktop.
SWMM Surface Runoff and Storage difference in RPT and OUT file

I have two models, the first model has one subcatchment and second has two subcatchments. The sum of impervious, pervious and impervious areas are equal for both models. I add an 10 mm constant rainfall with a duration of 1 hour.
The infiltration rate is set to 10 mm/h.
The storage for impervious areas is 5 mm.
The evaporation rate is set to 0 mm/day.
The sum of subcatchment areas is 100 ha with 50% impervious and 50% impervious with no storage.
This should result in 10.000 m³ rainfall, 5000 m³ infiltration loss, 1250 m³ stored volume in the impervious areas and 3750 m³ runoff.

[TITLE]
;;Project Title/Notes
[OPTIONS]
;;Option Value
FLOW_UNITS LPS
INFILTRATION HORTON
FLOW_ROUTING DYNWAVE
LINK_OFFSETS DEPTH
MIN_SLOPE 0
ALLOW_PONDING NO
SKIP_STEADY_STATE NO
START_DATE 01/01/2023
START_TIME 00:00:00
REPORT_START_DATE 01/01/2023
REPORT_START_TIME 00:00:00
END_DATE 01/01/2023
END_TIME 00:00:00
SWEEP_START 01/01
SWEEP_END 12/31
DRY_DAYS 0
REPORT_STEP 00:00:01
WET_STEP 00:00:01
DRY_STEP 00:00:01
ROUTING_STEP 0:00:01
RULE_STEP 00:00:00
INERTIAL_DAMPING PARTIAL
NORMAL_FLOW_LIMITED BOTH
FORCE_MAIN_EQUATION H-W
VARIABLE_STEP 0.75
LENGTHENING_STEP 0
MIN_SURFAREA 12.566
MAX_TRIALS 8
HEAD_TOLERANCE 0.005
SYS_FLOW_TOL 5
LAT_FLOW_TOL 5
MINIMUM_STEP 0.5
THREADS 1
[EVAPORATION]
;;Data Source Parameters
;;-------------- ----------------
CONSTANT 0.0
DRY_ONLY NO
[RAINGAGES]
;;Name Format Interval SCF Source
;;-------------- --------- ------ ------ ----------
RG VOLUME 1:00 1.0 TIMESERIES TS
[SUBCATCHMENTS]
;;Name Rain Gage Outlet Area %Imperv Width %Slope CurbLen SnowPack
;;-------------- ---------------- ---------------- -------- -------- -------- -------- -------- ----------------
SC RG OL 100 50 200 0.5 0
[SUBAREAS]
;;Subcatchment N-Imperv N-Perv S-Imperv S-Perv PctZero RouteTo PctRouted
;;-------------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
SC 0.01 0.1 5 5 50 OUTLET
[INFILTRATION]
;;Subcatchment Param1 Param2 Param3 Param4 Param5
;;-------------- ---------- ---------- ---------- ---------- ----------
SC 10 10 4 7 0
[OUTFALLS]
;;Name Elevation Type Stage Data Gated Route To
;;-------------- ---------- ---------- ---------------- -------- ----------------
OL 0 FREE NO
[TIMESERIES]
;;Name Date Time Value
;;-------------- ---------- ---------- ----------
TS 1:00 10
TS 2:00 0
[REPORT]
;;Reporting Options
SUBCATCHMENTS ALL
NODES ALL
LINKS ALL
[COORDINATES]
;;Node X-Coord Y-Coord
;;-------------- ------------------ ------------------
OL 11 14
[VERTICES]
;;Link X-Coord Y-Coord
;;-------------- ------------------ ------------------
[Polygons]
;;Subcatchment X-Coord Y-Coord
;;-------------- ------------------ ------------------
SC 10 12
SC 10 2
SC 0 2
SC 0 12
[SYMBOLS]
;;Gage X-Coord Y-Coord
;;-------------- ------------------ ------------------
RG 11 0
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
[TITLE]
;;Project Title/Notes
[OPTIONS]
;;Option Value
FLOW_UNITS LPS
INFILTRATION HORTON
FLOW_ROUTING DYNWAVE
LINK_OFFSETS DEPTH
MIN_SLOPE 0
ALLOW_PONDING NO
SKIP_STEADY_STATE NO
START_DATE 01/01/2023
START_TIME 00:00:00
REPORT_START_DATE 01/01/2023
REPORT_START_TIME 00:00:00
END_DATE 01/01/2023
END_TIME 00:00:00
SWEEP_START 01/01
SWEEP_END 12/31
DRY_DAYS 0
REPORT_STEP 00:00:01
WET_STEP 00:00:01
DRY_STEP 00:00:01
ROUTING_STEP 0:00:01
RULE_STEP 00:00:00
INERTIAL_DAMPING PARTIAL
NORMAL_FLOW_LIMITED BOTH
FORCE_MAIN_EQUATION H-W
VARIABLE_STEP 0.75
LENGTHENING_STEP 0
MIN_SURFAREA 12.566
MAX_TRIALS 8
HEAD_TOLERANCE 0.005
SYS_FLOW_TOL 5
LAT_FLOW_TOL 5
MINIMUM_STEP 0.5
THREADS 1
[EVAPORATION]
;;Data Source Parameters
;;-------------- ----------------
CONSTANT 0.0
DRY_ONLY NO
[RAINGAGES]
;;Name Format Interval SCF Source
;;-------------- --------- ------ ------ ----------
RG VOLUME 1:00 1.0 TIMESERIES TS
[SUBCATCHMENTS]
;;Name Rain Gage Outlet Area %Imperv Width %Slope CurbLen SnowPack
;;-------------- ---------------- ---------------- -------- -------- -------- -------- -------- ----------------
SC1 RG OL 50 50 200 0.5 0
SC2 RG OL 50 50 200 0.5 0
[SUBAREAS]
;;Subcatchment N-Imperv N-Perv S-Imperv S-Perv PctZero RouteTo PctRouted
;;-------------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
SC1 0.01 0.1 5 5 50 OUTLET
SC2 0.01 0.1 5 5 50 OUTLET
[INFILTRATION]
;;Subcatchment Param1 Param2 Param3 Param4 Param5
;;-------------- ---------- ---------- ---------- ---------- ----------
SC1 10 10 4 7 0
SC2 10 10 4 7 0
[OUTFALLS]
;;Name Elevation Type Stage Data Gated Route To
;;-------------- ---------- ---------- ---------------- -------- ----------------
OL 0 FREE NO
[TIMESERIES]
;;Name Date Time Value
;;-------------- ---------- ---------- ----------
TS 1:00 10
TS 2:00 0
[REPORT]
;;Reporting Options
SUBCATCHMENTS ALL
NODES ALL
LINKS ALL
[COORDINATES]
;;Node X-Coord Y-Coord
;;-------------- ------------------ ------------------
OL 11 14
[VERTICES]
;;Link X-Coord Y-Coord
;;-------------- ------------------ ------------------
[Polygons]
;;Subcatchment X-Coord Y-Coord
;;-------------- ------------------ ------------------
SC1 10 12
SC1 10 2
SC1 0 2
SC1 0 12
SC2 22 12
SC2 22 2
SC2 12 2
SC2 12 12
[SYMBOLS]
;;Gage X-Coord Y-Coord
;;-------------- ------------------ ------------------
RG 11 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment