![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
SoA storage for LID usage assignments to subcatchments. More...
#include <HydrologyData.hpp>
Public Member Functions | |
| int | count () const |
| Count LidUsageStore rows from the subcatch_index column. | |
| void | resize_wb (int n) |
| Replace all LID usage water-balance columns with zero totals. | |
Public Attributes | |
| std::vector< int > | subcatch_index |
| Subcatchment index. | |
| std::vector< int > | lid_index |
| Index into LidControlStore. | |
| std::vector< int > | number |
| Number of replicate units. | |
| std::vector< double > | area |
| Area of each unit (ft2 or m2) | |
| std::vector< double > | width |
| Top width of overland flow (ft or m) | |
| std::vector< double > | init_sat |
| Initial saturation (0–1) | |
| std::vector< double > | from_imperv |
| % of impervious area routed to LID | |
| std::vector< int > | to_perv |
| std::vector< FilePathPair > | rpt_file |
| std::vector< std::string > | drain_to |
| Drain-to subcatchment name (optional) | |
| std::vector< double > | from_perv |
| % of pervious area routed to LID | |
| std::vector< double > | wb_inflow |
| Total inflow depth (ft) | |
| std::vector< double > | wb_evap |
| Total evaporation depth (ft) | |
| std::vector< double > | wb_infil |
| Total exfiltration depth (ft) | |
| std::vector< double > | wb_surf_flow |
| Total surface outflow depth (ft) | |
| std::vector< double > | wb_drain_flow |
| Total drain outflow depth (ft) | |
| std::vector< double > | wb_init_vol |
| Initial stored depth (ft) | |
| std::vector< double > | wb_final_vol |
| Final stored depth (ft) | |
SoA storage for LID usage assignments to subcatchments.
|
inline |
Count LidUsageStore rows from the subcatch_index column.
|
inline |
Replace all LID usage water-balance columns with zero totals.
All seven balances are depths in internal feet, including SI display projects. Does not resize usage definitions or LID runtime groups; independent allocations can fail partway.
| [in] | n | Nonnegative number of usage rows; no sign guard before size_t conversion. |
| std::vector<double> openswmm::LidUsageStore::area |
Area of each unit (ft2 or m2)
| std::vector<std::string> openswmm::LidUsageStore::drain_to |
Drain-to subcatchment name (optional)
| std::vector<double> openswmm::LidUsageStore::from_imperv |
% of impervious area routed to LID
| std::vector<double> openswmm::LidUsageStore::from_perv |
% of pervious area routed to LID
| std::vector<double> openswmm::LidUsageStore::init_sat |
Initial saturation (0–1)
| std::vector<int> openswmm::LidUsageStore::lid_index |
Index into LidControlStore.
| std::vector<int> openswmm::LidUsageStore::number |
Number of replicate units.
| std::vector<FilePathPair> openswmm::LidUsageStore::rpt_file |
Per-unit LID report file (optional). A FilePathPair so the writer can re-anchor it against the destination directory on Save-As, like every other external-file slot.
| std::vector<int> openswmm::LidUsageStore::subcatch_index |
Subcatchment index.
| std::vector<int> openswmm::LidUsageStore::to_perv |
1 = route outflow to pervious area
| std::vector<double> openswmm::LidUsageStore::wb_drain_flow |
Total drain outflow depth (ft)
| std::vector<double> openswmm::LidUsageStore::wb_evap |
Total evaporation depth (ft)
| std::vector<double> openswmm::LidUsageStore::wb_final_vol |
Final stored depth (ft)
| std::vector<double> openswmm::LidUsageStore::wb_infil |
Total exfiltration depth (ft)
| std::vector<double> openswmm::LidUsageStore::wb_inflow |
Total inflow depth (ft)
| std::vector<double> openswmm::LidUsageStore::wb_init_vol |
Initial stored depth (ft)
| std::vector<double> openswmm::LidUsageStore::wb_surf_flow |
Total surface outflow depth (ft)
| std::vector<double> openswmm::LidUsageStore::width |
Top width of overland flow (ft or m)