Module 6B PDF
Module 6B PDF
MODULE 6B
DISCRETE EVENT SIMULATION: BUILD THE MODEL (PART 2)
This module is about the process how to build model simulation using software FlexSim 2018
which is accompanied by an explanation of the tools and functions.
Define the
Collect and
Objective: Build the Validate the Conduct
Analyze
Scope and Model Model Experiment
System Data
Requirement
1
2. Process Time
This determines how long a processor spends processing a single flow item.
Processing time can be used in any combiner, separator, or processor, with or without
operator.
Use Operator(s) for process, if this box is checked the object will call for one or
more operators during its processing time. The operator(s) will be released after the
process time has expired.
Number of Operators, this will determine how many operators will use during its
process time. This property is only visible when the Use Operator(s) for Process
box is checked, and the Use the Setup Operator(s) for both Setup and Process box
is not checked.
3. Triggers
Trigger is a cause or condition that makes an activity occur. This is used when we
are going to define the activities, we want to create in the system that we are going
to model. Triggers are also referred as the behavior of an activity, how it can move
and what it has to do. Examples of triggers include OnReset, OnMessage, OnLoad,
OnResourceAvailable, and many more. Some things that triggers can do are change
the shape of the 3D input, color, location, and others.
4. Timetable
Time Tables are used to schedule state changes, such as scheduled down- time, for
specific objects in the model. Each Time Table may control many objects, and each
object may be controlled by many Time Tables. For the example a timetable will be
created to specify when an operator is on break, and another Time Table will schedule
maintenance for the processors. The timetable can be set up in different modes
allowing for nonrepeating/repeating schedules or schedules based on date and time
such as the daily repeat, weekly repeat.
2
6. FlexSim Feature
Here are some features at FlexSim that will be used at this module:
A. Flow Tab
Flow Tab is located on fixed resource. These are some properties that
are available on the Flow Tab:
Name Function
3
B. Triggers Tab
These triggers are called when events fire or occur on the object.
Name Function
A trigger to determine that something
On Process Finish about the flow item has been changed as
a result of going through the processor.
A trigger when we want to define an
On Exit object that sends a message to another
object in the model.
A trigger to define how the tables data
On Reset work when we reset the model and other
custom behavior.
On Entry A trigger that works when an item enters
the flow or the system.
On Message A trigger that works when a resource sent
a message.
4
On Setup Finish A trigger that works when a resource
(machines) finishes its setup time
C. Separator Tab
Separator Tab is used to separate object. These are some properties are
available:
Name Function
Flowitems inside of flowitem entering
Unpack through port will be removed. At the real
case when the input comes as package
form, the separator object will unpack the
package.
Split The separator machine will duplicate
copies of the entering flow item.
5
D. Combiner Tab
Name Function
To determine which mode that will be
Combine Mode used on combiner object. There are pack,
join, and batch.
Only available when Join mode is
selected. In Join mode, the objects that
come in through ports greater than 1 are
destroyed after the combiner is finished
Recycle To
processing. Rather than destroying the
extra flow items, you can use this option
to recycle them to a specific flow item
recycling bin.
6
6.5 Study Case
SIMBI Corporation is an assembly company that sell a stirling machine. The company
do the assembly process of the components separately, then after several processes it
will turned out to be a stirling machine as the finish product. SIMBI Corporation has 25
factories in Indonesia. The product is consisting of four main components that are lower
platform, main machine, piston tube, and upper platform. As a product variation,
SIMBI Corporation produce two color variation in the stirling machine, and the
variation are 60% green stirling machine and 40% yellow stirling machine.
After running for some time SIMBI Corporation found that the demand forecasting for
the 13th month is 80.526. Therefore, with the 23 working days in a month, one factory
should produce at least 140 stirlings/day.
With the existing system, the company will have a loss profit around Rp 5.100.000,00/
day. In order to fulfill the demand forecasting, SIMBI Corporation need your help as an
industry analyst to find and give a solution that will be used to decide what will be done
to face the problems that occur in the company with hard Operation Research
methodology, and also you need to do a production system simulation with a
consideration of working shift or amount of machine.
Every arrival of lower platform package consists with 70 unit components. After its
arrival, The Lower Platform Package then enters the separator machine with
distribution time U (204, 215) minutes.
Every arrival of Piston Tube Package consists of 65 unit components. After its
7
arrival, Piston Tube Package then enters the separator machine with distribution time
U (185, 216) minutes. After processed by separator machine with distribution time
N (1.02, 0.268), piston tube unit and lower platform unit are being processed by
installation machine with distribution time N (1.62, 0.405) to be half-finished stirling
machine through the queue lower platform package and the queue of piston tube
package.
Every arrival of the Upper Platform Package consists of 75-unit components. Upper
platform is divided by two color, that are green and yellow with the percentage of
production is respectively 60% and 40%. After its arrival, upper platform unit enters
the separation machine with distribution time U (225, 246) minutes.
In the Inspection Area, Finished Stirling Machine in Green and yellow color will be
inspected by one operator of quality control with distribution time N (2.21, 0.457). The
operator of quality control will get salary Rp 20.000,00/hour. Inspected Stirling
Machine in Green and Yellow color then moved to the warehouse area through the
queue conveyor for Green stirling machine and Yellow stirling machine.
Based on the calculation from 3rd module, this following below is table of arrival time
distribution for every package:
8
Table 6. 5 2 Proccess Time Distribution
9
The working hours of the company last for 9 hours, starting from 08.00 AM–5.00 PM
for 5 working days (Monday – Friday) with one hour for rest time between 12.00 PM–
01.00 PM. Throughout the production processes that has been carried out by the
operators, sales manager of SIMBI Corporation records the unfulfilled order which is
as many as 6 striling on average.
10
6.6 Entity Flow Diagram
3. Click the Members tab, click on icon and then click as shown in the image
below, after match to the image below, click select. The locations that work on
this Time Table are all queue locations, all machines (combiner, separator and
processor, operator, conveyor and racks Finished Product Warehouse).
Figure 6. 7 1 Select the Object Time Table Parameter Windows of Finished Product Warehouse
12
4. Click the Table tab, then change the mode to weekly repeat as shown in the
image below.
Define the hours of factory working hours according to the scenario, which is
from Monday to Friday, at 08.00AM - 05.00PM, by blocking the table on
Monday-Friday at 08.00AM - 05.00PM and click Make Operational Time, as
shown below. Don’t forget to click apply and ok.
13
5. Define the break time on factory working hours’ time according to the scenario,
which is every Monday to Friday, at 12:00AM to 01:00PM, by blocking the
table on Monday-Friday at 12:00PM to 01:00PM and click Make Down Time,
as shown below, then click apply.
1. Click menu bar View -> Toolbox -> Click icon -> Time Table
2. In the Time Table Parameters window, change the name of the Time
Table to Periodic System Shutdown to define Periodic System Shutdown
according to the scenario
3. Click Members tab, click icon and then click the location of
Component Warehouse, because in the scenario it is known that during
breaks and non-work, the entire arrival of the component will go into
component Warehouse, then the location that only works on these hours is
the location of component Warehouse.
14
Figure 6. 7 5 Select the Object Time Table Parameter Windows of Component Warehouse
4. Click Table tab, then change the mode to weekly repeat as the previous
step.
15
6.7.2 Define Inter-Arrival Time
1. Double click on the arrival icon in FlexSim layout, for example is the arrival
location of the Lower Platform Package until the window appears as below,
make sure Arrival Style is used InterArrival Time, adjust FlowItem Class with
Study Case, and make sure to unchecklist box Arrival at time 0.
2. Click on icon in the source tab, until the options appear like the image
below, then click the Statistical Distribution option, and select the distribution
type to use.
16
3. After selecting the distribution type to use, enter the arrival time according to
the scenario, for example, the arrival time of lower platform assembly based on
the scenario is U (204, 215) distribution, then click apply and ok.
4. Take these steps for all arrivals according to the scenario study case. To make
sure, check table 6.5.1 Table Arrival Time Distribution.
17
6.7.3 Defining Processing Time
1. Double click on the machine icon in FlexSim layout, for example is the
location of the Separator, until the window appears as below, and make sure
unchecklist box Use Operator (s) for Setup and box Use Operator (s) for
Process.
2. Click on icon on the ProcessTimes tab at the Process Time box, until the
options appear like the image below, then click the Statistical Distribution
option, and select the distribution type to use.
18
Figure 6. 7 13 Select the Distribution Type
3. After selecting the distribution type to be used, enter the arrival time according
to the scenario, for example, the time in the Separator machine according to the
scenario is N (1.02, 0.268) distribution, then click apply and ok.
19
Figure 6. 7 15 Process Time Defined
4. Perform these steps for all Machines, with the exception of the Inspection
Area. To make sure, check table 6.5.2 Process Time Distribution.
20
6.7.4 Defining Processor Time
1. Double click on the Inspection Area icon in the FlexSim layout, until the
window appears as below, and make sure unchecklist box Use Operator (s)
for Setup and Checklist box Use Operator (s) for Process.
2. Click on icon on the Processor tab of the Time Process box, until the
options appear like the image below, then click the Statistical Distribution
option, and select the distribution type to use.
21
3. After selecting the distribution type to be used, enter the Inspection Area
time according to the scenario, the time in the Inspection Area according to
the scenario is N (2.21, 0.457) distribution, then click apply and ok.
3. Do the step for all Separator Machine based on the study case. To make
22
sure, check Table 6.5 Arrival Time Distribution
23
6.7.7 Defining Trigger
1. Click two times at Separator Lower Platform icon on FlexSim layout.
2. Click Triggers tab on Separator Properties window
3. Click icon at OnProcessFinish box ->Click Visual->Click Change
3D Shape
4. Change the shape to Box, as shown in the picture below to visualize the
transformation from platform package to box. Then click apply and ok.
24
Figure 6. 7 24 Triggers Setting for Arrival Upper Platform Package
11. Click two times at Arrival Piston Tube icon on FlexSim layout
13. Click icon at OnCreation box-> Click Visual-> Click Set Object Color
14. Change the color to teal as shown in the picture below to differentiate
with others component.
25
Figure 6. 7 26 Triggers Setting for Fuel Container Package
26
Figure 6. 7 28 The Flow for Assembly Machine
27
6.7.9 Run Model
1. Click icon-> Click Date and Time-> Click Warmup Time-> Change
the time to 07.00 AM-> Click Stop Time-> Change the time to 06.00 PM
2. Make sure Warmup Time and Stop Time match the image below (Date can
adjust according to your scenario)
28
Reference
Manufacturing Process Laboratory Industrial Engineering Telkom University. (2020).
Manufacturing Process Article 2020.
29