OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
Global Surface Pollutant Buildup/Washoff Methods

Global surface pollutant buildup/washoff methods. More...

Collaboration diagram for Global Surface Pollutant Buildup/Washoff Methods:

Functions

void surfqual_initState (int subcatchIndex)
 Initializes pollutant buildup, ponded mass, and washoff.
 
void surfqual_getWashoff (int subcatchIndex, double runoff, double tStep)
 Computes new runoff quality for a subcatchment.
 
void surfqual_getBuildup (int subcatchIndex, double tStep)
 Adds to pollutant buildup on subcatchment surface.
 
void surfqual_applyAPIBuildup (int subcatchIndex)
 Applies the buildup of a pollutant over a subcatchment for a given time step.
 
void surfqual_sweepBuildup (int subcatchIndex, DateTime aDate)
 Reduces pollutant buildup over a subcatchment if sweeping occurs.
 
double surfqual_getWtdWashoff (int subcatchIndex, int pollutIndex, double wt)
 Finds wtd. combination of old and new washoff for a pollutant.
 

Detailed Description

Global surface pollutant buildup/washoff methods.

Function Documentation

◆ surfqual_applyAPIBuildup()

void surfqual_applyAPIBuildup ( int  subcatchIndex)

Applies the buildup of a pollutant over a subcatchment for a given time step.

Parameters
[in]subcatchIndexSubcatchment index

Applies the buildup of a pollutant over a subcatchment for a given time step. API use is unconstrained by whether its is raining or not and other factors that apply to the inbuilt buildup function. Negative buildup may be applied in which case the function will not allow the buildup to go below zero.

Applies the buildup of a pollutant over a subcatchment for a given time step.

Parameters
[in]subcatchIndexSubcatchment index

Applies the buildup of a pollutant over a subcatchment for a given time step. API use is unconstrained by whether its is raining or not and other factors that apply to the inbuilt buildup function. Negative buildup may be applied in which case the function will not allow the buildup to go below zero.

Applies the buildup of a pollutant over a subcatchment for a given time step.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ surfqual_getBuildup()

void surfqual_getBuildup ( int  subcatchIndex,
double  tStep 
)

Adds to pollutant buildup on subcatchment surface.

Parameters
[in]subcatchIndexSubcatchment index
[in]tStepTime step (sec)

Adds to pollutant buildup on subcatchment surface.

Parameters
[in]subcatchIndexSubcatchment index
[in]tStepTime step (sec)

Adds to pollutant buildup on subcatchment surface.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ surfqual_getWashoff()

void surfqual_getWashoff ( int  subcatchIndex,
double  runoff,
double  tStep 
)

Computes new runoff quality for a subcatchment.

Parameters
[in]subcatchIndexSubcatchment index
[in]runoffTotal subcatchment runoff before internal re-routing or LID controls (ft/sec)
[in]tStepTime step (sec)

Considers three pollutant generating streams that are combined together:

  1. washoff of pollutant buildup as described by the project's land use washoff functions,
  2. complete mix mass balance of pollutants in surface ponding on non-LID area due to runon, wet deposition, infiltration, & evaporation,
  3. wet deposition and runon over LID areas.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ surfqual_getWtdWashoff()

double surfqual_getWtdWashoff ( int  j,
int  p,
double  f 
)

Finds wtd. combination of old and new washoff for a pollutant.

Parameters
[in]subcatchIndexSubcatchment index
[in]pollutIndexPollutant index
[in]wtWeighting factor
Returns
Returns pollutant washoff value

◆ surfqual_initState()

void surfqual_initState ( int  subcatchIndex)

Initializes pollutant buildup, ponded mass, and washoff.

Parameters
[in]subcatchIndexSubcatchment index
Here is the call graph for this function:
Here is the caller graph for this function:

◆ surfqual_sweepBuildup()

void surfqual_sweepBuildup ( int  subcatchIndex,
DateTime  aDate 
)

Reduces pollutant buildup over a subcatchment if sweeping occurs.

Parameters
[in]subcatchIndexSubcatchment index
[in]aDateCurrent date/time
Here is the call graph for this function:
Here is the caller graph for this function: