How to calculate when an STK Object (satellite) is within a volume?

« Go Back


ProblemHow to calculate when an STK Object (satellite) is within a volume?
Example scenario / solution:


Find the time intervals when an Actor satellite approaches a target point offset from a parent satellite within a specified tolerance. 
In this specific case, the target point is offset from the parent satellite by 100 km in the parent's intrack direction.  The tolerances are centered on the target point specified in the parent's RIC reference frame center; R = +- 10 km, I = +- 50 km, and C = +-10 km.


Use STK Analysis Workbench to create a volume around the target point that is based on the specified tolerance. The time intervals then can be determined as when the Actor satellite is within the target volume.

Add a Target Point

  1. Open the Analysis Workbench (User-added image).
  2. Click the Vector Geometry tab.
  3. Select the TargetParent (User-added image) satellite.
  4. Create a Target point (User-added image) on the parent satellite.
  5. Set the Name to TargetPointVol.
  6. Click the ellipsis (User-added image) button beside the Reference System.
  7. Select the RIC system.
  8. Set the Cartesian Y to 100 km.
  9. Click OK.

Add a Target System

  1. Select TargetPointVol (User-added image) in the Components For list.
  2. Create a new Target System (User-added image).
  3. Set the Name to TargetSystemVol.
  4. Ensure the Type is set to Assembled.
  5. Set the Origin Point to TargetPointVol.
  6. Set the Reference Axes to RIC for the TargetParent.

Spatial Analysis tab

  1. Select the Spatial Analysis tab.
  2. Click the Create new Volume Grid (User-added image) button.
  3. Ensure the Type is set to Cartesian.
  4. Set the Name to VolumeGridParent.
  5. Ensure the Parent field is set to Satellite/TargetParent.
  6. Set the Reference System to TargetSystemVol (User-added image). This is centered around the target point.
  7. Click the Get Grid Values... button.
  8. Set the following options:
Number of Steps111

The number of steps are being set because you are only interested in the defined volume and not on evaluating the grid points.

Spatial Condition

  1. Click the Create the new Condition (User-added image) button.
  2. Set the Type to Grid Bounding Volume.
  3. Set the Name to GridBound.
  4. Set the VolumeGrid to TargetParent VolumeGridParent (The volume grid set in the Spatial Analysis tab).
  5. Set the Edge Type to Coordinate Edge.
  6. Click OK.

Trajectory Within the Volume

You would like to know when the actor satellite is within the volume bounds you just created. Let's set up a calculation that ensures the center point of the actor satellite is within the bounds.

  1. Select the Calculation tab.
  2. Create a spatial Condition (User-added image).
  3. Set the Type to Trajectory Within Volume.
  4. Set the Name to WithinTrajectory.
  5. Set the Trajectory Point to the Center point of the Actor satellite.
  6. Set the Spatial Condition to GridBound (the bound volume from the Spatial Condition section).
  7. Click OK.

Create a Satisfaction Intervals Report

  1. Expand the WithinTrajectory Calculation Condition.
  2. Right-click on SatisfactionIntervals.
  3. Select the Report... option.

Create the Visualization

You would like to visualize the tolerance volume. You can do this by creating a Volumetric object.

  1. Create a Volumetric Object (User-added image) using the Object Browser.
  2. Open the Volumetric's (User-added image) properties (User-added image).
  3. Select the Basic - Definition page.
  4. Set the Volume Grid to VolumeGridParent.
  5. Click OK.
  6. Right-click the Volumetric (User-added image) object in the Object Browser. 
  7. Expand the Volumetric menu.
  8. Select the Compute option.
Resource File 1 
Resource File 2