Flood Forecasting Simulation Cascade Application

What is it?

The Flood Forecasting Simulation Cascade is a pilot application of the K-Wf Grid project. It is a set of several simulation models, which together try to predict possible floods using meteorlogical simulation, hydrological simulation, and hydraulic simulation models. The simulations are configured and accessed through WSRF service interfaces. While the simulation models itslef are proprietary and have to be obtained from their authors, here you can download all files necessary to build, configure, deploy, and test the service interfaces themselves. Even without the simulation model codes, these service interfaces are valuable source of information, help, and examples regarding development of WSRF interfaces based on the Globus Toolkit (GT). The services use many advanced features of GT, like security (and usage of provided proxy certificates), data transfers, replica location service, configuration of services, lifecycle management, and others.

Application Architecture

The PA1-FFSC application is a SOA-based system of WSRF services. The services are organized in 6 layers:
  1. meteorology
  2. watershed integration
  3. hydrology
  4. hydraulics
  5. visualization
  6. presentation
The architecture and these layers are depicted in the figure below. FFSC Architecture

Meteorology

This layer contains services, which take as input boundary conditions from a third party (the principal data source, Slovak Hydrometeorological Institute SHMI, top of figure), and produce a meteorological simulation for the target area and time of the flood prediction.

Watershed integration

Services in this layer take as input meteorological predictions from the previous layer, and compute predicted watershed for the target river.

Hydrology

Services in the hydrology layer transform the watershed prediction from previous layer into river level prediction, and produce a series of hydrographs for various points of the river in the target area.

Hydraulics

The services in the hydraulics layer perform the final simulation step – they take the predicted river levels and transform them into water flow in the river bed and (in the case of a flood) in the surrounding target area.

Visualization

The simulations computed by above layers are transformed into a user-readable data, mainly images and animations, using a set of visualization services. These services are capable of creating visualizations for predictions of MM5 models, the ALADIN model, and DaveF model. The hydrological models (HSPF and NLC) create visualizations as their standard outputs, so no additional service is needed.

Presentation

The services in this final layer deliver and present the visualized simulation results to the user. This layer consists of several so-called “job packagers” (UJP) which create a browseable HTML structure for the visualization, and the User Proxy Service, which lets the user to discover and browse the structure using a common web-browser.

Components

MM5 preprocessor
This service extracts the target area domain boundary conditions from the initial, much broader boundary conditions for MM5.
Inputs ALADIN boundary conditions (Logical File Name - LFN)

Configuration of target area and time
Outputs MM5 boundary conditions for area (LFN)
MM5 simple
This service computes the actual weather prediction, using the MM5 model.
Inputs MM5 boundary conditions for target area (LFN)

Configuration of simulation
Outputs MM5 weather prediction (LFN)
MM5 nested 1-way
This service computes the actual weather prediction, using the MM5 model in a nested configuration, where the inner target area is computed in a loop from the already computed complete area.
Inputs MM5 boundary conditions for target area (LFN)

Configuration of simulation
Outputs MM5 weather prediction (LFN)
MM5 nested 2-way
This service computes the actual weather prediction, using the MM5 model in a looped configuration.
Inputs MM5 boundary conditions for target area (LFN)

Configuration of simulation
Outputs MM5 weather prediction (LFN)
ALADIN
This service computes weather prediction for target area using the ALADIN prediction model.
Inputs ALADIN boundary conditions (LFN)

Simulation configuration
Outputs ALADIN weather prediction (LFN)
MM5 watershed integration
This service computes the amount of water in each watershed subarea of the target area.
Inputs MM5 weather prediction, postprocessed (LFN)

Watershed areas configuration
Outputs Watershed (LFN)
81-way MM5 watershed integration
This service computes the amount of water in each watershed subarea of the target area, using a statistical approach and generating 81 scenarios for the rest of the simulation cascade.
Inputs MM5 weather prediction, postprocessed (LFN)

Watershed areas configuration
Outputs 81 x Watershed (LFNs)
ALADIN watershed integration
This service computes the amount of water in each watershed subarea of the target area, using ALADIN results.
Inputs ALADIN weather prediction (LFN)

Watershed areas configuration
Outputs Watershed (LFN)
HSPF
This service computes the hydrograph for the target river (its relevant part) using the HSPF hydrograph construction program.
Inputs Watershed (LFN)

Hydrograph configuration
Outputs Hydrograph (LFN)

Hydrograph visualization (LFN)
HSPF-complex
This service computes the hydrograph for the target river (its relevant part) using the HSPF hydrograph construction program from 81 watershed predictions.
Inputs 81-way watershed (LFN)

Hydrograph configuration
Outputs Hydrograph (LFN)

Hydrograph visualization (LFN)
NLC
This service computes the hydrograph for the target river (its relevant part) using the NLC model. The results are virtually the same as in the HSPF service’s case, but the model gives different quality of results and delivery times, which may prove useful in the K-WfGrid testing process.
Inputs Watershed (LFN)

Hydrograph configuration
Outputs Hydrograph (LFN)

Hydrograph visualization (LFN)
DaveF
This service generates a detailed hydraulic simulation of a water flow in a target area.
Inputs Hydrograph (LFN)

Mesh for model configuration (LFN)

Simulation configuration
Outputs Flow vector file (LFN)

Water depth file (LFN)
ALADIN visualization
This service accepts ALADIN result dataset and creates a set of pictures, showing the weather development described in the input dataset.
Inputs ALADIN weather prediction (LFN)
Outputs Weather prediction maps (LFNs)
MM5 visualization
This service accepts MM5 result dataset and creates a set of pictures, showing the weather development described in the input dataset.
Inputs MM5 weather prediction (LFN)
Outputs Weather prediction maps (LFNs)
DaveF 2D visualization (GRASS)
This service converts DaveF output of water depth into a series of images depicting top view of the target area, with visible flooding.
Inputs Water depth file (LFN)
Outputs Target area flooding visualization – series of images (LFNs)
DaveF 3D visualization (VRML)
This service converts DaveF output of water depth into 3D VRML animation for visual inspection by expert user.
Inputs Water depth file (LFN)
Outputs Target area flooding visualization – VRML 3D animation.
Waterflow 2D visualization UJP
This service prepares a browseable HTML structure for comfortable viewing of 2D visualization of DaveF simulated water flow.
Inputs 2D visualization of DaveF results
Outputs HTML structure archive
Waterflow 3D visualization UJP
This service prepares a browseable HTML structure for comfortable viewing of 3D visualization of DaveF simulated water flow.
Inputs 3D visualization of DaveF results
Outputs HTML structure archive
Hydrograph UJP
This service service adds a HTML structure to the hydrograph produced by NLC and HSPF services.
Inputs Hydrograph image
Outputs HTML structure archive
MM5 visualization UJP
This service creates a HTML tree for the visualized results of MM5 meteorological prediction.
Inputs Weather prediction maps
Outputs HTML structure archive
ALADIN visualization UJP
This service creates a HTML tree for the visualized results of ALADIN meteorological prediction.
Inputs Weather prediction maps
Outputs HTML structure archive
User Proxy Service
This service notifies user of a new result, and allows him to browse the result; it also allows to submit data using a HTML form (in the result) and to process this data further in the workflow.
Inputs HTML structure archive
Outputs Text/data entered by the user (if any)

Status of development

Not all of the services planned for the application are ready for deployment. The services which are can be found in the "Downdloads" section. The application workflow itself is complete, may be executed, and produces results, with visualizations. Below is an image of how the workflow looks like once visualized in the K-Wf Grid portal. Green (executable) FFSC workflow