BU - FCAI - SCC430 - Modeling&Simulation - Ch01 2
BU - FCAI - SCC430 - Modeling&Simulation - Ch01 2
Email: ahagag@fci.bu.edu.eg
➢ Chapter 1: Introduction.
➢ Chapter 2: Probability as Using in Simulation.
➢ Chapter 3: Queueing Simulation.
➢ Chapter 4: Inventory Simulation.
➢ Chapter 5: Random-Number Generation.
➢ Chapter 6: Input Modeling.
➢ Chapter 7: Output Analysis.
Activity Notes
Project Self-Study
Simulation Software
• General Introduction.
✓ Important Definitions.
✓ When Simulation is the Appropriate Tool.
✓ When Simulation is Not Appropriate.
✓ Advantages and Disadvantages of Simulation.
• Areas of Application.
Simulation Language
You can use:
• MATLAB®
• Python
• Java
• C/C++
• Others …
Simulation Software
Some of important:
• AnyLogic
• Arena
• AutoMod
• ExtendSim
• Flexsim
• ProModel
• SIMUL8
• Others …
Simulation Software
You can use:
• AnyLogic
• Arena
• AutoMod
• ExtendSim
• Flexsim
• ProModel https://www.anylogic.com/
• SIMUL8
• Others … Use in the project!
Disadvantages of Simulation
• Model building requires special training.
• Simulation results can be difficult to interpret.
• Simulation modeling and analysis can be time
consuming and expensive.
• Simulation is used in some cases when an analytical
solution is possible.
1. Networks
2. Military Applications
3. Call Centers
4. Manufacturing Applications
5. HealthCare
6. Road Traffic
7. Crowd Flow
8. Airport
9. Car Garage
10. Banking
• General Introduction.
✓ Important Definitions.
✓ When Simulation is the Appropriate Tool.
✓ When Simulation is Not Appropriate.
✓ Advantages and Disadvantages of Simulation.
• Areas of Application.
A discrete system:
The state variable(s) change only at discrete points in time,
for example, queuing systems (bank, telephone network,
traffic lights, machine).
A continuous system:
The state variable(s) change continuously over time. An
example is the head of water behind a dam, solar system,
charging a battery.
A hybrid system:
A hybrid system is a combination of continuous and
discrete dynamic system behavior. A hybrid system has the
benefit of encompassing a larger class of systems within its
structure, allowing more flexibility in modeling continuous
and discrete dynamic phenomena, for example, traffic
along a road with traffic lights.
Physical systems:
• Physical systems can be defined as systems whose
variables can be measured with physical devices that are
quantitative such as electrical systems, mechanical
systems, computer systems, hydraulic systems, thermal
systems, or a combination of these systems.
• Physical system is a collection of components, in which
each component has its own behavior, used for some
purpose. These systems are relatively less complex.
Conceptual systems:
• Conceptual systems are those systems in which all the
measurements are conceptual or imaginary and in
qualitative form as in psychological systems, social
systems, health care systems, and economic systems.
These are complex systems.
Transportation system
Esoteric systems:
• Esoteric systems are the systems in which the
measurements are not possible with physical
measuring devices. The complexity of these systems is
of highest order.
Independent system:
• If the events have no effect upon one another, then the
system is classified as independent.
Cascaded system:
• If the effects of the events are unilateral (that is, part A
affects part B, B affects C, C affects D, and not vice
versa), the system is classified as cascaded.
Coupled system:
• If the events mutually affect each other, the system is
classified as coupled.
1. Problem formulation
2. Setting of objectives and overall project plan
3. Model conceptualization
4. Data collection
5. Model translation
6. Verified?
7. Validated?
8. Experimental design
9. Production runs and analysis
10. More runs?
11. Documentation and reporting
12. Implementation
1. Problem formulation
Every study should begin with a statement of the problem.
If the statement is provided by the policymakers or those
that have the problem, the analyst must ensure that the
problem being described is clearly understood. If a problem
statement is being developed by the analyst, it is important
that the policymakers understand and agree with the
formulation.
3. Model conceptualization
It is best to start with a simple model and build toward
greater complexity. However, the model complexity need
not exceed that required to accomplish the purposes for
which the model is intended.
It is advisable to involve the model user in model
conceptualization. Involving the model user will both
enhance the quality of the resulting model and increase the
confidence of the model user in the application of the
model.
4. Data collection
There is a constant interplay between the construction of
the model and the collection of the needed input data. As
the complexity of the model changes, the required data
elements can also change. Also, since data collection takes
such a large portion of the total time required to perform a
simulation, it is necessary to begin as early as possible,
usually together with the early stages of model building.
5. Model translation
Most real-world systems result in models that require a
great deal of information storage and computation, so the
model must be entered into a computer-recognizable
format. We use the term program even though it is possible,
in many instances, to accomplish the desired result with
little or no actual coding. The modeler must decide whether
to program the model in a simulation language or to use
special-purpose simulation software.
6. Verified?
Did we build the model right?
Verification pertains to the computer program that has been
prepared for the simulation model. Is the computer
program performing properly? With complex models, it is
difficult, if not impossible, to translate a model successfully
in its entirety without a good deal of debugging; if the input
parameters and logical structure of the model are correctly
represented in the computer, verification has been
completed.
7. Validated?
Did we build the right model?
Validation usually is achieved through the calibration of the
model, an iterative process of comparing the model against
actual system behavior and using the conflict between the
two, and the insights gained, to improve the model. This
process is repeated until model accuracy is judged
acceptable.
8. Experimental design
The alternatives that are to be simulated must be
determined. Often, the decision concerning which
alternatives to simulate will be a function of runs that have
been completed and analyzed. For each system design that
is simulated, decisions need to be made concerning the
length of the initialization period, the length of simulation
runs, and the number of replications to be made of each
run.
12. Implementation
The success of the implementation phase depends on how
well the previous eleven steps have been performed.