![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Classes | |
| struct | CulvertCoeffs |
| Culvert curve coefficients (K, M, C, Y) per type code. More... | |
Functions | |
| CulvertCoeffs | getCoeffs (int culvert_code) |
| Get coefficients for a culvert type code (1-57). | |
| double | getInflow (double q_proposed, double head, double y_full, double a_full, double slope, int code, double &dqdh) |
| Compute culvert inlet-controlled inflow. | |
| void | batchComputeInletControl (const int *link_indices, int n, SimulationContext &ctx) |
| Batch compute culvert inlet control for all culvert links. | |
| void openswmm::culvert::batchComputeInletControl | ( | const int * | link_indices, |
| int | n, | ||
| SimulationContext & | ctx | ||
| ) |
Batch compute culvert inlet control for all culvert links.
| link_indices | Indices of culvert links. |
| n | Number of culvert links. |
| ctx | Simulation context. |
| CulvertCoeffs openswmm::culvert::getCoeffs | ( | int | code | ) |
Get coefficients for a culvert type code (1-57).
| double openswmm::culvert::getInflow | ( | double | q_proposed, |
| double | head, | ||
| double | y_full, | ||
| double | a_full, | ||
| double | slope, | ||
| int | code, | ||
| double & | dqdh | ||
| ) |
Compute culvert inlet-controlled inflow.
| q_proposed | Proposed flow from routing (cfs). | |
| head | Upstream head above invert (ft). | |
| y_full | Full depth of culvert (ft). | |
| a_full | Full area (ft2). | |
| slope | Conduit slope. | |
| code | Culvert type code. | |
| [out] | dqdh | Derivative dQ/dH. |