OpenSWMM Engine  6.0.0-alpha.3
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.3)
Loading...
Searching...
No Matches
openswmm::rdii Namespace Reference

Classes

struct  ExpDecayParams
 
struct  RDIIGroupSoA
 
class  RDIISolver
 
struct  UHResponseData
 
struct  UnitHydParams
 

Functions

double getRecoveryRate (const ExpDecayParams &dp, double T_celsius)
 
double updateIA_exp (const UnitHydParams &uh, UHResponseData &rd, const ExpDecayParams &dp, int month, int response, double rainDepth, double dt_sec, const SimulationContext &ctx)
 

Function Documentation

◆ getRecoveryRate()

double openswmm::rdii::getRecoveryRate ( const ExpDecayParams & dp,
double T_celsius )

Additive recovery rate k_rec(T) = k_0 + k_T * exp(theta_rec * (T - T_ref)), suppressed (returns 0) strictly below T_freeze. T in deg Celsius. Exposed for unit testing against the reference IAModel implementation.

Here is the caller graph for this function:

◆ updateIA_exp()

double openswmm::rdii::updateIA_exp ( const UnitHydParams & uh,
UHResponseData & rd,
const ExpDecayParams & dp,
int month,
int response,
double rainDepth,
double dt_sec,
const SimulationContext & ctx )

One exponential-IA update step: mass-consistent depletion when rainDepth > 0, temperature-dependent recovery otherwise. Returns the excess rainfall depth (project rain-depth units). Exposed for unit testing against the reference IAModel implementation.

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