![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
OpenSWMM Engine — Statistics Query C API. More...
#include "openswmm_engine.h"Go to the source code of this file.
Functions | |
| SWMM_ENGINE_API int | swmm_stat_node_max_depth (SWMM_Engine engine, int idx, double *val) |
| Maximum depth at a node (project length units). | |
| SWMM_ENGINE_API int | swmm_stat_node_max_overflow (SWMM_Engine engine, int idx, double *val) |
| Maximum overflow rate at a node (project flow units). | |
| SWMM_ENGINE_API int | swmm_stat_node_vol_flooded (SWMM_Engine engine, int idx, double *val) |
| Total volume flooded at a node (project volume units). | |
| SWMM_ENGINE_API int | swmm_stat_node_time_flooded (SWMM_Engine engine, int idx, double *val) |
| Total time flooded at a node (hours). | |
| SWMM_ENGINE_API int | swmm_stat_link_max_flow (SWMM_Engine engine, int idx, double *val) |
| Maximum flow in a link (project flow units). | |
| SWMM_ENGINE_API int | swmm_stat_link_max_velocity (SWMM_Engine engine, int idx, double *val) |
| Maximum velocity in a link (project length/time units). | |
| SWMM_ENGINE_API int | swmm_stat_link_max_filling (SWMM_Engine engine, int idx, double *val) |
| Maximum depth/full-depth ratio in a link. | |
| SWMM_ENGINE_API int | swmm_stat_link_vol_flow (SWMM_Engine engine, int idx, double *val) |
| Total volume conveyed through a link (project volume units). | |
| SWMM_ENGINE_API int | swmm_stat_link_surcharge_time (SWMM_Engine engine, int idx, double *val) |
| Total surcharge time for a link (hours). | |
| SWMM_ENGINE_API int | swmm_stat_subcatch_precip (SWMM_Engine engine, int idx, double *val) |
| Total precipitation volume at a subcatchment (project volume units). | |
| SWMM_ENGINE_API int | swmm_stat_subcatch_runoff_vol (SWMM_Engine engine, int idx, double *val) |
| Total runoff volume from a subcatchment (project volume units). | |
| SWMM_ENGINE_API int | swmm_stat_subcatch_max_runoff (SWMM_Engine engine, int idx, double *val) |
| Maximum runoff rate from a subcatchment (project flow units). | |
| SWMM_ENGINE_API int | swmm_stat_node_max_depth_bulk (SWMM_Engine engine, double *buf, int count) |
| Get maximum depth for all nodes into a caller-supplied buffer. | |
| SWMM_ENGINE_API int | swmm_stat_link_max_flow_bulk (SWMM_Engine engine, double *buf, int count) |
| Get maximum flow for all links into a caller-supplied buffer. | |
| SWMM_ENGINE_API int | swmm_stat_subcatch_runoff_vol_bulk (SWMM_Engine engine, double *buf, int count) |
| Get total runoff volume for all subcatchments into a caller-supplied buffer. | |
OpenSWMM Engine — Statistics Query C API.
Provides functions for querying cumulative statistics for nodes, links, and subcatchments after (or during) simulation.
| SWMM_ENGINE_API int swmm_stat_link_max_filling | ( | SWMM_Engine | engine, |
| int | idx, | ||
| double * | val | ||
| ) |
Maximum depth/full-depth ratio in a link.
| SWMM_ENGINE_API int swmm_stat_link_max_flow | ( | SWMM_Engine | engine, |
| int | idx, | ||
| double * | val | ||
| ) |
Maximum flow in a link (project flow units).
| SWMM_ENGINE_API int swmm_stat_link_max_flow_bulk | ( | SWMM_Engine | engine, |
| double * | buf, | ||
| int | count | ||
| ) |
Get maximum flow for all links into a caller-supplied buffer.
| SWMM_ENGINE_API int swmm_stat_link_max_velocity | ( | SWMM_Engine | engine, |
| int | idx, | ||
| double * | val | ||
| ) |
Maximum velocity in a link (project length/time units).
| SWMM_ENGINE_API int swmm_stat_link_surcharge_time | ( | SWMM_Engine | engine, |
| int | idx, | ||
| double * | val | ||
| ) |
Total surcharge time for a link (hours).
| SWMM_ENGINE_API int swmm_stat_link_vol_flow | ( | SWMM_Engine | engine, |
| int | idx, | ||
| double * | val | ||
| ) |
Total volume conveyed through a link (project volume units).
| SWMM_ENGINE_API int swmm_stat_node_max_depth | ( | SWMM_Engine | engine, |
| int | idx, | ||
| double * | val | ||
| ) |
Maximum depth at a node (project length units).
| SWMM_ENGINE_API int swmm_stat_node_max_depth_bulk | ( | SWMM_Engine | engine, |
| double * | buf, | ||
| int | count | ||
| ) |
Get maximum depth for all nodes into a caller-supplied buffer.
| SWMM_ENGINE_API int swmm_stat_node_max_overflow | ( | SWMM_Engine | engine, |
| int | idx, | ||
| double * | val | ||
| ) |
Maximum overflow rate at a node (project flow units).
| SWMM_ENGINE_API int swmm_stat_node_time_flooded | ( | SWMM_Engine | engine, |
| int | idx, | ||
| double * | val | ||
| ) |
Total time flooded at a node (hours).
| SWMM_ENGINE_API int swmm_stat_node_vol_flooded | ( | SWMM_Engine | engine, |
| int | idx, | ||
| double * | val | ||
| ) |
Total volume flooded at a node (project volume units).
| SWMM_ENGINE_API int swmm_stat_subcatch_max_runoff | ( | SWMM_Engine | engine, |
| int | idx, | ||
| double * | val | ||
| ) |
Maximum runoff rate from a subcatchment (project flow units).
| SWMM_ENGINE_API int swmm_stat_subcatch_precip | ( | SWMM_Engine | engine, |
| int | idx, | ||
| double * | val | ||
| ) |
Total precipitation volume at a subcatchment (project volume units).
| SWMM_ENGINE_API int swmm_stat_subcatch_runoff_vol | ( | SWMM_Engine | engine, |
| int | idx, | ||
| double * | val | ||
| ) |
Total runoff volume from a subcatchment (project volume units).
| SWMM_ENGINE_API int swmm_stat_subcatch_runoff_vol_bulk | ( | SWMM_Engine | engine, |
| double * | buf, | ||
| int | count | ||
| ) |
Get total runoff volume for all subcatchments into a caller-supplied buffer.