ProModel User Guide-4
ProModel User Guide-4
User Guide
ground. To import a CAD drawing, you must record defined afterwards for the same location
save it to one of the file formats described above. where you batched them.
LOAD/UNLOAD Statements
Another method of batching and unbatching
involves the LOAD and UNLOAD statements.
As with the GROUP statement, ProModel main-
tains the identities and attributes of the batched
entities. Therefore, when you use the UNLOAD
statement, each entity still has its attribute assign-
ments.
The difference between LOAD and GROUP is Since the example does not specify an entity type
that LOAD requires a “base” entity on which you as part of the LOAD statement, ProModel will
load other entities that might represent a pallet or load entity type waiting for the LOAD request.
container. Also, the entities you are going to load, To control which entity types the model loads,
travel to the loading location on an “If load use the “IFF” option with the LOAD statement
request” routing rule. (e.g., LOAD 4 IFF Entity()=gear).
In the following example, four Gears are loaded Once the batch moves to its destination, the
onto a pallet. Pallet is the entity which issues the model uses the UNLOAD statement to break it
LOAD statement. In addition, the example into individual components (Gear and Pallet).
includes a time element (LOAD 4 in 10 min). You must define a routing for the entity Gear
This means “load 4 gears or wait 10 minutes, after the UNLOAD takes place. Typical uses for
whichever occurs first.” If after 10 minutes only LOAD/UNLOAD are palletizing operations,
3 gears arrive, the entity loaded with the 3 gears AGV systems, and AS/RS systems.
continues.
288 Chapter 6:
Modeling Tips
ACCUM Statement
The ACCUM statement is short for “accumu-
late.” Its use is slightly different than the GROUP
and LOAD statements. ACCUM does not “batch
together” entities, but rather holds entities at a
location until a certain number accumulate. It
behaves much like a gate restricting entities until
a certain number arrive at the location. After the
required number accumulate, ProModel releases
them for downstream processing. This allows
you to model a certain type of batching which
involves simply the accumulation of parts and
their subsequent release—all at a single location.
When using the ACCUM statement, make sure
the capacity of the location where you are using If you want the entity coming from Process B to
the ACCUM statement is at least as large as the have priority and go to Process C first, define a
amount accumulating. priority in the destination field for the routing of
Process B. In the following example, we entered
Modeling Priorities a priority of 10 for the routing of the entity Cast-
ing at the location Process_B.
Priorities are an important part of modeling any
system. They range from determining which
location has priority for processing parts to
choosing the appropriate resource. Priorities
allow you to determine the order in which events
occur in the simulation. The three most common
uses of priorities deal with choosing processing
destinations, selecting resources, and prioritizing How to enter a priority for a destina-
downtimes. tion:
Selecting Resources
Similar to the previous example, this type of pri-
oritizing refers to which of two or more pro-
ProModel 289
User Guide
cesses, requesting the same resource will have After defining a variable, you may display it any-
priority in capturing the resource. In the Opera- where on the layout screen by simply clicking
tion field, in conjunction with the USE or GET with your mouse in the desired position with the
statements, the process with the higher priority variable highlighted in the edit table.
number gets the resource first.
How to show system throughput on
Downtimes and Preemption the screen:
ProModel uses priorities in conjunction with
resource or location downtimes to determine 1. Define the variable “thruput.”
which defined downtime takes priority. Down- 2. Display the variable on the screen.
times with priorities that are 99 or less do not
interrupt or “preempt” the activity, but begin 3. In the processing edit table, increment the
variable by one each time an entity leaves the
after the current process completes. Downtimes
system.
with a priority of 100 or higher preempt the cur-
rent activity. After the downtime, the activity
resumes from where it left off.
Another common, on-screen statistic is work in
Displaying Statistics On Screen process (WIP). To show this statistic on the
screen, follow the first two steps above. To accu-
Effective use of statistics lends meaning and rately indicate the WIP in your model, increment
credibility to simulation models. This section is a variable as entities enter the system and use the
designed to show ways of displaying statistics on decrement statement as they exit the system.
screen while the simulation is running. It also
provides examples you can incorporate into any
How to display the total system time
model.
for entities:
Displaying on-screen statistics is valuable for
adding model clarity as well as providing a way
1. Assign the simulation clock time to an entity
to keep track of what is happening in the model.
attribute at the beginning of your simulation.
The technique used for displaying statistics is to
define variables within your model, perform cer- 2. Subtract that attribute from the current clock
tain functions on those variables (e.g., addition, time at the ending location and assign it to a
subtraction, etc.), and then display those vari- variable you can display.
ables on the screen.
ProModel defines variables as symbols (e.g., x, y,
and var1) that hold numeric values. They are For example, to display total system time for
defined in the Variables edit table. When defin- entities in the system, define a variable and an
ing variables, you must include the following attribute. The entity attribute, Input_Time,
information: records the time an entity entered the system.
•Name (may be alphanumeric combination) The variable, Sys_Time, records the elapsed time
•Type (real or integer) each entity spent in the system (clock-input
•Initial value (may be any value) time). By displaying the variable on the layout,
290 Chapter 6:
Modeling Tips
Making Assemblies
An assembly occurs when you attach specific
items or entities to another entity such as a base
part or frame. To assemble entities, use the JOIN
statement. Implementing JOIN is a two-step pro-
cess:
1. Employ the JOIN statement at the designated
assembly location.
2. Use the JOIN routing rule for all joining
entities.
It is helpful to designate one of the joining enti-
ties to be the “base” entity which issues the JOIN
statement. In the following example, “Comp” is
the base entity. All other joining entities must
Several other ProModel statements similar to
travel to the assembly location on an “If Join
JOIN exist such as GROUP/UNGROUP, COM-
Request” routing rule. Note that for “Monitor”
BINE, LOAD, and ACCUM. You generally use
traveling to the assembly location, the word
these statements for temporary or permanent
“JOIN” appears in the Rule field. This indicates
batching. To learn more about these statements,
that “Monitor” will go to the location Assembly
see the discussion on Batching and Unbatching
only if a JOIN statement requests it elsewhere in
earlier in this section.
the model.
For more information see “Join” on page 504.
292 Chapter 6:
Modeling Tips
ProModel 293
User Guide
Keypad button Click on this button to display tion of numbers, model elements, and/or func-
the numeric keypad for entering numbers in the tions, but does not include statements.
parameter entry field without using the keyboard.
Statement selection list Choose which state-
ment you wish to use from this list. Only valid
statements are displayed for the logic window or
field you are using.
Paste button This button pastes the text of the
logic text box into your logic window or field. It
is only available once the minimum requirements
of the statement or expression have been com-
pleted. The Paste button closes the dialog if you
are pasting to a field.
Logic buttons These buttons can be used to Clear button This button clears whatever you
insert logical operators and other punctuation in have done since the last paste and allows you to
the parameter entry field above. When you click start over.
the button, the operator is inserted at the cursor
Close button Closes the Logic Builder without
position in the field. A button appears only when
pasting the current logic text box.
the currently selected parameter can use that par-
ticular logical operator. Help button Launches the context sensitive help
system.
•Logical & String Operators:
Logic Elements When editing an expression in
the parameter entry field, the Statement selection
list is replaced by Logic Elements. The box on
•Time Unit Operators:
the left lists logic and model element types. The
box on the right lists individual selections from
the logic or model element type selected.
Category This combo box allows you to select
which type of statements appear in the statement
selection list below it. You can select all or a
specific type.
Build Expression button This button allows you Return and Cancel Buttons When editing the
to create only an expression. It displays the logic parameters of a function or nested statement, two
elements list (see below) for you to create the additional buttons appear to the right of the
expression. An expression consists of a combina- parameter edit box: Return and Cancel.
296 Chapter 7:
Logic Builder
•Return button This button (available only replaces the parameter name in the logic text box.
when required parameters have been The parameter name reappears when the entry
entered) returns to the previous parameter field is cleared. The names of optional parame-
entry field and pastes the function or state- ters are not displayed in the logic text box.
ment at the last cursor position.
An optional shortcut to begin editing the state-
ment’s first parameter is to double click on the
statement name in the statement list box.
example, in the following Logic Builder window, ments without worrying about syntax and place-
an IF...THEN...ELSE statement is being built. ment of nested statements and functions.
When you click the Move Logic the following MOVE WITH This statement is used to move an
Move Logic window appears. entity using a designated resource, such as a fork-
lift. With the OR operator, you can designate
alternative resources for making the move. In this
case, the statement captures the first available
alternative resource designated in the expression
and makes the move. If one of the resources is
already owned by the entity, that resource will be
used. Please note that you cannot use the AND
operator to capture (and move with) more than
one resource with this statement. To move an
entity with multiple resources, you must use a
GET statement to capture the additional
This window allows you to manually edit the
resources.
logic or click on the Build button to use the Logic
Builder. It also provides other convenient but- This statement also allows you to set the priority
tons for editing and printing the move logic. (p1) for accessing the designated resource. If the
resource is already owned by the entity, this pri-
ority is ignored.
Move-Related Statements
If the resource is static, a time (FOR <time>) may
Admissible statements in the Move Logic win- be specified for the move.
dow include the new move-related statements
listed here. A brief description of how each state- The resource used to make the move is only freed
ment functions in ProModel follows the list. See if the THEN FREE option is used.
“Statements and Functions” on page 439 for MOVE ON <path network> Use this statement
complete syntax, description, and examples of to move an entity along a path network.
these statements.
MOVE statements
Statement Processing
Statements executed before a MOVE related
statement are processed after the entity claims the
next location but before the entity actually
departs from the current location.
Statements executed after a MOVE related state-
ment are processed after the move has been com-
pleted but before the entity enters the location. If
there is no move logic, the entity continues pro-
cessing until it encounters an implicit WAIT.
However, if “MOVE FOR 0” is placed in the
move logic, the event list is broken and other pro-
cesses scheduled to occur at the same time are
executed. Once these processes are executed, the
entity enters the destination location.
ProModel 305
User Guide
Shift & Break Logic Off Shift & Break Logic Logic executed at the
instant the location or resource actually goes off
line.
Shift & Break Logic
Shift and break logic are optional and are defined How to determine the sequence
in four distinct logic windows. Each logic win- of events
dow is executed in a specific sequence through-
out the simulation run. You can define logic that 1. When a location or resource is scheduled
controls how resources and locations go off duty to go off line due to a break or the end of a
or off line and what happens once they are off- shift, the pre-start logic for that particular
line. location or resource is executed.
To define shift or break logic, click on the Logic 2. After executing the pre-start logic, which
button in shift assignments to display a submenu may contain conditional (WAIT UNTIL) or time
of four shift events for which logic may be (WAIT) delays, the location or resource is
taken off line, assuming it is either available or
defined. Selecting an event from the submenu
the priority is high enough for preemption.
displays a standard logic window. You can enter
separate logic for each of these four events to be 3. At the instant the location or resource is
executed when the event occurs. See Sequence of taken off line, the Off-Shift or Break logic is
Events below. executed.
4. After executing this logic, the location or
resource waits until the time defined in the
shift file expires before going back on line.
You may want to use the Logic Builder to help Please note
you enter the logic. Just click on the Build button
in the logic window. If the off-shift and break nodes are not specified
in the Resource Specs dialog, the resource will
Pre-Off Shift or Pre-Break Logic Executed
stay at the current node. If no resources or loca-
whenever the location or resource is scheduled to
tions are assigned to a shift, the shift is ignored.
go off shift or on break. This occurs before the
location or resource is checked for availability,
and is executed regardless of availability. This
logic may be used to check certain conditions
before actually taking the resource or location off Functions and Statements
line. The logic is executed for each resource and ProModel uses several functions and statements
location listed as members for this shift assign- specifically for off-shift and break logic: SKIP,
ment record. This allows some members to be PRIORITY, DTLEFT(), FORLOCATION(),
taken off line while others may be forced to wait. FORRESOURCE(), and RESOURCE(). Follow-
(Pre-off shift and pre-break logic may be referred ing is a brief description of each. For more
to in this manual as pre-start logic when speaking details, see “Statements and Functions” on
of either one.) page 439.
306 Chapter 7:
Shift & Break Logic
Replace
Choosing replace gives you these options in addi-
tion to the find options:
Prompt on Replace Check this box if each
time ProModel finds a match, you want Pro-
Model to ask if you want that particular match
How to perform an expression changed to the replacement text. The prompt will
search: give you the option to replace that particular
match, skip that particular match, or to cancel the
• Select Expression Search from the Tools search altogether.
menu. New Text Enter the text you want to replace the
search text.
Find Expression entire line on which the text was found, with the
search expression highlighted.
The Find Expression option allows you to find
each occurrence of an expression in a model.
Replace Expression
The Replace Expression option allows you to
find each occurrence of an expression in a model
and replace that expression with a new expres-
sion.
Select All or Deselect All button will check or Important Notes Regarding
uncheck every module.
Expression Searches
1. Not every field of every module is included.
Fields such as statistics, text in graphics, or
yes/no fields which may not be edited cannot
be searched for or replaced. To replace
record identifiers, see number six.
2. Under “Modules to Search,” the Other
option refers to information entered in places
not listed in the dialog box, including the
Simulation Options dialog box.
3. Notes fields are not part of the actual model
data, therefore they are not automatically
included in the search. Notes also include
comments in the model. If you want to
search or replace Notes fields, check the
3. Click on OK. If you have chosen “Prompt Search Notes option in the Find or Replace
on Replace,” ProModel will then display the dialog boxes.
following dialog box if it finds the text you 4. The Whole Words Only option interprets
specified. words loosely enough to distinguish words
not separated by spaces. For example,
searching for “Attr1” in the expression
Attr1=Attr1+Attr2, would find both occur-
rences. You can search for expressions
longer than a whole word, such as
“Attr1=Attr1+Attr2,” as whole word expres-
sions. To find a portion of a name, like
4. Choose: “Attr” in “Attr1,” deselect the Whole Words
Only option.
Yes to change the text and search for the 5. Once the Expression Search has found the
next match. first occurrence of an expression, a dialog
box will appear giving information on
Change All to change every match. exactly where the text was found. This
includes a box displaying the entire line on
No to skip this match and search for the next which the text was found, with the search
match. expression highlighted. In some cases the
box may be too small to display the entire
Go to Module to edit the text directly.
line. To see the hidden portion of the text,
Cancel to leave the match intact and stop left click with the left mouse button on the
searching. text, and use the left and right arrow keys to
scroll the text horizontally.
ProModel 311
User Guide
Graphic Icons
Edit Window
You can also adjust the dimensions of the entire Save As Brings up the Save As dialog box for
graphic. saving the current Graphics library file under a
new filename. Graphic Library files have the file
Options The Options menu controls the editing
extension GLB.
environment. With this menu you can use a grid
to help you align component objects, edit that Print Graphic Prints the graphic in the Edit win-
grid, and require objects to snap to it. Finally, the dow only.
Options menu allows you to zoom in and out on
Print Library Prints the entire current graphic
the graphic so you can edit the graphic at differ-
library.
ent sizes.
Exit Quits the Graphic Editor with an option to
Window The Window menu allows you to
save the current library if changes have been
arrange the windows (or iconized windows) cur-
made since the last save.
rently displayed on the screen such that all win-
dows are visible at once. It also allows you to Recently Opened Files Lists the five most
bring any individual window to the forefront of recently retrieved graphics libraries. Selecting
the display. This is particularly useful when you one of these options will retrieve the listed graph-
are opening multiple graphic libraries and want to ics library.
view all libraries simultaneously.
Opening a Graphics Library File
File Menu All individual library graphics are loaded from
and saved to the current graphics library, which,
by default, is the one specified for the current
model. However, other graphic libraries may be
opened for editing at any time. The name of the
current library is displayed in the title bar of the
window for each library. More than one library
can be opened and viewed on the screen at a time.
Opening more than one graphic library simulta-
neously facilitates copying graphics between
New Creates an empty graphics library. libraries.
Open Brings up the Open Library Graphics dia-
log box for specifying which graphics library file How to open another graphics
to retrieve. Graphics library files have the file library file:
extension GLB.
1. Choose Open from the File menu.
Close Closes the current graphic library. If the
graphics library has been changed since the last 2. Enter or select the name of the desired
save, you will have the option to save it. graphics library.
3. To view all open graphic libraries, choose
Save Saves an open graphics library under the
Tile or Cascade from the Window menu.
current file name or prompts you for a name if the
graphics library has not been named.
314 Chapter 8:
Graphic Editor
A history list is given at the bottom of the File How to print an individual graphic:
menu so you are able to quickly retrieve the last
five libraries opened. 1. Double click the mouse on the desired
graphic’s icon, or select the graphic’s icon
and click the Edit button.
2. Select Print Graphic from the File menu.
Closing a Graphics Library File
3. Choose the desired options from the result-
When you are finished working with a graphics ing Print dialog box and click OK.
library, you can close it to save screen space and
memory. This option will not affect the graphic
library used with any model.
Printing an Entire Graphics Library
How to close a graphics library
file: How to print an entire graphics
library:
• Choose Close from the File menu.
1. Select Print Library from the File menu.
2. Choose the desired print options from the
Library Print dialog box and select OK.
Saving a Graphics Library File
Once a graphic has been created or edited and
placed in the current library, the library file must
be saved in order to make the changes permanent. Please note
How to save a graphics library file: If more than one graphic library is open, Pro-
Model will print the active graphic library only.
• Select Save from the File menu to save the
library with the same name.
Edit Menu
How to save a graphics library file Use the Edit menu for selecting and duplicating
with a new name: the individual objects comprising a library
graphic. You may also use it to exchange graph-
• Select Save As from the File menu to save ics with other applications. To use the Edit menu
the library with a new name. functions, load the graphic you wish to edit by
ProModel 315
User Guide
selecting its icon from the library and clicking the Export Graphic Exports the graphic in the Edit
Edit button, or double click the icon. window to a WMF or BMP file.
Importing a Graphic
Cut Removes the selected object(s) and makes a 3. Enter the name of the graphic you would
like to import.
temporary copy that may be pasted back into the
edit window later. 4. Select OK to close the import graphic dia-
log box.
Copy Makes a temporary copy of the selected
object(s) to be pasted later. 5. Click on the Save button on the top right
side of the library window.
Paste Adds the most recently cut or copied
object(s) to the current graphic.
Delete Deletes the selected objects from the
Exporting a Graphic
current graphic.
Select All Selects all of the objects comprising How to export a graphic:
the current graphic.
Copy to Clipboard Copies the entire graphic to 1. Double-click the mouse on the desired
the clipboard as a bitmap so it can be pasted into graphic’s icon, or select the graphic’s icon
other applications including word processors. and click the Edit button.
2. Select Export Graphic from the Edit menu.
Paste WMF Pastes a Windows metafile (WMF)
from the Windows clipboard into the Edit win- 3. Enter a valid DOS name for the graphic in
dow. You must have previously copied a Win- the resulting dialog box.
dows metafile to the Windows clipboard in 4. Click the OK button in the export graphic
another application. dialog box.
Paste BMP Pastes a bitmap file (BMP) from the
Windows clipboard into the Edit window. You
must first copy a bitmap file to the Windows clip-
board.
Import Graphic Imports a WMF, BMP, PCX or
GIF file into the Edit window.
316 Chapter 8:
Graphic Editor
Copying a Graphic from One graphic. This menu item works like the button of
Library to Another the same name described later in this chapter.
Flip Vertical Vertically flips the entire graphic
How to copy an icon from one or any selected objects of the current graphic.
library to another This menu item works like the button of the same
name described later in this chapter.
1. Open both libraries. Rotate Rotates the entire graphic or any
2. Drag the graphic’s icon from the first selected objects of the current graphic 90 degrees
graphic library to the second graphic library clockwise. This menu item works like the button
(preferably left to right). of the same name described later in this chapter.
3. Save the destination library by choosing Move to Front Moves the selected object in
Save from the File menu. front of all other objects. Use this option to see an
object obscured by other objects. This menu item
works like the button of the same name described
later in this chapter (to move an object one posi-
Graphics Menu tion forward at a time, use the Graphic Tools).
The Graphics menu is for manipulating one or Move to Back Moves the selected object
more objects that comprise a library graphic. behind all other objects. Use this option to send
With this menu, you can group several objects an object obscuring other objects to the back-
together, flip and rotate objects, and alter the ground. This menu item works like the button of
color, fill pattern and line style of objects. You the same name described later in this chapter.
can also adjust the dimensions of the entire
Group Combines or groups several objects into
graphic.
a single object for sizing and editing.
Ungroup Ungroups several grouped objects so
they may be edited individually.
Line Styles Allows the user to choose the line
style including solid, dashed, line thickness, and
optional arrowheads on either end of the line.
Fill Patterns Allows the user to choose the fill
pattern for solid objects including transparent,
slant, backward slant, grid, crosshatch, vertical,
horizontal, solid, vertical gradient, and horizontal
gradient.
Line Color Allows the user to choose the line
color and create custom colors.
Flip Horizontal Horizontally flips the entire Fill Color Allows the user to choose the fill color
graphic or any selected objects of the current and create custom colors for solid objects.
ProModel 317
User Guide
Dimension Brings up the Dimensions dialog 2. Choose Ungroup from the Graphics menu.
box for defining the graphic dimension. The
dimension can be height or width. The units can
be feet or meters.
Line Styles
Please note You may choose different styles for the lines and
borders of objects by choosing Line Styles in the
Line Styles, Fill Patterns, Line Color, and Fill Graphic Editor Graphics menu.
Color set the feature and cause the setting to be
applied to the currently selected elements.
Group
When using the graphic tools to create an icon, it
is often helpful to group several graphics into a
single graphic for editing purposes. For example,
you may create an icon using the square, line, and
circle tool and want to work with them as a single
item.
Dimension
You can define the height or width of an object in
feet or meters from the Dimensions Dialog box.
ProModel 319
User Guide
This will determine how large the graphic you define one dimension, the software will auto-
appears when placed on a model layout. For matically calculate the other according to the pro-
example, to change the width of a graphic loaded portions of the graphic in the Edit window. If you
in the Edit window to 5.00 feet, enter the follow- know the graphic is actually 2.00 x 1.50 feet, you
ing in the Dimensions dialog box: will need to adjust the proportions of the graphic
accordingly by using various tools from the Tools
button bar.
Options Menu
The Options menu controls the editing environ-
ment. With this menu you can use a grid to help
align objects, edit that grid, and require objects to
snap to it. Finally, the Options menu allows you
to zoom in and out on the graphic so you can edit
the graphic at different sizes.
How to change the graphic’s
dimensions:
Background Color
Zoom
How to change the distance per
grid unit in the Graphic Editor: How to magnify a graphic:
1. Select Grid Settings from the Options
1. Choose Zoom from the Options menu.
menu.
2. Click on the Scale button.
ProModel 321
User Guide
2. Choose the level of magnification from the Save Saves a graphic from the Edit window to
submenu. the library. For a new graphic to be added to the
library, the blank box at the end of the library
must be selected. Otherwise, the graphic in the
Edit window will replace whichever graphic’s
Window Menu icon is selected.
The Window menu is used to manipulate the var- Delete Deletes the selected graphic from the
ious windows in the Graphic Editor and follows library.
the Microsoft Windows standard for Window
Clear Clears the contents of the edit window.
menus.
4. Drag the box to the desired size. 4. The image appears at the end of the exist-
ing icons.
Selector
1. Click on the Selector button. 3. Enter the desired text in the Text dialog box
below. Set the desired options for the text.
2. Drag the object to the desired location.
When finished, click the OK button.
Text Tool
Text may be placed anywhere in the graphic by
using the Text tool.
Text Tool
ProModel 325
User Guide
Lines Arcs
Lines may consist of several segments and are Arcs are drawn using the Arc tool.
drawn using the line tool.
Line Tool
Arc Tool
Rectangle
Rounded Rectangle
4. Press the shift key and move the mouse to 2. Press the left mouse button at the top left
adjust the size of the other two sides. Release corner of the desired rectangle.
the mouse button when done. 3. Drag the mouse to the lower right corner
of the rectangle and release the mouse but-
ton.
Circle/Ellipse Tool
Chord Tool
Pie Tool
1. Select the ellipse tool from the Tools win- 1. Select the chord tool or pie tool from the
dow. tools menu.
2. Press the left mouse button at one end of 2. Press the left mouse button at one end of
the desired ellipse. the desired chord or pie.
3. Drag the mouse to the other end of the 3. Drag the mouse to the other end of the
ellipse and release. chord or pie and release the left mouse but-
ton.
How to adjust the size of the 4. Click the right mouse button or double-
click the left mouse button to end the poly-
“slice” in the chord or pie after the gon.
graphic has been drawn:
Status Light
Location Graphics May only use entity spots.
Whenever an entity arrives at the location, the
entity graphic will be placed on the first entity
spot defined for the location. The next arriving How to place a status light on an
entity will use the entity spot defined second, and icon:
so forth. If entity spots are defined for a location
graphic in the Locations module, they are used 1. Select the Status Light tool from the button
ahead of any entity spots defined in the Graphic bar.
Editor. If no entity spot is defined for the location 2. Click on the icon where the status light is to
graphic, no entity is shown on the location. appear.
Entity Graphics Use only alignment spots.
When an alignment spot is defined for an entity
graphic, the entity graphic will be positioned so
Please note
the alignment spot of the entity graphic and the
entity spot for the location or resource graphic are
aligned. If the entity is traveling along a path, the Status lights for location graphics may also be
entity graphic will move along the path with the defined in the Locations Editor.
alignment spot and the path segment or node
aligned. If no alignment spot is placed on an
entity graphic, the center of the entity graphic is
used for alignment.
Resource Graphics May use both entity spots
and alignment spots. An entity spot on a resource
graphic may be used to locate an entity a resource
is carrying. An alignment spot can be placed on a
resource graphic so that when the resource travels
along a path, the resource graphic will move
along the path with the alignment spot and the
path segment or node aligned. If no alignment
spot is placed on a resource graphic, the center of
the graphic is used for alignment.
330 Chapter 8:
Graphic Editor
Please note
formed using the left button unless stated other- TO... DO THIS
wise).
Change the fill pattern Choose Fill Patterns from
TO... DO THIS for a selected object. the Graphics menu and
select the desired pattern.
Select an object. Choose the Selector tool
and click on the object. Change the color of a Click on the Line or Fill
selected object. Color button with one or
Select multiple Drag in an empty region more objects selected.
objects. until a bounding rectangle
encompasses the objects. Change the line style Choose Line Styles from
for a selected object. the Graphics menu. Then
or choose the desired line
Shift+Click on each of the style.
objects you want selected Flip or rotate a Click on the flip or rotate
(Shift + Click again on a selected object. button with one or more
selected object deselects it). objects selected.
Move one or more Drag the selected object(s). Move a selected Click on the Step Front but-
selected objects. object in front of ton until the selected object
Delete selected Press the Delete key. another object. is in front of the other
objects. objects.
or Move the selected Choose Move To Front
object in front of all from the Graphic menu.
Select Cut from the Edit other objects.
menu (This method puts
the object on the clipboard or
for subsequent pasting). Press the Page Up key.
Copy selected Press the Copy button to Move a selected Click on the Step Back but-
objects. copy the selected objects to object behind another ton until the selected object
the clipboard. Then press object. is behind the other objects.
the Paste button to place a
copy of the selected objects Move a selected Choose Move To Back
into the Edit window. object behind all other from the Graphic menu.
objects.
or
or
Choose Copy from the Edit
menu. Then choose Paste Press the Page Down key.
from the Edit menu. Nudge a selected Press the Left arrow key.
Edit text. Double click on the text to object one pixel left.
bring up the text editor dia-
log box.
Change the shape of Drag one of the sizing
a selected object. points of the selected
object.
Add a vertex to a Right click on the line or
selected line or poly- polygon where the vertex is
gon. to be added.
Delete a vertex of a Right click on the vertex.
selected line or poly-
gon.
ProModel 333
User Guide
TO... DO THIS
Nudge a selected Press the Right arrow key.
object one pixel right.
Nudge a selected Press the Up arrow key.
object one pixel up.
Nudge a selected Press the Down arrow key.
object one pixel
down.
Size a background Select the graphic, group it,
graphic proportion- then size using the handles.
ally.
Create a perfect circle Select a graphic and, while
or square. holding down the shift key,
size the graphic.
334 Chapter 8:
Options
Directories
The Options dialog contains default folders, The Directories section of the Settings dialog
selections for displaying the long build menu, allows you to specify which drives and folders to
defaults for record deletion, and the time between use for storing models, graphic libraries, and out-
auto-saves. put results.
AutoSaving Files
ProModel automatically saves the open model
every few minutes, which is useful in the event of
unforeseen crashes and power outages. ProModel
uses a model file called “AUTOSAVE.MOD” for
all autosaves and only modifies the original file
when Save is chosen from the File menu.
Please note
Please note
Options
Select the Options button to customize ProClare
in these additional ways:
Always on Top This option allows ProClare to
always be on top of all other windows, which is
useful if you plan on adding a lot of new items.
ProClare is a quick way to add new variables, Auto Roll-up When enabled, ProClare is
attributes, macros and arrays into your ProModel reduced to just the title bar when the mouse cur-
Corporation product without having to leave sor is outside the window. When the cursor is
where you are in the model building process. inside the window, the window is restored to nor-
This is extremely useful if, for example, you are mal size.
into heavy logic and need to add a new variable.
With this tool you can add the new variable with-
out losing your place.
Tools
Startup Loads the default ProModel Corpora-
tion product for model building and editing. You
can choose to specify a model to be loaded.
Please note
Locations
When you click on a product, it will populate the
location box with all of the locations to which
that product is installed. The default product
location will have a “(Default)” caption next to it
to indicate that it is the default.
Products
This tool supports ServiceModel, ProModel and
MedModel. It supports multiple installations of
these products as well.
Each product has 2 labels: Installed and Default.
Both labels say either Yes or No next to them to
340 Chapter 8:
Power Tools
Example
Worksheets
7a_330p_5_360.sft
This file name represents a shift that starts at 7:00 Drop-down lists, check boxes and text
a.m. and ends at 3:30 p.m., five days a week. boxes
There are three breaks defined, one for 15 min- Many of the worksheets in ProActiveX have
utes, one for 30 minutes, and another for 15 min- drop-down lists which make it easier to fill in the
utes. These breaks add up to a cumulative 60
required data. In all cases, the value you select
minutes of break time, represented by 360.
will be inserted into the selected cell or range of
cells. However, the assigned macros do not pre-
vent you from selecting a different column than
the one with the drop-down used.
Using a combo box with a pre-defined list is one
way to ensure consistency in the data. In most
ProModel 341
User Guide
cases, the numeric value of the list selection is Panes and Sections
temporarily recorded on the hidden sheet (named
In each worksheet where the data columns go
Hidden Sheet). On the Simulation Options
beyond the right-hand border of a single screen,
sheet, instead of filling in a cell or range, the separate panes have been created and ‘frozen’ to
value shows in the drop-down box itself and the allow you to scroll through the columns without
numeric value is hidden in the cell behind it. moving the column that identifies the record.
The Simulation Options sheet also contains sev- The title rows have also been frozen, so that the
eral check boxes and a text box. The values for user can scroll down the sheet without losing
the check boxes are hidden in the cells behind sight of the titles.
them. The method used for hiding the values is
In each worksheet, title labels spanning more
simply to make the text color the same as the
than one column indicate that all the columns
background color.
beneath that title pertain to that type of informa-
tion. For example, on the Resources worksheet,
Not Enabled and Partially Enabled there are several columns for downtime data
A few of the worksheets have data columns which have duplicate titles, but different section
defined for methods which have not yet been labels. In some cases, the labels are used merely
implemented in the ProModel Data Object. to make the titles easier to read.
These columns have been included to acknowl-
edge that these elements were not forgotten when Controls Sheet
ProActiveX was created–these data elements will
be enabled in future releases of ProModel. The first sheet of the ProActiveX file is the Con-
trols Sheet. The options available on this sheet
Shift Editor Button are described below.
Promodel Player After the model has been loaded, the layout win-
dow of the model appears in the main browser
Promodel Player is a browser plug-in for window.
Microsoft’s Internet Explorer that allows users to
view the animation and statistics of a model.
PMplayer is automatically installed on your com-
puter as you install ProModel.
Please Note
: Toggles the Auto Zoom on/off. When
selected, this option will zoom the animation to
A user who has installed this plug-in, but has not
fit within the browser window.
installed any other ProModel Corporation prod-
ucts will not have access to any of ProModel’s
: Opens an options window, which gives you model building capability, they may only view the
several options for controlling your animation. simulation animation and the statistical output
results. Users who have a valid ProModel Cor-
poration registration key will have access to Pro-
: Opens this Help file. model Player Gold, which is described in the next
To run the model animation, click Promodel section.
Player’s play button. If you have selected to view
the output, as soon as the simulation is complete,
the output statistics and graphs will open in the
browser window. Only predefined output graphs Promodel Player Gold
will come up, the user cannot define new graphs If you have a valid registration key on your com-
through Promodel Player. puter for a ProModel Corporation product, Pro-
model Player will automatically launch Promodel
Player Gold.
The Gold version of Promodel Player is function-
ally similar to the regular version of Promodel
Player, but it contains the added functionality of
scenarios and macros.
Promodel Player Gold allows you to view values
for scenarios that are packaged with any .pkg file.
The scenario viewing area is accessible through
the green bar underneath the Promodel Player
toolbar.
shift of daylight saving time in April and Octo- General: Skip Resource DTs if Off-shift When
ber. checked, the simulation will ingnore resource
downtimes if the resource is off-shift.
General: Generate Animation Script When
checked, the simulation will generate a 3D ani-
mation script for use with ProModel Corpora- Output Reporting Options
tion’s 3D Animator application. The animation
script records the graphical events of the simula-
tion for later 3D rendering in 3D Animator.
General: Common Random Numbers This
feature is a variance reduction technique used pri-
marily when running multiple scenarios, each
with multiple replications. It is intended to help
reduce the number of replications required to
determine the statistical significance of differ-
ences between scenario results. When enabled, Standard When you select Standard output
common random numbers will ensure that the reporting, ProModel collects output statistics for
sequence of starting seed values for each stream one or more replications. No interval length can
in a set of replications for one scenario is identi- be specified when using this option. From the
cal to the starting seed values for corresponding output program, statistics can be viewed for each
replications in every other scenario. replication; although, by default they are dis-
played as an average over all the replications.
For example, if you have this option disabled, the
match between starting seed values for each Batch Mean The method of batch means, or
stream in corresponding replications for each sce- interval batching, is a way to collect independent
nario will not be guaranteed. The net effect of samples when simulating steady-state systems as
this is that you may have to run more replications an alternative to running multiple replications.
to get the same confidence interval that you are The advantage over running multiple replications
able to obtain by running with common random is that the warm-up period runs only once. When
numbers. you select Batch Mean output reporting, the out-
put statistics are collected for each time interval
When common random numbers are enabled, indicated in the Interval Length field. The num-
you can theoretically establish the statistical sig- ber of intervals is determined by dividing the run
nificance of differences in output results between length by the interval length. The interval length
multiple scenarios with fewer replications than may be an expression but will only be evaluated
by not enabling common random numbers. Spe- once at model translation, so it is always a fixed
cifically, it reduces the amount of variation in dif- interval. The Number of Replications edit field is
ferences between outputs of corresponding not used when this option is selected since it
replications by ensuring that these differences are replaces the need for running multiple replica-
due to true differences in performance and not to tions.
differences due to randomness of the streams.
For more information on random number Example
streams, see “Using Random Number Streams”
on page 266.
ProModel 351
User Guide
The Content History graph below shows that the The content history table below shows how
contents of Lathe1 varied throughout the simula- the contents of Lathe1 varied throughout the
tion. The interval length was set to 0.5 hours and simulation and from one replication to the
the simulation ran a little over 3 intervals (1 1/2 other. The interval length was set to 0.5 hours
hours). The average or mean of the intervals were and the simulation ran a little over 3 periods
2.7, 3.09, and 3.15, so the average of the inter- (11/2 hours) with two replications. The results
val averages is the batch mean or 2.98. are shown below.
How to define an RTI parameter: Scenarios are saved with the model for future
use.
1. Choose More Elements from the Build
menu.
2. Choose Macros...
3. Type the macro name, choose the RTI but-
ton, and select Define.
4. Define the Parameter Name.
5. Enter the Prompt (optional).
6. Select the parameter type, Unrestricted
Text or Numeric Range.
7. If defining a Numeric Range, enter the
lower and upper boundary for the range.
Add Opens the Scenario Parameters dialog box
8. Click OK. to add a scenario.
9. Use the macro ID in the model (e.g., oper- Edit Opens the Scenario Parameters dialog box
ation time, resource usage time, etc.).
to edit an existing scenario.
Duplicate Duplicates the selected scenario and
opens the Scenario Parameters dialog box, allow-
Please note ing you to give the newly created scenario a name
and edit its data.
For more information on RTI, see “Run-Time Delete Deletes the selected scenario.
Interface” on page 242.
Disable/Enable Disables or enables the
selected scenario.
Run Scenarios Runs the model with the defined
Scenarios scenarios. When running several scenarios, click-
ing on the Abort button during translation will
ProModel gives you the option of defining sev-
terminate all scenarios instead of just the current
eral scenarios for a model using RTI parameters
scenario.
specified for the model. A scenario is a set of run-
time parameters with settings defined by the user.
Using scenarios allows you to alter various model Scenario Parameters Dialog
parameters to run a series of “what-if” scenarios The Scenario Parameters dialog box is displayed
without changing the model directly. when choosing Add, Edit, or Duplicate from the
Scenarios can also be helpful for allowing other
users of you model, who may not have experi-
ence using model logic, to make changes to the
model through RTI parameters.
354 Chapter 9:
Model Parameters & Scenarios
Scenarios dialog box. This allows you to control 4. Double click on the Parameter to bring up
the specifics of a scenario. the parameter dialog box or select the
Parameter and click the Change button.
5. Type the text in the box in the Parameter
dialog box.
6. Select OK in the Parameter dialog box.
7. Repeat for every parameter desired.
8. Select OK in the Scenario Parameters dia-
log box.
Please note
Please note
choosing the desired window from the Window Run-Time Options Menu
menu option.
The run-time Options menu has several selec-
tions that allow you to interact with the simula-
tion while the model is running. These options
Run-Time Simulation Menu are described in the following pages.
Debugging ProModel Logic Even though several threads can execute the
same logic at the same time in the simulation, the
The Debugger is a convenient and efficient way simulation processor can only process them one
to test or follow the processing of any logic at a time. So there is really only one current
defined in your model. The debugger is used to thread while all other threads are suspended
step through logic one statement at a time and (either scheduled for some future simulation
examine variables and attributes while a model is time, or waiting to be executed after the current
running. thread at the same simulation instant).
Before discussing the details of the Debug
option, it is important to understand the following
terms:
Example
Statement A statement causes ProModel to
take some action or perform some operation. This To better explain the above concepts, con-
includes statements such as GET, JOIN, and sider the following operation logic for a multi-
SPLIT AS. (See “Statements and Functions” on capacity location.
page 439 for more information).
Logic Logic refers to the complete set of state- Line of
ments defined for a particular process record, execution
downtime event, initialization logic, or termina- for Thread 3
tion logic for a simulation.
Line of
Thread A thread is a specific execution of any execution
for Thread 2
logic. A thread is initiated whenever a logic
needs to be executed. This can be an entity run-
Line of
ning through an operation logic, the initialization execution
logic, a resource running a node logic, a down- for Thread 1
time logic, or any other logic. Note that the same
logic may be running in several threads at the
same time. For example, three entities of the Logic
same type being processed simultaneously at the
same multi-capacity location would constitute The logic includes all statements shown on
three threads. previous page. Let’s assume that there are
three different entities currently executing this
A thread or logic execution can be suspended by operation logic. Each executing entity consti-
any statement, causing simulation time to pass tutes a thread. A possible scenario for this
(e.g., GET Res1, WAIT 5, etc.). After such a case is the following: Thread 1 is an entity
statement completes its task, the thread is using two units of resource Oper_3 for N(35,5)
resumed. During the time a thread is suspended, minutes. Thread 2 is an entity waiting for
other threads may be initiated, suspended, resource Oper_1 to become available. The
resumed, or completed. This is called thread last thread is a different entity which has
switching. completed 10 minutes of the 15 minute wait
358 Chapter 9:
Run-Time Menus & Controls
executed at the beginning of the logic. Note Debugger Options Dialog Box
that two entities arriving at a multi-capacity
location at nearly the same time could both The Debugger Options dialog box allows the user
execute the same WAIT or USE time in the to specify when to display the Debugger dialog
logic, only in different threads. box during the simulation run.
be tested by using the OR operator. See “Boolean Context Box Error Dialog Box
Expressions” on page 410 for more information.
Check Condition Allows the user to define
how often to check the user condition. The
options include:
•Before each statement The condition,
such as Var1=1, will be checked before
each statement is executed. This option is
the most precise way to tell exactly when
the user condition becomes true, but it
slows down the simulation the most.
•At each thread switch The condition, such
as Var3>17, will be checked only if a
statement from a different thread follows
the current statement being executed.
•At each thread initiation The condition, Logic Display Box Information Box
such as Att1=5, will be checked only if the
next statement to be executed is the first Error Display Box Displays the error message or
statement in a thread (the first statement in reason why the Debugger dialog box is dis-
a thread is also the first statement of a played, such as the User-Condition becoming
logic). true.
Debug button Pressing the Debug button dis- Logic Display Box Displays the statements of
plays the Debugger dialog box before the next the current logic being executed.
statement executes.
Context Box Displays the module, operation,
OK Closes the Debugger Options dialog box and and line number (in which the debugger stopped)
continues to run the simulation model. in the Information box.
Information Box Displays local variables and
Debugger Dialog Box entity attributes with non-zero values in the Infor-
The Debugger can be used in two modes: Basic mation box.
and Advanced. The Basic Debugger appears ini- End Simulation Choose this option to terminate
tially with the option of using the Advanced the simulation. This will prompt you about col-
Debugger. The Basic Debugger dialog box is lecting statistics.
shown below:
Run Continues to run the simulation, but still
checks the debugger options selected in the
Debugger Options dialog box.
Next Statement Jumps to the next statement in
the current thread. If the last statement executed
suspends the thread (e.g., the entity is waiting to
capture a resource), another thread meeting the
360 Chapter 9:
Run-Time Menus & Controls
debugger conditions may be displayed as the next tionality as the Next Thread button in the Basic
statement. debugger.
Next Thread Brings up the Debugger at the next New (Thread) Jumps to the next initiated
initiated or resumed thread. thread.
Into Subroutine Steps to the first statement in Disable (Thread) Temporarily disables the
the next subroutine executed by this thread. debugger for the current thread (see also enable).
Again, if the last statement executed suspends the
Exclusive (Thread) The debugger displays the
thread, another thread meeting debugger condi-
statements executed within the current thread
tions may be displayed first. If no subroutine is
only. When the thread terminates, the exclusive
found in the current thread, a message is dis-
setting is removed.
played in the Error Display box.
Next (Logic) Jumps to the next initiated or
Options Brings up the Debugger Options dialog
resumed thread that is not executing the same
box. You may also bring up this dialog box from
logic as the current thread.
the Simulation menu.
New (Logic) Jumps over any resumed threads
Advanced Changes the Debugger to Advanced
to the next initiated thread not executing the same
mode, provides additional options discussed next.
logic as the current thread.
Trace Continuous
Select this option to write the trace continuously
to the output device selected from the Trace Out-
put submenu. This is useful when you do not
know exactly where to begin or end the trace.
Clicking and holding the right mouse button
stops the trace until you release the button.
Filtered Trace...
When you view the Trace during simulation, you
see a list of all the events that occur as your
model is running.
Although it may be helpful to view every event in
the simulation, there are many times when you
will want to focus on just the events that affect
specific elements (locations, resources, variables,
etc.) of your model.
The Trace feature contains an optional, custom
filter, which allows you to pick the elements of
your model, or custom text string, that you wish
to view in the Trace window.
The Enable button in the Custom Trace Options the layout window, the zoom function will auto-
dialog must be checked for the Trace Filter to matically pan to show at least part of the layout.
take effect.
Output to File
Select this option to send the trace listing to a text
file. Trace statements are automatically written to
a <model name>.TRC file.
Animation Options
In addition to the debug and trace options, anima-
tion options allow you to control the animation
To zoom in a specific area of the simulation lay-
screen.
out, press and hold the CTRL key, then click and
Animation Off Choose this option to tempo- drag the mouse to create a rectangle around the
rarily suspend the animation. To resume the ani- are in which you would like to zoom. Release the
mation, select this option again. (The selection mouse, then the CTRL key. The layout will zoom
automatically changes to “Animation On.”) Note in on the selected area.
that running with animation off greatly increases
Views Click on this menu item to display the
the run speed, especially for models with a large
available views. Select the desired view.
amount of graphic detail. To increase the run
speed to an even faster rate, check the Disable User Pause Choose this option to enter a time
Animation in the Simulation Options before run- for the simulation to pause. The proper format for
ning the model (see “Animation Options” on specifying a user pause is hh:mm:xx where hh
page 363). represents hours, mm represents minutes, and xx
represents hundredths of a minute.
Zoom Select this option to Zoom in or out on
the animation. When this option is selected, you
may choose a preset zoom level, enter your own Run-Time Information Menu
zoom level, or choose Zoom Full to fit the entire
animation on one screen. The Zoom function The Run-Time Information menu allows you to
zooms to the center of the screen. If the zoom see the status of locations in two different ways.
factor causes the model layout to appear outside In addition, you may view the current state of all
variables and array elements. Each of these
options is defined in the following pages.
364 Chapter 9:
Run-Time Menus & Controls
Status Light Select this option to bring up the changes for those metrics dynamically as the
Status Light Legend. model runs. Configurations of one or more plot
windows can be saved and later retrieved to
Locations Select this option and choose a loca-
quickly view a customized set of graphs.
tion to view an information box with real time
information about the location. Information for Features include:
all locations may also be displayed.
•Up to six elements many be graphed on the
Variables Select this option to show the current same chart at the same time.
state of all real and integer global variables. •More than one chart may be active at a time.
Arrays Select this option to show the current •Charts can be resized.
value of all cells for arrays of up to three dimen- •Plots display a meaningful scale for both
sions. axes.
•Improved customization for graph appear-
Dynamic Plots Allows you to graphically moni- ance
tor the performance of model elements during run
•Chart settings may be saved to use over from
time and store statistical data in an Excel® spread-
one simulation run to the next.
sheet.
•Dynamic plots work with multiple replica-
tions and scenarios.
Location Status Legend
The Location Status Legend shows the different Basic Operation
colors of a location status light and the meaning
of each color. Single capacity locations may be in Please note
any of several states, while multi-capacity loca-
tions appear only as up or down. This window
The Dynamic Plot dialog is only accessible dur-
may remain open during the simulation.
ing simulation run-time. If you will be creating
saved chart views, you may wish to pause the
simulation, define Chart views, then resume the
simulation.
Dynamic Plots
Dynamic plots allow you to select certain metrics
for various model elements and observe value
ProModel 365
User Guide
Dynamic Plots you will find two sub-items, New keyboards. When a subtree is fully expanded,
and Configurations… individual plottable items are shown, as below:
Statistic List
The item list below the tree view contains the
items currently being graphed, arranged into two
columns: a label and a statistic name. The label
366 Chapter 9:
Run-Time Menus & Controls
initially consists of only the text directly right of horizontal gridlines, and a chart title. An exam-
the item icon in the tree view, while the statistic ple of a chart view is shown below.
name is composed of the names of the items
ancestor nodes and the name of the item node
itself. For example, for the "Avg Min per Entry"
item under the Input location, the label would ini-
tially be set to "Avg Min per Entry" and the sta-
tistic name would be "Locations\Input\Avg Min
per Entry."
Please note
of a list box containing the names of any saved ments, screen position and size to a configuration
dynamic plot configurations for the model, an with the name specified in the edit field. If the
edit field, and Load, Rename, Delete, Save, and name matches one of the configurations in the
Exit button. configuration list, this data will replace the previ-
ous data for that name.
The Save button does not actually save data into
the model file. Rather, it creates or modifies a set
of configuration data associated with a particular
configuration name in memory and tags the
model as being modified. If you exit the pro-
gram, load a model, or execute the New com-
mand from the File menu you will be prompted to
save the model. Using the Delete or Rename
buttons in the configuration dialog also tags the
model as modified.
Advanced Operation
If you select a configuration from the list and
To enhance your simulations and presentations
click Load, the indicated saved configuration of
you can turn your dynamic plots on and off using
chart(s) will be loaded, with all of the previous
the DynPlot “” statement in your model logic.
settings as far as selected data items, chart style,
Predefine the statistics to be graphed and a chart
colors, fonts, visible elements, screen position
name, then open your plot through subroutines or
and size, etc. If any of the previously selected
processing logic.
data items no longer exist in the model, they will
simply not be displayed. For example, if a statis-
tic had been selected for a location that was later
deleted from the model, it will no longer be
selected.
Double-clicking on a configuration in the list has
the same effect as selecting it and clicking the
Load button.
Run-Time Interact Menu 2. Select the identifier for the subroutine from
the list box in the Interact dialog box.
The Run-Time Interact menu displays the Inter- 3. Choose the Activate button.
act dialog box. It allows you to execute interac-
tive subroutines during run-time. Interactive
Context Choose this option to go directly to the How to control the simulation
help screen that corresponds to the active win- speed:
dow. If no context sensitive help exists for the
active window, the Main Help Index will appear.
• Move the animation speed control bar to
About... Choose the option to display a message the left to decrease the simulation speed or
containing software version information. to the right to increase the simulation speed.
Desired Location
How to change the format of the
simulation clock display:
Anchor
370 Chapter 9:
Run-Time Menus & Controls
2. Select a format for the clock display. on page 84 for information on defining
views.
•Pause/Resume Simulation Allows you to
toggle the simulation’s pause on and off.
•Trace Options Lists events as they happen
during a simulation. This listing may be Step
by Step, Continuous, or Filtered.
•Dynamic Plots Opens the Dynamic Plots
window.
Please note
ysis (Statistical Advantage) and Simulation 2. To select input variables, click next to each
Optimization. variable in the Selected column. SimRunner
will mark the selected items.
SimRunner Benefits
Using SimRunner will help you find accurate
solutions for your modeling needs. No longer Please note
must you sit and experiment with what you think
might work, only to find that your solution actu- SimRunner will optimize only single value RTI
ally interferes with productivity in other parts of macros.
the model. SimRunner will help you locate true
solutions by monitoring how changes affect each
part of the model. In other words, SimRunner
will not let you improve one area of your model How to define the objective func-
at the expense of another—the results you get are tion (output variables):
beneficial to the entire model.
1. Click the Outputs button.
Starting a New Project 2. In the Objective Function Setup dialog,
The following describes how to start and prepare select the category of the item(s) you wish to
a project for analysis. Remember that you must minimize or maximize.
create and validate your model prior to analyzing 3. Highlight an item in the list.
or optimizing it in SimRunner.
4. Select Maximize, Minimize, or Custom to
select the type of optimization you wish to
How to select a model: use for the variable.
5. Enter the Weighting. This number repre-
1. Click the New button on the button bar or sents the importance of Maximizing or Mini-
select New Project from the File menu. mizing the item. (The higher the number, the
2. From the Open dialog, select the model higher the importance.)
file you wish to use. 6. After you set the values for the item, click
3. Click OK. the right arrow to place the item in the
selected list. To remove an item from the
4. Once you select a model, the model’s selected list, select the item and click the left
name will appear in the Project Information arrow. (Alternatively, you may double click
dialog. on an item to add it to or remove it from the
list of selected variables.)
Once your model has been built, and the simulation run, you are ready to begin making important deci-
sions about your real-world process based on your simulation’s data. To help you make the most of the
data collected during simulation, ProModel comes with a powerful, easy-to-use Output Viewer 3DR.
This Output Viewer 3DR allows you to view your date numerically, in spreadsheet format, or graphi-
cally in a variety of charts.
374 Chapter 10:
Output Viewer 3DR
Output Viewer 3DR allows you to later import the data into other data
viewing programs, such as Excel
Output Viewer 3DR organizes and displays the Data sets can also be printed using the print
data gathered during your model’s simulation. options in this menu.
You can open Output Viewer 3DR from Pro-
Model or from the Window’s Start menu in the
View Menu
ProModel program group.
The View menu lets you specify how you want
Output Viewer 3DR’s Menu bar and Toolbar
the data displayed.
give you the controls necessary to create the
reports and charts needed to help interpret your
data.
Menu Bar
The Menu bar contains all of the tools necessary
to view your simulation’s data. The Menu bar is
located just beneath the Output Viewer 3DR cap-
tion bar, and allows access to the following
menus:
Reports and Charts
File Menu The first five selections in the View menu display
The File menu allows you to open and close data the output data in different ways:
files, export data, and print data. •Report Spreadsheets of the data collected
during the simulation. see “Creating
Reports” on page 382.
•Category Charts Bar charts of your data.
see “Category Chart” on page 391.
•State Charts Stacked bar charts of state
variables such as location and resource
states. see “State Chart” on page 392.
•Histogram Displays graphically the fre-
quency of occurrences of time plot data. see
“Histogram” on page 394.
•Time Plot Shows variables, states and
Output Viewer 3DR opens files with the .idb events over time. see “Selection Window”
extension; however, .rdb files, which are gener- on page 396.
ated by ProModel or Process Simulator can be
converted to .idb files when they are opened Sheet/Chart Properties
using Output Viewer 3DR. The title of the last option in the View menu will
Data can be exported to a .csv (comma-delim- vary between Sheet Properties and Chart Proper-
ited) file using the Export Data option. This ties, depending on whether a spreadsheet report
or graphical chart is currently displayed. This
ProModel 375
User Guide
selection brings up a window where you can •Additional Records: The options in this
choose the data you want to appear in the open area allow you to display additional replica-
report or chart. tion information, which includes: the min
and max, standard deviation, and various
Sheet Properties - Display Items confidence interval information for the repli-
If you choose Sheet Properties while you are cations.
working with a Report, the following window
appears. The default Display Items Tab is Please note
described below.
If you are working with a database that does not
contain multiple replications, the Additional
Records field of the Sheet Properties window is
not applicable, and therefore not accessible.
•Column Headers: Choose the font styles A view describes the way a report or chart
of the column headers. appears. For instance, you may choose to create a
•Non-scrolling columns from the left: Use category chart as explained on page 391.
this column to lock columns in place as you
scroll horizontally through your sheet data.
For example, entering “1” in this field will
lock the left-most column in place, so that it
will not scroll with the rest of the sheet’s col-
umns.
•Display time values in: By default, time
values are shown is hours, but you may
choose to have time units shown in seconds,
minutes, hours, days, or weeks.
Chart Properties
The Chart Properties dialog will vary depending
on what type of chart you choose to view proper-
ties for. See each chart type description (begin-
ning with “Category Chart” on page 391) for
more information on the options available from That chart may then be customized using the
its Chart Properties dialog. tools in the Chart toolbar, page 389, and the right-
click menu, page 379.
Tools Menu
The Tools menu allows access to the View Man-
ager and Output Viewer 3DR options.
This particular customized view of the chart can 1. Open a report or chart window. See “Reports
be saved using the View Manager. and Charts” on page 374 for a list of possible
reports and charts.
2. Customize the report or chart as desired using
the tools in the Chart toolbar, page 389, and the
right-click menu, page 379.
3. Open the Views Manager by clicking on the
tool in the Output Viewer 3DR toolbar, or
selecting View Manager from the Tools menu.
4. Click the New Icon, , in the View Manager
and give the view a name.
5. Click OK to save your new view.
The decimal precision can be changed to increase •Tile Horizontally Sizes and places each open
or decrease the number of digits that appear for window horizontally across the screen so
all real numbers that are displayed. none of them overlap. Since most data in the
You can choose to have the current database Output Viewer is arranged horizontally
close whenever you open a new database. within a window, this option is very helpful
Selecting the check box for Enable Multi-create for comparing data from one window with
Dialogs will leave the Select Report and Select another.
Chart windows open until you close them. This •Tile Vertically Sizes and places each open
allows you to open multiple reports or charts at window vertically across the screen. This
the same time without having to reopen the cre- makes comparing data across two or more
ation window each time. windows convenient when the data in the
This option is checked by default. If you want the window is arranged vertically.
selection widow to close when you open a report •Cascade Places windows on top of each
or chart, uncheck the box. other in an overlapping manner.
If you have changed your report or chart style as •Arrange Icons If you have report or chart
described in the previous heading, you can windows minimized within the Output
restore the default styles by using the Reset Viewer 3DR window, this options will align
Defaults menu and Reset button. them in a row along the bottom of the Output
Viewer 3DR window.
How to Reset Default Styles •Close All Closes all open windows in the
Output Viewer 3DR.
1. Select Report or Chart Defaults from the pull- •Open Windows This last field in the Win-
down menu in the Options window. dow menu displays the names of all the open
windows. This is helpful for navigating
2. Click the Reset button.
ProModel 379
User Guide
through data windows when you have many For more information on these features see
open at one time. “View Menu” on page 374.
Help Tool
• : Starts the Output Viewer 3DR Online
File Tools Help.
The Report and Chart tools gives quick access to For more information on Views and the View
options found in the View menu. Manager, see “View Manager” on page 376
• : Creates a report.
• : Creates a category chart.
Right-click Menu
The Right-click menu provides a shortcut for
• : Creates a state chart. editing the appearance and structure of your
• : Creates a histogram. reports and charts.
The Right-click menu is available in report and
• : Creates a time plot chart.
chart windows. Additionally, the options that
appear when you right-click in the Output Viewer
380 Chapter 10:
Output Viewer 3DR
3DR vary depending on which area you right- “Category Chart” on page 391 for more
click on. information.
• Create State Chart If you right-click on a
Right-click Menu in Reports column that contains percentage values, you
can choose to have that data displayed,
When you right-click anywhere in a report win-
together with all other percentage columns
dow, the following menu appears.
on the sheet, as a State Chart. The State
Chart that’s created is the same as one cre-
ated using the State Chart option. See “State
Chart” on page 392 for more information.
When you right-click anywhere in the legend This could be the color of the background or
area, the following menu appears. bars in the chart.
•Toolbar Toggles the toolbar for chart win-
dows on and off. This is helpful, for exam-
ple, to make the chart appear less cluttered
during a presentation of the data or on a
printout of the chart. For more information
on the chart window toolbar see “Chart
Toolbar” on page 389.
•Chart Properties Opens the Properties win-
dow. For more information on this window
see “Sheet/Chart Properties” on page 374.
•Modify Chart Items This options opens the
chart’s data dialog, which was initial dialog
There are four areas in this menu: shown when you first created the chart. This
•Font This features lets you change the font option is only available for Histogram and
options for the legend labels. Time Plot chart types.
•AutoSize The AutoSize option resizes the For more information on the data dialog see
legend area to fit the labels in the legend. the corresponding chart descriptions, begin-
•Legend Position The position of the legend ning with “Category Chart” on page 391.
area can be moved to any one of the four
sides of the Chart window, or it can float in Right-click Menu for Titles and Labels
its own window. Titles and labels are the text within the chart area.
•Hide Selecting this option makes the leg- Right-clicking on either of these two will bring
end disappear. You can bring the legend up a Right-click menu similar to that of a chart
back by opening the Chart Properties win- area’s menu, but with two additional options.
dow in the View menu.
This information is presented in spreadsheet 3. From this window you may choose which sce-
form, and grouped into the following categories: narios and replications to view. If you chose to
run the simulation with Batch Mean or Periodic
• General reporting, you may also choose a Period.
• Entity Activity
4. Click on the Create button. This will open a
• Entity Costing
new window with the chosen report.
• Entity States
• Failed Arrivals
Please note
• Location Costing
• Location States Multi
If your model was run for only one replication
• Location States Single/Tank
and one scenario, the report window will open
• Locations immediately after selecting the Reports option.
• Logs
• Node Entries
• Resource Costing
• Resource States Report Window
• Resources The Report window contains the categorized
• Variables information from your simulation.
For more information on each of these categories
see “Report Data” on page 383.
Selecting a tab will bring up a new table, and Clock Precision field of the Simulation
additional tabs can be accessed using the left and Options dialog.
right arrows, .
The caption of a report can be renamed by either Entity Activity
double clicking on it and then typing in the new Entity activity is reported for only those entities
name or opening the sheet properties window and that have exited the system.
typing a new name in the Caption area. •Total Exits The number of entities that
completely exit the system either through the
Report Data EXIT routing or when they are joined,
The spreadsheet for each button contains the fol- renamed, or combined. In some cases, enti-
lowing information. ties also exit the system when you use the
SPLIT AS, UNGROUP, or ROUTE state-
ments.
Please note •Current Quantity In System The total
number of entities remaining in the system at
The default time units shown in the report will be the time the simulation ends. These are enti-
one unit longer than the unit selected in the Simu- ties that have not exited.
lation Options dialog box. For example, if you •Average Time In System The average
select minutes in Simulation Options, the time total time the entity spends in the system.
displayed in the report will be in Hours. You may
•Average Time In Move Logic The aver-
also notice that Day is the last option available in
age time the entity spent traveling between
Simulation Options, in which case the time unit
locations, including any delays incurred in
will be in weeks for the report.
move logic.
•Average Time Wait For Res The average
time the entity spent waiting for a resource
or another entity (to join or combine). Also
General
includes time waiting in queue behind a
•Run Date/Time The date and time the blocked entity.
model was run for the displayed output.
•Average Time In Operation The average
•Model Title The name of the model. time the entity spent processing (i.e., WAIT
•Model Path/File The path and name of the or USE statements) at a location or traveling
model file. on a conveyor/queue.
•Warmup Time The amount of initial time •Average Time Blocked The average time
the simulation spent in a warmup state. No the entity spent waiting for a destination
statistics were gathered during this time. The location to have available capacity.
time unit used is one unit longer than defined
in the Clock Precision field of the Simulation Entity Costing
Options dialog.
•Explicit Exits The number of entities that
•Simulation Time The total simulation time,
have explicitly exited. Whenever an entity
including the warmup time. The time unit
exits the system, it is an explicit exit
used is one unit longer than defined in the
except in the following cases:
384 Chapter 10:
Creating Reports
location. This applies only to resource use bility of overlap with any of the previous
through operation logic. three states.