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

Roadway weir overflow — FHWA HDS-5 (legacy roadway.c, op for op). More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  openswmm
 
namespace  openswmm::roadway
 

Functions

double openswmm::roadway::getInflow (double dir, double h_road, double h1, double h2, double cd_user, bool si, double road_width, int road_surf, double length, double &dqdh, double &depth)
 legacy roadway_getInflow: flow across a roadway weir.
 

Variables

constexpr int openswmm::roadway::SURFACE_NONE = 0
 legacy roadway.c RoadSurface: 0 = none (user Cd), 1 = PAVED, 2 = GRAVEL.
 
constexpr int openswmm::roadway::SURFACE_PAVED = 1
 
constexpr int openswmm::roadway::SURFACE_GRAVEL = 2
 

Detailed Description

Roadway weir overflow — FHWA HDS-5 (legacy roadway.c, op for op).

Q = Cd * L * hWr^1.5 over the road crest. With a road width and surface the coefficient is the HDS-5 curve value: Cr from the HEAD (ft) when head / width <= 0.15, from the ratio above that, times the submergence factor Kt(ht / hWr); without them the user's Cd (SI decks: / 0.552).

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