WMS:TR-20

From XMS Wiki
Jump to navigationJump to search

TR20 models can be defined in WMS using the commands in the TR20 menu and resulting dialogs. There are six steps in defining a TR20 model using WMS:

Create a Topologic Tree

In the absence of terrain data, this is done using the commands to build the tree in the Tree menu. When using the TIN, Map, or DEM modules to delineate a watershed and sub-basin boundaries, a topologic tree is automatically created. Diversions can not be created directly on a TIN or in the Map module, but must be created using the commands in the Tree menu.

Define Job Control Parameters

Job control parameters are used to define the time and length of a simulation, output diagnostic controls, and other miscellaneous items. Definition of these parameters is discussed in detail later in this chapter.

Edit Basin/Outlet/Reservoir/Diversion Data

Parameters for all sub-basin outlets, reach routes, reservoirs, and diversions (hydrograph stations) are entered/edited using the Edit TR20 Parameters dialog accessed from the TR20 menu. This dialog displays current values and lets you edit values for the currently selected hydrograph station.

Model Check

This step allows you to check your TR20 data prior to performing an analysis. It reports errors such as zero area, undefined precipitation, etc. These errors should be corrected by returning to previous steps before actually trying to run TR20.

The Model Check command should be issued once you feel that all necessary TR20 data has been defined. It will report any possible errors/inconsistencies in your model so that corrections can be made prior to executing TR20. The list of checks made is not complete and just because no errors are reported does not ensure that a successful and/or accurate analysis will be completed. We encourage you to report any additional checks that might be made as you work through various problems.

Run TR-20

WMS creates TR20 files compatible with any version of TR20. However, a Windows (X-Windows on UNIX and MS-Windows on PC's) compiled version of TR20 is distributed with WMS so that it can be run without leaving the WMS environment.

For an in depth description of the TR20 runoff model itself, refer to the TR20 User's Manual[1].

The version of TR20 distributed with WMS can be run directly from WMS by using the Run TR20 command in the TR20 menu. Before running a TR20 simulation, you should run the model checker. The model checker will help you identify serious and potential problems. These problems should be corrected before a successful run of TR20 can be made.

The Run TR20 command will bring up a dialog allowing you to specify 3 files which are necessary to run TR20. The first file is the TR20 input file. The second is an ASCII output file generated by TR20. This output file can be used to extract specific results. It also contains important information which can be used to correct problems encountered when running TR20. The third file will contain hydrograph results for basins and outlets. You can view these results by reading this file with the Open command from the Hydrographs menu.

Once these files have been defined and you select OK, TR20 will be executed. A separate window will appear and information about the TR20 simulation will be reported. If you are running with Microsoft Windows you must close this window when TR20 terminates. On UNIX workstations the window closes automatically.

If TR20 is not executed successfully when issuing this command then be sure that the path to your TR20.EXE file (tr20 for UNIX) is located in the same directory as your WMS executable file.

If TR20 does not run to a successful completion you can view the ASCII output file using the View File command in the File menu.

View Hydrographs

Once a TR20 simulation has been run you can view resulting hydrographs using the commands in the Hydrographs menu. After viewing the hydrographs, you may wish to repeat the previous steps in order to calibrate a model, or look at different scenarios.


Related Topics