Configuring and Running Simulations for 3D Animations
You can configure a number of options to customize the 3D animation data generated during a simulation. For information about these options, choose DES > Configure/Run Discrete Event Simulation and click the Help button in the Configure/Run DES dialog box. Table 28 describes some important settings in this dialog box.
Table 28: Simulation Options That Affect 3D Network Visualizer Visualizations
| Tabbed Page | Option/Setting |
|---|---|
| Outputs > Animation > 3D | - Use 3DNV Module—This option must be selected. This specifies that the simulation should generate 3D animation data. - Use custom settings—This allows you to override the 3D Network Visualizer preferences (which are not modified). - Mapping library—Name of the mapping library used by 3D Network Visualizer to control how nodes are shown as 3D entities. The default value is opnet_3dnv_default_mapping.- Mapping init argument—Specifies an arbitrary string passed to the mapping library during its initialization. - Geocentric model—Preference that affects how distances are calculated. This must be right_sphere to make object positions match in Modeler and 3D Network Visualizer.- Record history in file: When selected, causes Modeler to record a 3D Network Visualizer history file for the simulation. This allows the simulation to be visualized at a later time. - Live output via 3DNV Communication—When selected, causes Modeler to send animation data to an HLA federate such as 3D Network Visualizer. This allows the simulation to be visualized as it progresses. - Federation Name—If you select the “Use custom settings” option, you must enter a name in the Federation Name field. The default name is OPNET_3DNV.- HLA standard—Allows 3DNV communications to use a different RTI than specified for HLA use. The default value (Use 'hla_standard' preference value) causes the same RTI to be used for both. - Initialization delay—Time in seconds between the creation of a 3D entity and the generation of its attribute values, to deal with possible slow communication with the Visualizer. |
| Execution > OPNET Debugger | Use OPNET Simulation Debugger—To “step through” a 3D animation, select this option. If this option is turned off, the animation runs with no interruptions. |
| Execution > Advanced > Kernel Type | Only 32-bit and (on Windows) 64-bit sequential simulations can generate live output for 3D animations. Any kernel type can be used to record a 3D Network Visualizer history file. |
| Execution > Advanced > Kernel Preferences | Real-time execution ratio—This preference specifies the highest speed at which the animation can run, as a ratio of the simulated time window (specified by the network start time and the simulation duration). A value higher than 1 can result in faster animations, and a value between 0 and 1 results in slower animations. If the value is set to 0, the animation runs as quickly as possible. To view 3D animations in real time, set this field to 1.0. |
Table 29: Configuring/Running a Discrete Event Simulation for 3D Network Visualizer: References
| Topic | Reference |
|---|---|
| Configuring a simulation | “Configure/Run Discrete Event Simulation“ |
| Viewing simulation log messages | “Open DES Log“ |
| Using the Simulation Debugger | “Simulation Debugger (ODB)“ |