Probabilistically Analyzing Launch Errors with ModelCenter

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

Required product install: The Ansys ModelCenter® model-based systems engineering software and the STK Plugin for ModelCenter are required to complete this tutorial.

ModelCenter installation prerequisites: The ModelCenter software requires the installation of a 64-bit version of Java, a 64-bit implementation of Python 3.x, and the installation of the thrift and six Python packages. See the ModelCenter Installation Prerequisites for more information.

This tutorial was written using version 2026 R1 of the Ansys ModelCenter® model-based systems engineering software.

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.

Capabilities covered

This lesson covers the following capabilities of the Ansys Systems Tool Kit® (STK®) digital mission engineering software:

  • STK Pro
  • Astrogator
  • STK Analyzer

Problem statement

Engineers and mission planners want to know what effects small launch errors can have on a mission. You have a nominal trajectory for a launch, which you planned using the STK/Astrogator® capability, but you want to better understand how small uncertainties can compound over time, should the launch not go exactly as planned.

Solution

Use the STK/Astrogator® capability and the Analyzer capability, which is part of the Ansys ModelCenter® model-based systems engineering software, to vary the burnout latitude, longitude, altitude, and velocity, then look at the resulting changes in a satellite's Keplerian elements.

Using the starter scenario

To speed things up and allow you to focus on the portion of this exercise that teaches you how to use the ModelCenter software, a partially created scenario has been provided for you.

Opening the starter scenario

The starter scenario is included in your install.

  1. Launch the STK application ().
  2. Click Open a Scenario in the Welcome to STK dialog box.
  3. Browse to <Install Dir>\Data\Resources\stktraining\VDFs.
  4. Select Analyzer_LaunchErrors.vdf.
  5. Click Open.

Saving the VDF as a scenario file

Save and extract the VDF data in the form of a scenario folder. When you save a VDF in the STK application, it will save in its originating format. That is, if you open a VDF, the default save format will be a VDF (.vdf). If you want to save and extract a VDF as a scenario folder, you must change the file format by using the Save As feature. This will create a permanent scenario file complete with child objects and any additional files packaged with the VDF.

  1. Open the File menu when the starter scenario opens.
  2. Select Save As....
  3. Select the STK User folder in the navigation pane when the Save As dialog box opens.
  4. Select the Analyzer_LaunchErrors folder.
  5. A scenario folder with the same name as the VDF was created for you when you opened the VDF in the STK application. This folder contains the temporarily unpacked files from the VDF.

  6. Click Open.
  7. Select Scenario Files (*.sc) in the Save as type drop-down list.
  8. Select the Analyzer_LaunchErrors scenario file in the file browser.
  9. Click Save.
  10. Click Yes in the Confirm Save As Dialog box to overwrite the existing scenario file in the folder and to save your scenario.

When saving a VDF as a scenario folder, you should extract its contents to the scenario folder the STK application automatically creates for you in the STK User folder. See the Permanently Extracting a VDF as a Scenario Folder and VDF Setup Considerations pages for more information.

Save () often during this lesson!

Reviewing the starter scenario

Take a moment to familiarize yourself with the starter scenario.

Launch Errors 3D and 2D Graphics windows

Viewing the satellite's initial state

Review the Launch parameters of the Astrogator satellite by viewing its Mission Control Sequence. The Mission Control Sequence (MCS) is the core of a space mission scenario. The MCS functions as a graphical programming language in which mission segments dictate how the Astrogator capability calculates the trajectory of the spacecraft based on the general settings that you specify for the MCS itself.

  1. Right-click on Sat1 () in the Object Browser.
  2. Select Properties ().
  3. Select WallopsLaunch () in the Mission Control Sequence.
  4. The WallopsLaunch Launch segment models a simple spacecraft launch from Earth or another central body. The method is like that employed by the Simple Ascent propagator for Launch Vehicle and Missile objects. The trajectory produced is a simple curve rising vertically from the launch pad that turns over smoothly to insert the launch vehicle into orbit with the specified flight path angle at the insertion point using the specified velocity. A Launch segment is defined by parameters for the launch trajectory, the launch location, the burnout point, and (optionally) the burnout velocity.

  5. Ensure the Launch tab is selected.
  6. Review the Launch parameters.
  7. Take note of the launch coordinates. Your launch is taking place from Launch Complex 0 of the Mid-Atlantic Regional Spaceport on Wallops Island, Virginia.

  8. Select the Burnout tab.
  9. Note the time of flight, altitude, and other burnout parameters. You will vary these values as part of your trade studies.

Reviewing the initial Propagate segment

The satellite is moved to its ascending node using a Propagate segment, which models the movement of the spacecraft along a trajectory until meeting specified stopping conditions.

  1. Select PropToAscendingNode () in the MCS.
  2. Note the Stopping Condition.

Stopping conditions are Astrogator components that are used by Propagate, Follow, and Finite Maneuver segments to define the point at which the propagation should stop. In this case, the propagation stops when the satellite reaches the ascending node at a point where it crosses the X-Y plane from South to North.

Understanding the RaiseApogee Target Sequence

The satellite's apoapsis (apogee) is raised using a Target Sequence. A Target Sequence runs the segments nested within it and applies profiles to the run according to its configuration. You can apply the results of a target sequence to the MCS to produce a trajectory that meets the goals you need to achieve. Review the segments to better understand how the satellite was propagated.

  1. Select Mnvr1 () in the MCS.
  2. Note that Mnvr1 is an Impulsive Maneuver segment, in which Astrogator calculates the new state of the spacecraft by adding a Delta-V vector to the final state velocity of the previous segment. This new state is then added to the ephemeris and passed to the next segment. Note that X (Velocity) is selected () to make it an independent variable as part of the target sequence.

  3. Select ToApogee () in the MCS.
  4. Note the Apoapsis stopping condition.

  5. At the bottom of the MCS, click Results....
  6. Clicking this button opens the User-Selected Results dialog box, in which you can view and select calculation objects for Astrogator to report and target when defining a Differential Corrector Target Sequence profile. In this case, you are targeting the true altitude above Earth.

  7. Close () the User-Selected Results dialog box without making any changes.

Viewing the RaiseApogee differential corrector

The Target sequence uses a differential corrector profile, which uses a differential corrector algorithm, to achieve a goal value or set of values. The values that the differential corrector profile targets are called independent variables, or control parameters. The values that define the goal of the profile are called dependent variables, or equality constraints. When the target sequence runs, it will change the values of the independent variables to achieve the goal.

  1. Select RaiseApogee () in the MCS.
  2. Click Properties... () in the Profiles toolbar.
  3. Review the targeting profile's properties when the Differential Corrector dialog box opens.
  4. Looking at the Variables, the control parameter is Cartesian.X — or X (Velocity) — which was targeted. The equality constraint is altitude and the desired value is set to 2000 kilometers.

  5. Close () the Differential Corrector dialog box without making any changes.

Understanding the RaisePerigee Target Sequence

After satellite's apogee is raised as part of the RaiseApogee Target Sequence, its periapsis is raised using another Target Sequence, RaisePerigee.

  1. Select Impulsive Maneuver () in the MCS.
  2. Note that Both X (Velocity) and Y (Normal) are selected (), making them independent variables in the Target Sequence.

  3. At the bottom of the MCS, click Results....
  4. Note that both Eccentricity and Inclination are the selected results.

  5. Close () the User-Selected Results dialog box without making any changes.

Viewing the RaisePerigee differential corrector

A Differential Corrector Profile runs the Target Sequence.

  1. Select RaisePerigee () in the MCS.
  2. Click Properties... () in the Profiles toolbar.
  3. Looking at the variables, the control parameters are Cartesian.X and Cartesian.Y — or Y (Normal) — which were targeted. The equality constraints are eccentricity and inclination. The desired eccentricity value is 0 and inclination is 50 degrees.

  4. Close the Differential Corrector dialog box.
  5. Click Cancel to Close the Properties Browser without making any changes.

Creating a new ModelCenter project

The Ansys ModelCenter software is designed for multidisciplinary analysis and design optimization. It allows you to automate complex workflows, integrate multiple engineering tools, and optimize designs within model-based systems engineering frameworks. Before opening the ModelCenter application, however, save your scenario and close out of the STK application.

  1. Save () your scenario.
  2. Close the STK application.
  3. Open the ModelCenter () application.
  4. Click Start a New Model in the Welcome to ModelCenter dialog box.
  5. Click Process when the What type of model would you like to create? dialog box opens.
  6. Navigate to your scenario folder (for example, C:\Users\<username>\Documents\STK_ODTK 13\Analyzer_LaunchErrors.
  7. Enter Analyzer_LaunchErrors in the File name field.
  8. Ensure the Save as type is set to the ModelCenter Model (Zip) (*.pxcz).
  9. Click Save.

Launching the STK Plugin for ModelCenter

The STK Plugin for ModelCenter imports a copy of the desired Scenario and opens it in an instance of the STK application. Launch the plugin by adding it to your workflow's analysis view from the Server Browser.

  1. Select favorites () in the Server Browser at the bottom of the window.
  2. Click and drag the STK component () into the dashed circle underneath "Drop items here to build the model" in the workflow's Analysis View.
  3. Select Analyzer_LaunchErrors.sc when the Open STK Scenario file dialog box opens.
  4. Click Open.
  5. After a few moments, the STK Analyzer window will open.

The Analyzer_LaunchErrors scenario file will open in the STK application in the background.

You can add any of the STK variables as ModelCenter input or output variables through the STK Analyzer window that appears. If you change the value of a variable in your scenario through the STK interface or the ModelCenter Component Tree, you should re-add the variable into ModelCenter or re-run the workflow before running any trade studies with the new value.

Setting up your analysis with Analyzer

Use the STK Analyzer window to configure the input and output variables available for further analysis with the Analyzer capability.

Selecting the Analyzer input variable

Your studies will focus on the Trip value (that is, the true anomaly) of the first propagate segment against the Delta-V of the maneuver segment. Select the Trip value as your input variable.

  1. Select Sat1 () in the STK Variables tree.
  2. When you select an object in the STK Variables tree, all possible input variable candidates for that object are listed under the General tab and the Active Constraints tab in the STK Property Variables panel.

  3. Expand () the Propagator (Astrogator) () property in the STK Property Variables tree.
  4. Select WallopsLaunch ().
  5. Select BurnoutVelocity_FixedVelocity ().
  6. Move () BurnoutVelocity_FixedVelocity () into the Analyzer Variables list.
  7. Move () the following input variables to the Analyzer Variables list:
    • Burnout_Geodetic_Latitude
    • Burnout_Geodetic_Longitude
    • Burnout_Geodetic_Altitude
  8. Be sure you do not select the Launch_Geodetic Latitude, Longitude, and Altitude variables.

Note that all of the variables are listed under Inputs in the Analyzer Variables list.

Selecting the Analyzer output variables

You want to analyze the effects of the launch errors on the final propagated orbit. Add the orbital parameters from the final Propagate segment in the MCS as your output variables.

  1. Expand () Prop10Mins ().
  2. Expand () the FinalState () property.
  3. Expand () the Keplerian () property.
  4. Select SemiMajorAxis ().
  5. Move () SemiMajorAxis () into the Analyzer Variables list.
  6. Move () the following output variables () to the Analyzer Variables list:
    • Eccentricity
    • Inclination
    • RAAN
    • ArgOfPeriapsis
    • TrueAnomaly

    Note that these variables are listed under Outputs in the Analyzer Variables list.

  7. Click OK to confirm your selections and to close the STK Analyzer window.
  8. This will also close the STK application, which had been running in the background.

Studying launch errors with probabilistic analysis

You want to better understand how uncertainties during the launch can affect your intended orbit. Use the Probabilistic Analysis tool to run a trade study of the burnout parameters against the final orbital parameters.

Opening the Probabilistic Analysis tool

The Probabilistic Analysis tool helps you understand how uncertainties in the design parameters affect the outputs of the ModelCenter model. The tool is typically used to compute the probability that the value of an output variable exceeds a specified limit. In addition to random sampling methods such as the Monte Carlo method, the tool provides a number of additional analytical methods that require much smaller sample sizes. You can set up and execute the probabilistic analysis through a unified graphical user interface (GUI). Using the GUI, you can easily switch between available algorithms.

  1. Expand () all the elements in the Component Tree.
  2. Click Probabilistics () in the Standard toolbar.

Selecting the design variables and responses

It is important to properly specify the distribution characteristics of the design variables. When a new design variable is added to the tool, the Distribution Selection dialog box will appear. Using the Select dialog box, you can choose a distribution for a given design variable

  1. Click and drag BurnoutVelocity_FixedVelocity () to the Design Variables field.
  2. Select Normal () in the Distribution list when then Select Distribution dialog box appears.
  3. The Normal distribution type is a "bell-shaped" distribution that describes many situations where observations are distributed symmetrically around the mean. For this distribution, 68% of all values under the curve lie within one standard deviation of the mean, and 95% lie within two standard deviations.

  4. Leave the default Mean setting as is.
  5. Change the Std. Dev setting to 0.001%.
  6. Distribution selection dialog box

  7. Click OK to confirm your changes and to close the Select Distribution dialog box.
  8. Using the above process, click and drag Burnout_Geodetic_Latitude (), Burnout_Geodetic_Longitude (), and Burnout_Geodetic_Altitude () to the Design Variables field, leaving their Mean settings at their default values and setting their standard deviations (Std. Dev.) to 0.001%.
  9. Multi-select all six of the Keplerian element output variables () — SemiMajorAxis, Eccentricity, Inclination, RAAN, ArgOfPeriapsis, and TrueAnomaly.
  10. Click and drag the variables to the Responses field.

Running the probabilistic analysis

With your input and output variables added, set up and run your probabilistic analysis.

  1. Leave Monte Carlo as the Method.
  2. Monte Carlo is a random sampling technique. It generates random values for the design variables based on the joint distribution of the design variables. The samples are then evaluated for computing response variable values. Since this is a random sampling technique, if ModelCenter performs a high enough number of evaluations, this method will give the most accurate results. The number of evaluations to generate a good probability estimate increases rapidly as the probability value under consideration decreases. Since Monte Carlo is a random sampling technique, you can use it with response functions, discrete design variables, and discrete response variables that are not smooth. The histogram plot ignores failed runs while calculating mean, variance, skewness, kurtosis, etc.

  3. Change the Number of Runs to 100.
  4. This control parameter is the maximum number of runs the tool will perform.

  5. Click Run....

Clicking Run... will open the Data Explorer, which is a tool used by Trade Study tools to display data while they are being collected from your Model. While data are being collected, the Data Explorer displays a progress meter, a halt button, and the data. The Table page of the Data Explorer displays trade study data in a tabular form. It is the default window that is present for all trade studies. Cells are shaded differently depending on the associated variable's state. Input variables are shown with green text, valid values are displayed with black text, invalid values are displayed with gray text, and modified values are displayed with blue text. From the table it is possible to view and edit all values in your trade study and even to add and remove whole runs.

Viewing the Histogram Plot

Once the trade study is complete and all data have been collected, the Data Explorer toolbar becomes active. The Data Explorer stores values for all variables in a workflow and special variables from the trade study. Some trade study tools will automatically launch a default plot window when the trade study runs. For other plots, you can create them from the Add View menu.

In this case, a Histogram Plot is automatically created. A Histogram Plot visualizes the distribution of a variable in a trade study. In addition to a graphical Histogram representation of the data, the page also contains a Box Plot of the distribution as well as a display of the statistics of the distribution, including mean, standard deviation, quantiles, etc. Finally, the Histogram page contains bounds on which values of the variable are acceptable and computes reliability statistics based on how many runs fall into that defined space.

  1. Review the Histogram Plot.
  2. Burnout Velocity Histogram Plot

    In this case, the Histogram Plot shows data for the first variable in the Design Variables field, the Burnout Velocity.

  3. Click Dimensions in the Plot Options menu on the left-hand side of the Histogram Plot.
  4. Open the x drop-down list.
  5. Select Eccentricity.
  6. Click on the plot to close the Plot Options menu.
  7. Review the results.

Eccentricity Histogram Plot

You can cycle through each of the Keplerian elements in this manner.

Generating a Scatter Matrix

A Scatter Matrix displays a grid of graphs that compare every design variable and response against every other design variable and response in the trade study. It is a grid of 2D scatter plots, where all variables under investigation are plotted against each other. Scatter matrices are an effective way to visualize trends and all possible two-way interactions of the data.

  1. Click Add View () on the Histogram Plot toolbar.
  2. Select Scatter Matrix () in the drop-down menu.
  3. Review the scatter plots.

Scatter Matrix Plot

Using these scatter plots, it's possible to gain an understanding as to the relationship between various variables in the trade study.

Creating a Variable Importance Summary Plot

A Variable Importance plot allows you to see which individual design parameters (main effects) and combinations of design parameters (interaction effects) have the most influence on the currently selected output variable. This plot helps you to quickly zero in on the most important design parameters for your problem.

  1. Click Add View () on the Scatter Matrix toolbar.
  2. Select Variable Importance Summary Plot () in the drop-down menu.
  3. Review the plots.

Variable Importance Summary Plot

From the plots, it is clear that the burnout velocity and burnout latitude have the greatest effects on the satellite's orbital state. Using this information, you can choose which launch parameters to study in greater depth.

Saving your work

Save your work and close out ModelCenter application.

  1. Close out any open plots, tools, and the Data Explorer window.
  2. Click No when prompted to close your trade study without saving.
  3. Click Save () to save your ModelCenter workflow.
  4. Close the ModelCenter application.

Summary

You began by opening a prebuilt scenario with a satellite propagated from launch using the Astrogator capability. After examining the satellite's burnout parameters, you used the ModelCenter software to better understand how uncertainties in the launch can affect the mission design by conducting a probabilistic analysis. By using the ModelCenter software, you can better understand your design space and plan accordingly.

On your own

While you can use ModelCenter to better understand how launch errors can affect your mission and inform ts design, it does not help you correct for errors once the satellite has been launched. For that, you can use the Ansys Orbit Determination Tool Kit (ODTK®) orbital measurement processing software and the STK software together to plan and model maneuvers needed to get your mission back on track. See the Using Astrogator and ODTK Together tutorial for more information.