OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
openswmm::lid::LIDGroupSoA Struct Reference

#include <LID.hpp>

Collaboration diagram for openswmm::lid::LIDGroupSoA:

Public Member Functions

void resize (int n)
 

Public Attributes

LIDType type = LIDType::BIO_CELL
 
int count = 0
 
std::vector< int > subcatch_idx
 Which subcatchment this unit belongs to.
 
std::vector< int > control_idx
 LID control index (into ctx.lid_controls)
 
std::vector< double > area
 Unit area (ft2)
 
std::vector< double > from_imperv
 Fraction of impervious runoff treated (0-1)
 
std::vector< double > from_perv
 Fraction of pervious runoff treated (0-1)
 
std::vector< int > to_perv
 Route surface outflow to pervious area (1=yes)
 
std::vector< int > drain_node
 Resolved drain-to node index (-1=none)
 
std::vector< int > drain_subcatch
 Resolved drain-to subcatch index (-1=none)
 
std::vector< double > inflow
 Per-unit inflow rate (ft/sec) — set before execute()
 
std::vector< double > surf_store
 Surface storage depth (ft)
 
std::vector< double > surf_rough
 Surface Manning's n.
 
std::vector< double > surf_slope
 Surface slope.
 
std::vector< double > soil_thick
 Soil thickness (ft)
 
std::vector< double > soil_poros
 Soil porosity.
 
std::vector< double > soil_fc
 Soil field capacity.
 
std::vector< double > soil_wp
 Soil wilting point.
 
std::vector< double > soil_ksat
 Soil saturated K (ft/sec)
 
std::vector< double > soil_kslope
 Conductivity slope.
 
std::vector< double > soil_suction
 Suction head for Green-Ampt (ft)
 
std::vector< double > stor_thick
 Storage thickness (ft)
 
std::vector< double > stor_void
 Storage void fraction.
 
std::vector< double > stor_ksat
 Storage exfiltration K (ft/sec)
 
std::vector< double > stor_clog
 Storage clogging factor (ft)
 
std::vector< int > stor_covered
 1 if rain barrel is covered (blocks rainfall)
 
std::vector< double > drain_coeff
 Drain coefficient.
 
std::vector< double > drain_expon
 Drain exponent.
 
std::vector< double > drain_offset
 Drain offset depth (ft)
 
std::vector< double > drain_delay
 Drain delay time (sec, rain barrel)
 
std::vector< double > drain_hopen
 Head to open drain valve (ft)
 
std::vector< double > drain_hclose
 Head to close drain valve (ft)
 
std::vector< int > drain_open
 Current drain valve state (1=open, 0=closed)
 
std::vector< double > pave_thick
 Pavement thickness (ft)
 
std::vector< double > pave_void
 Pavement void fraction.
 
std::vector< double > pave_imperv_frac
 Impervious fraction of pavement.
 
std::vector< double > pave_ksat
 Pavement saturated K (ft/sec)
 
std::vector< double > pave_clog_factor
 Pavement clog factor (ft of treated volume)
 
std::vector< double > pave_regen_days
 Pavement regeneration interval (days)
 
std::vector< double > pave_regen_deg
 Pavement regeneration degree (0-1)
 
std::vector< double > next_regen_day
 Next day for pavement regeneration (OADate)
 
std::vector< double > drainmat_thick
 Drainage mat thickness (ft)
 
std::vector< double > drainmat_void
 Drainage mat void fraction.
 
std::vector< double > drainmat_rough
 Drainage mat Manning's roughness.
 
std::vector< double > surf_void_frac
 Surface void fraction (default 1.0)
 
std::vector< double > surf_alpha
 Surface Manning alpha = sqrt(slope)/n.
 
std::vector< double > surf_side_slope
 Swale side slope (run/rise)
 
std::vector< double > full_width
 Full width for Manning's flow (ft)
 
std::vector< double > dry_time
 Seconds since last rainfall.
 
std::vector< double > surf_depth
 Current surface ponded depth.
 
std::vector< double > soil_moist
 Current soil moisture (0-porosity)
 
std::vector< double > stor_depth
 Current storage depth.
 
std::vector< double > pave_depth
 Current pavement depth.
 
std::vector< double > surface_runoff
 
std::vector< double > drain_flow
 
std::vector< double > evap_loss
 
std::vector< double > infil_loss
 
std::vector< double > drain_rmvl
 Removal fraction per unit per pollutant.
 
int n_pollutants = 0
 Number of pollutants (for indexing drain_rmvl)
 
std::vector< double > f_old_surf
 Previous surface flux rate.
 
std::vector< double > f_old_soil
 Previous soil flux rate.
 
std::vector< double > f_old_stor
 Previous storage flux rate.
 
std::vector< double > f_old_pave
 Previous pavement flux rate.
 
std::vector< double > wb_inflow
 Total inflow volume (ft)
 
std::vector< double > wb_evap
 Total evaporation volume (ft)
 
std::vector< double > wb_infil
 Total exfiltration volume (ft)
 
std::vector< double > wb_surf_flow
 Total surface outflow volume (ft)
 
std::vector< double > wb_drain_flow
 Total drain outflow volume (ft)
 
std::vector< double > wb_init_vol
 Initial stored volume (ft)
 
std::vector< double > wb_final_vol
 Final stored volume (ft)
 
std::vector< double > vol_treated
 Cumulative volume treated (ft, for clog model)
 

Member Function Documentation

◆ resize()

void openswmm::lid::LIDGroupSoA::resize ( int  n)

Member Data Documentation

◆ area

std::vector<double> openswmm::lid::LIDGroupSoA::area

Unit area (ft2)

◆ control_idx

std::vector<int> openswmm::lid::LIDGroupSoA::control_idx

LID control index (into ctx.lid_controls)

◆ count

int openswmm::lid::LIDGroupSoA::count = 0

◆ drain_coeff

std::vector<double> openswmm::lid::LIDGroupSoA::drain_coeff

Drain coefficient.

◆ drain_delay

std::vector<double> openswmm::lid::LIDGroupSoA::drain_delay

Drain delay time (sec, rain barrel)

◆ drain_expon

std::vector<double> openswmm::lid::LIDGroupSoA::drain_expon

Drain exponent.

◆ drain_flow

std::vector<double> openswmm::lid::LIDGroupSoA::drain_flow

◆ drain_hclose

std::vector<double> openswmm::lid::LIDGroupSoA::drain_hclose

Head to close drain valve (ft)

◆ drain_hopen

std::vector<double> openswmm::lid::LIDGroupSoA::drain_hopen

Head to open drain valve (ft)

◆ drain_node

std::vector<int> openswmm::lid::LIDGroupSoA::drain_node

Resolved drain-to node index (-1=none)

◆ drain_offset

std::vector<double> openswmm::lid::LIDGroupSoA::drain_offset

Drain offset depth (ft)

◆ drain_open

std::vector<int> openswmm::lid::LIDGroupSoA::drain_open

Current drain valve state (1=open, 0=closed)

◆ drain_rmvl

std::vector<double> openswmm::lid::LIDGroupSoA::drain_rmvl

Removal fraction per unit per pollutant.

◆ drain_subcatch

std::vector<int> openswmm::lid::LIDGroupSoA::drain_subcatch

Resolved drain-to subcatch index (-1=none)

◆ drainmat_rough

std::vector<double> openswmm::lid::LIDGroupSoA::drainmat_rough

Drainage mat Manning's roughness.

◆ drainmat_thick

std::vector<double> openswmm::lid::LIDGroupSoA::drainmat_thick

Drainage mat thickness (ft)

◆ drainmat_void

std::vector<double> openswmm::lid::LIDGroupSoA::drainmat_void

Drainage mat void fraction.

◆ dry_time

std::vector<double> openswmm::lid::LIDGroupSoA::dry_time

Seconds since last rainfall.

◆ evap_loss

std::vector<double> openswmm::lid::LIDGroupSoA::evap_loss

◆ f_old_pave

std::vector<double> openswmm::lid::LIDGroupSoA::f_old_pave

Previous pavement flux rate.

◆ f_old_soil

std::vector<double> openswmm::lid::LIDGroupSoA::f_old_soil

Previous soil flux rate.

◆ f_old_stor

std::vector<double> openswmm::lid::LIDGroupSoA::f_old_stor

Previous storage flux rate.

◆ f_old_surf

std::vector<double> openswmm::lid::LIDGroupSoA::f_old_surf

Previous surface flux rate.

◆ from_imperv

std::vector<double> openswmm::lid::LIDGroupSoA::from_imperv

Fraction of impervious runoff treated (0-1)

◆ from_perv

std::vector<double> openswmm::lid::LIDGroupSoA::from_perv

Fraction of pervious runoff treated (0-1)

◆ full_width

std::vector<double> openswmm::lid::LIDGroupSoA::full_width

Full width for Manning's flow (ft)

◆ infil_loss

std::vector<double> openswmm::lid::LIDGroupSoA::infil_loss

◆ inflow

std::vector<double> openswmm::lid::LIDGroupSoA::inflow

Per-unit inflow rate (ft/sec) — set before execute()

◆ n_pollutants

int openswmm::lid::LIDGroupSoA::n_pollutants = 0

Number of pollutants (for indexing drain_rmvl)

◆ next_regen_day

std::vector<double> openswmm::lid::LIDGroupSoA::next_regen_day

Next day for pavement regeneration (OADate)

◆ pave_clog_factor

std::vector<double> openswmm::lid::LIDGroupSoA::pave_clog_factor

Pavement clog factor (ft of treated volume)

◆ pave_depth

std::vector<double> openswmm::lid::LIDGroupSoA::pave_depth

Current pavement depth.

◆ pave_imperv_frac

std::vector<double> openswmm::lid::LIDGroupSoA::pave_imperv_frac

Impervious fraction of pavement.

◆ pave_ksat

std::vector<double> openswmm::lid::LIDGroupSoA::pave_ksat

Pavement saturated K (ft/sec)

◆ pave_regen_days

std::vector<double> openswmm::lid::LIDGroupSoA::pave_regen_days

Pavement regeneration interval (days)

◆ pave_regen_deg

std::vector<double> openswmm::lid::LIDGroupSoA::pave_regen_deg

Pavement regeneration degree (0-1)

◆ pave_thick

std::vector<double> openswmm::lid::LIDGroupSoA::pave_thick

Pavement thickness (ft)

◆ pave_void

std::vector<double> openswmm::lid::LIDGroupSoA::pave_void

Pavement void fraction.

◆ soil_fc

std::vector<double> openswmm::lid::LIDGroupSoA::soil_fc

Soil field capacity.

◆ soil_ksat

std::vector<double> openswmm::lid::LIDGroupSoA::soil_ksat

Soil saturated K (ft/sec)

◆ soil_kslope

std::vector<double> openswmm::lid::LIDGroupSoA::soil_kslope

Conductivity slope.

◆ soil_moist

std::vector<double> openswmm::lid::LIDGroupSoA::soil_moist

Current soil moisture (0-porosity)

◆ soil_poros

std::vector<double> openswmm::lid::LIDGroupSoA::soil_poros

Soil porosity.

◆ soil_suction

std::vector<double> openswmm::lid::LIDGroupSoA::soil_suction

Suction head for Green-Ampt (ft)

◆ soil_thick

std::vector<double> openswmm::lid::LIDGroupSoA::soil_thick

Soil thickness (ft)

◆ soil_wp

std::vector<double> openswmm::lid::LIDGroupSoA::soil_wp

Soil wilting point.

◆ stor_clog

std::vector<double> openswmm::lid::LIDGroupSoA::stor_clog

Storage clogging factor (ft)

◆ stor_covered

std::vector<int> openswmm::lid::LIDGroupSoA::stor_covered

1 if rain barrel is covered (blocks rainfall)

◆ stor_depth

std::vector<double> openswmm::lid::LIDGroupSoA::stor_depth

Current storage depth.

◆ stor_ksat

std::vector<double> openswmm::lid::LIDGroupSoA::stor_ksat

Storage exfiltration K (ft/sec)

◆ stor_thick

std::vector<double> openswmm::lid::LIDGroupSoA::stor_thick

Storage thickness (ft)

◆ stor_void

std::vector<double> openswmm::lid::LIDGroupSoA::stor_void

Storage void fraction.

◆ subcatch_idx

std::vector<int> openswmm::lid::LIDGroupSoA::subcatch_idx

Which subcatchment this unit belongs to.

◆ surf_alpha

std::vector<double> openswmm::lid::LIDGroupSoA::surf_alpha

Surface Manning alpha = sqrt(slope)/n.

◆ surf_depth

std::vector<double> openswmm::lid::LIDGroupSoA::surf_depth

Current surface ponded depth.

◆ surf_rough

std::vector<double> openswmm::lid::LIDGroupSoA::surf_rough

Surface Manning's n.

◆ surf_side_slope

std::vector<double> openswmm::lid::LIDGroupSoA::surf_side_slope

Swale side slope (run/rise)

◆ surf_slope

std::vector<double> openswmm::lid::LIDGroupSoA::surf_slope

Surface slope.

◆ surf_store

std::vector<double> openswmm::lid::LIDGroupSoA::surf_store

Surface storage depth (ft)

◆ surf_void_frac

std::vector<double> openswmm::lid::LIDGroupSoA::surf_void_frac

Surface void fraction (default 1.0)

◆ surface_runoff

std::vector<double> openswmm::lid::LIDGroupSoA::surface_runoff

◆ to_perv

std::vector<int> openswmm::lid::LIDGroupSoA::to_perv

Route surface outflow to pervious area (1=yes)

◆ type

LIDType openswmm::lid::LIDGroupSoA::type = LIDType::BIO_CELL

◆ vol_treated

std::vector<double> openswmm::lid::LIDGroupSoA::vol_treated

Cumulative volume treated (ft, for clog model)

◆ wb_drain_flow

std::vector<double> openswmm::lid::LIDGroupSoA::wb_drain_flow

Total drain outflow volume (ft)

◆ wb_evap

std::vector<double> openswmm::lid::LIDGroupSoA::wb_evap

Total evaporation volume (ft)

◆ wb_final_vol

std::vector<double> openswmm::lid::LIDGroupSoA::wb_final_vol

Final stored volume (ft)

◆ wb_infil

std::vector<double> openswmm::lid::LIDGroupSoA::wb_infil

Total exfiltration volume (ft)

◆ wb_inflow

std::vector<double> openswmm::lid::LIDGroupSoA::wb_inflow

Total inflow volume (ft)

◆ wb_init_vol

std::vector<double> openswmm::lid::LIDGroupSoA::wb_init_vol

Initial stored volume (ft)

◆ wb_surf_flow

std::vector<double> openswmm::lid::LIDGroupSoA::wb_surf_flow

Total surface outflow volume (ft)


The documentation for this struct was generated from the following files: