• InfoWater Pro

Animating a Water Age Analysis

Color-code and animate the results of a water age analysis.


Tutorial resources

These downloadable resources will be used to complete this tutorial:

iwtr2023_M11U03-Animating_a_Water_Age_Analysis.zip

Animating a water age analysis

Step-by-step guide

After a water age analysis has been conducted, the results can be viewed as a graph and as an animation of the map theme.

  1. To open ArcGIS Pro, locate and double-click the appropriate .aprx file.
  2. From the ribbon, select the InfoWater Pro tab.
  3. In the Project panel, click Initialize.
    The ArcGIS ribbon, with the InfoWater Pro tab active, and in the Project panel, Initialize being selected and highlighted in red.
  4. In the network map, select a junction.
  5. In the Model Explorer, select the Attribute tab.
  6. Click Graph.
    The Attribute tab of the Model Explorer, with Graph being selected and called out with a red arrow.
  7. In the Report Manager, change the graph parameter to Water Age.

Water quality parameters are only listed when a water quality simulation is performed. In this example, there is an initial rise in water age. At Time zero, all pipes are full, and the age is showing as zero because an initial water quality value was not entered. Water quality results typically level out after stable conditions are reached.

  1. Click Hide to close the Report Manager.
    The Report Manager dialog, with Water Age selected and called out with a red arrow, and Hide highlighted in red.

To set up color-coding of the water age simulation results over time:

  1. In the Model Explorer, expand the Output drop-down and select 184:00 hrs.
    The Model Explorer with the Output set to 184:00 hrs and called out with a red arrow.
  2. To set the display options for the animation, on the ribbon, in the View panel, click Map Theme.
    On the ribbon, in the View panel, Map Theme highlighted in red.
  3. In the Map Theme Identification dialog, enter a name, such as “WQ_Animation, Water Age Animation”.
  4. Click OK.
    The Map Theme Identification dialog, with a name entered for the Map Theme ID and called out with a red arrow, and OK being selected and highlighted in red.
  5. In the Map Theme dialog, set the element type to Junction.
  6. To create a new Junction sub-theme, click New.
    The Map Theme dialog, with Junction selected and called out with a red arrow, and New being selected and highlighted in red.
  7. In the New Sub-Theme dialog, give the sub-theme a name, such as “J_Water_Age”.
  8. Click OK.
    The New Sub-Theme dialog, with a Name entered and highlighted in red, and OK being selected and highlighted in red.
  9. In the Standard Sub-Theme window, Data Source group, set the Table to Output, and Field to Water Age (hrs).
  10. On the Symbology tab, set Classes to 5.
  11. Click Set Break.
    The Standard Sub-Theme window, with Table set to Output, Field set to Water Age (hrs), Classes set to 5, and Set Break being selected, all highlighted in red.
  12. In the table, leave the values for the colors and size columns.
  13. Set the values for the Break column to 48, 72, 96, 120, and 240.
  14. Click Save and Apply Sub-Theme.
    The Standard Sub-Theme tab, with Break values entered and Save and Apply Sub-Theme being selected, both highlighted in red.

Now, create a pipe sub-theme.

  1. Set the element type to Pipe.
  2. Click New.
    The Map Theme dialog, with Pipe selected and called out with a red arrow, and New being selected and highlighted in red.
  3. Enter a sub-theme name, such as “P_Water_Age”.
  4. Click OK.
    The New Sub-Theme dialog, with a name entered and highlighted in red, and OK being selected and highlighted in red.
  5. Again, set the Table to Output, Field to Water Age (hrs), and Classes to 5.
  6. Click Set Break.
  7. In the Size column, set all 5 rows to 2.
  8. In the Break column, set the values to 48, 72, 96, 120, and 240.
  9. Click Save and Apply Sub-Theme.
    In the Standard Sub-Theme window, options configured for this example and highlighted in red, with Save and Apply Sub-Theme being selected.
  10. Close the Map Theme dialog.
  11. In the Model Explorer, for this example, adjust the Output time to 140:00 hrs.
    The Model Explorer, with a new value selected for the Output time and called out with a red arrow.

The map updates to reflect the current output values.

Note that in large models, dragging the time slider may cause the map to freeze as it loads the corresponding timestep data.

  1. To prevent freezing as new data is loaded, in the Model Explorer, deselect Refresh Output.
  2. Make sure to re-enable this option to update the map at the desired timestep.
    The Model Explorer, with Refresh Output deselected and called out with a red arrow.

Now, set up an animation of this color-coded map.

  1. Drag the Output time slider back to 180:00 hrs.
  2. In the Model Explorer, select the Command Center tab.
  3. Expand the Tools folder and double-click Animation Editor.
    In the Model Explorer, the Command Center tab selected and highlighted in red, and in the expanded Tools folder, Animation Editor called out with a red arrow.
  4. In the Animation Editor dialog, select Save Animation to File.
  5. Enter a name, such as “AGE”.
  6. Click Create.
    The Animation Editor dialog, with Save Animation to File selected and called out with a red arrow, AGE entered for the name and highlighted in red, and Create being selected and highlighted in red.

A screen shot is taken of the thematic map at each output timestep. This can take a few minutes to complete. Note that if the model is not zoomed to extents, then the animation will only include the features that were in the viewable map area when the animation was created.

  1. Once the time steps are recorded, in the Tools folder, double-click Animation Viewer.
    The Model Explorer, with Animation Viewer called out with a red arrow.
  2. In the Animation Viewer, click the Delay Setting hourglass icon.
    The Animation Viewer, with the Delay Setting icon called out with a red arrow.
  3. In the Display Delay popup, set the Delay Time to 250 milliseconds.
  4. Click OK.
    The Display Delay popup, with the Delay Time set to 250, and OK being selected, both highlighted in red.

When playing the animation, for optimal results, the viewer should be the same size and dimensions as the map area when the animation was created.

Now, animate the map to see how the colors display the water age within the junctions and pipes over time.

  1. Click Fast Forward.
    In the Animation Viewer, the Fast Forward control called out with a red arrow.

As the animation plays, the colors distinguish the areas where the water is moving well. Darker green colors show locations where water may be stagnating.

Two side-by-side screenshots of the animation at different points in time.

Water pooling up for too long at a specific location can lead to water quality issues, like microbial growth and increased disinfectant byproduct formation. These are the areas where high water age mitigation strategies should be considered.

  1. Close the Animation Viewer.

To reset the display to the default, as set in the Preferences:

  1. On the ribbon, in the View panel, click Reset Map Theme.
    The View panel, with Reset Map Theme being selected and called out with a red arrow.