One of the most powerful InfoSWMM and H2OMAP SWMM Application Tools from Innovyze is RDII Analyst.ย RDII Analyst will separate out the Groundwater base flow, Dry Weather Flow (DWF), DWF Patterns, estimate the Wet Weather flow component or RDIIย Rainfall -Derived Infiltration Inflow (I&I) and use a Genetic Algorithm to findย the best fit 12 RTK parameters for RDII modeling.ย This powerful tool canย be used for RTK flow in InfoSWMM, H2OMAP SWMM, InfoSewer, SWMM 5 and InfoWorks ICM.ย Figure 1 shows one of theย end results of RDII Analyst โ a correlation plot of Observed versus Calibrated RDII Volume for the simulated events.

RDII Analyst is a significant improvement over the EPA SSOAP program, performs QA/QC of rainfall and flow monitoring data and decomposes the flow data into Dry-Weatherย Flow (DWF) and Wet-Weather Flow (RDII) components using criteria such as rainfall threshold. The DWF component is further analyzed to construct a DWF pattern that can be used to simulate the collection system using InfoSWMM. The DWF pattern is then assigned to the source nodes that contribute DWF to the meter location in proportion to sewershed areas or based on other criteria. The RDII component is then analyzed to determine RDII events and to calibrate parameters of the RTK synthetic unit hydrograph so that the RDII flow simulated by the RTK method closely matches the RDII flow obtained by the decomposition process. The RTK unit hydrograph parameters are calibrated with genetic algorithm optimization. The calibrated RTK parameters and the DWF patterns are then passed to InfoSWMM to carry out detailed dynamic flow routing through the sewer system and evaluate system response to support the development of an optimal capital improvement program. You can read the World Environmental and Water Resources Congress paper by Misgana and Boulos (2008) with a complete description and validation of the RDII Analyst workflow process for bothย RDII Analyst and for the InfoSWMM Calibratorย Add-On in the InfoSWMM Suite (Boulos, 2005)

The steps in using RDII Analyst are both simple and powerful, the main steps are:

- Import flow monitoring data and rainfall data into RDII Analyst
- Perform QA/QC for the flow data and the rainfall data
- Determine dry day flows and create hourly DWF pattern for weekend and weekdays
- Determine the groundwater flow component of the dry days flows
- Determine RDII flow time series
- Identify RDII events, and perform linear regression analysis on the RDII depth and rainfall depth calculated for each RDII event
- Run Genetic Algorithms based calibration of the RTK hydrograph parameters and review calibration results
- Export the DWF patterns, the GWF time series and the calibrated RTK parameters to InfoSWMM

In this overview of the steps in the remainder of the blog post, youโll learn how the RDII Analyst tool works in general and what terminology is used to describe each step. This is recommended reading for anyone who is new to RDII Analyst.ย If you are experienced in RDII decomposition, you can probably just skim it when needed.

## Step 1.ย Define the Flow and Rainfall Data

The flow and rainfall data are imported by each monitored Node location. ย The flow and ย rainfall format are defined along with the monitored data time intervals. ย The rainfall and flow do not have to be at the same interval or cover exactly the same time period.ย The Flow Data Tab displays the flow data that has been read from the flow data file. The display consists of the data area showing Date Time and Value field that is read from the data file.ย The Rainfall Data Tab displays the flow data that has been read from the rainfall data file. The display consists of the data area showing Date Time and Value field that is read from the data file.

## Step 2.ย DWF Extraction

The DWF Mean and Patterns are extracted from the Flow Time Series and the residual is used as the basis of the RTK parameter estimation.ย The dry day flows identified for weekdays and the weekend are further analyzed to determine hourly DWF patterns that can be used to model DWF in InfoSWMM . The DWF pattern presents average hourly DWF values across all dry days for both weekdays and weekend. The DWF pattern is given both graphically and in report form as shown below. The DWF patterns can be exported to InfoSWMM and are assigned to nodes that contribute flow to the meter location proportional to sewershed area or equally among all nodes.

Once determined, the dry days flows are presented both in report form and in graph form for weekend and for weekdays as shown below. The graph shows average daily flow for each dry day, and upper bound and the lower bounds. The upper bound refers to mean flow of all dry day flows plus standard deviation multiplier *standard deviation of dry day flows. The lower bound refers to mean flow of all dry day flows minus standard deviation multiplier *standard deviation of dry day flows. The bounds help the user visually identify outliers and, if necessary, discard those days from further consideration.

## Step 3.ย Ground Water Base Flow Extraction

The DWF Mean and Patterns are extracted from the Flow Time Series and the residual is used as the basis of the RTK parameter estimation. ย As part of the DWF Extraction, the GW flow can be estimated and later exported to InfoSWMM and a Time Series (Figure 7). The groundwater flow time series can be exported to InfoSWMM as external inflow and can be assigned to nodes that contribute flow to the meter location proportional to sewershed area or equally among all nodes.

## Step 4.ย Export DWF Pattern and DWF Means to the Domain in InfoSWMM

Assign DWF Pattern: This tool assigns the hourly DWF patterns developed for weekdays and weekends to InfoSWMM nodes that contribute flow to the monitoring site. The DWF pattern is allocated to the contributing nodes either proportional to sewershed area of each contributing node, or simply equally among all contributing nodes. The user must assign an ID to be used as the weekday and weekend pattern name. The assignment could be limited to nodes in a domain by checking the Assign to Domain Nodes option.

## Step 5.ย Create the RDIII or Wet Weather Time Series

RDII flow is the difference between the corrected monitoring flow data, and the sum of average hourly DWF pattern and the groundwater flow time series. Once the hourly DWF pattern and the groundwater flow components are identified, the sum of the two components would be subtracted from the corrected flow data to determine the RDII flow component.

## Step 6.ย Calibrate the 12 RDII Parameters

One of the objectives of decomposing flow monitoring data into dry weather flow and wet weather flow components is to improve the accuracy of modeling the wet-weather flow component. In *H2OMAP SWMM*, RDII flow is modeled using the RTK method as previously described. The RTK method requires definition of up to 12 parameters. Proper choice of these parameters is crucial for accurate modeling of the RDII flow. Traditionally, RDII UH parameters are assigned using a tedious and inexact trial-and-error process in which the parameters are manually adjusted in an iterative fashion to closely match wet-weather flow data with the RDII flow generated by the simulation model using the assumed RTK parameters. Since there are a vast number of possible combinations of RTK values, evaluating all options this way may not be manageable, and even knowledgeable modelers often fail to obtain good results. *RDII Analyst* uses Genetic Algorithms (GA) optimization to automatically determine the UH parameters that best match the RDII time series generated by the *RDII Analyst* with the RDII flow estimated using H2OMAP SWMM.

The RDII calibration tool is launched using *Analysis* -> *Calibrate RDII Parameters* or using from tools. Minimum and maximum value for each parameter should be defined using the *RTK Parameters Range* dialog editor.

The calibration tool systematically searches for the best set of parameters that matches the RDII flow simulated by H2OMAP SWMM with RDII time series determined by the decomposition process. The parameter values would be searched within the minimum and the maximum ranges assigned by the user on dialog editor shown above. The model would adjust the nominal parameter values assigned by the user on *H2OMAP SWMM* RDII hydrograph dialog editor (see below) by a randomly selected multiplier within the range assigned for the parameter and chooses the optimal set of adjustments. The *Tributary Area* may be taken from the sewershed area defined in *H2OMAP SWMM*โs Hydrograph page, or the user can directly specify area of the tributary sewersheds. In addition, the user has the option to use sewershed area of the nodes defined in a domain. The *Ensure that R1>R2>R3* option ensures that the RDII flow contributed by the first triangle (fast flow contribution) would be higher than contribution of the second triangle (intermediate flow), and contribution of the second triangle would be higher than that of the third triangle (slow flow).

*Domain Node* option is checked, sewershed area of the nodes included in the domain will be considered. Nodes in the domain will not contribute sewershed area. Once the parameters are assigned, hitting the *OK* button would initiate the calibration dialog box (see below).

*Options*: Some Genetic Algorithms (GAs) parameters may be defined using the options page initiated by clicking the *Options* button on the *Calibrate RDII Parameters* dialog box.

*Initial Population*: Represents the number of initial solution candidates considered by the GAs calibrator. Each solution candidate contains a value H2OMAP SWMM the assigned range for each RTK parameters. The higher the *Initial Population,* the better the calibration results would be. However, the calibration process takes more run time as the number of population increases.

*Max. Generation*: Represents the maximum number of iterations required to complete the calibration process. One generation represents running the model for *initial population* number of times, and each simulation represents different solution candidates. The higher the maximum generation, the better the chance of improving the calibration. Again, the improvement comes at the cost of more calibration run time. The calibration process can stop before reaching the maximum generation if there is no improvement in results from generation to generation.

*Mutation Rate*: represents the percentage of solution candidates whose one or more parameter values needs to be randomly altered to inject new and potentially better solution candidates into the search process during each generation. The value must be within zero and one, and typical value is 0.1.

*Calibration Results:* Upon completing the calibration run, the best RTK parameter values would be reported as shown below. The percentage adjustment and then actual parameter values suggested are reported in the last two columns. In addition, graphical comparison of the RDII flow generated by the calibrated parameters and the RDII time series generated by the decomposition process would be provided to visually analyze the calibration results

## Step 7.ย Examine the Calibration Report

The number of trial runs made so far, the maximum number of trials to be made and the best fitness obtained from the trail runs made so far would be shown while the model is running. If there is no significant improvement in the fitness for some time (i.e., from generation to generation), then the calibration process would be stopped. Once the calibration run is completed, the RDII flow simulated by the optimal RTK parameters identified by the calibration process would be compared graphically with the RDII time series obtained from the decomposition process. In addition, the optimal RTK parameters identified by the model would also be presented in table form.

RDII Analyst can further analyze the RDII time series to identify RDII events. Breaking RDII time series into separate events can enable a better understanding of the RDII process and aid in process of calibrating the model. Event definition depends on the values assigned for the inputs given in the *RDII EVENT IDENTIFICATION* dialog box shown below.

*Minimum Rainfall Volume*: represents the minimum rainfall depth that needs to be collected from โcontinuousโ rain to initiate an event. By continuous rain, it means that for two rainfall occurrences to be considered as one event the time interval between the successive rains should not exceed the *interevent time threshold* defined by the user.

*Minimum RDII Flow*: represents the minimum RDII flow that should be generated as the result of the rainfall collected over the duration to accept the occurrence as an event.

*Minimum Length of the Event (hr)*: refers to the minimum length of time that the RDII flow should exceed the *minimum RDII flow* for the occurrence to be accepted as an event.

*Interevent Time Threshold (hr)*: refers to the length of time needed to separate two successive events. If two rainfall occurrences are separated by duration shorter than the *Interevent Time Threshold,* then the two rainfall occurrences are considered as one event.

*Length of Time for Rain to become RDII (hr)*: This input refers to average time span for a rainfall event to start contributing RDII to the collection system. Depending on this input, the RDII event identification algorithm tests if an RDII flow has occurred within the *Length of Time for Rain to become RDII (hr)* after a rainfall event.

*Tributary Area*: This input is used to compute RDII flow depth based on RDII flow volume determined for each event. *RDII Analyst* can use the sewershed area defined in InfoSWMMโs RTK Hydrograph page, or the user can directly specify area of the tributary sewersheds. In addition, the user has the option to use sewershed area of the nodes defined in a domain. If the *Use Domain Node* option is checked, sewershed area of the nodes included in the domain will be considered. Nodes in the domain will not contribute sewershed area.

## Step 8. RDII Event Analysis Results

Linear Regression Results: A linear regression equation is developed between the RDII depth and rainfall depth identified for each event. Slope of the regression equation represents the fraction of rainfall depth that enters the sewer system in the form of RDII (i.e., a representative R for all events).

## Step 9.ย Export the RDII RTK Parameters to InfoSWMM

This function assigns either the RTK parameters determined by the calibration tool or the RDII time series determined by decomposing the flow monitoring data to InfoSWMM nodes that contribute flow to the monitoring site. The RTK parameters could be exported to InfoSWMM and assigned to RDII hydrographs for each contributing node. The time series is assigned to the nodes as external inflow. The RDII time series is allocated to the contributing nodes either proportional to sewershed area of each contributing node, or simply equally among all contributing nodes. The user must provide a name for the Hydrograph and/or the Time Series. The assignment could be limited to nodes in a domain by checking the Assign to Domain Nodes option. Please note that if both the GWF time series and the RDII time series are exported into InfoSWMM , only the time series exported last would be available for use. InfoSWMM takes only one exported external inflow time series at a time.