The topics covered in this section include:

How to Use the GUI

To launch the Static Optimization Tool, select Static Optimization… from the Tools menu. The Static Optimization Tool dialog window (figure below), like all other OpenSim tools, operates on the current model open and selected in OpenSim (e.g., subject01). The Static Optimization Tool is controlled by a dialog box with two tabbed panes. The Main Settings pane specifies parameters related to the input kinematics of the current model, the time range for the analysis, and the output of the results. The External Loads pane specifies parameters related to the external loads applied to the model during the analysis.

See How to Use the Inverse Dynamics Tool for additional details about the External Loads pane. The Main Settings pane is organized into five main sections:

Dialog Box for the Static Optimization Tool. The Main Settings pane.


  • Current Model: Displays an uneditable name for the current model being used for the static optimization analysis.

  • Input: Displays editable information specifying the kinematics (e.g., states or motion) describing the movement of a model.

  • Objective Function: Displays editable information specifying the power to which the muscle activations should be raised and whether or not to use the muscle force-length-velocity properties.

  • Time: Displays editable information specifying the start and end time for the Static Optimization analysis.

  • Output: Displays editable information specifying the prefix appended to the resulting output file, the directory to which the file is saved, and the precision (number of decimal places) used when writing results. You may use the  button to browse for a directory to save the output files, and the  button to open an Explorer window for the specified directory.


Command-line Execution

The Static Optimization Tool can also be run using the command analyze -S <setup file name>, for example, 

analyze -S subject01_Setup_StaticOptimization.xml


Next: Static Optimization Settings Files and XML Tags

Previous: How Static Optimization Works

Home: Static Optimization