Posts

Showing posts with the label How to add a volume variable to SWMM 5

How to add a volume variable to SWMM 5

Subject:  How to add a volume variable to SWMM 5 The purpose of this email is to explain how to add another print variable to the DOS version of SWMM 5 so that it can saved in a table in the text output file (after you recompile the modified C code).  The changes have no impact on the SWMM 5 GUI or the SWMM 5 DLL engine. It is relatively simple five step procedure : Step 1:   Add a new variable   LINK_VOLUME   at the end of the link variables in enums.h This is much easier if you just add a report variable that already is part of the link or node structure in objects.h  Your only restriction is that is should be added before the water quality variables.  //   increase by 1 the value of Max  Results in enums.h   #define MAX_LINK_RESULTS   7       enum LinkResultType {       LINK_FLOW,          ...