Creating a Cockpit

You can create a cockpit to have a single graphical view of the model. It summarizes the values of the key parameters and variables using text or graphs.

See Also
Simulating a Model in a Cockpit
Managing Properties
Editing Parameters and Variables
  1. From the Cockpit section of the action bar, click Create Cockpit .
  2. In the Cockpit creation dialog box:
    1. Enter the name.
    2. Select if the cockpit is shared or dedicated.

      • A shared cockpit can be used by any assessment template under the study template.
      • A dedicated cockpit can only be used by one assessment template.

      Tip: Results windows can also be shared or dedicated. This enables you to create a suitable mix of shared and dedicated cockpits and results windows to be able to design the assessment templates the best way.

    3. Optional: Enter a description.
    A cockpit is created with the specified name as the title of the cockpit. For more information about the interface of the cockpit, see About Cockpit.
  3. To categorize and edit the parameters of interest:
    1. From the Cockpit section of the action bar, click Create Parameters Category to create a parameter category.

      Note: You can also click , under the categories of parameters.

    2. Enter the name of the category in the Add a category dialog box and click OK.
    3. Drag the parameters that you need into the category area.

      Note: Any dragged parameter is automatically specified as exposed.

    4. Optional: To edit the parameter name, double-click it.
      When you edit the parameter name, you create an alias name for the original parameter name. This alias name is displayed instead of the original parameter name. For more information about alias names, including some rules you must follow, see step 7c below.
    5. Optional: Modify the values of the parameters.

      Note: To change a replaceable parameter or record, click the corresponding box and select an item.

      The row of a modified parameter is highlighted using blue color in the first column.

      Important: When you edit or reset a parameter, all the occurrences of the parameter in the cockpit are updated or reset. For example, when you reset a parameter in the parameters category, the parameter is also reset in the variables area of the cockpit.
    6. To define or edit an acceptance range for parameters and variable start values:

      1. In the Acceptance Range column, click for that value.
      2. In the dialog box that appears, specify or edit the values.

      To see that column, click any table header and activate the display of that column.

      If an acceptance range is specified for the value, color coding in the Valuecolumn displays the status of the value related to the acceptance range:
      Value Highlight Color
      Value within range Green
      Value outside range Red
      Value is an expression Orange
      The acceptance range is displayed in the Acceptance Range column.
      Important: You can simulate a model even if the values of the parameters are not in the specified range. A warning is displayed for each of these parameters at the end of the simulation.
      Tip: When you hover over a parameter value, a tooltip displays the parameter range and additional highlight details.

  4. To create a free text area that can also contain dynamic texts and SVG (Scalable Vector Graphics) content:
    1. From the Cockpit section of the action bar, click Create Text Area .
    2. Click in the text area to display a toolbar with common text creating options, including pdf file creation, adding of links, images, tables, and expressions.

    Important: If the cockpit contains a parametric task, dynamic update of text areas is not supported.

  5. To display and animate the model simulated, from the Cockpit section of the action bar, click Create Diagram Area .

    Important: If the cockpit contains a parametric task, animation is not supported.

  6. To display simulation results as curves, bars, tables, or gauges:
    1. From the Cockpit section of the action bar, click Create Result Area .
    2. Select to add an existing result window (if any), or to create a new results window.

      For information on how to create a new results window in the cockpit, see Displaying Simulation Results.

    Important: If the cockpit contains a parametric task, no result areas can be displayed.

  7. To add a table of selected variables and parameters:
    1. From the Cockpit section of the action bar, click Create Variable Area .
    2. Drag the variables and parameters into the text area.

      Tip: You can drag the parent node of a variable array to plot all its elements at once.
      Note: Any dragged variable or parameter is automatically specified as exposed.

    3. Optional: To edit the variable or parameter name, double-click it.
      When you edit the name, you create an alias name for the original variable or parameter name. This alias name is displayed instead of the original variable or parameter name.
      Notes:
      • You can only use alias names in cockpits.
      • Alias names are specific for each cockpit. You can use the same alias for different signals in different cockpits (not recommended).
      • An alias can only represent one signal in a cockpit.
      • An alias cannot start with any other component name than its own. As an example, if you have two components, comp1 and comp2, you cannot have an alias name that starts with comp1 in the alias name for any signal from the component comp2. To have the text string comp1 inside the alias name, or to start with comp2 in the alias name is allowed.
      • An alias cannot be empty. Only blanks are also considered as an empty alias.
      • To see the original name, hover over the name - the tooltip shows the original name.
      • Alias names are not displayed in result windows, for example, for curves. You can only see the original names here.
      • For parameters, you can use alias names when importing parameter sets. For more information, see Importing Parameter Sets.

    Important: If the cockpit contains a parametric task, no variable areas can be displayed.

  8. To add a parametric task, from the Template Browser, drag the relevant existing ParameterSweep node, and drop it in the left part of the cockpit.

    Notes:
    • You can only use parametric tasks in dedicated cockpits.
    • Only one parametric task can be present in a cockpit. If you want to add another parametric task, you must first remove the present task by, in the parametric task header in the cockpit, clicking Delete.
      Note: You can add the same parametric task to several dedicated cockpits.
    • Any existing results areas (charts) and variable areas are removed from the cockpit.
    • The input variables of the sweep are added in the left part of the cockpit, under a header Parametric task - input parameters.
    • Charts to display the results of the sweep are added in the right part of the cockpit.
    • The commands for creating a results area and creating a variable area in the cockpit are disabled. Already existing such areas are removed after a warning.
    • Animation of diagram areas and text areas is not supported if a parametric task is present in the cockpit.

Result: The cockpit is created. It is by default exposed to analysis.

Notes:
  • For a shared cockpit, this means that the cockpit is by default exposed for all assessment templates under the study template.
  • If you want to hide a cockpit, that is, unexpose it, you can do that by the command Expose to Analyst from the Lifecycle section of the action bar. For more information, see Exposing Templates.