diff --git a/src/solver/include/swmm5.h b/src/solver/include/swmm5.h index e150a74f2..f0768206d 100644 --- a/src/solver/include/swmm5.h +++ b/src/solver/include/swmm5.h @@ -84,7 +84,8 @@ typedef enum { swmm_NODE_LATFLOW = 306, swmm_NODE_INFLOW = 307, swmm_NODE_OVERFLOW = 308, - swmm_NODE_RPTFLAG = 309 + swmm_NODE_RPTFLAG = 309, + swmm_NODE_OUTFLOW = 310 } swmm_NodeProperty; typedef enum { diff --git a/src/solver/swmm5.c b/src/solver/swmm5.c index 6ff8c9b26..c503e37d5 100644 --- a/src/solver/swmm5.c +++ b/src/solver/swmm5.c @@ -1049,6 +1049,9 @@ double getNodeValue(int property, int index) return node->overflow * UCF(FLOW); case swmm_NODE_RPTFLAG: return (node->rptFlag > 0); + case swmm_NODE_OUTFLOW: + return node->outflow * UCF(FLOW); + default: return 0; }