|
| int | subcatch_readParams (int subcatchIndex, char *tok[], int ntoks) |
| | Reads subcatchment parameters from a tokenized line of input data.
|
| |
| int | subcatch_readSubareaParams (char *tok[], int ntoks) |
| | Rreads subcatchment's subarea parameters from a tokenized line of input data.
|
| |
| int | subcatch_readLanduseParams (char *tok[], int ntoks) |
| | Reads assignment of landuses to subcatchment from a tokenized line of input data.
|
| |
| int | subcatch_readInitBuildup (char *tok[], int ntoks) |
| | Reads initial pollutant buildup on subcatchment from tokenized line of input data.
|
| |
| void | subcatch_validate (int subcatchIndex) |
| | Validate a subcatchment and initialize derived runoff coefficients.
|
| |
| void | subcatch_initState (int subcatchIndex) |
| | Initializes state of a subcatchment.
|
| |
| void | subcatch_setOldState (int subcatchIndex) |
| | Replaces old state of subcatchment with new state.
|
| |
| double | subcatch_getFracPerv (int j) |
| | Determines what fraction of subcatchment area, including any LID area, is pervious.
|
| |
| double | subcatch_getStorage (int subcatchIndex) |
| | Finds total volume of water stored on a subcatchment's surface and its LIDs at the current time.
|
| |
| void | subcatch_getRunon (int subcatchIndex) |
| | Routes runoff from a subcatchment to its outlet subcatchment or between its subareas.
|
| |
| void | subcatch_addRunonFlow (int subcatchIndex, double flow) |
| | Updates the total runon flow (ft/s) seen by a subcatchment that receives runon flow from an upstream subcatchment.
|
| |
| double | subcatch_getEvapRate (int subcatchIndex) |
| | Returns the potential evaporation rate (ft/sec) for a subcatchment.
|
| |
| double | subcatch_getRunoff (int subcatchIndex, double tStep) |
| | Computes runoff & new storage depth for subcatchment.
|
| |
| double | subcatch_getDepth (int j) |
| | Finds average depth of water over the non-LID portion of a subcatchment.
|
| |
| double | subcatch_getWtdOutflow (int subcatchIndex, double f) |
| | Computes weighted combination of old and new subcatchment runoff.
|
| |
| void | subcatch_getResults (int subcatchIndex, double wt, float x[]) |
| | Form report-period subcatchment results from old/current states.
|
| |
Subcatchment properties, runoff, and water quality calculations.
- Author
- Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com (OpenSWMM maintenance and extensions)
- Copyright
- Copyright (c) 2026 Caleb Buahin. OpenSWMM contributions only; original EPA SWMM credits are retained.
- License
- Apache-2.0 for OpenSWMM contributions; original EPA SWMM provenance is retained.