Running a Simulation

To run a discrete event simulation, choose one of the following menu items in the Project Editor:

  • DES > Configure/Run Discrete Event Simulation
  • DES > Run Discrete Event Simulation
  • Scenarios > Manage Scenarios

The DES menu operations run simulations of the current scenario only. The Manage Scenarios operation enables you to run simulations for any or all scenarios in the current project.

Note: If your network model uses custom or customized process models, you must disable the use of repositories before running the simulation. Do this by selecting the “Ignore ‘repositories’ preference value” on the Execution > Advanced > Application page of the detailed Configure/Run DES dialog box.

Simulating the Current Scenario

Typically, you run a simulation for the current scenario.

Procedure 183: Running a Simulation for One Scenario

  1. If necessary, configure the simulation as described in Configuring a Simulation.

  2. Run the simulation using one of the following methods:

    • If the Configure/Run DES dialog box is open, click the Run button.
    • If the Configure/Run DES dialog box is closed, choose DES > Run Discrete Event Simulation or press Ctrl+Shift+R.

    Depending on DES configuration mode, either the Simulation Execution or Simulation Progress dialog box opens. Both display a series of messages that show the progress of the simulation, beginning with the initialization stages and continuing with run-time statistics. You can pause, resume, or stop the simulation at any time.

    See Monitoring Simulation Progress for descriptions of the Simulation Execution and Simulation Progress dialog boxes.

  3. When the simulation is finished, click Close to close the dialog box.

Simulating Multiple Scenarios

You can run simulations for the project as a whole rather than for individual scenarios. This is particularly useful when you plan to compare results for several scenarios.

Procedure 184: Running Simulations for All Scenarios in a Project

  1. If necessary, configure the simulation as described in Configuring a Simulation. After making the desired changes, click the Apply button to save the changes, followed by the Cancel button to close the dialog box.

  2. Choose Scenarios > Manage Scenarios.

  3. For each scenario you want to simulate, do the following:

    • Set the appropriate simulation duration (in seconds).
    • Select the scenario name and click the Collect Results button.
  4. Click OK to close the Manage Scenarios dialog box.

    Depending on DES configuration mode, either the Simulation Execution or Simulation Progress dialog box opens for the first scenario. Both display a series of messages that show the progress of the simulation, beginning with the initialization stages and continuing with run-time statistics. You can pause, resume, or stop a single simulation or the entire sequence at any time. Additional scenarios are simulated sequentially in the order shown in the Manage Scenarios dialog box.

    See Monitoring Simulation Progress for full descriptions of the Simulation Execution and Simulation Progress dialog boxes.

  5. When all simulations are finished, click Close to close the dialog box.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com