![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Global RDII methods. More...
Functions | |
| int | landuse_readParams (int landuseIndex, char *tok[], int ntoks) |
| Reads landuse parameters from a tokenized line of input. | |
| int | landuse_readPollutParams (int pollutIndex, char *tok[], int ntoks) |
| Reads pollutant parameters from a tokenized line of input. | |
| int | landuse_readBuildupParams (char *tok[], int ntoks) |
| Reads pollutant buildup parameters from a tokenized line of input. | |
| int | landuse_readWashoffParams (char *tok[], int ntoks) |
| Reads pollutant washoff parameters from a tokenized line of input. | |
| void | landuse_getInitBuildup (TLandFactor *landFactor, double *initBuildup, double area, double curb) |
| Determines the initial buildup of each pollutant on each land use for a given subcatchment. | |
| double | landuse_getBuildup (int landuseIndex, int pollutIndex, double area, double curb, double buildup, double tStep) |
| Computes new pollutant buildup on a landuse after a time increment. | |
| double | landuse_getWashoffLoad (int i, int p, double area, TLandFactor landFactor[], double runoff, double vOutflow) |
| Computes pollutant load generated by a land use over a time step. | |
| double | landuse_getAvgBmpEffic (int subcatchIndex, int pollutIndex) |
| Finds the overall average BMP removal achieved for pollutant pollutIndex treated in subcatchment j. | |
| double | landuse_getCoPollutLoad (int p, double washoff[]) |
| Finds washoff mass added by a co-pollutant of a given pollutant. | |
Global RDII methods.
| double landuse_getAvgBmpEffic | ( | int | subcatchIndex, |
| int | pollutIndex ) |
Finds the overall average BMP removal achieved for pollutant pollutIndex treated in subcatchment j.
| [in] | subcatchIndex | Subcatchment index |
| [in] | pollutIndex | Pollutant index |
Finds the overall average BMP removal achieved for pollutant pollutIndex treated in subcatchment j.
| double landuse_getBuildup | ( | int | landuseIndex, |
| int | pollutIndex, | ||
| double | area, | ||
| double | curb, | ||
| double | buildup, | ||
| double | tStep ) |
Computes new pollutant buildup on a landuse after a time increment.
| [in] | landuseIndex | Land use index |
| [in] | pollutIndex | Pollutant index |
| [in] | area | Area of subcatchment (ac or ha) |
| [in] | curb | Land use curb length (users units) |
| [in] | buildup | Current pollutant buildup (lbs or kg) |
| [in] | tStep | Time increment for buildup (sec) |
Computes new pollutant buildup on a landuse after a time increment.
| double landuse_getCoPollutLoad | ( | int | p, |
| double | washoff[] ) |
Finds washoff mass added by a co-pollutant of a given pollutant.
| [in] | p | Pollutant index |
| [in] | washoff | Array of washoff mass for each pollutant |
| void landuse_getInitBuildup | ( | TLandFactor * | landFactor, |
| double * | initBuildup, | ||
| double | area, | ||
| double | curb ) |
Determines the initial buildup of each pollutant on each land use for a given subcatchment.
| [in] | landFactor | Land use factor |
| [out] | initBuildup | Initial buildup of each pollutant |
| [in] | area | Area of subcatchment (ft2) |
| [in] | curb | Subcatchment's curb length (users units) |
Contributions from co-pollutants to initial buildup are not included since the co-pollutant mechanism only applies to washoff.
Determines the initial buildup of each pollutant on each land use for a given subcatchment.
| double landuse_getWashoffLoad | ( | int | i, |
| int | p, | ||
| double | area, | ||
| TLandFactor | landFactor[], | ||
| double | runoff, | ||
| double | vOutflow ) |
Computes pollutant load generated by a land use over a time step.
| [in] | i | Land use index |
| [in] | p | Pollutant index |
| [in] | area | Area of subcatchment (ft2) |
| [in] | landFactor | Array of land use data for subcatchment |
| [in] | runoff | Runoff flow generated by subcatchment (ft/sec) |
| [in] | vOutflow | Runoff volume leaving subcatchment (ft3) |
| int landuse_readBuildupParams | ( | char * | tok[], |
| int | ntoks ) |
Reads pollutant buildup parameters from a tokenized line of input.
| [in] | tok | Array of string tokens |
| [in] | ntoks | Number of tokens |
Data format is: landuseID pollutID buildupType c1 c2 c3 normalizerType
Reads pollutant buildup parameters from a tokenized line of input.
| int landuse_readParams | ( | int | landuseIndex, |
| char * | tok[], | ||
| int | ntoks ) |
Reads landuse parameters from a tokenized line of input.
| [in] | landuseIndex | Land use index |
| [in] | tok | Array of string tokens |
| [in] | ntoks | Number of tokens |
Data format is: landuseID (sweepInterval sweepRemoval sweepDays0)
| int landuse_readPollutParams | ( | int | pollutIndex, |
| char * | tok[], | ||
| int | ntoks ) |
Reads pollutant parameters from a tokenized line of input.
| [in] | pollutIndex | Pollutant index |
| [in] | tok | Array of string tokens |
| [in] | ntoks | Number of tokens |
Data format is: ID Units cRain cGW cRDII kDecay (snowOnly coPollut coFrac cDWF cInit)
| int landuse_readWashoffParams | ( | char * | tok[], |
| int | ntoks ) |
Reads pollutant washoff parameters from a tokenized line of input.
| [in] | tok | Array of string tokens |
| [in] | ntoks | Number of tokens |
Data format is: landuseID pollutID washoffType c1 c2 sweepEffic bmpRemoval