Introduction
Introduction
Overview
Welcome to Modeler!
If you are performing this tutorial for the first time, read
the following pages for important information about
using this tutorial and Modeler.
1
About the Models
This tutorial was written based on the initial software
and model libraries released with Modeler 12.0.A. If
using a different release, you might get different results
or be unable to complete some lessons.
<release>\models\std\<protocol_name>
2
You can find your <release> by performing the
following steps:
3
Opening Tutorial Files
Several tutorials will direct you to open model files and
save them with a unique prefix, such as your initials
(<your_initials>). This way, several users can create
and complete their own working copy of the same
tutorial.
4
Navigating to the tutorial_req Directory
5
About the Lessons
In this tutorial, you learn how to use the interface and
some basic modeling theory. You will also learn how to
use the Modeler features to build and analyze network
models.
node model
network
model
process model
6
We suggest that you perform the lessons and topics in
sequence.
7
About Modeler
Before you start, you should understand the Modeler
workflow, the workspace, and the editors. Become
familiar with these essential features, and then begin
the tutorial lessons.
Run Simulations
In this editor, you can create a
network model, choose statistics
to collect from each network View and Analyze Results
object or from the whole network,
execute a simulation, and view
results.
8
For the nuts-and-bolts aspects of modeling, such as
programming the underlying process of a particular
network object or defining a new packet format, you
will need to use additional editors. Each editor is
described in detail on the following pages.
9
A Network Model in the Project Editor
10
The Node Editor
The Node Editor lets you define the behavior of each
network object. Behavior is defined using different
modules, each of which models some internal aspect
of node behavior such as data creation, data storage,
etc. Modules are connected through packet streams
or statistic wires. A network object is typically made
up of multiple modules that define its behavior.
Node Model
modules
packet streams
statistic wire
11
The Process Model Editor
The Process Editor lets you create process models,
which control the underlying functionality of the node
models created in the Node Editor. Process models
are represented by finite state machines (FSMs), and
are created with icons that represent states and lines
that represent transitions between states. Operations
performed in each state or for a transition are
described in embedded C or C++ code blocks.
Process Model
States
Transitions
12
The Link Model Editor
The Link Model Editor lets you create new types of link
objects. Each new type of link can have different
attribute interfaces and representation. Comments and
keywords can also be specified for easy recognition.
Link Model Editor
13
The Path Editor
Use the Path Editor to create new path objects that
define a traffic route. Any protocol model that uses
logical connections or virtual circuits (MPLS, ATM,
Frame Relay, etc.) can use paths to route traffic.
Path Editor
14
The Demand Editor
The Demand Editor lets you define demand models;
each demand object’s underlying model determines its
attribute interfaces, presentation, and behavior.
15
The Probe Editor
The Probe Editor lets you specify the statistics to be
collected during simulation. While you can do this in
the Project Editor, you can also set additional
characteristics of each probe with the Probe Editor.
There are several different types of statistics that can
be collected using different probes, including global
statistics, link statistics, node statistics, attribute
statistics, and several types of animation statistics.
Probe Editor Dialog Box with Node Statistic Probes
16
The Simulation Sequence Editor
Although you can run simulations from within the
Project Editor, you might want to specify additional
simulation constraints in the Simulation Sequence
Editor. Simulation sequences are represented by
simulation icons, which contain a set of attributes
that control the simulation’s run-time characteristics.
Simulation Sequence Editor
17
Antenna Pattern Editor
18
Filter Editor with Filter Icon and Attributes Dialog Box
19
Internal Formats of an ICI in the ICI Editor
20
A Modulation Curve
21
The PDF Editor
The PDF (Probability Density Function) Editor lets you
describe the spread of probability over a range of
possible outcomes. A PDF can model the likelihoods
associated with packet interarrival times, or it can
model the probability of transmission errors.
A PDF Modeling Interarrival Times
22
The Project Editor Window
There are several areas in the Project Editor window
that are important for building and executing a model.
These are shown on the following pages.
Menu Bar
Tool Bar
Workspace
23
The Menu Bar
The menu bar is at the top of the editor window. It
organizes all the non-context-sensitive editor
operations into a set of topical menus.
Tool Buttons
Several of the more commonly used menu bar
selections can be activated through buttons in the
toolbar. The following figure shows tool buttons that
can appear in the Project Editor. You will use many of
these tool buttons in the tutorial. (Note: Depending on
your specific product and modules, you might not see
all of the buttons shown here.) When you hover the
cursor over a button, a tooltip appears to identify the
button.
Tool Buttons in the Project Editor
24
The Workspace
The central, scrollable region of the editor window is
the workspace. This is where the network model
appears; you can select and drag network objects in
the workspace, and choose context-sensitive menu
operations by right-clicking on the background.
25
Tooltips
If you rest your cursor over a tool button or a network
object in the workspace, a help balloon appears. The
tooltip describes one of the following:
• the action that occurs if the button is pressed
• information about the network object
Tooltip
26
Documentation
Occasionally, you might have questions about certain
aspects of the tutorial, the tool, or the models. You can
refer to these sources:
• Built-in documentation is available throughout
the tool. For example, you can get model
descriptions, attribute definitions, and statistic
descriptions by selecting an item and clicking on
the Details button. Some dialog boxes also have
Help buttons that bring up additional descriptive
information.
• Product Documentation. Select Help >
Product Documentation.
• FAQ (Frequently Asked Questions). Point your
browser to www.opnet.com/support.
You need your user name and password to
access the Web FAQ. OPNET Technical Support
normally sends your user name and password by
email after you register your OPNET software for
purchase or evaluation.
• Recent updates to the tutorial lessons and
models can be downloaded from the Website:
www.opnet.com/support.
27
• Model User Guides provide the latest
information on the protocol models and how to
use them. In the Project Editor window, choose
Protocols > <protocol name> >
Model User Guide.
28