Professional Documents
Culture Documents
Modeling and Simulation Using Advanced Modeler Features: Discrete Event Simulation For R&D
Modeling and Simulation Using Advanced Modeler Features: Discrete Event Simulation For R&D
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any
format without the prior written consent of OPNET Technologies, Inc.
© 2006 OPNET Technologies, Inc.
Agenda
Purpose: Present and discuss features that will make you more
effective in your modeling and simulation work
“Advanced” features covered in this session
Preference dialog box
“model” attribute
Grouping of global attributes
Parametric studies
Attribute templates
Application delay tracking
Checkpoint/restart on Linux
Using IBM Purify or Quantify with simulations
XML representation of process and node models for versioning
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
2
1574 Modeling and Simulation Using Advanced Modeler Features
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
3
OPNET Preferences
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
4
1574 Modeling and Simulation Using Advanced Modeler Features
Hierarchical
display by
groups or origin
“New” name
“Old” name
still available.
Use this in .ef
and on
command line
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
5
Use node_model_change_warning
preference to ignore warning
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
6
1574 Modeling and Simulation Using Advanced Modeler Features
(11.5 look)
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
7
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
8
1574 Modeling and Simulation Using Advanced Modeler Features
View/edit vector
probe information
Summary or right-click on
info pops statistic in treeview
up without
selecting
Specify scalar
probe directly
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
9
Edit Attributes
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
10
1574 Modeling and Simulation Using Advanced Modeler Features
Configure Simulations
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
11
Edit Attributes
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
15
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
16
1574 Modeling and Simulation Using Advanced Modeler Features
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
18
1574 Modeling and Simulation Using Advanced Modeler Features
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
19
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
21
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
22
1574 Modeling and Simulation Using Advanced Modeler Features
Completed runs
Executing runs
Launching runs
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
23
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
24
1574 Modeling and Simulation Using Advanced Modeler Features
Host: zaphod
Port: 9999
Up to 2 concurrent
executions
Host: number2
Port: 7007 (pref)
Up to 1 concurrent
execution (pref)
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
25
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
26
1574 Modeling and Simulation Using Advanced Modeler Features
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
27
Results Browser
Selected
OV files
Available
statistics
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
28
1574 Modeling and Simulation Using Advanced Modeler Features
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
29
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
30
1574 Modeling and Simulation Using Advanced Modeler Features
12.0 .ov
Pre-12.0 .os
Recorded
scalar data
Presented in
more details
in the lab
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
31
Scalar probe generates scalar value during simulation from raw stat
GUI can generate scalar values from collected vector data
Data based on any vector processing (buckets, glitch removal)
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
32
1574 Modeling and Simulation Using Advanced Modeler Features
Exert more control over your outputs with new charting features in
release 12.0
New line styles like linear symbol, area, multi-color bar
Log scale for X or Y axes
Optional 3D look
Background schemes
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
33
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
34
1574 Modeling and Simulation Using Advanced Modeler Features
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
35
Break
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
36
1574 Modeling and Simulation Using Advanced Modeler Features
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
37
Allows you to view or edit all of the top-level attributes of these nodes
Compound attributes open sub-editors
Attribute Template
Defines which attributes to show in a table
Allows you to flatten compound hierarchy to
edit deep-nested attributes more easily
Select set of nodes
Menu Edit > Edit Objects Using Template…
Pick an appropriate template
Click Generate
Review/modify at your heart’s content
Can copy a cell and paste its value to other cells
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
39
Creating Templates
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
40
1574 Modeling and Simulation Using Advanced Modeler Features
New in 12.0: Provide the ability to record and review packet story
Path(s) taken by each bit, including any retransmissions
Time spent in “Network” (transmission) or “Application” (rest) along the way
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
41
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
43
“Application”
Package intended primarily for application layer
Can be used for any communication layer
“Application” type
Arbitrary string
“Application” instance
For a given type and a given “source” node
Message
“Application” payload associated with a given “Application” instance
Correspond to the OPNET Packet at the “Application” layer
Packet
Either the original payload packet (whole message)
Anything containing parts (SAR) or whole of the original payload
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
44
1574 Modeling and Simulation Using Advanced Modeler Features
Simulation Kernel
Maintains message association of packet going through SAR
Records transmission and reception time for any packet containing bits of a message
Writes all ADT information into specified output file
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
45
ADT Limitations
Standard models
Only applications and Wireless MACs instrumented at this time
Delay in other layers (TCP/IP) accounted for in “Application” time,
but no detailed breakdown available
API
Not supported in the parallel kernels at this point
KPs just act as no-op
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
46
1574 Modeling and Simulation Using Advanced Modeler Features
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
47
Break
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
48
1574 Modeling and Simulation Using Advanced Modeler Features
Checkpoint/Restart
Use Cases
Debugging
Run simulation with ODB
Checkpoint at specific place or at regular intervals
Restart a checkpoint
Eliminate loading/execution phase up to the checkpoint
Continue debugging at point in simulation during checkpoint
Parametric study
Restart checkpoint with varying random seed
Future: expecting to be able to modify attributes
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
50
1574 Modeling and Simulation Using Advanced Modeler Features
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
51
Purify
Track memory access and generate report of suspicious activities
Free Memory Read/Write
Array Bounds Read/Write
Memory leaks
Etc.
Quantify
Profile execution and generate tabular and graphical reports
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
52
1574 Modeling and Simulation Using Advanced Modeler Features
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
53
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
54
1574 Modeling and Simulation Using Advanced Modeler Features
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
55
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
56
1574 Modeling and Simulation Using Advanced Modeler Features
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
57
Function details
Calling graph
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
58
1574 Modeling and Simulation Using Advanced Modeler Features
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
59
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
60
1574 Modeling and Simulation Using Advanced Modeler Features
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
61
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
62
1574 Modeling and Simulation Using Advanced Modeler Features
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
63
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
64
1574 Modeling and Simulation Using Advanced Modeler Features
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
65
Documentation References
Modeler Reference
Modeling Concepts
Data Analysis
Results Browser
OPNET Editors Reference
Project Editor
Discrete Event Simulation
Checkpoints
System Menus
Edit Menu Operations
Preferences
Programmers Reference
Kernel Procedures
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
66
1574 Modeling and Simulation Using Advanced Modeler Features
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
67
Take-Away Points
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
68
1574 Modeling and Simulation Using Advanced Modeler Features
Appendix
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
69
Checkpoint Configuration
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
70
1574 Modeling and Simulation Using Advanced Modeler Features
Checkpoint Operations
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
71
odb> checkpoint
Sim info saved at :/op_models/ethcoax_net_mine-scenario1-c2.i1.desckpt.dir/ckpt_sim_info
Context file saved at: /op_models/ethcoax_net_mine-scenario1-c2.i1.desckpt.dir/core_context
Path is: /op_models/ethcoax_net_mine-scenario1-c2.i1.desckpt.dir
About to copy /op_models/ethcoax_net_mine-scenario1-DES-1.desinfo
File /op_models/ethcoax_net_mine-scenario1-DES-1.desinfo has been copied
About to copy /op_models/ethcoax_net_mine-scenario1-DES-1_data.of
File /op_models/ethcoax_net_mine-scenario1-DES-1_data.of has been copied
About to copy /op_models/ethcoax_net_mine-scenario1-DES-1_time.of
File /op_models/ethcoax_net_mine-scenario1-DES-1_time.of has been copied
Wrote /op_models/ethcoax_net_mine-scenario1-DES-1.desinfo with file descriptor: 0
Wrote /op_models/ethcoax_net_mine-scenario1-DES-1_data.of with file descriptor: 1
Wrote /op_models/ethcoax_net_mine-scenario1-DES-1_time.of with file descriptor: 2
Dump generated. We are continuing
odb>
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
72
1574 Modeling and Simulation Using Advanced Modeler Features
Restart Operations
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2006 OPNET Technologies, Inc.
73