![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Water balance processes within low-impact development controls. More...
Macros | |
| #define | _CRT_SECURE_NO_DEPRECATE |
| #define | STOPTOL 0.00328 |
| #define | MINFLOW 2.3e-8 |
Enumerations | |
| enum | LidLayerTypes { SURF , SOIL , STOR , PAVE , DRAIN } |
| enum | LidRptVars { SURF_INFLOW , TOTAL_EVAP , SURF_INFIL , PAVE_PERC , SOIL_PERC , STOR_EXFIL , SURF_OUTFLOW , STOR_DRAIN , SURF_DEPTH , PAVE_DEPTH , SOIL_MOIST , STOR_DEPTH , MAX_RPT_VARS } |
Functions | |
| void | lidproc_initWaterBalance (TLidUnit *lidUnit, double initVol) |
| Initializes the water balance components of a LID unit. | |
| double | lidproc_getOutflow (TLidUnit *lidUnit, TLidProc *lidProc, double inflow, double evap, double infil, double maxInfil, double tStep, double *lidEvap, double *lidInfil, double *lidDrain) |
| Computes runoff outflow from a single LID unit. | |
| void | lidproc_saveResults (TLidUnit *lidUnit, double ucfRainfall, double ucfRainDepth) |
| Update LID water balance and optionally emit detailed report results. | |
Variables | |
| char | HasWetLids |
Water balance processes within low-impact development controls.
| #define _CRT_SECURE_NO_DEPRECATE |
| #define MINFLOW 2.3e-8 |
| #define STOPTOL 0.00328 |
| enum LidLayerTypes |
| enum LidRptVars |
| double lidproc_getOutflow | ( | TLidUnit * | lidUnit, |
| TLidProc * | lidProc, | ||
| double | inflow, | ||
| double | evap, | ||
| double | infil, | ||
| double | maxInfil, | ||
| double | tStep, | ||
| double * | lidEvap, | ||
| double * | lidInfil, | ||
| double * | lidDrain ) |
Computes runoff outflow from a single LID unit.
| lidUnit | Ptr. to specific LID unit being analyzed. | |
| lidProc | Ptr. to generic LID process of the LID unit. | |
| [in] | inflow | Runoff rate captured by LID unit (ft/s). |
| [in] | evap | Potential evaporation rate (ft/s). |
| [in] | infil | Infiltration rate to native soil (ft/s). |
| [in] | maxInfil | Max. infiltration rate to native soil (ft/s). |
| [in] | tStep | Time step (sec). |
| [out] | lidEvap | Evaporation rate for LID unit (ft/s). |
| [out] | lidInfil | Infiltration rate for LID unit (ft/s). |
| [out] | lidDrain | Drain flow for LID unit (ft/s). |
For debugging only ******************************************** if (i == 0) { fprintf(Frpt.file, "\n WARNING 09: integration failed to converge at %s %s", theDate, theTime); fprintf(Frpt.file, "\n for LID %s placed in subcatchment %s.", theLidProc->ID, theSubcatch->ID); }
| void lidproc_initWaterBalance | ( | TLidUnit * | lidUnit, |
| double | initVol ) |
Initializes the water balance components of a LID unit.
| lidUnit | A particular LID unit. | |
| [in] | initVol | Initial water volume stored in the unit (ft). |
| void lidproc_saveResults | ( | TLidUnit * | lidUnit, |
| double | ucfRainfall, | ||
| double | ucfRainDepth ) |
Update LID water balance and optionally emit detailed report results.
| [in,out] | lidUnit | Non-null borrowed current LID unit; its report-file state and saved result string may be updated. |
| [in] | ucfRainfall | Rate conversion from ft/s to authored in/hr or mm/hr. |
| [in] | ucfRainDepth | Depth conversion from feet to authored inches or millimeters. |
|
extern |