Stormwater-Management-Model
Stormwater-Management-Model copied to clipboard
XSECTION Documentation Bug
Page 372 of the EPA SWMM manual suggests that I can format a Custom cross section as such:
Link CUSTOM Geom1 Curve (Barrels)
However, the following format generates an Error 203 in the report file:
ERROR 203: too few items at line 168 of [XSECT] section:
COND7 CUSTOM 10 COND7_curve 2
This error stems from line 218 in link.c, which checks that all geom params are present even for CUSTOM shapes. This is inconsequential for most who use the official GUI, but was confusing for me while trying to develop a tool for interfacing with the inp file based on the EPA manual, and subsequently generating invalid inp sections.