& Construction
Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
& Manufacturing
Professional CAD/CAM tools built on Inventor and AutoCAD
Use result grid windows and create queries to narrow simulation results to your selected criteria.
Tutorial resources
These downloadable resources will be used to complete this tutorial:
In InfoWorks ICM, all objects or a selection of objects can be viewed in a results grid window. SQL queries can also be used to create selections to narrow simulation results, or to generate custom tables containing specific object and results fields. For example, a query can select only the nodes that are flooding into a table with the ground level and maximum water level.
To use a results grid to tabulate all the result information for individual objects:
In the node results grid, the green column headings represent time-varying results for the current timestep, while black column headings represent the maximum results. The layout can be customized, sorted, and the results filtered by right-clicking in the grid.
Now the nodes with the highest flood depths appear at the top of the grid.
It can be useful to narrow the results down to a custom selection. For example, to see a selection of only the nodes that are flooding, use an SQL query to make this selection with specific criteria:
To set up a query to select only nodes that are flooding:
SELECT WHERE sim.max_floodvolume > 1 OR sim.max_flvol > 1;
This query identifies all nodes with a flood volume, stored or lost, greater than the tolerance of 1 m3.
A notification appears to show if the query is valid and displays the number of items selected.
A grid appears, containing both the object properties and the simulation results based on the query.
Further narrow the results with another query to select exactly what information appears in the grid. For this example, the query will select the nodes where the maximum flood depth is between 0 and -0.200m, and display only the node_id, ground_level, and max_flooddepth information.
SELECT node_id, ground_level, sim.max_flooddepth WHERE sim.max_flooddepth <= 0 AND sim.max_flooddepth >-0.200 ORDER BY sim.max_flooddepth DESC ;
The grid appears with the results and displays only the columns built into the query.