Professional Documents
Culture Documents
1
INTRODUCTION
14.2
OBJECTIVES OF SIMULATION IN MANUFACTURING
FlexSim [see Beaverstock et al. (2013) and FlexSim (2013)] is a true object-
oriented simulation package for manufacturing, material handling, warehousing,
and flow processes marketed by FlexSim Software Products (Orem, Utah). A
model is constructed by dragging and dropping “objects” into the “Model View”
and then editing their parameters using dialog boxes. FlexSim can model a wide
variety of manufacturing configurations, since existing objects can be fully cus-
tomized to meet specific requirements. These customized objects can then be
placed in the library for reuse in current or future modeling applications. A model
can also have an unlimited number of levels of hierarchy and use all aspects of
object-oriented technology (i.e., encapsulation, inheritance, and polymorphism, as
discussed in Sec. 3.6).
and animation by default; however, the user has the option to switch to an
ortho- graphic view or display both views simultaneously.
The FlexSim model of the manufacturing system consists of the six objects
shown in Fig. 14.1, which is the orthographic view of the model. The dialog box
FIGURE 14.1
FlexSim model for the manufacturing system, as shown in the orthographic view.
FIGURE 14.2
Dialog box for the FlexSim Source object “PartsArrive.”
for the “Source” object named “PartsArrive” (the left-most object in Figure 14.1)
is shown in Fig. 14.2; here we specify that the interarrival times of parts (called
“flowitems” in FlexSim) are exponentially distributed with a mean of 1 (and a
loca- tion parameter of 0) and use random-number stream 1 (see Chap. 7). (The
time unit for the simulation model is set to minutes at the beginning of the model-
building process.) The statistical-distribution dialog box displays a histogram of
1000 gener- ated interarrival times.
The next object is a “Queue” object named “MachineQ,” whose dialog box is
shown in Fig. 14.3. The dialog box for the “Processor” object named “Machine” is
FIGURE 14.3
Dialog box for the FlexSim Queue object “MachineQ.”
shown in Fig. 14.4, where we specify that processing times are uniformly
distributed with a minimum value of 0.65 and a maximum value of 0.70, and we
use random- number stream 2.
The dialog box for the Queue object named “InspectorQ” is similar to that
for the MachineQ object and is not shown. The dialog box for the Processor
FIGURE 14.4
Dialog box for the FlexSim Processor object “Machine.”
object named “Inspector,” which is similar to that for the Machine object, is shown
in Fig. 14.5. Here we specify that inspection times are uniformly distrib- uted with
a minimum value of 0.75 and a maximum value of 0.80, and we use random-
number stream 3. Also, if we click on the “Flow” tab near the top of the screen, we
can access the dialog box shown in Fig. 14.6. Here we specify that
FIGURE 14.5
Dialog box for the FlexSim Processor object “Inspector.”
90 percent of the flowitems (i.e., those that are good) go to output port 1 (using
random-number stream 4), which is connected to the “Sink” object named
“PartsDepart” (its dialog box is not shown). The remaining 10 percent of the parts
(i.e., those that are bad) go to output port 2, where they are sent back to the
MachineQ object to be reworked. The simulation run length is specified to be
FIGURE 14.6
FlexSim dialog box for specifying the routing of parts from “Inspector.”
100,000 time units by using a dialog box (see Fig. 14.7) that is accessed from the
“Run Time” pull-down menu at the top of the screen. The results from running
the simulation model are shown in Table 14.1, and a perspective-projection view
is given in Fig. 14.8.
FIGURE 14.7
FlexSim dialog box for specifying the
simulation run length.
14.3.2 ProModel
TABLE 14.1
Simulation results for the FlexSim model of the
manufacturing system
The ProModel model for the manufacturing system uses “Locations,” “Enti-
ties,” “Arrivals,” and “Processes” modeling constructs. Locations, which will be
used to represent the machine, the inspector, and their queues, are selected from
the “Build” drop-down menu, or by selecting the Locations icon on the toolbar.
The resulting “Locations Module,” which consists of three windows, is shown in
Fig. 14.9. The Locations Edit table and Layout window for the manu- facturing
system are shown in Fig. 14.10. In particular, the fields for the “Machine” record
in the Edit table are as follows:
Cap. The capacity of the Machine location (i.e., the number of parallel ma-
chines) is 1.
Units The number of separate units of this location (each having the same char-
acteristics) is 1.
DTs There are no downtimes for this location.
Stats Only “Basic” statistics (i.e., machine utilization and average processing
time) will be computed for this location.
Rules The Machine, when available, will pick that part in the queue that has
been waiting the longest (i.e., the “Oldest”).
FIGURE 14.10
Locations Edit table and Layout window for the ProModel model.
Entities, which are used to represent parts in this model, are selected from the
Build menu, or by selecting the Entities icon on the toolbar. This results in the dis-
play of the “Entities Module,” which consists of an “Entities Graphics” window,
an “Entities Edit” table, and the Layout window. An entity is specified graphically
by selecting an icon from the Entities Graphics window and then editing the record
that automatically appears in the Entities Edit table. The Entities Edit table for this
model is shown in Fig. 14.11. The “Speed” of an entity is not relevant for this
model.
FIGURE 14.11
Entities Edit table for the ProModel model.
FIGURE 14.12
Arrivals Edit table for the ProModel model.
MODELING SYSTEM RANDOMNESS
0.25
0.20
0.15
0.10
0.05
0.00
1.00 5.00 9.00 13.00 17.00 21.00 25.00
29.00 x
FIGURE 14.19
Histogram of 52 processing times for an automotive manufacturer.
h(x)
0.40
0.35
0.30
0.25
0.20
0.15
0.10
0.05
0.00
3.50 18.50 33.50 48.50 63.50 78.50 93.50 x
FIGURE 14.20
Histogram of 1603 times to failure for a household-products manufacturer.
• Two or three forklift trucks are required for Monday through Friday (further in-
vestigation is needed), and two are required for Saturday and Sunday.
• Two containers should be staged in the input queues of the loaders and the
assembler.
• The output queues of the loaders should have a capacity of two.
• The system can achieve the desired throughput with the above specifications.
The company received several definite benefits as a result of the simulation
study. First, they gained the assurance (before building the system) that the pro-
posed design for the loaders, warehouse, and assembler would actually meet their
15,000
10,000