SlideShare a Scribd company logo
Introduction to Simulation and Modeling 4th Undergraduate Level Academic Year 2010/2011, 1 st  Term Dr. Mohammed Abdel-Megeed Salem Scientific Computing Department Faculty of Computer and Information Sciences Ain Shams University Lecture   2 Ain Shams University in Cairo Faculty of Computer and Information Sciences Scientific Computing Department
Outline Dr. Mohammed Abdel-Megeed Salem Lecture  2 Introduction to Simulation and Modeling
System Definition “ A collection of elements that function together to achieve a desired goal” –  (Blanchard 1991) Key Points: A system consists of multiple elements Elements are interrelated and work in cooperation Exists for the purpose of achieving specific objectives Examples:  Traffic Systems Political Systems Economic Systems Manufacturing Systems Service Systems Dr. Mohammed Abdel-Megeed Salem Lecture 1 Introduction to Simulation and Modeling
System Analysis and Simulation System Real Exp. Exp. with Model Physical Model Mathematical  Model Analytical Solution Simulation Dr. Mohammed Abdel-Megeed Salem Lecture  2 Introduction to Simulation and Modeling
System Analysis and Simulation System Real Exp. Exp. with Model Physical Model Mathematical  Model Analytical Solution Simulation Dr. Mohammed Abdel-Megeed Salem Lecture  2 Introduction to Simulation and Modeling
System Analysis and Simulation Example 1: System: Banking Entities: Customers Attributes: Account balance Activities: Making deposits Events: Arrival and departure State: No# busy tellers, No# waiting customers
System Analysis and Simulation Example 2: System: Cafeteria Entities: Diners Attributes: Size of appetite Activities: selecting food and paying for food Events: Arrival and departure State: No# diners in waiting line, No# servers working
System Analysis and Simulation Systems Types:  We categorize systems to be of two types, discrete and continuous.  A discrete system :is one for which the state variables change instantaneously at separated points in time. A bank is an example of a discrete system (number of customers changes only when customer arrives or departs).
System Analysis and Simulation Systems Types:  We categorize systems to be of two types, discrete and continuous.  A continuous system : is one for which the state variables change continuously with respect to time. An airplane moving through the air is an example of a continuous system, since state variables such as position and velocity can change continuously with respect to time.
System Analysis and Simulation System vs Model It may be impractical to experiment with it. For example, it may not be wise or possible to double the unemployment rate to determine the effect of employment on inflation. A  model  is a representation of a system for the purpose of studying the system. System Input output Model Input output
Types of Models Mathematical or Physical A simulation model is a particular type of mathematical model of a system. Simulation Models may be further classified as being  Static or Dynamic,  Deterministic or Stochastic,  Discrete or Continuous.
System Real Exp. Exp. with Model Physical Model Mathematical  Model Analytical Solution Simulation Static Dynamic Deterministic Stochastic Continous Discrete
System Analysis and Simulation A storehouse with  n loading berths There are several 100 trucks daily to serve Loading time of a truck is 50 minutes StorehouseGoal• Cost-effective loading and short waiting timeUsually 2 types• Type 1: Full load with only one product• Type 2: Load consisting of several productsProposals• Fast loading berth for Type 1 customers• Special berth for Type 2 customersProblem• Cannot experiment, changes are expensive!
Simulation Model Physical Model:  useful to build physical models to study engineering systems. Mathematical Model:  representing a system in terms of logical and quantitative relationships that are then manipulated and changed to see how the model reacts, and thus how the system would react. Static Simulation Model:  is a representation of a system at a particular time. Dynamic Simulation Model:  represents a system as it evolves overtime. Deterministic Simulation Model:  If a the simulation model does not contain any probabilistic (i.e.,random) components, it is called deterministic
Simulation Model Stochastic Simulation Models:  Having at least some random input components produce output that is itself random, and model therefore be treated as only an estimate of the true characteristics of the model. Continuous vs. Discrete Simulation Models:  a discrete simulation model is not always used to model a discrete system and vice versa. Thus a communication channel could be modeled discretely (continuously) if the characteristics and movement of each message (the flow of the messages in aggregate) were deemed important.
Discrete-Event Simulation Definition of Discrete-Event Simulation Event Barbershop example Dr. Mohammed Abdel-Megeed Salem Lecture  2 Introduction to Simulation and Modeling
Time Advanced Mechanisms Simulation Clock Next-event time advance Intializied by 0 Advnced to the time of next event Update the state variables Time of next event is updated Continued untill a prespecified stopping condition Fixed-increment time advance
Example Single Server- single queue (Vodafone shop) problem SOLVED ON WHITE BOARD
Event Simulation Components System State Simulation Clock Events list Statistical Counters Intialization Routine Timing Routine Event Routine Library Routines Report Generator Main Program
Contacts Introduction to Simulation and Modeling, 4 th  Undergraduate Level, 2009/2010 Dr. Mohammed Abdel-Megeed M. Salem Faculty of Computer and Information Sciences, Ain Shams University Abbassia, Cairo, Egypt Tel.: +2 011 727 1050 Email: mamegeed@hotmail.com http:// cis.shams.edu.eg/Mohammed.Salem/indexEn.html http://www.informatik.hu-berlin.de/~salem

More Related Content

PPTX
Introduction to simulation modeling
PDF
Modeling & Simulation Lecture Notes
PDF
System modeling and simulation full notes by sushma shetty (www.vtulife.com)
PPT
Modelling simulation (1)
PDF
System simulation & modeling notes[sjbit]
PPT
Introduction to Simulation
PPTX
Simulation & Modelling
PPTX
SIMULATION
Introduction to simulation modeling
Modeling & Simulation Lecture Notes
System modeling and simulation full notes by sushma shetty (www.vtulife.com)
Modelling simulation (1)
System simulation & modeling notes[sjbit]
Introduction to Simulation
Simulation & Modelling
SIMULATION

What's hot (20)

PDF
Operations research lecture 5
PPTX
System Modeling & Simulation Introduction
PPT
Simulation
PPTX
Introduction to simulation and modeling
PPTX
Unit 1 introduction to simulation
PPTX
Simulation theory
PPT
Simulation and Modeling
PPT
simulation modeling in DSS
PPTX
Applications of simulation in Business with Example
PPT
Simulation Techniques
PPTX
Simulation
PPT
Simulation Powerpoint- Lecture Notes
PPTX
Desirable software features simulation & modeling
PPTX
Unit 1 introduction
PPTX
System model.Chapter One(GEOFFREY GORDON)
DOCX
OR (JNTUK) III Mech Unit 8 simulation
PDF
VTU 8th Sem Notes Simulation
PPTX
Advantages and disadvantages of Simulation
PPTX
Simulation and its application
Operations research lecture 5
System Modeling & Simulation Introduction
Simulation
Introduction to simulation and modeling
Unit 1 introduction to simulation
Simulation theory
Simulation and Modeling
simulation modeling in DSS
Applications of simulation in Business with Example
Simulation Techniques
Simulation
Simulation Powerpoint- Lecture Notes
Desirable software features simulation & modeling
Unit 1 introduction
System model.Chapter One(GEOFFREY GORDON)
OR (JNTUK) III Mech Unit 8 simulation
VTU 8th Sem Notes Simulation
Advantages and disadvantages of Simulation
Simulation and its application
Ad

Viewers also liked (18)

PDF
Simulation Technology Challenges
PDF
Introduction to Simulation- Predictive Analytics
PDF
Mourão Moura - input2012
PPT
Introduction to simulation
PDF
The use of 3D simulation technology to improve health and safety performance ...
PPTX
An Introduction to Simulation in the Social Sciences
PPT
Future Of Simulation In Healthcare Education
PDF
Esri CityEngine
PDF
Dashboard Business Simulation Deck
PDF
Simulation technology, speed up your iterative process (by Jan Buytaert)
PPT
Smell Simulation...A technology that can smell
PDF
PPS
Parallel Simulation of Urban Dynamics on the GPU Ivan Blečić, Arnaldo Cecchi...
PPTX
Spatial Microsimulation for City Modelling, Social Forecasting and Urban Poli...
PPTX
Simulation of urban mobility (sumo) prest
PPT
Leonardo Marques Monteiro - New Methods in Urban Simulation
PDF
A collaborative environment for urban landscape simulation
PDF
Mobile CDS - mmW / LTE Simulator - Mobile CAD
Simulation Technology Challenges
Introduction to Simulation- Predictive Analytics
Mourão Moura - input2012
Introduction to simulation
The use of 3D simulation technology to improve health and safety performance ...
An Introduction to Simulation in the Social Sciences
Future Of Simulation In Healthcare Education
Esri CityEngine
Dashboard Business Simulation Deck
Simulation technology, speed up your iterative process (by Jan Buytaert)
Smell Simulation...A technology that can smell
Parallel Simulation of Urban Dynamics on the GPU Ivan Blečić, Arnaldo Cecchi...
Spatial Microsimulation for City Modelling, Social Forecasting and Urban Poli...
Simulation of urban mobility (sumo) prest
Leonardo Marques Monteiro - New Methods in Urban Simulation
A collaborative environment for urban landscape simulation
Mobile CDS - mmW / LTE Simulator - Mobile CAD
Ad

Similar to 02 20110314-simulation (20)

PPT
Unit-1 Mod-Sim.ppt
PPT
PDF
Introduction to simulation.pdf
PDF
SIMULATION.pdf
PDF
1-introduction-to-simulation-ioenotes.pdf
PPTX
System Simulation and Modelling with types and Event Scheduling
PPTX
Introduction to System, Simulation and Model
PPT
Discreate Event Simulation_PPT1-R0.ppt
PPT
Steps in simulation, advantages and disadvantages, system and its components
PPTX
lecture-1-2 modelling and simulation.pptx
PPTX
lecture-1-2 modelling and simulation.pptx
PPTX
lecture-1-2MOdelling and Simulation.pptx
PPTX
lecture-1-2 modelling and simulation.pptx
PDF
Bank entities.pdf
PPTX
Course Learning Outcomes Virtual Systems and Services
PDF
Introduction to Modeling and Simulation
PPT
Lecture 2 - System, model simulation.ppt
PPT
Lecture 2 - System, model simulation.ppt
PPTX
Time Simulation Discrete Event (time) Simulation.pptx
Unit-1 Mod-Sim.ppt
Introduction to simulation.pdf
SIMULATION.pdf
1-introduction-to-simulation-ioenotes.pdf
System Simulation and Modelling with types and Event Scheduling
Introduction to System, Simulation and Model
Discreate Event Simulation_PPT1-R0.ppt
Steps in simulation, advantages and disadvantages, system and its components
lecture-1-2 modelling and simulation.pptx
lecture-1-2 modelling and simulation.pptx
lecture-1-2MOdelling and Simulation.pptx
lecture-1-2 modelling and simulation.pptx
Bank entities.pdf
Course Learning Outcomes Virtual Systems and Services
Introduction to Modeling and Simulation
Lecture 2 - System, model simulation.ppt
Lecture 2 - System, model simulation.ppt
Time Simulation Discrete Event (time) Simulation.pptx

More from Saad Gabr (13)

PPT
PPT
PPT
PPT
PPT
PPT
Lec6 mod linked list
PPT
Lec5
PPT
Lec4
PPT
Lec3
PPT
Lec2
PPT
Lec2&3 data structure
PPT
Lec1
PPT
Lec8
Lec6 mod linked list
Lec5
Lec4
Lec3
Lec2
Lec2&3 data structure
Lec1
Lec8

Recently uploaded (20)

PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Complications of Minimal Access Surgery at WLH
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
master seminar digital applications in india
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Institutional Correction lecture only . . .
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PPTX
Cell Types and Its function , kingdom of life
PDF
Pre independence Education in Inndia.pdf
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPTX
Cell Structure & Organelles in detailed.
2.FourierTransform-ShortQuestionswithAnswers.pdf
Microbial disease of the cardiovascular and lymphatic systems
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Complications of Minimal Access Surgery at WLH
Supply Chain Operations Speaking Notes -ICLT Program
Pharmacology of Heart Failure /Pharmacotherapy of CHF
master seminar digital applications in india
Final Presentation General Medicine 03-08-2024.pptx
Institutional Correction lecture only . . .
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Cell Types and Its function , kingdom of life
Pre independence Education in Inndia.pdf
Week 4 Term 3 Study Techniques revisited.pptx
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
VCE English Exam - Section C Student Revision Booklet
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Cell Structure & Organelles in detailed.

02 20110314-simulation

  • 1. Introduction to Simulation and Modeling 4th Undergraduate Level Academic Year 2010/2011, 1 st Term Dr. Mohammed Abdel-Megeed Salem Scientific Computing Department Faculty of Computer and Information Sciences Ain Shams University Lecture 2 Ain Shams University in Cairo Faculty of Computer and Information Sciences Scientific Computing Department
  • 2. Outline Dr. Mohammed Abdel-Megeed Salem Lecture 2 Introduction to Simulation and Modeling
  • 3. System Definition “ A collection of elements that function together to achieve a desired goal” – (Blanchard 1991) Key Points: A system consists of multiple elements Elements are interrelated and work in cooperation Exists for the purpose of achieving specific objectives Examples: Traffic Systems Political Systems Economic Systems Manufacturing Systems Service Systems Dr. Mohammed Abdel-Megeed Salem Lecture 1 Introduction to Simulation and Modeling
  • 4. System Analysis and Simulation System Real Exp. Exp. with Model Physical Model Mathematical Model Analytical Solution Simulation Dr. Mohammed Abdel-Megeed Salem Lecture 2 Introduction to Simulation and Modeling
  • 5. System Analysis and Simulation System Real Exp. Exp. with Model Physical Model Mathematical Model Analytical Solution Simulation Dr. Mohammed Abdel-Megeed Salem Lecture 2 Introduction to Simulation and Modeling
  • 6. System Analysis and Simulation Example 1: System: Banking Entities: Customers Attributes: Account balance Activities: Making deposits Events: Arrival and departure State: No# busy tellers, No# waiting customers
  • 7. System Analysis and Simulation Example 2: System: Cafeteria Entities: Diners Attributes: Size of appetite Activities: selecting food and paying for food Events: Arrival and departure State: No# diners in waiting line, No# servers working
  • 8. System Analysis and Simulation Systems Types: We categorize systems to be of two types, discrete and continuous. A discrete system :is one for which the state variables change instantaneously at separated points in time. A bank is an example of a discrete system (number of customers changes only when customer arrives or departs).
  • 9. System Analysis and Simulation Systems Types: We categorize systems to be of two types, discrete and continuous. A continuous system : is one for which the state variables change continuously with respect to time. An airplane moving through the air is an example of a continuous system, since state variables such as position and velocity can change continuously with respect to time.
  • 10. System Analysis and Simulation System vs Model It may be impractical to experiment with it. For example, it may not be wise or possible to double the unemployment rate to determine the effect of employment on inflation. A model is a representation of a system for the purpose of studying the system. System Input output Model Input output
  • 11. Types of Models Mathematical or Physical A simulation model is a particular type of mathematical model of a system. Simulation Models may be further classified as being Static or Dynamic, Deterministic or Stochastic, Discrete or Continuous.
  • 12. System Real Exp. Exp. with Model Physical Model Mathematical Model Analytical Solution Simulation Static Dynamic Deterministic Stochastic Continous Discrete
  • 13. System Analysis and Simulation A storehouse with n loading berths There are several 100 trucks daily to serve Loading time of a truck is 50 minutes StorehouseGoal• Cost-effective loading and short waiting timeUsually 2 types• Type 1: Full load with only one product• Type 2: Load consisting of several productsProposals• Fast loading berth for Type 1 customers• Special berth for Type 2 customersProblem• Cannot experiment, changes are expensive!
  • 14. Simulation Model Physical Model: useful to build physical models to study engineering systems. Mathematical Model: representing a system in terms of logical and quantitative relationships that are then manipulated and changed to see how the model reacts, and thus how the system would react. Static Simulation Model: is a representation of a system at a particular time. Dynamic Simulation Model: represents a system as it evolves overtime. Deterministic Simulation Model: If a the simulation model does not contain any probabilistic (i.e.,random) components, it is called deterministic
  • 15. Simulation Model Stochastic Simulation Models: Having at least some random input components produce output that is itself random, and model therefore be treated as only an estimate of the true characteristics of the model. Continuous vs. Discrete Simulation Models: a discrete simulation model is not always used to model a discrete system and vice versa. Thus a communication channel could be modeled discretely (continuously) if the characteristics and movement of each message (the flow of the messages in aggregate) were deemed important.
  • 16. Discrete-Event Simulation Definition of Discrete-Event Simulation Event Barbershop example Dr. Mohammed Abdel-Megeed Salem Lecture 2 Introduction to Simulation and Modeling
  • 17. Time Advanced Mechanisms Simulation Clock Next-event time advance Intializied by 0 Advnced to the time of next event Update the state variables Time of next event is updated Continued untill a prespecified stopping condition Fixed-increment time advance
  • 18. Example Single Server- single queue (Vodafone shop) problem SOLVED ON WHITE BOARD
  • 19. Event Simulation Components System State Simulation Clock Events list Statistical Counters Intialization Routine Timing Routine Event Routine Library Routines Report Generator Main Program
  • 20. Contacts Introduction to Simulation and Modeling, 4 th Undergraduate Level, 2009/2010 Dr. Mohammed Abdel-Megeed M. Salem Faculty of Computer and Information Sciences, Ain Shams University Abbassia, Cairo, Egypt Tel.: +2 011 727 1050 Email: mamegeed@hotmail.com http:// cis.shams.edu.eg/Mohammed.Salem/indexEn.html http://www.informatik.hu-berlin.de/~salem