Flight Analysis Tool: Part 2

STK Enterprise
You can obtain the necessary licenses for this training by visiting http://licensing.agi.com/stk/evaluation or contacting AGI Support at support@agi.com or 1-800-924-7244.

Capabilities Covered

  • Test and Evaluation Tool Kit (TETK)

  • STK Core

  • Analysis Workbench

Add Link Lines

  1. In the Flight Analysis Tool toolbar, click the Draw Link Lines () button.
  2. Name the Link Line RangeToShip.
  3. Click the ... button under Contour.
  4. Click the Data Element button ().
  5. Expand XF1_0123_To_Ship_QuickLook and select RangeFromShip.
  6. Click OK.
  7. Under Contour Levels, click the Min/Max button to auto populate the Start and Stop fields.
  8. Click Add to add the levels to the Levels table, then click OK
  9. Click the point buttons () to set the Start Point to the XF1 center and the End Point to the Ship center.
  10. Click OK.
  11. You will see a line drawn between the aircraft and ship that is colorized based on the range distance of the aircraft to the ship as it flies along the route.

Add Vectors

The Vector tool allows a user to create vectors from external data sources. If the source data is array-structured, the Vector tool automatically creates all of the array-indexed vectors.

  1. In the Flight Analysis Tool toolbar, click the Create Vector () button.
  2. Click OK to close the message about not have any vector mappings. You will create one soon.
  3. Name the vector ToShip.
  4. This vector name has to be a unique name, and cannot be the same as any installed vectors. To check this, open Analysis > Analysis Workbench, and go to the XF1_0123 aircraft. Ensure no vectors under My Components, Vectors, or Installed Components have the same name. Close the Analysis Workbench.

  5. Click the plus button () to create a new vector mapping.
  6. Name the Vector Mapping NED_Ship.
  7. Confirm the Vector Representation is set to Cartesian.
  8. In the Vector Component Reference field, click the axes button () and choose XF1_0123 NorthEastDown.
  9. From Ownship.csv, add the Ship North, Ship East, and Ship Down elements as the X, Y, and Z properties.
  10. Click OK.
  11. Verify that the frame object is set to the ownship XF1_0123.
  12. Click Apply on the Vector panel.

    You may get an error message saying Row 3 contains invalid data because the data only exists during the RF runs and is not continuous. Click No to suppress this data.

  13. Zoom To XF1_0123 ownship. Animate the scenario; you will see the vector only during the RF runs.

Creating a New Point

It may be difficult to see the vector with the Quick Look vectors displayed. We will create a new point at the nose of the aircraft to display the vector.

  1. From the STK toolbar, select Analysis > Analysis Workbench.
  2. Select XF1_0123 and click the Create new Point button (). Define the following properties:
  3. Field Value
    Type Fixed in System
    Name Nose
    Fixed Point Type Cartesian
    X 8 m
    Y 0
    Z 0
    Reference System XF1_0123_Body
  4. Click OK, then close the Analysis Workbench.
  5. In the ToShip vector properties window, under Display Origin, click the point button ().
  6. Double-click the Nose point.
  7. Click OK.
  8. When asked to replace or update the vector, click Yes.
    The vector now displays at the nose of the aircraft.
  9. Save your scenario.

Add Graphs

  1. In the Flight Analysis Tool toolbar, click the Graph Flight Data () button. You may need to click Toolbar Options to display the Graph Flight Data button.
  2. Name the graph AltitudeMSL.
  3. Select the Use Time on X Axis check box.
  4. Click the data element button () next to the Y metric column.
  5. Expand Ownship.csv, then choose Altitude_MSLand click OK.
  6. Click the plus button () to Add a Line Segment.
  7. Click the data element button (), in the new row, expand Target1.csv, then choose AltitudeMSL.
  8. Click the plus button () again to Add a Line Segment.
  9. Click the data element button (), expand Target2.csv, then choose AltitudeMSL.
  10. Change the Y Units to ft.
  11. Click Apply to generate the graph with the Ownship, Target 1, and Target2 MSL altitudes in a single graph.
  12. Click the Toggle Legend button (), expand Legend, and choose Show/Hide to see which color is which object.

  13. Close the graph and close the graph properties window.

Using Graph Annotations

Graph annotations can be a helpful way to better communicate key segments of data. There are various shapes, text, lines, best-fit curves, and min and max boundaries that can be added to any graph.

  1. Keeping the AltitudeMSL graph open, click the Annotations button ( ), select Span, and click Horizontal.
  2. Using the image below as a reference, do an initial click and hold in the general area of the left blue square, then drag your mouse to the general area of the right blue square and let go of the mouse click. Don’t worry about getting this perfect as the X and Y anchor values can be adjusted later.
  3. In the Annotation: Span Horizontal pop up window, set the following properties:
    • Name: RF Runs

    • Label1: RF Runs

  4. If you’d like to adjust your X and Y values to a cleaner state, set:
    • X1 = 1 Mar 2017 20:21:43.000

    • X2 = 1 Mar 2017 20:52:31.000

    • Y1 = 27000

  5. Click OK to finish creating the horizontal span annotation.
    The property window for annotations can be accessed again by either left-clicking on the annotation on the graph or through the Annotations button in the Graph Properties window.
  6. Let’s add another annotation. Click the Annotations button ( ), select Shape, and click Pointer.
  7. Using the image below as a reference, left-click near the very beginning of the data for Targets 1 and 2.
  8. In the Annotation: Shape Pointer pop-up window, set the following properties:
    • Name: Targets Takeoff

    • Label: Targets Takeoff

  9. Click OK to finish creating the pointer annotation.
  10. If you’d like to move the label and direction of the pointer, left-click the label and drag it to another area.
  11. Spend some time exploring the other annotation types as desired. An existing annotation can be removed by reopening its property window and clicking the Delete button in the lower left.
  12. Close the graph and close the Graph Properties window.
  13. Save your scenario.

Using Graph Overlays

Graph overlays provide the ability to add any type of polygon shape to a graph based on X, Y data. These overlays are configured in a text file format. Overlays can be further customized by color, transparency, and line style. Overlays can be used for visualization as well as for determining the number of data points that are inside and outside of the overlay. You will now look at a simplified overlay to see how the aircraft flew within its flight envelope.

  1. In the Flight Analysis Tool toolbar, click the Graph Flight Data () button to create another graph.
  2. Name the graph Alt vs Mach Flight Envelope.
  3. Set the color to Blue.
  4. Click the Y Metric data element button (), expand Ownship.csv, then choose Altitude and click OK.
  5. Click the X Metric data element button (), expand Ownship.csv, then choose Mach No and click OK.
  6. Change the Y Units to ft.
  7. Change the Y Axis Label to Altitude.
  8. Change the X Axis Label to Mach.
  9. Enable the check box in the middle right of the window next to the Y and X Axis extents fields. This enables you to set custom values.
  10. Set the following extent values:
    • Y min = default

    • Y max = 55000

    • X min = 0

    • X max = 0.9

  11. In the upper middle of the graph property window, click the Overlays button.
  12. Click the add button () to add a new overlay.
  13. Navigate the file explorer to add: C:\Program Files\AGI\STK 12\Help\TeTraining\Training files\Overlays\Ownship_Flight_Envelope_Overlay.txt
  14. The file will load in with multiple preset settings based on metadata in the header of the overlay file.
  15. Click Apply and then Close to accept the changes in the Overlays window.
  16. Click OK to generate the graph of altitude vs mach number with a representative flight envelope added a graph overlay. You can expand the height of the graph window to make it easier to see.
  17. In the graph toolbar, click the Show Report for Metric button (), hover over Overlay points, and then select Ownship_Flight_Envelope_Overlay.txt.

    An Overlay Points window will open that tells you the number of points inside and outside of the overlay. In this case, you can see there are a number of data points that fall outside of the flight envelope overlay.

  18. Close the Overlay Points window, the graph, and the Graph Properties window.

Add Video Overlays

The Video Overlay tool enables external video files to be time-dynamically synced with the STK animation. After syncing the video with STK, the standard animation setting toolbar can be used to play, pause, rewind, and speed up/slow down, the video feed.

  1. In the Flight Analysis Tool toolbar, click the Create Video Overlay () button.
  2. Click Yesif it asks to set the time to X Real Time.
  3. Name the video SampleVideo.
  4. Under Select Video File, click ... to browse to a video.
  5. Browse to C:\Program Files\AGI\STK 12\Help\TeTraining\Training files and change the file type that it's looking for to *.wmv.
  6. Open Sample video - start time 20-51-55.wmv.
  7. Set the start time to 20:51:55.000. Do not change the date so that is stays in sync with the scenario.
  8. Click Add.
  9. Click OK.
  10. Save your scenario.
  11. Jump to the start time of the video at 20:51:55.000 and you will see the cockpit video overlay in the 3D Graphics window. A quick way to do this is to type the time into the current animation time field within the animation toolbar and hit Enter on your keyboard.
  12. Animate the scenario to see the video overlay update over time.
    This shows how you can overlay real cockpit recordings or any other videos from a different viewpoint, which will be synced to the scenario animation.