Global RDII methods.
More...
|
| 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 landuse, 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.
◆ landuse_getAvgBmpEffic()
| double landuse_getAvgBmpEffic |
( |
int |
subcatchIndex, |
|
|
int |
pollutIndex |
|
) |
| |
Finds the overall average BMP removal achieved for pollutant pollutIndex treated in subcatchment j.
- Parameters
-
| [in] | subcatchIndex | Subcatchment index |
| [in] | pollutIndex | Pollutant index |
- Returns
- Returns a BMP removal fraction for a pollutant pollutIndex
◆ landuse_getBuildup()
| 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.
- Parameters
-
| [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) |
- Returns
- Returns new pollutant buildup (lbs or kg)
◆ landuse_getCoPollutLoad()
| double landuse_getCoPollutLoad |
( |
int |
p, |
|
|
double |
washoff[] |
|
) |
| |
Finds washoff mass added by a co-pollutant of a given pollutant.
- Parameters
-
| [in] | p | Pollutant index |
| [in] | washoff | Array of washoff mass for each pollutant |
- Returns
- Returns washoff mass added by co-pollutant relation (mass)
◆ landuse_getInitBuildup()
| 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.
- Parameters
-
| [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.
◆ landuse_getWashoffLoad()
| double landuse_getWashoffLoad |
( |
int |
landuse, |
|
|
int |
p, |
|
|
double |
area, |
|
|
TLandFactor |
landFactor[], |
|
|
double |
runoff, |
|
|
double |
vOutflow |
|
) |
| |
Computes pollutant load generated by a land use over a time step.
- Parameters
-
| [in] | landuseIndex | Land use index |
| [in] | pollutIndex | 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) |
- Returns
- Returns pollutant load generated by a land use over a time step.
◆ landuse_readBuildupParams()
| int landuse_readBuildupParams |
( |
char * |
tok[], |
|
|
int |
ntoks |
|
) |
| |
Reads pollutant buildup parameters from a tokenized line of input.
- Parameters
-
| [in] | tok | Array of string tokens |
| [in] | ntoks | Number of tokens |
- Returns
- Error code
Data format is: landuseID pollutID buildupType c1 c2 c3 normalizerType
◆ landuse_readParams()
| int landuse_readParams |
( |
int |
landuseIndex, |
|
|
char * |
tok[], |
|
|
int |
ntoks |
|
) |
| |
Reads landuse parameters from a tokenized line of input.
- Parameters
-
| [in] | landuseIndex | Land use index |
| [in] | tok | Array of string tokens |
| [in] | ntoks | Number of tokens |
- Returns
- Error code
Data format is: landuseID (sweepInterval sweepRemoval sweepDays0)
◆ landuse_readPollutParams()
| int landuse_readPollutParams |
( |
int |
pollutIndex, |
|
|
char * |
tok[], |
|
|
int |
ntoks |
|
) |
| |
Reads pollutant parameters from a tokenized line of input.
- Parameters
-
| [in] | pollutIndex | Pollutant index |
| [in] | tok | Array of string tokens |
| [in] | ntoks | Number of tokens |
- Returns
- Error code
Data format is: ID Units cRain cGW cRDII kDecay (snowOnly coPollut coFrac cDWF cInit)
◆ landuse_readWashoffParams()
| int landuse_readWashoffParams |
( |
char * |
tok[], |
|
|
int |
ntoks |
|
) |
| |
Reads pollutant washoff parameters from a tokenized line of input.
- Parameters
-
| [in] | tok | Array of string tokens |
| [in] | ntoks | Number of tokens |
- Returns
- Error code
Data format is: landuseID pollutID washoffType c1 c2 sweepEffic bmpRemoval