Configuring the MSCAdams Component Options

You can configure the MSCAdams component.

  1. Double-click the MSCAdams component icon .

    The MSCAdams Component Editor appears.

  2. From the MSCAdams Component Editor, click the Options tab.

  3. Select the runtime options to specify how MSCAdams is launched from the MSCAdams component.

    Option Description
    Execution Command Line The component automatically configures the command which Isight uses to launch MSCAdams.
    Append to Isight_SimCode_in.cmd Append a script to the script file, Isight_SimCode_in.cmd. You can select the select the script file using the Browse button.
    Run Adams in Persistent Mode (local execution only) Launch MSCAdams once and keep it open until all the runs are completed. Otherwise, for each run a separate instance of MSCAdams is opened and closed.
    Server Port Number Enter the port number to launch the server in persistent mode. The default port number is 4991.

    This box is enabled only if the Run Adams in Persistent Mode (local execution only) option is selected.

    Close Adams Only after the Model is Closed or Component is Deleted Close MSCAdams only when the model is closed or the component is deleted from workflow. The instance of MSCAdams will remain open even when all the runs are completed.

    This option is enabled only if Run Adams in Persistent Mode (local execution only) option is selected.

  4. Select Generate Requests File to specify that during execution Adams will generate a .req request file in the runtime directory.

  5. If desired, specify how the results are stored.

    1. Select Generate Results File to create the .res result file in Adams/View.

      At runtime the results file is created with updated values in the runtime directory.

    2. Select Generate Results Array to specify that the output array parameters will be populated in the General tab.

      This option is enabled only if the Generate Results File option is selected.

  6. Specify how the mdi.bat file is located by doing one of the following:

    • Use the Use MDIBAT_PATH Variable to locate the mdi.bat file using the MDIBAT_PATH environment variable.
    • Enter the path to the mdi.bat file in the Path to Adams mdi.bat field.

      The mdi.bat file is stored in the <Adams Installation Directory>\common directory.

  7. Click OK to save your changes and to return to the Design Gateway.