OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
Culvert.hpp File Reference

Culvert inlet control — FHWA HEC-5 equations. More...

#include <vector>
Include dependency graph for Culvert.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openswmm::culvert::CulvertCoeffs
 

Namespaces

namespace  openswmm
 
namespace  openswmm::culvert
 

Functions

CulvertCoeffs openswmm::culvert::getCoeffs (int culvert_code)
 Copy an FHWA culvert inlet coefficient record.
 
double openswmm::culvert::getInflow (double q0, double y, const XSectParams &xs, double slope, int code, double &dqdh, bool &controls)
 Apply an FHWA inlet-capacity limit to a proposed conduit flow.
 

Detailed Description

Culvert inlet control — FHWA HEC-5 equations.

Three flow regimes:

  • Unsubmerged (y <= 0.95*yFull): Q = AD * (h/yFull/K)^(1/M)
  • Transition: linear interpolation
  • Submerged (y >= y2): Q = AD * sqrt((h/yFull - Y + scf) / C)

Batch: classify all culverts by regime, compute flow per regime group.

Note
Legacy reference: src/legacy/engine/culvert.c
Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License
Apache-2.0