Professional Documents
Culture Documents
06 43 PDF
06 43 PDF
13 PDF Editor
Use the PDF Editor to create, edit, and view probability density functions
(PDFs). A probability density function defines the probability weighting for every
possible outcome over a range of possible outcomes. PDFs are used as values
for various attributes to model a wide variety of probabilistic events and
variations within a network. For example, a PDF might model the likelihoods
associated with packet interarrival times or the probability of transmission
errors.
PDFs are referenced by generator modules within node models and by calls to
Kernel Procedures within process models. Thus, the generators can be used to
model various network loads, while the process models can be used to model a
wide variety of probabilistic events and variations within the network.
To represent a PDF, a PDF table is used. (The PDF table is a list of discrete
outcome-property pairs that approximates the continuous PDF). In the editor,
you manipulate this table via a graphical display of the points in it.
Menus
The PDF Editor provides operations for creating and working with network
models. You access these operations from the PDF Editor menu bar, which
contains the following menus:
File Contains operations that relate to high-level File Menu on page ER-2-2
functions such as opening and closing
projects, saving scenarios, importing models,
and printing graphics and reports.
Edit Contains operations that allow you to edit the Edit Menu on page ER-2-5
preferences that control program operation
and to manipulate text and objects.
PDF Contains operations that modify how a PDF PDF Menu on page ER-13-3
curve is displayed.
Windows Lists all open editor windows and allows you Windows Menu on
to make one active. page ER-2-7
Help Provides access to context-sensitive help, the Help Menu on page ER-2-8
product documentation and tutorials, and
information about the program.
Note—The editor menus on your machine may vary from those described here,
particularly if there has been any UI customization or use of ETS.
There are also several operations available within the PDF Editor that do not
appear on a menu. These operations are used to create and edit a PDF, as
described in Edit PDF Table on page ER-13-8.
PDF Menu
The PDF menu includes operations that modify how a PDF curve is displayed.
Smooth Rounds out the sharp edges and spikes in a graph. Smooth on page ER-13-8
Normalize Scales a graph either down or up so that the total probability Normalize on page ER-13-6
for all outcomes is unity (1).
Set Sampling Resolution Determines how many discrete elements are used to Set Sampling Resolution on
approximate a continuous function. page ER-13-7
Set Abscissa Lower Bound Modifies the lower bound for the horizontal (x) axis of the Set Abscissa and Ordinate
displayed graph. Bounds on page ER-13-6
Set Abscissa Upper Bound Modifies the upper bound for the horizontal (x) axis of the
displayed graph.
Set Ordinate Lower Bound Modifies the lower bound for the vertical (y) axis of the
displayed graph.
Set Ordinate Upper Bound Modifies the upper bound for the vertical (y) axis of the
displayed graph.
Model Documentation Lets you add information about the PDF curve and its use to —
the model.
Toolbar Buttons
The PDF Editor has toolbar buttons for frequently-used operations.
1 2 3 4 5 6 7 8
Table 13-3 lists the name of each toolbar button—the name appears as a tooltip
when you rest the cursor on the button—and its equivalent menu command. To
configure the toolbar buttons, see Configuring the Toolbar on page ER-1-7.
5 Set Abscissa Lower Bound PDF > Set Abscissa Lower Bound…
(See Set Abscissa and Ordinate
Bounds.)
6 Set Abscissa Upper Bound PDF > Set Abscissa Upper Bound…
(See Set Abscissa and Ordinate
Bounds.)
7 Set Ordinate Lower Bound PDF > Set Ordinate Lower Bound…
(See Set Abscissa and Ordinate
Bounds.)
8 Set Ordinate Upper Bound PDF > Set Ordinate Upper Bound…
(See Set Abscissa and Ordinate
Bounds.)
Add Impulse
The Add Impulse operation allows you to add one or more impulses to a
probability distribution function. An impulse is a fixed amount of probability mass
associated with a single outcome value. It can be thought of as a sharp, narrow
spike in the PDF that gives one particular outcome the specified probability of
occurring. More than one impulse can be added to a PDF.
Normalize
This operation proportionally scales down or scales up a PDF so that the total
probability for all outcomes is unity (1).
The Set Bounds operations change only the scale and visible portion of an
existing graph. The underlying data table—that is, the set of pairs of data points
with ordinate/abscissa values—remains unchanged.
In the context of a PDF, the sample count is the number of discrete outcomes
for which a probability weighting is assigned. The default sample count is 500.
Based on the user’s graphically-defined PDF, probability weightings are
assigned with 500 evenly-spaced outcomes between the low and high bounds
of the horizontal axis, inclusive.
The Set Sampling Resolution operation can be used either before a function has
been created graphically or after a function has been created or read in. After
the sampling count is set, the graph is redrawn at the new resolution.
Smooth
This operation rounds out the sharp edges and spikes in a graph. The
smoothing algorithm works by sliding a “window” forward along the abscissa of
the graph. A dialog box prompts you for the size (in points) of this window; the
default setting is three points.
For more information about EMA, see Chapter 1 External Model Access on
page MFA-1-1.
• File > Open… and select PDF from the pull-down menu.
2 Use the Edit Line Graph procedure (described in Edit Line Graph on
page ER-13-10) to specify the line graph.
• Use the Set Abscissa Lower Bound, Set Abscissa Upper Bound, Set Ordinate
Lower Bound, and Set Abscissa Upper Bound operations (Set Abscissa and
Ordinate Bounds on page ER-13-6) to set the upper and lower values for the
PDF. By default, the empty line graph first displayed is set to have a domain of
outcomes from 0 to 5 and a range of probability densities from 0 to 1.
Note—Upper- and lower-bounds for the ordinate—the probability density—must
be greater than or equal to zero. Also note that upper and lower bounds may be
set either before or after a PDF is defined. If the bounds are set after a PDF is
defined, the PDF does not change. However, the line graph is redrawn to match
the new range of the ordinate and the new domain of the abscissa.
• Use the Add Impulse operation (Add Impulse on page ER-13-5) to add one or
more probability impulses to the PDF.
• Use the Smooth operation (Smooth on page ER-13-8) to round out sharp edges
in the function.
• Use the Normalize operation (Normalize on page ER-13-6) to scale the entire
range of probabilities, so that the overall probability for all events is one (1).
1 Place the cursor so that the point of the arrow rests where the line graph should
begin, then left-click.
➥ The editor places a single data point to define the first vertex, as shown in this
enlarged view:
2 Move the cursor so that the point of the arrow rests where the next vertex should
be, then left-click.
➥ The editor draws a series of data points from the previous vertex, extending up
to and including the current vertex.
3 For each additional vertex, move the cursor to the appropriate location and
left-click until the line graph is fully defined.
➥ For each vertex, the editor draws a series of data points from the previous
vertex, extending up to and including the current vertex.
1 If the graph you wish to change is not already displayed, read it using the File >
Open… operation.
2.2 Put the point of the arrow where the new line segment should begin.
➥ The editor draws a single data point at this vertex. It also erases any other data
point at the same abscissa (x-coordinate). The erased data point is shown
circled in the illustration below:
3 Move the cursor to the next desired vertex of the modified line graph and left-click.
➥ The editor draws a series of data points from the previous vertex, extending up
to and including the current vertex. It also erases any other data points at the
affected abscissas (x-coordinates).
4 For each additional vertex you want to change, move the cursor to the appropriate
location and left-click.
➥ In each case, the editor draws the new line segment, and erases any other data
points at the same abscissas (x-coordinates).