Using the Spatial Analysis Tool with the Volumetric Object

STK Pro, STK Premium (Air), STK Premium (Space), or STK Enterprise
You can obtain the necessary licenses for this training by contacting AGI Support at support@agi.com or 1-800-924-7244.

The results of the tutorial may vary depending on the user settings and data enabled (online operations, terrain server, dynamic Earth data, etc.). It is acceptable to have different results.

The following tutorial introduces the Volumetric object and various spatial components from Analysis Workbench that model the volume of space covered by a spinning sensor subject to various geometric constraints.

Capabilities Covered

This lesson covers the following STK Capabilities:

  • Analysis Workbench
  • Coverage

Problem Statement

Engineers and operators require a quick way to create calculations and conditions that depend on locations in 3D space which are, in turn, provided by user-definable volume grids. The grids can provide both analysis and general situational awareness. In this tutorial, you need to determine the following in a 3D volume of space:

  • Distance and location from a ground site.
  • Sensor visability.
  • Accumulated sensor visibility against a moving target.

Solution

Use the Spatial Analysis tool to create calculations and conditions that depend on locations in a user-defined 3D grid. Combine the spatial calculations and volume grids in the Volumetric object to report and graph calculations over time and across grid points. Then, visually depict the volume representing various values interpolated across the grid points.

Upon completion of this tutorial, you will be able to create the following:

  • Simple cartographic grids.
  • Constrained grids.
  • Spherical grids on moving objects.
  • Spatial calculations.
Watch the following video. Then follow the steps below, which incorporate the systems and missions you work on (sample inputs provided).

Creating the STK Scenario

The Volumetric Analysis tutorial requires a basic knowledge of how to use STK, including creating and populating a scenario, setting up 3D visualization, and animating a scenario. If you are a new STK user, follow Beginner tutorials to learn the basics of STK before attempting to perform the steps in this tutorial.

The Volumetric Analysis tutorial is built on an STK scenario that contains a facility with a spinning sensor, an aircraft, and an area target. To create the scenario:

  1. Launch STK ().
  2. Click the Create a Scenario () button.
  3. Enter the following in the STK: New Scenario Wizard:
  4. OptionValue
    Name:VolumetricTutorial
    Stop:+ 90 sec
  5. When you finish, click OK .

Adding a Sensor

  1. Using the Insert STK Objects Tool () insert a Facility () using the Insert Default method.
  2. Insert a Sensor () using the Define Properties () method.
  3. Select Facility1 as its parent object.
  4. Open Sensor1's properties.
  5. On the Basic - Definition page, set Cone Half Angle to 15 deg.
  6. On the Basic - Pointing page, change the Pointing Type to Spinning.
  7. Change the Spin Rate to 10 revs/min.
  8. Change the Spin Axis Elevation to 50 deg.
  9. Leave Azimuth at 0 deg and Cone Angle at 20 deg.
  10. Click OK to apply the changes.

Adding an Area Target

  1. Insert an Area Target () using the Define Properties () method.
  2. On the Basic - Boundary page, make the following changes:
    • Area Type: Ellipse.
    • Semi-Major Axis: 7 km
    • Semi-Minor Axis: 4 km
    • Bearing: 45 deg
  3. On the Basic - Centroid page, make the following changes:
    • Latitude: 40.0386 deg
    • Longitude -75.5966 deg
  4. On the Constraints - Basic page, select Minimum Elevation and set it to 90 deg, which will constrain visibility to everything within the area target.
  5. Click OK .
  6. Insert an Aircraft () using the Define Properties () method.
  7. On the Basic - Route page, insert the following three points:
  8. LatitudeLongitudeAltitudeTurn Radius
    39.9966 deg-75.6391 deg3.668 km1.6858 km
    40.0929 deg-75.6204 deg3.668 km1.6858 km
    40.1253 deg-75.5595 deg3.668 km1.6858 km
  9. Click OK .
  10. Open VolumetricTutorial's properties ().
  11. On the Basic - Time page, under Animation:
    • Select the Stop at Time check box.
    • Set the step size to 0.5 sec.
  12. Click OK .
  13. Save the scenario.

Using the Spatial Analysis Tool and Creating a Volumetric Object

The Spatial Analysis tool allows you to create calculations and conditions that depend on locations in 3D space which are, in turn, provided by user-definable volume grids. Combining spatial calculations and volume grids in volumetric objects enables you to report and graph calculations over time and across grid points, as well as visually depict volumes representing various values interpolated across grid points.

Using the Spatial Analysis Tool

The following steps show how to use the Spatial Analysis tool to create a Simple Cartographic Grid.

  1. Right-click AreaTarget1 () and select Zoom To to center the 3D Graphics window on the object.
  2. Close the 2D Graphics window and the Timeline View.
  3. Right-click AreaTarget1 in the Object Browser and select Analysis Workbench… ().
  4. Select the Spatial Analysis tab. The Spatial Analysis tab is used to create the following spatial components:
    • Spatial Calculation (), which is a scalar calculation that depends on both time and location.
    • Spatial Condition (), which is a condition that depends on both time and location.
    • Volume Grid (), which is a collection of enumerated points placed in 3D space using steps taken in each coordinate using various coordinate types.
  5. Click to create a new Volume Grid and set the following parameters:
    • Type: Cartographic
    • Name: SimpleCartographic
  6. Clear the Constrain active grid points within Area Target check box.
  7. Click .
  8. Set the following parameters in the Altitude section:
    • Minimum: 0 km (default)
    • Maximum: 10 km
    • Number of Steps: 20
  9. Click OK twice to apply the changes and create the new grid. The SimpleCartographic grid is added under My Components.
  10. Select Aircraft1 in the left pane of Analysis Workbench.
  11. Click to create a new Volume Grid and set the following parameters:
    • Type: Spherical
    • Name: SimpleSphere
  12. Click .
  13. Set the following parameters:
  14. Field NameAzimuthElevationRange
    Minimum0 deg-90 deg0.5 km
    Maximum360 deg90 deg1 km
    Number of Steps36181
  15. Click OK twice to apply the changes and create the new grid. The SimpleSphere grid is added under My Components.
  16. Click Close to dismiss the Analysis Workbench.

Creating a Volumetric Object

The Volumetric object is defined in terms of components from the Analysis Workbench. It also enables you to define various graphics properties, and has associated data providers for reporting and graphing.

  1. Open the Insert drop down and select Default Object... .
  2. Select Volumetric (), then click Insert .
  3. Open Volumetric1's properties.
  4. On the Basic - Definition page, click next to Volume Grid to bring up the Volume Grid selector from Analysis Workbench.
  5. Analysis Workbench displays the STK objects on the left and the Spatial Analysis components on the right.

  6. Select AreaTarget1 on the left and SimpleCartographic on the right.
  7. Click OK to assign the selected volume grid to Volumetric1.
  8. Click Apply and view the grid in the 3D Graphics window.
  9. In the 3D Graphics Window, notice that the SimpleCartographic grid is now visible in the 3D Graphics window. This illustrates the extent of space covered by the grid as well as granularity of the grid.

  10. On the Volumetric1 Basic - Definition page, select the Spatial Calculation check box, then click to access the Spatial Calculation selector from Analysis Workbench.
  11. Select Aircraft1 on the left and the Distance on the right, and click OK .
  12. Click Apply to assign all selections to Volumetric1.

Compute Volumetric Data

  1. Right-click Volumetric1 in the Object Browser and expand the Volumetric menu.
  2. Select Compute to initiate evaluation of volumetric data over time and across the grid.
  3. Once the computation is completed, the entire grid volume will be filled with the color specified on the Volumetric1 3D Graphics - Volume page.

  4. Go to the Volumetric1 3D Graphics - Volume page and notice that this color corresponds to active grid points. All active grid points are included when evaluating volumetric data. This may not always be the case, which is discussed in subsequent exercises.
  5. Switch from Active Grid Points to Spatial Calculation Levels.
  6. Under Show Fill Levels, click and set the following values:
    • Start Value: 0
    • Stop Value: 16
    • Step: 4
  7. Click Create Values .
  8. Go to the Volumetric1 3D Graphics - Legends page and select the Show Legend check box on the Fill Legend tab.
  9. Make the following changes:
    • Change the Title to Aircraft1 Straight Line Distance (km).
    • Set the Color Square Width (pixels) to 50.
  10. Click Apply .
  11. Go to the 3D Graphics window and notice that concentric circles of different colors appear on the outside of the grid. Zoom in and out and rotate the view to observe how colors appear on the outside from different directions and how they change on the inside. These colors represent a straight line distance from Aircraft1.
  12. Double-click on a few points to get the exact value. Close the grid point information window.

  13. Animate the scenario and notice how the straight line distance graphics for the aircraft change over time.

Change the Spatial Calculations

  1. Go to the Volumetric1 Basic - Definition page.
  2. Click Spatial Calculation to again bring up the spatial calculation selector from Analysis Workbench.
  3. Select Facility1 on the left and Altitude on the right.
  4. Click OK to assign selected spatial calculations to Volumetric1.
  5. Click Apply to assign all selections to the volumetric object. Re-evaluation of new volumetric data over time and across the grid is initiated and the Progress indicator is displayed.
  6. Go to the Volumetric1 3D Graphics - Legends page and change the Title to Facility1 Altitude (km).
  7. Click OK to dismiss the Volumetric1 properties.
  8. In the 3D Graphics window, observe its behavior again.
  9. The grid volume is filled with horizontal layers of colors, each representing a different vertical distance value.

  10. Save the scenario.

Using a Spatial Calculation based on Condition Satisfaction

In addition to directly limiting which grid points are considered for volumetric computations, spatial conditions can also produce calculations based on their satisfaction intervals. This can be accomplished by using a type of Spatial Calculation called Spatial Condition Satisfaction Metrics.

  1. Right-click Sensor1 in the Object Browser and select Analysis Workbench… ().
  2. Select the Spatial Analysis tab.
  3. Click to create a new Spatial Calculation and define the following parameters:
    • Type: Spatial Condition Satisfaction Metrics
    • Name: AccumulatedVisibilityDuration
  4. Click Spatial Condition to bring up the Spatial Condition selector from Analysis Workbench.
    1. Select Facility1 - Sensor1 on the left and Visibility on the right.
    2. Click OK to assign the selection and return to the Add Spatial Analysis Component page.
  5. Set the following on the Add Spatial Analysis Component page:
    • Satisfaction Metric: Interval Duration
    • Duration Type: Sum (default)
    • Accumulation Type: Up To Current Time
    • Filter: None (default)
  6. Click OK to apply your changes and create the spatial condition.
  7. Click Close to dismiss the Analysis Workbench.

Reset the Volumetric Data

  1. Double-click Volumetric1 and on the Volumetric1 3D Graphics - Volume page, select Spatial Calculation Levels.
  2. Highlight all previously selected values, then click Remove Value(s) .
  3. On the Basic - Definition page, click Volume Grid to bring up Volume Grid selector from the Analysis Workbench.
  4. Select AreaTarget1 and the SimpleCartographic volume grid.
  5. Click OK to assign the selected volume grid to Volumetric1.
  6. On the Basic - Definition page, click Spatial Calculation to bring up Spatial Calculation selector from Analysis Workbench.
  7. Select Facility1 - Sensor1 on the left and AccumulatedVisibilityDuration on the right.
  8. Click OK to assign selected volume to volumetric object.
  9. Click Apply to assign all selections to the volumetric object. Re-evaluation of new volumetric data over time and across the grid will be initiated. The Progress indicator may appear.
    • If you don't have the Volumetric set to auto-compute when changes are made, you should right-click on the Volumetric object in the Object Browser and select Volumetric > Compute.

Set the New Volumetric Values

  1. Go to the Volumetric1 3D Graphics - Volume page and click and set the following values:
    • Start Value: 0
    • Stop Value: 30
    • Step: 3
  2. Click Create Values .
  3. Select the Display colors outside min/max check box.
  4. Go to the 3D Graphics - Legends page and clear the Show Legend check box.
  5. Click Apply .
  6. Go to the 3D Graphics window. Animate and observe how changing colors reflect accumulated visibility duration at different grid points as spinning sensors sweeps through them.
  7. On the Volumetric1 3D Graphics - Volume page, make the color associated with the zero (0) sec level completely translucent to better observe internal structure of the volume being swept as durations are being accumulated during animation.
  8. Change the translucency of other levels to better observe other parts of the volume being swept.
  9. On the Volumetric1 3D Graphics - Grid page, clear the Show Grid check box to better observe the volumetric display.
  10. Click OK to apply all changes and dismiss the page.
  11. Save the scenario.

Using a Constrained Grid

A constrained grid provides an opportunity to dynamically restrict analysis to within certain time and spatial limits as dictated by a selected spatial condition, while still retaining the regular lattice structure of the underlying grid.

  1. Right-click AreaTarget1 in the Object browser and select Analysis Workbench… ().
  2. Select the Spatial Analysis tab.
  3. Click to create a new Volume Grid and set the following:
    • Type: Constrained
    • Name: SimpleCartographicInFOV
  4. Click Reference Grid to bring up Volume grid selector from Analysis Workbench.
  5. Select AreaTarget1 on the left and SimpleCartographic on the right.
  6. Click OK to assign the selection.
  7. Click Spatial Condition to bring up the Spatial Condition selector from Analysis Workbench.
  8. Select Facility1-Sensor1 on the left and Visibility on the right.
  9. Click OK to assign the selection
  10. Click OK to apply your changes and create the new grid.
  11. Click Close to dismiss Analysis Workbench.

Set the New Volumetric Values

  1. On Volumetric1 Basic - Definition page, click Volume Grid to bring up Volume grid selector from Analysis Workbench.
  2. Select AreaTarget1 on the left and SimpleCartographicInFOV on the right.
  3. Click OK to assign the selected volume grid to Volumetric1.
  4. Click Apply to accept the new grid and recalculate.
  5. On the Basic - Interval page, keep the default At Instant in time option selected for an evaluation of the spatial calculation.
  6. On the Volumetric1 3D Graphics - Grid page, select the Show Grid check box to better observe the volumetric display.
  7. Click Apply to assign all selections to the Volumetric1.
  8. The volumetric display restricts all colors to within the sensor Field of View (FOV) because only grid points that appear inside the sensor FOV are active and are used to evaluate and display volumetric data.

  9. The volume covered by these active grid points can be displayed separately from any calculation. To do that, open the Volumetric1 3D Graphics - Volume page and select the Active Grid Points option. The multi-color display representing levels of spatial calculation are replaced with a single color corresponding to active grid points. Animate and observe how this volume follows the sensor FOV.
  10. Right-click Volumetric1 and select Report & Graph Manager... ().
  11. Double-click the Satisfaction Volume report style. The report will look similar to the following:
  12. Save the report as a quick report (), and then close the report.
  13. Save the scenario.

Using Spatial Conditions for a Constrained Grid

You can create new spatial conditions using various operations provided in Analysis Workbench. Any of these user-defined conditions can be used to constrain a grid.

  1. Right-click Sensor1 in the Object browser and select Analysis Workbench… ().
  2. Select the Spatial Analysis tab.
  3. Click to create a new Spatial Condition and set the following:
    • Type: Over Time
    • Name: VisibilityOverTime
  4. Click Original Spatial Condition to bring up Spatial Condition selector from Analysis Workbench.
  5. Select Facility1 - Sensor1 on the left and Visibility on the right.
  6. Click Reference Intervals to bring up the Time Interval and Interval List selector from Analysis Workbench.
  7. Select Facility1 - Sensor1 on the left and AvailabilityTimeSpan on the right.
  8. Click OK .
  9. Notice that Duration Type is set to Static.

  10. Click OK again to create the new spatial condition.

Add a New Volume Grid

  1. Select AreaTarget1 and click to create a new Volume Grid and make the following selections:
    • Type: Constrained
    • Name: SimpleCartographicInFOR
  2. Click Reference Grid to bring up Volume grid selector from Analysis Workbench.
  3. Select AreaTarget1 on the left and SimpleCartographic on the right.
  4. Click OK to assign the selection.
  5. Click Spatial Condition to bring up the Spatial Condition selector from Analysis Workbench.
  6. Select Facility1 - Sensor1 on the left and VisibilityOverTime on the right.
  7. Click OK to assign the selection.
  8. Click OK to apply the page and create the new grid
  9. Click Close to dismiss Analysis Workbench.
  10. Double-click Volumetric1 object and on the Volumetric1 Basic - Definition page, click Volume Grid to bring up Volume grid selector from Analysis Workbench.
  11. Select AreaTarget1 on the left and select SimpleCartographicInFOR on the right.
  12. Click OK to assign the selected volume grid to volumetric object.
  13. Click Apply to assign new selection to the volumetric object.
  14. Re-evaluation of new volumetric data over time and across the grid will be initiated. Progress indicator may appear.

    New volumetric display restricts all colors to within the sensor FOR, which covers space to which sensor has visibility over specified period of time.

  15. On the 3D Graphics - Volume page, select the Spatial Calculation Levels option, and observe that horizontal color slices now appear with the sensor FOR.
  16. Click OK to apply all changes and close the page.
  17. Refresh the SatisfactionVolume report or recreate it from the Quick Report Manager to display the accumulated coverage.
  18. Save the scenario.

Using a Geographically Constrained Grid

You can define Line and Area Target objects in STK and then use them to define spatial conditions that geographically restrict volume grids.

  1. Notice that AreaTarget1 covers an elliptical shape under the volume grid.
  2. Right-click AreaTarget1 in the Object browser and select Analysis Workbench… ().
  3. Select the Spatial Analysis tab.
  4. Right-click SimpleCartographic under My Components and select Properties...
  5. Select the Constrain active grid points within Area Target check box.
  6. Click OK to apply the changes.
  7. The Volumetric display and computations will be cleared.

  8. Right-click Volumetric1 in the Object Browser and select Volumetric > Compute.
  9. Re-evaluation of new volumetric data over time and across the grid is initiated and the Progress indicator is displayed.

    The new volumetric display restricts all colors to within an elliptical cylinder limited by the elliptical shape of AreaTarget1.

  10. On Volumetric1 3D Graphics - Grid page, clear the Show Grid check box to better observe the constrained colored volume.
  11. Save the scenario.

Using a Grid Attached to a Moving Object

You can define volumetric objects using volume grids attached to moving objects.

  1. Clear the check box next to Volumetric1 in the Object Browser to turn off Volumetric1 object graphics to avoid cluttering the display.
  2. Open the Insert drop down and select Default Object... .
  3. Select Volumetric (), then click Insert .
  4. Open Volumetric2's properties.
  5. On the Basic - Definition page, click next to Volume Grid to bring up the Volume Grid selector from Analysis Workbench.
  6. Select Aircraft1 on the left and the SimpleSphere on the right.
  7. Click OK to assign the selected volume grid to the volumetric object.
  8. Select the Spatial Calculation check box, and click to access the Spatial Calculation selector from Analysis Workbench.
  9. Select Facility1 - Sensor1 on the left and the AccumulatedVisibilityDuration on the right.
  10. Click OK to assign the selected spatial calculation to Volumetric2.
  11. Click Apply to assign the new selection to Volumetric2.
  12. Right-click the Volumetric2 object and select Volumetric > Compute.
  13. Evaluation of new volumetric data over time and across the grid is initiated and the Progress indicator is displayed.

  14. Go to the 3D Graphics - Volume page, switch to Spatial Calculation Levels, click , and set the following values:
    • Start Value: 0
    • Stop Value: 15
    • Step: 3
  15. Click Create Values .
  16. Go to the 3D Graphics - Grid page and clear the Show Grid check box for a better display.
  17. Animate and observe how accumulated Sensor1 visibility to grid points surrounding Aircraft1 evolves over time.