Abstract
- Top of page
- Abstract
- 1. Introduction
- 2. Objectives
- 3. Methodology Overview
- 4. Models and Tools
- 5. Spatial and Temporal Linking
- 6. Stochastic Modeling
- 7. Modeling Environment
- 8. Case Study Example
- 9. Summary and Conclusions
- Appendix A
- Acknowledgments
- References
- Supporting Information
[1] We present algorithms and tools we developed to automatically link an overland flow model to a hydrodynamic water quality model with different spatial and temporal discretizations. These tools run the linked models which provide a stochastic simulation frame. We also briefly present the tools and algorithms we developed to facilitate and analyze stochastic simulations of the linked models. We demonstrate the algorithms by linking the Gridded Surface Subsurface Hydrologic Analysis (GSSHA) model for overland flow with the CE-QUAL-W2 model for water quality and reservoir hydrodynamics. GSSHA uses a two-dimensional horizontal grid while CE-QUAL-W2 uses a two-dimensional vertical grid. We implemented the algorithms and tools in the Watershed Modeling System (WMS) which allows modelers to easily create and use models. The algorithms are general and could be used for other models. Our tools create and analyze stochastic simulations to help understand uncertainty in the model application. While a number of examples of linked models exist, the ability to perform automatic, unassisted linking is a step forward and provides the framework to easily implement stochastic modeling studies.
1. Introduction
- Top of page
- Abstract
- 1. Introduction
- 2. Objectives
- 3. Methodology Overview
- 4. Models and Tools
- 5. Spatial and Temporal Linking
- 6. Stochastic Modeling
- 7. Modeling Environment
- 8. Case Study Example
- 9. Summary and Conclusions
- Appendix A
- Acknowledgments
- References
- Supporting Information
[2] Hydrologic modeling has two distinct flow regimes: overland flow/routing and hydrodynamic reservoir/channel simulation [McCuen, 2005]. Computational codes are generally simplified and optimized for one of these regimes: two-dimensional (2D) horizontal for overland flow and 2D-vertical or three-dimensional (3D) for reservoir mixing. In general, overland flow models are optimized to simulate area processes (surface and subsurface flow) implementing 2D horizontal simplifications. While hydrodynamic water body mixing models are optimized to simulate vertical processes such as thermoclines, reservoir mixing, and other processes, often implemented with 2D vertical simplifications. A model optimized to simulate one regime generally uses simplifying assumptions (for the other regime) to reduce model setup, complexity, and run time. These simplifications may not be optimal for the other regime and linking the two models is not a trivial task [Beaujouan et al., 2001; Flipo et al., 2007; Flipo et al., 2004].
[3] Models simplified for overland flow modeling typically use a 2D horizontal or area-based approach (e.g., horizontal grids or sub-basins). Vertical components, such as infiltration are typically handled with approximations such as layers or one-dimensional boundary models, rather than implementing a full 3D model. Examples include the Gridded Surface Subsurface Hydrological Analysis (GSSHA), Soil and Water Assessment Tool (SWAT), and Hydrologic Simulation Program-Fortran (HSPF) models which all use two-dimensional or area approaches [Downer and Ogden, 2006; US-EPA, 2007]. This class of models usually include routines for flow routing but do not implement hydrodynamic vertical mixing or process simulation capabilities.
[4] Reservoir models that simulate vertical mixing (for water quality or thermal modeling) use vertical discretization schemes [Salah, 2009] and can be either 2- or 3D, with the decritization designed to simulate mixing and other reservoir processes which have significant vertical components. For these models, overland flow is generally simplified as either inflow or boundary conditions for the model. One example of this type of model is CE-QUAL-W2 (W2) which has complex hydrodynamic capabilities for water quantity and quality modeling and includes chemical, thermal, biological, sediment, and other reservoir process modeling capabilities [Cole and Wells, 2007].
[5] In addition to different spatial discretization (horizontal versus vertical), temporal discretization (or time stepping) can also be different between models, even when modeling the same basin and time frame. This is to optimize computing resources as time scales or periods of interest for reservoir mixing processes are typically different than those for overland flow processes, though there is considerable overlap.
[6] In some cases, for example, in total maximum daily load (TMDL) studies, modelers need to use both advanced overland flow and advanced reservoir quality/mixing models to evaluate impacts and make management decisions [Beaujouan et al., 2001]. This can be done by using an overland flow model to provide accurate boundary or input conditions for a reservoir model. Traditionally, modelers have manually linked the output of the overland flow models to the input of the reservoir mixing models [e.g., Beaujouan et al., 2001; Flipo et al., 2007; Flipo et al., 2004Melching and Bauwens, 2001; US-EPA, 2007]. This effort is difficult, time consuming, and is generally specific to the watershed being modeled and the models used for simulation. Semi-automated approaches have been developed, such as the Environmental Protection Agency (EPA) Better Assessment Science Integrating point & Non-point Sources (BASINS) modeling system [US-EPA, 2007], that implement both simplified algorithmic, and manual steps for linking the models for the different flow regimes. We present a fully automated approach that links and runs the two model regimes. This provides a framework that easily supports stochastic simulations. This is an extension of previous work, developing algorithms to link models without human intervention and run the resulting simulation system.
3. Methodology Overview
- Top of page
- Abstract
- 1. Introduction
- 2. Objectives
- 3. Methodology Overview
- 4. Models and Tools
- 5. Spatial and Temporal Linking
- 6. Stochastic Modeling
- 7. Modeling Environment
- 8. Case Study Example
- 9. Summary and Conclusions
- Appendix A
- Acknowledgments
- References
- Supporting Information
[11] Linking an overland flow and reservoir mixing models is challenging because the two models use different discretization schemes (i.e., 2D horizontal versus 2D vertical) making the determination of interface points non trivial; the models have different grid sizes and time steps making it difficult to determine how to partition fluxes from an overland grid cell to a reservoir grid cell. Model linking using semi-automated and manual approaches is not new [Beaujouan et al., 2001; US-EPA, 2007; Flipo et al., 2007; Flipo et al., 2004]. Our approach is fully automated and provides high-resolution links and a framework that supports stochastic simulation.
[12] We implemented the algorithms as tools in the Watershed Modeling System (WMS) to link and run GSSHA and W2 [Ogden, 2006; Cole and Wells, 2007; Downer and Nelson, 2010]. The tools create input files, run the models and this provides a framework to easily implement stochastic simulations to explore parameter uncertainty. Using the tools, a modeler can assign statistical distributions to model parameters, perform a number of runs using parameters selected from the chosen distributions with three different methods, and analyze the results using statistical and presentation tools.
[13] Our algorithms identify interface cells, distribute fluxes among cells, configure and run GSSHA repeatedly using the model input and stochastically selected parameters. The tools then create the W2 input based on the interface cells, flux distribution, and output from the algorithms and the GSSHA runs. The tools then run the W2 model repeatedly using different GSSHA results. The tools aggregate and present the results of stochastic runs.
[14] These algorithms automatically create detailed links at a finer resolution than would commonly be done by hand. They support model development and model execution, both as single runs and as stochastic simulations that use parameter distributions rather than single values. Our tools reduce the time and resources required to develop and use linked models and perform linked stochastic simulations. These tool provides repeatable and defensible results, an essential criteria for stochastic simulations [Salah, 2009].
4. Models and Tools
- Top of page
- Abstract
- 1. Introduction
- 2. Objectives
- 3. Methodology Overview
- 4. Models and Tools
- 5. Spatial and Temporal Linking
- 6. Stochastic Modeling
- 7. Modeling Environment
- 8. Case Study Example
- 9. Summary and Conclusions
- Appendix A
- Acknowledgments
- References
- Supporting Information
[15] GSSHA and W2 are both developed by the U.S. Army Corps of Engineers (USACE). GSSHA is 2D, horizontal gridded, finite difference, distributed parameter, hydrologic model. GSSHA simulates the hydrologic response of a watershed including surface and ground water hydrology, erosion and sediment transport [Downer and Ogden, 2006]. W2 is a laterally averaged 2D longitudinal-vertical hydrodynamic and transport model. It can perform long-term, time-varying water quality simulations of networks of rivers, lakes, reservoirs, and estuaries. W2 accurately reproduces vertical and longitudinal water quality gradients [Cole and Wells, 2007].
[16] GSSHA uses a regular square grid with an underlying digital elevation model. GSSHA is capable of long-term simulations of multiple events and requires spatially and temporally distributed meteorological variables and surface energy-balance parameters [Downer; Ogden, 2006; Downer et al., 2004]. Features of GSSHA include 2D overland flow, overland erosion and sediment transport, 1D stream flow, evapo-transpiration, 1D infiltration, 2D groundwater, and full coupling between the groundwater, vadoze zone, streams, and overland flow. GSSHA has advanced channel routing routines allowing flow in any direction and meander independent of grid resolution. Routing includes routines to calculate the impact of weirs, culverts, lakes, wetlands, rating curves, and scheduled releases. Overland and channel flow modeling is based on an explicit, finite-volume, diffusive scheme with dynamic time stepping to improve model stability and decrease simulation times. Groundwater is coupled to streams in GSSHA using a two-dimensional finite-difference groundwater model with a stream bed conductance layer [Downer; Ogden, 2006; Downer et al., 2004].
[17] W2 solves the unsteady hydrodynamic and advective-diffusion equations on a 2D vertical grid assuming laterally averaged equations of momentum, continuity, and transport. Density changes from constituents such as temperature and salinity are included through an equation of state. The formulations include surface wind stress and the bottom stress due to friction. W2 computes water quality for many nutrient and nutrient-related parameters as well as suspended solids, coliforms, total dissolved solids, and numerical tracers [Cole and Wells, 2007].
[18] W2 can simulate routing, mixing, and eutrophication processes. It models relationships among temperature, nutrients, algae, dissolved oxygen, organic matter, and sediments. W2 includes water flow, contaminant transport, chemical reactions, and biological reactions with vertical mixing for interconnected rivers, reservoirs and estuaries [Cole and Wells, 2007]. Since it is laterally averaged, W2 divides water bodies, such as reservoirs, into branches, with each branch being modeled as a 2D vertical grid [Cole and Wells, 2007]. W2 further breaks down each branch into segments or longitudinal grid cells. Boundary conditions include fluxes at the open end of branches and distributed inflow to other segments.
[19] GSSHA and W2 are state-of-the-art models for overland flow and routing (GSSHA) and reservoir and river water quality (W2). We implemented tools to link these two models as a specific case study of the generic algorithms we developed to link overland flow and hydrodynamic models [Salah, 2009].
[20] We implemented our algorithms in the WMS model development and analysis environment to take advantage of its GIS tools and other pre- and post-processing capabilities. Our implementation included the algorithms, tools and a user interface to link the models, select stochastic parameters and assign distribution (for stochastic runs), edit the selections, run the models, and analyze the results. WMS is a commercial comprehensive graphical user environment to develop and analyze models for watershed hydrology and hydraulics [Aquaveo, 2010]. WMS supports a number of hydrologic modeling packages including GSSHA and W2 [Nelson, 2010].
5. Spatial and Temporal Linking
- Top of page
- Abstract
- 1. Introduction
- 2. Objectives
- 3. Methodology Overview
- 4. Models and Tools
- 5. Spatial and Temporal Linking
- 6. Stochastic Modeling
- 7. Modeling Environment
- 8. Case Study Example
- 9. Summary and Conclusions
- Appendix A
- Acknowledgments
- References
- Supporting Information
[21] In this section we discuss the algorithms developed for spatial and temporal linking. We present the tools we developed to configure and analyze stochastic runs. We, then, summarize the modeling environment and how the linkage is implemented and present a modeling case study to demonstrate the tools and techniques.
[22] Figure 1 is a schematic diagram illustrating the spatial linkage concept. Output from the GSSHA horizontal grid is routed to the vertical grid of W2. This includes water quality and sediment information from GSSHA, in addition to flow. Figure 1 also indicates the surface-subsurface interaction within GSSHA. W2 uses the GSSHA input as boundary conditions for detailed reservoir mixing analysis. This figure highlights the integrated watershed concept where the overland portion of the watershed is modeled by GSSHA (horizontal grid) and the hydrodynamic, thermal, chemical, and biological reservoir processes are modeled by W2 (vertical grid).
5.1. Spatial Model Linking
[23] To link these two dissimilar domain models (Figure 1) the algorithms need to identify the GSSHA cells that bound water bodies and link the outflow from these cells as input to the W2 model.
[24] We evaluated a number of approaches to spatially link the two models. First we tried using the internal GSSHA routing packages coupled with a GSSHA lake that matched the spatial extent of the W2 reservoir to identify boundary cells. We found that this approach required bi-directional model links because changing water levels alters the location of the lake and overland flow cells, so this approach was not used. We, then, evaluated algorithms that tested cells using a spatial Land-Water Interface (LWI) approach. We developed algorithms to link the models and address situations where the number of cells and complicated boundaries resulted in incorrect mass balances. While this approach was viable, we created another approach called the Segment ID Index Map (SIIM), that solved these problems in a straight forward manner, consistent with the GIS-based conceptualization of WMS and the index map of GSSHA. We fully implemented SIIM to compute the spatial links between the two models. The appendix, Section 11.1 presents a brief overview of the approaches that were tried and rejected.
5.2. Segment ID Index Map (SIIM)
[25] The SIIM approach links the two models using a segment ID index map. SIIM relies on the fact that each water body in a typical W2 model is divided into branches and each branch is divided into segments (Figure 2). A segment is similar to a grid cell in a standard finite difference mesh. In this approach, we first generate an index map with a SIIM cell for each GSSHA cell (Figure 3). The SIIM cells (index map) are overlain on the W2 segment polygons using WMS spatial intersection routines. The SIIM cells are assigned index values as follows:
[26] Zero: for GSSHA cells that do not overlap the water body (Figure 3) and
[27] Non-zero: for GSSHA cells that overlap the W2 water body. The non-zero value is the corresponding W2 segment number (Figure 3).
[28] Figure 2 shows an example W2 grid representing a water body with only one branch and six segments (comprising this branch) with the segment IDs displayed from 2 to 7. Figure 3 shows the SIIM that results from the GSSHA grid and these six segments. The grid cell size plays a major role in the conversion process and how accurately each segment is represented by the SIIM. Border cells are crucial since they represent the interface between the overland flow and reservoir models. The SIIM algorithm does not consider inner reservoir cells while identifying the links. The water body boundary is the most important aspect when linking the two models as this determines the resolution and accuracy of the flux partitioning.
[29] GSSHA output fluxes are aggregated for input to the W2 model based on the SIIM values. The net flux (flow, constituents, sediments, etc) to a W2 segment is aggregated only at the interface from a zero to a non-zero cell. This approach solves many of the issues related to complicated boundaries (discussed in the appendix) in an easily implemented manner.
[30] GSSHA streams are routed to the appropriate W2 segments by identifying GSSHA stream nodes that intersected W2 segments. At these locations, we used the GSSHA output hydrograph to calculate the flow and constituent input to W2 as a boundary condition.
5.3. Temporal Linking
[31] The duration, time step, start time, and end time of the two models need to be linked to allow inter-model routing. Salah, 2009] suggests three primary ways to temporally link models together:
[32] Identical time step: using the same model time step,
[33] Interpolated time step: using a different time step for the two models and interpolating the results. This is useful in two-way model linkage where input/output data is transferred between the two models at run time and
[34] Independent time step: where the two models can have two different time steps and run independently.
[35] We used identical time step approach while allowing each model to be optimal for its task and simplifying issues associated with time step interpolation. In our approach, the time steps of the two models are the same, but the model durations can be different. We set the W2 time step equal to the hydrograph output frequency in GSSHA. In practice we found that using identical time-steps eliminates a number of potential issues and with modern computers there is little penalty for the finer temporal resolution [Downer et al., 2006; Cole et al., 2007]. Identical time steps allow aggregated fluxes from GSSHA to be used as direct inputs for the W2 segment inflow file. Interpolated time steps would require additional effort and create potential errors from the interpolation plus the selection of the interpolation technique becomes a concern.
[36] The GSSHA run duration does not need to match the W2 run duration. With the same start time there are three cases:
[37] GSSHA run duration is longer than W2 run duration. In this case, the algorithm trims the flux files generated by GSSHA to match the total run duration of W2, specified in the control file (Main W2 input).
[38] GSSHA run duration is shorter than W2 run duration. In this case, the algorithm extends the flux files generated by GSSHA using a dummy record with a flow of zero and Julian date matching the end of the W2 model. This is analogous to a case where overland flow ceases after a precipitation event.
[39] GSSHA run duration is the same as the W2 run duration. In this case, the algorithm evaluates and adjust, if necessary, the last time step in the GSSHA-generated flux files to exactly match W2.
8. Case Study Example
- Top of page
- Abstract
- 1. Introduction
- 2. Objectives
- 3. Methodology Overview
- 4. Models and Tools
- 5. Spatial and Temporal Linking
- 6. Stochastic Modeling
- 7. Modeling Environment
- 8. Case Study Example
- 9. Summary and Conclusions
- Appendix A
- Acknowledgments
- References
- Supporting Information
[56] We tested and demonstrated the algorithms and tools we developed with two case studies, Lake Zapotlan, Mexico and Eau Galle Reservoir, Wisconsin, USA [Salah, 2009]. We briefly present some of the findings for Eau Galle Reservoir here to demonstrate these tools. The case studies are discussed in detail in Salah, 2009].
[57] We simulated the Eau Galle Reservoir Watershed using a GSSHA model with a grid cell size of 100 m with 468 rows and 305 columns to model an area of approximately 140 hectares. The model simulation was 1000 minutes (approximately 17 hours) with a computational time step of 5 seconds. The Green and Ampt method was used for infiltration and the diffusive wave equation was used to compute overland flow and channel routing for Eau Galle River. The 17 hour period represents a specific storm event that was studied.
[58] Eau Galle Reservoir is a 60 hectare impoundment located just north of Spring Valley, Wisconsin and 80 kilometers east of the Twin Cities (US-ACE, 2007). The Eau Galle River is located in western Wisconsin in the United States and is about 55 kilometer long. It is part of the Mississippi River watershed. Eau Galle Reservoir was simulated using a W2 model with one branch and seven segments. The upstream and downstream segments of the reservoir were discretized to 2 and 9 W2 layers, respectively. Intermediate segments were modeled which gradually increased from 2 to 9 layers down the reservoir. The layers were 3 meters thick and they simulate a reservoir depth of up to 27 meters. The W2 model duration was two years.
[59] The W2 distributed reservoir input is from the GSSHA computed overland flow, with the W2 river input from the GSSHA computed flow in the Eau Galle River using GSSHA routing modules. The linked cells were selected using the SIIM algorithm and the GSSHA and W2 model grids. We chose 50 runs to demonstrate a stochastic simulation.
[60] To investigate the various aspects of the stochastically linked GSSHA to W2 models, we evaluated 4 different scenarios:
[61] Deterministic run: This represented a single GSSHA run linked to a single W2 run. The GSSHA model start date was identical to W2 model start date. However, the duration of GSSHA was considerably less than the duration of the W2 model (17 hours for GSSHA and 2 years long term simulation for W2). This was considered the base deterministic model.
[62] Base stochastic run: This included 50 stochastic linked GSSHA - W2 runs. Similar to the base deterministic model, the GSSHA model start Julian date coincides with the W2 model start date on all 50 runs. This was considered the base stochastic model. We treated capillary head, hydraulic conductivity, initial moisture, and porosity stochastically (Figure 5).
[63] Delayed stochastic run: This is identical to the base stochastic model with GSSHA input delayed to Julian date 381. In this model, the first 380 days have essentially the same input and therefore, the credible interval width is zero up until the stochastic GSSHA input comes into effect (Figure 6).
[64] Stochastic temperature run: This is identical to the base stochastic model with one exception; i.e. the tributary temperature were modeled stochastically. The tributary input temperatures were assigned a Normal distribution.
[65] The complete results for these four scenarios are beyond the scope of this paper. We present the computed reservoir water depth for the delayed stochastic run as an example. Figure 6 presents reservoir water depth for four runs (runs 1, 2, 6 and 13) over the 2-year simulation period. The runs were selected to show the range of the stochastic simulations. Run 6 represents the minimum depth values simulated while run 13 results represents the highest depth values simulated. Runs 1 and 2 represent middle values. Each run is a single realization of the possible parameter range starting day 381 (1st Jan 2007). Prior to the GSSHA-modeled storm input (i.e. before Julian day 381), there are no variations in the water surface elevations because all the runs – up to- day 380 are the same; GSSHA stochastic variations begin at day 381.
[66] Figure 6 presents these four different results that show the range of impact of the storm runoff on the lake resulting from 50 runs and the 4 varying parameters: capillary head, hydraulic conductivity, initial moisture, and porosity stochastically.
[67] Figure 6 shows the water depth in the reservoir through the entire W2 simulation period of 2 years for the 50 W2 runs. The GSSHA model was stochastically run for approximately one day at the beginning of January 2007 (the 17 hour storm period). The Figure shows that prior to the GSSHA stochastic input the four runs, 1, 2, 6 and 13 produced the same reservoir depth. This makes sense because there are no changes in the boundary conditions. During the period where GSSHA provides stochastic input (changing boundary conditions between runs) we start to see difference in the water depths between these respective runs. As noted, these runs were selected to show the range of W2 stochastic results, with the minimum, maximum, and two middle value runs.
[68] Figure 7 shows an temperature variation output from the stochastic W2 model, in particular, the interval half width (CIw) for temperature in a specific cell (i.e. layer and segment) in the reservoir. We can see that the interval width is zero until 1st Jan 07 when the GSSHA stochastic variation starts. The negative values on the left axis in Figure 7 indicates a reduction in the temperature. Each point on this figure represents the difference between the highest and lowest temperature, as stochastically modeled, for the specific cell for the respective credible interval.
9. Summary and Conclusions
- Top of page
- Abstract
- 1. Introduction
- 2. Objectives
- 3. Methodology Overview
- 4. Models and Tools
- 5. Spatial and Temporal Linking
- 6. Stochastic Modeling
- 7. Modeling Environment
- 8. Case Study Example
- 9. Summary and Conclusions
- Appendix A
- Acknowledgments
- References
- Supporting Information
[69] We developed general algorithms and tools to spatially and temporally link an overland flow model with a stream and reservoir routing model including tools to treat overland flow parameters statistically, using stochastic simulation to provide a way to incorporate parameter uncertainty into the simulation results. We implemented specific algorithms to llink GSSHA and W2 using WMS as a pre- and post-processer to setup the models, perform the runs and present and analyze the results.
[70] We evaluated three ways to implement the spatial links between the two models; i.e. GSSHA Lake, LWI, and SIIM. Based on implementing these three methods, we determined that SIIM is the most appropriate approach. We evaluated using various techniques to link the models temporally. We found that identical time steps in GSSHA and W2 are not required but are expedient. In our tools, the start date, end date, and duration of both models do not need to be identical provided that the start date of the GSSHA model is between the start and end dates of the W2 model. We demonstrated our tools for the Eau Galle Reservoir where the W2 model runs for a significantly longer period than the GSSHA model. This example shows the impact of a single storm on reservoir processes.
[71] We developed tools to calculate and present the stochastic results credible intervals. We recommend that the modeler carefully evaluates the number of runs used for a simulation to balance the computer time required with having enough data to support the statistical analysis. If more parameters are chosen to evaluate statistically, more runs are required to develop a reasonable estimates for the credible intervals.
[72] This work provides a comprehensive integrated water resources management tool to answer hydrologic, hydrodynamic and water quality questions on a watershed scale in a stochastic context. We show how individual models with different domains and geometric aspects can be linked, and how to implement stochastic tools for these modeling applications.
[73] The approach and algorithms we developed can be generalized to other models. However, it requires a thorough understanding of the model domains to determine how to match material flows between dissimilar descretizations.