Business Simulation Module 1
Business Simulation Module 1
• Activity Scanning :-
Activity scanning produces a simulation program composed of independent modules waiting to be
executed. Scanning takes place at fixed time increments at which a determination is made
concerning whether or not an event occurs at that time. If an event occurs, the system state is
updated.
3 Phase Methods:-
• Time is advanced until there is a state change in the system or until something next happens. The
system is examined to determine all of the events that take place at this time (i.e., all the activity
completions that occur). Only when all resources that are due to be released at this time have
been released is reallocation of these resources into new activities started in the third phase of
the simulation. the first phase is time advance. The second phase is the release of those
resources scheduled to end their activities at this time. The third phase is to start activities given
the global picture about resource availability.
Case Study (Adhoc simulation)
• Consider the operation of a one-teller bank where customers arrive
for service between 1 and 10 minutes apart in time, integer values
only, each value equally likely. The customers are served in between 1
and 6 minutes, also integer valued, and equally likely. Restricting the
times to integer values is an abstraction of reality since time is
continuous, but this aids in presenting the example. The objective is
to simulate the bank operation, by hand, until 20 customers are
served, and to compute measures of performance such as the
percentage of idle time, the average waiting time per customer, and
so on.
• To simulate the process, random inter arrival and service times
need to be generated. Assume that the inter arrival times are
generated using a spinner that has possibilities for the values 1
through 10. Further assume that the service times are
generated using a die that has possibilities for the values 1
through 6.
• Column (I), Customer,lists the 20 customers who arrive at the
system. It is assumed that customer 1 arrives at time zero;
thus a dash is indicated in row 1 of column (2), Time Between
Arrivals. Rows 2 through 20 of column (2) were generated
using the spinner. Column (3), Arrival Time, shows the
simulated arrival times. Since customer 1 is assumed to arrive
at time 0 and there is a 5-minute inter arrival time, customer 2
arrives at time 5. There is a I-minute inter arrival time for
customer 3; thus the arrival occurs at time 6. This process of
adding the inter arrival time to the previous arrival time is
called bootstrapping. By continuing this process, the arrival
times of all 20 customers are determined. Column (4), Service
Time, contains the simulated service times for all 20
customers. These were generated by rolling the die.
Now simulation of the service process begins. At time 0, customer 1 arrived and
immediately began service. The service time was 2 minutes, so the service period
ended
at time 2. The total time in the system for customer 1 was 2 minutes. The bank teller
was not idle since simulation began with the arrival of a customer. The customer did
not have to wait for the teller.
At time 5, customer 2 arrived and began service immediately, as shown in column
(6). The service time was 2 minutes, so the service period ended at time 7, as shown
in column (6). The bank teller was idle from time 2 until time 5, so 3 minutes of idle
time occurred. Customer 2 spent no time in the queue.
Customer 3 arrived at time 6, but service could not begin until time 7, as customer 2
was being served until time 7. The service time was 6 minutes, so service was
completed
at time 13. Customer 3 was in the system from time 6 until time 13, or for 7 minutes,
as indicated in column (7), Time in System. Although there was no idle time, customer
3 had to wait in the queue for 1 minute for service to begin.
This process continues for all 20 customers, and the totals shown in columns (7),
(8) (Idle Time), and (9) (Time in Queue) are entered. Some performance measures can
now be calculated as follows:
Average time in system = 79/20 = 3.95 minutes.
Percent idle time = (30/99)(100) = 30%.
Average waiting time per customer = 10/20 = 0.5 minute.
Fraction having to wait = 5/20 = 0.25.
Average waiting time of those who waited = 10/5 = 2 minutes.
This very limited simulation indicates that the system is functioning well. Only 25%
of the customers had to wait. About 30% of the time the teller is idle. Whether a slower
teller should replace the current teller depends on the cost of having to wait versus any
savings from having a slower server.
Advantages
1. Choose correctly. Simulation lets you test every aspect of a proposed change or
addition without committing resources to their acquisition. This is critical, because once
the hard decisions have been made, the bricks have been laid, or the material handling
systems have been installed, changes and corrections can be extremely expensive. Simulation
allows you to test your designs without committing resources to acquisition.
2. Compress and expand time. By compressing or expanding time, simulation
allows you to speed up or slow down phenomena so that you can investigate them
thoroughly. You can examine an entire shift in a matter of minutes if you desire, or you
can spend 2 hours examining all the events that occurred during 1 minute of simulated
activity.
3. Understand why. Managers often want to know why certain phenomena occur in a real system. With simulation, you
determine the answer to the "why" questions by reconstructing the scene and taking a microscopic examination of the
system to determine why the phenomenon occurs. You cannot accomplish this with a real system because you cannot see
or control it in its entirety.
4. Explore possibilities. One of the greatest advantages of using simulation software is that once you have developed a
valid simulation model, you can explore new policies, operating procedures, or methods without the expense and
disruption of experimenting with the real system. Modifications are incorporated in the model, and you observe the
effects of those changes on the computer rather than on the real system.
5. Diagnose problems. The modern factory floor or service organization is very complex, so complex that it is impossible
to consider all the interactions taking place in a given moment. Simulation allows you to better understand the interactions
among the variables that make up such complex systems. Diagnosing problems and gaining insight into the importance of
these variables increases your understanding of their important effects on the performance of the overall system.
6. Identify constraints. Production bottlenecks give manufacturers headaches. It is easy to forget that bottlenecks
are an effect rather than a cause. However, by using simulation to perform bottleneck analysis, you can discover
the cause of the delays in work in process, information, materials, or other processes.
7. Develop understanding. Many people operate with the philosophy that talking loudly, using computerized
layouts, and writing complex reports convinces others that a manufacturing or service system design is valid. In
many cases these designs are based on someone's thoughts about the way the system operates rather than on
analysis. Simulation studies aid in providing understanding about how a system really operates rather than
indicating someone's predictions about how a system will operate.
8. Visualize the plan. Taking your designs beyond CAD drawings by using the animation features offered by many
simulation packages allows you to see your facility or organization actually running. Depending on the software
used, you may be able to view your operations from various angles and levels of magnification, even in three
dimensions. This allows you to detect design flaws that appear credible when seen just on paper on in a two-
dimensional CAD drawing.
9. Build consensus. Using simulation to present design changes creates an objective opinion. You avoid having
inferences made when you approve or disapprove of designs because you simply select the designs and
modifications that provided the most desirable results, whether it be increased production or reducing the waiting
time for service. In addition, it is much easier to accept reliable simulation results, which have been
modeled, tested, validated, and visually represented, instead of one person's opinion of
the results that will occur from a proposed design
Disadvantages
The disadvantages of simulation include the following:
1. Model building requires special training. It is an art that is learned over time and
through experience. Furthermore, if two models of the same system are constructed by
two competent individuals, they may have similarities, but it is highly unlikely that they
will be the same.
2. Simulation results may be difficult to interpret. Since most simulation outputs are
essentially random variables (they are usually based on random inputs), it may be hard to
determine whether an observation is a result of system interrelationships or randomness.
3. Simulation modeling and analysis can be time consuming and expensive. Skimping
on resources for modeling and analysis may result in a simulation model and/or
analysis that is not sufficient to the task.
4. Simulation may be used inappropriately. Simulation is used in some cases when
an analytical solution is possible, or even preferable. This is particularly true in the
simulation of some waiting lines where closed-form queueing models are available, at
least for long-run evaluation
Steps involved in Simulation
1. Problem formulation. Every simulation study begins with a statement of the problem. If the statement is provided
by those that have the problem (client), the simulation analyst must take extreme care to ensure that the problem is
extremely understood. If a problem statement is prepared by the simulation analyst, it is important that the client
understand and agree with the formulation. It is suggested that a set of assumptions be prepared by the simulation
analyst and agreed to by the client. Even with all of these precautions, it is possible that the problem will need to be
reformulated as the simulation study progresses.
2. Setting of objectives and overall project plan. Another way to state this step is "prepare a proposal." This step
should be accomplished regardless of location of the analyst and client (i.e., as an external or internal consultant).
The objectives indicate the questions that are to be answered by the simulation study. The project plan should
include a statement of the various scenarios that will be investigated. The plans for the study should be indicated in
terms of time that will be required, personnel that will be used, hardware and software requirements if the client
wants to run the model and conduct the analysis, stages in the investigation, output at each stage, cost of the study
and billing procedures, if any.
3. Model conceptualization. The real-world system under investigation is abstracted by a conceptual model, a series of
mathematical and logical relationships concerning
the components and the structure of the system. It is recommended that modeling begin simply and that the model
grow until a model of appropriate complexity has been developed. For example, consider the model of a
manufacturing and material handling system. The basic model with the arrivals, queues, and servers is constructed.
Then add the failures and shift schedules. Next, add the material-handling capabilities. Finally, add the special
features. It is not necessary to construct an unduly complex model. This will add to the cost of the study and the time
for its completion without increasing the quality of the output.
4. Data collection. Shortly after the proposal is "accepted," a schedule of data requirements should be submitted to
the client. In the best of circumstances, the client has been collecting the kind of data needed in the format required
and can submit these data to the simulation analyst in electronic format. Often, the client indicates that the required
data are indeed available. However, when the data are delivered they are found to be quite different than anticipated.
For example, in the simulation of an airline reservation system, the simulation analyst was told "we have every bit of
data that you want over the last five years." When the study began the data delivered were the average
"talk time" of the reservationist for each of the years. Individual values were needed, not summary measures. This is
to indicate that the simulation analyst can readily construct the model while the data collection is progressing.
5. Model translation. The conceptual model constructed in step 3 is coded into a
computer-recognizable form, an operational model.
6. Verified? Verification concerns the operational model. Is it performing properly? Even with small textbook-
sized models, it is quite possible that they have verification difficulties. These models are orders of magnitude
smaller than real models (say, 50 lines of computer code versus 2000 lines of computer code). It is highly advisable
that verification take place as a continuing process. It is ill advised for the simulation analyst to wait until the entire
model is complete to begin the verification process. Also, use of an interactive run controller, or debugger, is
highly encouraged as an aid to the verification process.
7. Validated? Validation is the determination that the conceptual model is an accurate representation of the real
system. Can the model be substituted for the real system for the purposes of experimentation? If there is an
existing system, call it the base system, an ideal way to validate the model is to compare its output to that of the
base system. Unfortunately, there is not always a base system (such as in the design of a new system).
8. Experimental design. For each scenario that is to be simulated, decisions need to
be made concerning the length of the simulation run, the number of runs (also called
replications), and the manner of initialization, as required.
9. Production runs and analysis. Production runs, and their subsequent analysis, are
used to estimate measures of performance for the scenarios that are being simulated.
10. More runs? Based on the analysis of runs that have been completed, the simulation
analyst determines if additional runs are needed and if any additional scenarios
need to be simulated.
1 1 . Documentation and reporting. Documentation is necessary for numerous reasons.
If the simulation model is going to be used again by the same or different analysts,
it may be necessary to understand how the simulation model operates. This will stimulate
confidence in the simulation model so that the client can make decisions based
on the analysis. Also, if the model is to be modified, this can be greatly facilitated by
adequate documentation. One experience with an inadequately documented model is
usually enough to convince a simulation analyst of the necessity of this important step.
The result of all the analysis should be reported clearly and concisely. This will enable
the client to review the final formulation, the alternatives that were addressed, the criterion
by which the alternative systems were compared, the results of the experiments,
and analyst recommendations, if any.
12. Implementation. The simulation analyst acts as a reporter rather than an advocate.
The report prepared in step 11 stands on its merits and is just additional information
that the client uses to make a decision. If the client has been involved throughout the
study period, and the simulation analyst has followed all the steps rigorously, the likelihood
of a successful implementation is increased.
Area of application
Typically, the independent variable is time which, in the examples above, is represented
by t and n. Simulation solutions are obtained by specifying values of the variables in the
equations at an initial (or specific) point in time and using these values as inputs to obtain
solutions at a next point in time. The new values then become the starting values for the
next evaluation. This evaluation-step-evaluation procedure for obtaining values for the
state variables is referred to as continuous simulation analysis.