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. The ModelCenter software is available through the Ansys Universal Installer and the STK Plugin for ModelCenter is included with the STK Premium installation. Contact AGI support for installation help.

ModelCenter installation prerequisites: The ModelCenter software installs the current version of Java and Python supported by Ansys, but you can also use your own versions. See the Installation instructions in the ModelCenter Installation Guide and Supported Versions documentation for more information. Contact AGI support for help with installation.

This tutorial was written using version 2026 R1 of the Ansys ModelCenter® model-based systems engineering software. Refer to the ModelCenter Supported Versions page in the ModelCenter Installation Guide and Supported Versions documentation for compatibility information.

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 the satellite's Keplerian elements.

What you will learn

Upon completion of this tutorial, you will understand the following:

  • How to study launch errors using the ModelCenter application
  • How to use the ModelCenter application's Probabilistic Analysis tool
  • How to create Histogram, Scatter Matrix, and Variable Importance Summary Plots using the ModelCenter software

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. Open the Save as type drop-down list.
  8. Select Scenario Files (*.sc).
  9. Select the Analyzer_LaunchErrors scenario file in the file browser.
  10. Click Save.
  11. Click Yes when the Confirm Save As Dialog box appears 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.

Propagated satellite in the 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. It 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 () in the shortcut menu.
  3. Select the Basic - Orbit page when the Properties Browser opens.
  4. Select WallopsLaunch () in the Mission Control Sequence.
  5. 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.

  6. Select the Launch tab.
  7. Review the Launch parameters.
  8. Your launch is taking place from Launch Complex 0 of the Mid-Atlantic Regional Spaceport on Wallops Island, Virginia.

  9. Select the Burnout tab.
  10. Note the time of flight, latituded, longitude, abnd altitude, in the Burnout panel.
  11. Note also the Fixed Velocity in the Burnout Velocity panel.

You will vary these burnout parameters to model the uncertainties associated with launch errors as part of a trade study.

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 in the Stopping Conditions panel.

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 the RaiseApogee 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 is propagated.

  1. Select Mnvr1 () in the MCS.
  2. Note that Mnvr1 is an Impulsive Maneuver segment.
  3. The Astrogator capability 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.

  4. Note that X (Velocity) is selected () to make it an independent variable as part of the target sequence.
  5. Select ToApogee () in the MCS.
  6. Note the Apoapsis stopping condition.
  7. Click Results... at the bottom of the MCS.
  8. 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 as dependent variables when defining a Differential Corrector Target Sequence profile. In this case, you are targeting the true altitude above Earth.

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

Viewing the RaiseApogee differential corrector

The RaiseApogee 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... () on the Profiles toolbar in the Profiles panel.
  3. Review the targeting profile's properties when the Differential Corrector dialog box opens.
  4. Looking at the Variables, the independent variable (control parameter) is Cartesian.X — or X (Velocity). The equality constraint (the dependent variable; that is, the value that defines the goal of the profile) is Altitude, and the desired value (the value you want to achieve) is set to 2000 kilometers.

  5. Note also that the Cartesian.X Control Parameter has the Custom Display Unit check box selected.
  6. When selected, this allows you to use a custom unit for the element in the Target Status window and in graphs. In this case, the custom unit is m/sec.

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

Understanding the RaisePerigee Target Sequence

After the 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 selected results, making them dependent variables, when the User-Selected Results dialog box opens.
  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... () on the Profiles toolbar in the Profiles panel.
  3. Looking at the variables, the control parameters — Cartesian.X and Cartesian.Y (or Y (Normal)) — are targeted. The equality constraints are Eccentricity and Inclination. The desired eccentricity value is 0 and the desired inclination value is 50 degrees.

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

Saving your STK scenario

Before opening the ModelCenter application, save your scenario and close out of the STK application.

  1. Save () your scenario.
  2. Close the STK application.

Creating a new ModelCenter project

The Ansys ModelCenter model-based systems engineering 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 (MBSE) frameworks. By wrapping tools and analysis programs like the STK application and running them in an automated fashion, the ModelCenter software makes the design process more efficient, saves engineering time, and reduces the chances for error in the design process. It implements MBSE processes flexibly; its drag-and-drop graphical user interface can be used to assemble tools into a complete engineering workflow, which can contain branches, loops, logical statements, and more. Your workflow can contain tools that run on any number of different machines and operating systems. Once a repeatable engineering analysis process is created, you can repeatedly execute the process, using parallel computing resources if available. Each execution corresponds to a different set of inputs, which you can use to explore and quantify the performance of your design alternatives in a relatively short time.

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

You can learn more about the ModelCenter software here.

Launching the STK Plugin for ModelCenter

All ModelCenter workflows are built using a simple drag-and-drop scheme for creating a graphical layout of a complex analysis. Process workflows leverage that capability by highlighting "hot spots" for adding and moving components in a workflow. Components encapsulate an analysis or control function. Each component exposes input and output variables and executes a run method to transform inputs into outputs. The STK Plugin for ModelCenter is a component plugin that allows the ModelCenter application to directly link to the STK application. It imports a copy of the desired Scenario and opens it in an instance of the STK application. Instantiate the plugin by adding it to your workflow's Analysis View, which displays an overview of the integrated workflow, from the Server Browser, which resides at the bottom of the ModelCenter window and is used to browse for components that can be used in a ModelCenter workflow.

  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. This will open the STK scenario and STK Analyzer windows. Please be patient.

The Analyzer_LaunchErrors scenario file will open in the STK application in the background. If the STK application opens in front of ModelCenter, bring the ModelCenter application window back to the front.

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. You can add almost any STK variable as ModelCenter input or output variables. 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.

Selecting the Analyzer input variables

Your probabilistic analysis will focus on the burnout parameters of the Launch segment in your MCS. Select them as your input variables.

  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. Expand () WallopsLaunch ().
  5. Move () the following input variables () to the Analyzer Variables list:
    • BurnoutVelocity_FixedVelocity
    • Burnout_Geodetic_Latitude
    • Burnout_Geodetic_Longitude
    • Burnout_Geodetic_Altitude

    Be sure you do not select the Launch_Geodetic Latitude, Longitude, and Altitude variables, as these define the location of the launch site.

  6. 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. Move () the following output variables () to the Analyzer Variables list:
    • SemiMajorAxis
    • Eccentricity
    • Inclination
    • RAAN
    • ArgOfPeriapsis
    • TrueAnomaly
  5. Note that these variables are listed under Outputs in the Analyzer Variables list.
  6. Click OK to confirm your selections and to close the STK Analyzer window.
  7. This will also close the STK application, which had been running in the background.

  8. Note that the Analysis View now contains an STK_ODTK13 () component, which is shown as a box in the Analysis View window.

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. expanded component tree

  3. Click Probabilistics () on 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. A 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 in the Settings panel.
  5. Enter 0.001% in the Std.Dev. field.
  6. This sets the standard deviation for the distribution.

    Be sure you include the percent symbol (%) when you enter the value.

    Distribution selection dialog box

  7. Click OK to confirm your change and to close the Select Distribution dialog box.
  8. Using the above process, click and drag the following inputs () to the Design Variables field leaving their Mean settings at their default values and setting their standard deviations (Std. Dev.) to 0.001%.
    • Burnout_Geodetic_Latitude
    • Burnout_Geodetic_Longitude
    • Burnout_Geodetic_Altitude
  9. Multi-select the following Keplerian element output variables ():
    • SemiMajorAxis
    • Eccentricity
    • Inclination
    • RAAN
    • ArgOfPeriapsis
    • TrueAnomaly
  10. Click and drag the output 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 the ModelCenter application 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, and so on.

  3. Enter 100 in the Number of Runs to field.
  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 Histogram plot 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, and so on. Finally, the Histogram plot page contains bounds on which values of the variable are acceptable, and it computes reliability statistics based on how many runs fall into that defined space.

  1. Bring the Histogram Plot to the front when all runs are completed.
  2. Review the Histogram Plot.
  3. Burnout Velocity Histogram Plot

    Your plot will look different, but it'll be very close. In this case, the Histogram Plot shows data for the first variable in the Design Variables field, the Burnout Velocity.

  4. Click Dimensions () in the Plot Options menu on the left side of the Histogram Plot.
  5. Open the x drop-down list when the Dimensions menu opens.
  6. Select Eccentricity.
  7. Click anywhere on the Histogram Plot to close the Dimensions menu.
  8. Review the results.

Eccentricity Histogram Plot

Your plot will look different, but it'll look close. You can cycle through each of the other 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

Your plot may look slightly different. 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 is used to gain insight into key design parameters. It 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. A Variable Importance Summary Plot shows all of the Variable Importance Plots for a whole trade study on a single plot. This 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 individual Variable Importance Plots that make up the Variable Importance Summary Plot.

Variable Importance Summary Plot

From the Variable Importance Summary Plot, it is clear that uncertainties in the burnout velocity and burnout latitude will have the greatest effects on the satellite's orbital state. Knowing this, you can study these parameters to study in greater depth using both the ModelCenter and STK applications.

Saving your work

Save your work and close out ModelCenter application.

  1. Bring the Data Explorer to the front.
  2. Close the Data Explorer.
  3. This will close all the plots associated with the trade study.

  4. Click No when prompted to close your trade study without saving.
  5. Close the Probabilistic Analysis Tool.
  6. Click Save () to save your ModelCenter workflow.
  7. 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 application to better understand how uncertainties in the launch can affect the mission design by conducting a probabilistic analysis. By using the ModelCenter application, you can better understand your design space and plan accordingly.

On your own

While you can use the ModelCenter application to better understand how launch errors can affect your mission and inform its design, it may not help be as helpful when correcting 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.