How can I compute the average water age over a certain period of time?

   
  Applies To 
   
  Product(s): Bentley WaterCAD
  Version(s): 08.11.XX.XX
  Environment:  N\A
  Area:  Output and Reporting
  Subarea:  N\A
  Original Author: Jesse Dringoli, Bentley Technical Support Group
   

Problem

How can I compute the average water age over a certain period of time?

 Problem ID#: 36057

Solution


You can do this with the post calculation processor tool.

1) First, set up a user data extension (UDX) to hold the average values
that you will compute. Go to Tools > User data extensions.

2) Right click the element type (such as junction), choose "add field"
and then select "real" as the data type, "time" as the dimension,
"hours" as the storage unit and "time - extended" as the numeric
formatter.

3) Name the user data extension appropriately and close the UDX manager
with the OK button

4) Compute your water age scenario

5) Go to Analysis > Post calculation processor. If you'd like to find
the average age for just one element, select it. Or, click the selection
set button and choose a selection set of elements to store the average
water age for. Click the green check mark when done.

6) Select the timeframe using the "start time" and "stop time" fields.
Select "Mean (simple)" or "Mean (time weighted)" as the statistic type.
Select "age (calculated)" as the result property. Select your UDX as the
"output property". Choose "set" as the "operation".

7) Click "calculate" - this will compute the average age over the
selected timeframe and place it in your user data extension. You can now
view this either in the element flextable or properties window.



Recommended
Related