26#ifndef OPENSWMM_SIMULATION_SNAPSHOT_HPP
27#define OPENSWMM_SIMULATION_SNAPSHOT_HPP
171 const std::vector<std::string>*
node_ids =
nullptr;
174 const std::vector<std::string>*
link_ids =
nullptr;
180 const std::vector<std::string>*
gage_ids =
nullptr;
Definition NodeCoupling.cpp:15
Snapshot of rain gage state at an output time step.
Definition SimulationSnapshot.hpp:79
std::vector< double > rainfall
Current rainfall rate [project rate units].
Definition SimulationSnapshot.hpp:80
Snapshot of link state at an output time step.
Definition SimulationSnapshot.hpp:52
std::vector< double > flow
Flow rate [internal flow units].
Definition SimulationSnapshot.hpp:53
std::vector< double > capacity
Full-flow capacity fraction [0, 1].
Definition SimulationSnapshot.hpp:57
std::vector< double > velocity
Mean velocity [internal length/time].
Definition SimulationSnapshot.hpp:55
std::vector< double > volume
Link volume [internal volume units].
Definition SimulationSnapshot.hpp:56
std::vector< double > depth
Water depth [internal length units].
Definition SimulationSnapshot.hpp:54
Snapshot of node state at an output time step.
Definition SimulationSnapshot.hpp:39
std::vector< double > volume
Stored volume [project volume units].
Definition SimulationSnapshot.hpp:42
std::vector< double > lateral_inflow
Lateral inflow [project flow units].
Definition SimulationSnapshot.hpp:43
std::vector< double > total_inflow
Total inflow [project flow units].
Definition SimulationSnapshot.hpp:44
std::vector< double > head
Hydraulic head [project length units].
Definition SimulationSnapshot.hpp:41
std::vector< double > overflow
Overflow / surcharge [project flow units].
Definition SimulationSnapshot.hpp:45
std::vector< double > depth
Water depth [project length units].
Definition SimulationSnapshot.hpp:40
Complete simulation state snapshot at one output time step.
Definition SimulationSnapshot.hpp:92
std::vector< double > subcatch_quality
Subcatchment pollutant loadings.
Definition SimulationSnapshot.hpp:164
const std::vector< std::string > * gage_ids
Gage IDs in index order.
Definition SimulationSnapshot.hpp:180
std::vector< double > surface_edge_flux
Normal flux through each edge, flat [tri*3+edge].
Definition SimulationSnapshot.hpp:228
SubcatchSnapshot subcatch
Subcatchment state.
Definition SimulationSnapshot.hpp:122
LinkSnapshot links
Link state.
Definition SimulationSnapshot.hpp:121
GageSnapshot gages
Gage state.
Definition SimulationSnapshot.hpp:123
int surface_vert_count
Number of vertices (nodes)
Definition SimulationSnapshot.hpp:217
const char * flow_units
Flow unit string (e.g., "CFS", "LPS").
Definition SimulationSnapshot.hpp:190
double sys_gw_inflow
Total groundwater inflow.
Definition SimulationSnapshot.hpp:136
double sys_ext_inflow
Total external inflow.
Definition SimulationSnapshot.hpp:138
std::vector< double > surface_grad_hy
Unlimited head gradient ∂h/∂y, per face.
Definition SimulationSnapshot.hpp:222
int link_count
Number of links.
Definition SimulationSnapshot.hpp:111
std::vector< double > surface_rainfall
Rainfall intensity (m/s), per face.
Definition SimulationSnapshot.hpp:225
double sys_pet
Potential evapotranspiration.
Definition SimulationSnapshot.hpp:142
double sys_outflow
Total outflow.
Definition SimulationSnapshot.hpp:140
int flow_units_code
Flow units code (FlowUnits enum value: 0=CFS, 3=CMS, etc.).
Definition SimulationSnapshot.hpp:196
double sim_time
Simulation date/time (SWMM DateTime: days since 12/31/1899).
Definition SimulationSnapshot.hpp:98
std::vector< double > surface_coupling_flux
Coupling flux to SWMM node (m/s, + = into 2D), per face.
Definition SimulationSnapshot.hpp:226
int gage_count
Number of rain gages.
Definition SimulationSnapshot.hpp:113
std::vector< double > surface_grad_hy_lim
Slope-limited head gradient ∂h/∂y, per face.
Definition SimulationSnapshot.hpp:224
std::vector< double > surface_net_source
Net source/sink (m/s), per face.
Definition SimulationSnapshot.hpp:227
double sys_storage
Total storage volume.
Definition SimulationSnapshot.hpp:141
std::vector< double > node_quality
Node pollutant concentrations.
Definition SimulationSnapshot.hpp:153
int subcatch_count
Number of subcatchments.
Definition SimulationSnapshot.hpp:112
int pollut_count
Number of pollutants.
Definition SimulationSnapshot.hpp:114
double sys_runoff
Total runoff flow.
Definition SimulationSnapshot.hpp:134
int output_step_index
Sequential output step index (0-based).
Definition SimulationSnapshot.hpp:104
int node_count
Number of nodes.
Definition SimulationSnapshot.hpp:110
std::vector< double > surface_depth
Overland flow depth ψ_o (m), per face.
Definition SimulationSnapshot.hpp:219
const std::vector< std::string > * link_ids
Link IDs in index order.
Definition SimulationSnapshot.hpp:174
std::int64_t wall_time_unix
Wall-clock Unix timestamp when snapshot was taken.
Definition SimulationSnapshot.hpp:101
double sys_evap
Total evaporation loss.
Definition SimulationSnapshot.hpp:132
const std::vector< std::string > * node_ids
Node IDs in index order. Pointer to engine-managed strings.
Definition SimulationSnapshot.hpp:171
double sys_rainfall
Average rainfall over all gages.
Definition SimulationSnapshot.hpp:130
double sys_ii_inflow
Total RDII inflow.
Definition SimulationSnapshot.hpp:137
double sys_infil
Total infiltration loss.
Definition SimulationSnapshot.hpp:133
std::vector< double > surface_grad_hx
Unlimited head gradient ∂h/∂x, per face.
Definition SimulationSnapshot.hpp:221
const char * length_units
Length unit string (e.g., "FEET", "METERS").
Definition SimulationSnapshot.hpp:193
const std::vector< std::string > * pollut_names
Pollutant names in index order.
Definition SimulationSnapshot.hpp:183
std::vector< double > surface_grad_hx_lim
Slope-limited head gradient ∂h/∂x, per face.
Definition SimulationSnapshot.hpp:223
double sys_snow_depth
Total snow depth.
Definition SimulationSnapshot.hpp:131
std::vector< double > surface_head
Total head h_o = z_s + ψ_o (m), per face.
Definition SimulationSnapshot.hpp:220
double sys_flooding
Total flooding.
Definition SimulationSnapshot.hpp:139
const std::vector< std::string > * subcatch_ids
Subcatchment IDs in index order.
Definition SimulationSnapshot.hpp:177
int surface_tri_count
Number of triangles (faces)
Definition SimulationSnapshot.hpp:216
double sys_temperature
Air temperature.
Definition SimulationSnapshot.hpp:129
NodeSnapshot nodes
Node state.
Definition SimulationSnapshot.hpp:120
std::vector< double > link_quality
Link pollutant concentrations.
Definition SimulationSnapshot.hpp:159
std::vector< double > surface_vert_head
Reconstructed head at vertices (m)
Definition SimulationSnapshot.hpp:229
double sys_dw_inflow
Total dry weather inflow.
Definition SimulationSnapshot.hpp:135
Snapshot of subcatchment state at an output time step.
Definition SimulationSnapshot.hpp:64
std::vector< double > soil_moist
Soil moisture [-].
Definition SimulationSnapshot.hpp:72
std::vector< double > rainfall
Rainfall rate [internal rate units].
Definition SimulationSnapshot.hpp:65
std::vector< double > infil
Infiltration [internal rate units].
Definition SimulationSnapshot.hpp:68
std::vector< double > runoff
Surface runoff [internal flow units].
Definition SimulationSnapshot.hpp:69
std::vector< double > gw_flow
Groundwater outflow [internal flow units].
Definition SimulationSnapshot.hpp:70
std::vector< double > evap
Evaporation [internal rate units].
Definition SimulationSnapshot.hpp:67
std::vector< double > gw_elev
Groundwater elevation [internal length units].
Definition SimulationSnapshot.hpp:71
std::vector< double > snow_depth
Snow depth [internal length units].
Definition SimulationSnapshot.hpp:66