Exercise 3. Peak Flow

Juling Bao

Dept of Civil Engineering
University of Texas at Austin

Spring Semester 1997

HDDS incorporates a menu_driven system within which a user can identify a highway stream crossing or other site and determine several hydrologic parameters which are useful for determination of peakflow and hydrograph. The results are shown on the polygon attributes table of watershed.

For this exercise I use the hydrologic parameter to calculate the PEAK FLOW using the equations shown on the exercise 1 and exercise 2. The results will be added to the polygon attributes table and also will be shown on the msgbox.

Here is my example script, called peakflow

It uses the following Avenue functions: Av, GetActiveDoc, findDoc, for each rec, list.make, list.add, field.make,#field_double, list.deepclone, if...then...elseif..., Vtab.setEditable, ture, false, Vtab.addField, Vtab.SetValue, Msgbox.Info.


Go to Spatial Hydrology Seminar's Home Page