SlideShare ist ein Scribd-Unternehmen logo
1 von 48
Introduction To
 Modeling and
   Simulation
    Lecture 1

      Introduction   1
Goals Of This Course

Introduce Modeling
Introduce Simulation
Develop an Appreciation for the Need for
Simulation
Develop Facility in Simulation Model
Building
“Learn by Doing”--Lots of Case Studies
                 Introduction              2
What Is A Model ?


A Representation of an object, a
system, or an idea in some form
other than that of the entity itself.
                           (Shannon)

               Introduction         3
Types of Models:

Physical
 (Scale models, prototype plants,…)
Mathematical
 (Analytical queueing models, linear
 programs, simulation)


                 Introduction          4
What is Simulation?

A Simulation of a system is the operation of a
model, which is a representation of that system.
The model is amenable to manipulation which
would be impossible, too expensive, or too
impractical to perform on the system which it
portrays.
The operation of the model can be studied, and,
from this, properties concerning the behavior of
the actual system can be inferred.
                     Introduction                  5
Applications:
Designing and analyzing manufacturing
systems
Evaluating H/W and S/W requirements for a
computer system
Evaluating a new military weapons system or
tactics
Determining ordering policies for an
inventory system
Designing communications systems and
message protocols for them
                Introduction            6
Applications:(continued)

Designing and operating transportation
facilities such as freeways, airports,
subways, or ports
Evaluating designs for service organizations
such as hospitals, post offices, or fast-food
restaurants
Analyzing financial or economic systems

                  Introduction              7
Steps In Simulation and
         Model Building
1. Define an achievable goal
2. Put together a complete mix of skills on the
  team
3. Involve the end-user
4. Choose the appropriate simulation tools
5. Model the appropriate level(s) of detail
6. Start early to collect the necessary input
  data
                   Introduction              8
Why Teach with Simulations?
1.Deep Learning
• Instructional simulations have the potential to engage
  students in "deep learning" that empowers understanding
  as opposed to "surface learning" that requires only
  memorization.
• A good summary of how deep learning contrasts with
  surface learning is given at the Engineering Subject Centre
Deep learning means student can learn scientific
              methods including
• the importance of model building.
• Experiments and simulations are the way scientists do their
  work.
• Using instructional simulations gives students concrete
  formats of what it means to think like a scientist and do
  scientific work.
• the relationships among variables in a model or models.
  Simulation allows students to change parameter values and
  see what happens.
• Students develop a feel for what variables are important
  and the significance of magnitude changes in parameters.
• data issues, probability and sampling theory.
  Simulations help students understand probability and
  sampling theory.
• Instructional simulations have proven their worth many
  times over in the statistics based fields.
• The ability to match simulation results with an analytically
  derived conclusion is especially valuable in beginning
  classes, where students often struggle with sampling
  theory.
• Given the utility of data simulation, it is not surprising that
  SERC has an existing module on
  teaching with data simulation.
• how to use a model to predict outcomes.
• Simulations help students understand that scientific
  knowledge rests on the foundation of testable hypotheses.
Learn to reflect on and extend knowledge
                     by:
• actively engaging in student-student or instructor-
  student conversations needed to conduct a simulation.
  Instructional simulations by their very nature cannot be
  passive learning.
• Students are active participants in selecting parameter
  values, anticipating outcomes, and formulating new
  questions to ask.
• transferring knowledge to new problems and situations.
  A well done simulation is constructed to include an
  extension to a new problem or new set of parameters that
  requires students to extend what they have learned in an
  earlier context.
• understanding and refining their own thought
  processes. A well done simulation includes a
  strong reflection summary that requires students to
  think about how and why they behaved as they did
  during the simulation.
• seeing social processes and social interactions
  in action. This is one of the most significant
  outcomes of simulation in social science
  disciplines such as sociology and political science.
How to Teach with Simulations?
      Instructor Preparation is Crucial
• The good news is that instructional
  simulations can be very effective in
  stimulating student understanding.
• The bad news is that many simulations
  require intensive pre-simulation lesson
  preparation.
• Lesson preparation varies with the type and
  complexity of the simulation
Active Student Participation is Crucial

• Students learn through instructional simulations when they
  are actively engaged.

• Students should predict and explain the outcome they
  expect the simulation to generate.
• Every effort should be made to make it difficult for
  students to become passive during the simulation. Students
  must submit timely input and not rely on classmates to
  play for them.
• Instructors should anticipate ways the simulation can go
  wrong and include this in their pre-simulation discussion
  with the class.
Post-Simulation Discussion is Crucial
• Post-simulation discussion with students leads to deeper
  learning. The instructor should:
• 1. Provide sufficient time for students to reflect on and
  discuss what they learned from the simulation
• 2. Integrate the course goals into the post-simulation
  discussion
• 3. Ask students explicitly asked how the simulation helped
  them understand the course goals or how it may have made
  the goals more confusing.


  Extremely significant or important=crucial
Steps In Simulation and
    Model Building(cont’d)
7. Provide adequate and on-going
  documentation
8. Develop a plan for adequate model
  verification
     (Did we get the “right answers ?”)
9. Develop a plan for model validation
     (Did we ask the “right questions ?”)
10. Develop a plan for statistical output
  analysis
                  Introduction              17
Define An Achievable Goal

“To model the…” is NOT a goal!
“To model the…in order to
 select/determine feasibility/…is a goal.
Goal selection is not cast in concrete
Goals change with increasing insight

                  Introduction           18
Put together a complete
     mix of skills on the team
We Need:
-Knowledge of the system under investigation
-System analyst skills (model formulation)
-Model building skills (model Programming)
-Data collection skills
-Statistical skills (input data representation)
                     Introduction                 19
Put together a complete
mix of skills on the team(continued)
We Need:
-More statistical skills (output data analysis)
-Even more statistical skills (design of
  experiments)
-Management skills (to get everyone pulling in
  the same direction)

                    Introduction                  20
INVOLVE THE END USER

-Modeling is a selling job!
-Does anyone believe the results?
-Will anyone put the results into action?
-The End-user (your customer) can (and must)
  do all of the above BUT, first he must be
  convinced!
-He must believe it is HIS Model!
                    Introduction            21
Choose The Appropriate
        Simulation Tools
  Assuming Simulation is the appropriate
  means, three alternatives exist:
1. Build Model in a General Purpose
     Language
2.   Build Model in a General Simulation
     Language
3.   Use a Special Purpose Simulation
     Package
                  Introduction             22
MODELLING W/ GENERAL
 PURPOSE LANGUAGES
Advantages:
– Little or no additional software cost
– Universally available (portable)
– No additional training (Everybody knows…(language X) ! )
Disadvantages:
–   Every model starts from scratch
–   Very little reusable code
–   Long development cycle for each model
–   Difficult verification phase

                           Introduction                      23
GEN. PURPOSE LANGUAGES
 USED FOR SIMULATION
FORTRAN
  – Probably more models than any other language.
PASCAL
  – Not as universal as FORTRAN
MODULA
  – Many improvements over PASCAL
ADA
  – Department of Defense attempt at standardization
C, C++
  – Object-oriented programming language


                        Introduction                   24
MODELING W/ GENERAL
SIMULATION LANGUAGES
Advantages:
–   Standardized features often needed in modeling
–   Shorter development cycle for each model
–   Much assistance in model verification
–   Very readable code
Disadvantages:
– Higher software cost (up-front)
– Additional training required
– Limited portability

                        Introduction                 25
GENERAL PURPOSE
SIMULATION LANGUAGES
GPSS
–   Block-structured Language
–   Interpretive Execution
–   FORTRAN-based (Help blocks)
–   World-view: Transactions/Facilities
SIMSCRIPT II.5
–   English-like Problem Description Language
–   Compiled Programs
–   Complete language (no other underlying language)
–   World-view: Processes/ Resources/ Continuous


                        Introduction                   26
GEN. PURPOSE SIMULATION
  LANGUAGES (continued)
 MODSIM III
 –   Modern Object-Oriented Language
 –   Modularity Compiled Programs
 –   Based on Modula2 (but compiles into C)
 –   World-view: Processes
 SIMULA
 – ALGOL-based Problem Description Language
 – Compiled Programs
 – World-view: Processes

                        Introduction          27
GEN. PURPOSE SIMULATION
  LANGUAGES (continued)
 SLAM
 –   Block-structured Language
 –   Interpretive Execution
 –   FORTRAN-based (and extended)
 –   World-view: Network / event / continuous
 CSIM
 – process-oriented language
 – C-based (C++ based)
 – World-view: Processes

                       Introduction             28
MODELING W/ SPECIAL-
PURPOSE SIMUL. PACKAGES
 Advantages
 – Very quick development of complex models
 – Short learning cycle
 – No programming--minimal errors in usage
 Disadvantages
 – High cost of software
 – Limited scope of applicability
 – Limited flexibility (may not fit your specific
   application)


                        Introduction                29
SPECIAL PURPOSE
PACKAGES USED FOR SIMUL.
NETWORK II.5
– Simulator for computer systems
OPNET
– Simulator for communication networks, including
  wireless networks
COMNET III
– Simulator for communications networks
SIMFACTORY
– Simulator for manufacturing operations


                     Introduction                   30
THE REAL COST OF
          SIMULATION
Many people think of the cost of a simulation
  only in terms of the software package price.
There are actually at least three components to
  the cost of simulation:
1. Purchase price of the software
2. Programmer / Analyst time
3. “Timeliness of Results”

                     Introduction             31
TERMINOLOGY
System
– A group of objects that are joined together in
  some regular interaction or interdependence
  toward the accomplishment of some purpose.
– Entity
– An object of interest in the system.
– E.g., customers at a bank



                    Introduction                   32
TERMINOLOGY (continued)
Attribute
– a property of an entity
– E.g., checking account balance
Activity
– Represents a time period of specified length.
– Collection of operations that transform the state
  of an entity
– E.g., making bank deposits


                    Introduction                 33
TERMINOLOGY (continued)
Event:
– change in the system state.
– E.g., arrival; beginning of a new execution;
  departure
State Variables
– Define the state of the system
– Can restart simulation from state variables
– E.g., length of the job queue.


                   Introduction                  34
TERMINOLOGY (continued)

Process
– Sequence of events ordered on time


Note:
– the three concepts(event, process,and activity)
  give rise to three alternative ways of building
  discrete simulation models


                    Introduction                    35
A GRAPHIC COMPARISON OF
DISCRETE SIMUL. METHODOLOGIES




                 A1                      A2
 P1
      E1                        E2 /E3        E4
                      A1                            A2
 P2
           E1’                        E2’     E3’        E4’




                  Simulation Time
                       Introduction                            36
EXAMPLES OF SYSTEMS
       AND COMPONENTS
 System    Entities   Attributes Activities Events        State
                                                          Variables


 Banking   Customers Checking      Making     Arrival;    # of busy
                     account       deposits   Departure   tellers; # of
                     balance                              customers
                                                          waiting


Note: State Variables may change continuously (continuous sys.)
over time or they may change only at a discrete set of points
(discrete sys.) in time.
                            Introduction                             37
SIMULATION “WORLD-
        VIEWS”
Pure Continuous Simulation

Pure Discrete Simulation
– Event-oriented
– Activity-oriented
– Process-oriented

Combined Discrete / Continuous Simulation
                      Introduction      38
Examples Of Both Type Models
Continuous Time and Discrete Time
Models:
CPU scheduling model vs. number of
students attending the class.




                Introduction         39
Examples (continued)

Continuous State and Discrete State
Models:
Example: Time spent by students in a
weekly class vs. Number of jobs in Q.




                 Introduction           40
Other Type Models

 Deterministic and Probabilistic Models:

                                  Output
  Output

           Input                           Input
 Static and Dynamic Models:
     CPU scheduling model vs. E = mc2
                   Introduction                    41
Stochastic vs. Deterministic

   System                            Model
                   1
Deterministic                      Deterministic
                               3

                        2
 Stochastic                        Stochastic
                   4


                Introduction                       42
MODEL THE APPROPRIATE
   LEVEL(S) OF DETAIL
 Define the boundaries of the system to be
  modeled.
 Some characteristics of “the environment”
  (outside the boundaries) may need to be
  included in the model.
 Not all subsystems will require the same
  level of detail.
 Control the tendency to model in great detail
  those elements of the system which are well
  understood, while skimming over other, less
  well - understood sections.
                    Introduction              43
START EARLY TO COLLECT
THE NECESSARY INPUT DATA
Data comes in two quantities:
     TOO MUCH!!
     TOO LITTLE!!
With too much data, we need techniques for
 reducing it to a form usable in our model.
With too little data, we need information
 which can be represented by statistical
 distributions.
                    Introduction              44
PROVIDE ADEQUATE AND
ON-GOING DOCUMENTATION
In general, programmers hate to document.
 (They love to program!)
Documentation is always their lowest priority
 item. (Usually scheduled for just after the
 budget runs out!)
They believe that “only wimps read manuals.”
What can we do?
  – Use self-documenting languages
  – Insist on built-in user instructions(help screens)
  – Set (or insist on) standards for coding style
                      Introduction                  45
DEVELOP PLAN FOR ADEQUATE
    MODEL VERIFICATION

Did we get the “right answers?”
      (No such thing!!)
Simulation provides something that no other
  technique does:
Step by step tracing of the model execution.
This provides a very natural way of checking
  the internal consistency of the model.
                    Introduction               46
DEVELOP A PLAN FOR
    MODEL VALIDATION
VALIDATION:           “Doing the right thing”
     Or         “Asking the right questions”
How do we know our model represents the
system under investigation?
  – Compare to existing system?
  – Deterministic Case?


                    Introduction           47
DEVELOP A PLAN FOR
STATISTICAL OUTPUT ANALYSIS

How much is enough?

   Long runs versus Replications

Techniques for Analysis




                 Introduction      48

Weitere ähnliche Inhalte

Was ist angesagt?

Modelling simulation (1)
Modelling simulation (1)Modelling simulation (1)
Modelling simulation (1)Cathryn Kuteesa
 
System modeling and simulation full notes by sushma shetty (www.vtulife.com)
System modeling and simulation full notes by sushma shetty (www.vtulife.com)System modeling and simulation full notes by sushma shetty (www.vtulife.com)
System modeling and simulation full notes by sushma shetty (www.vtulife.com)Vivek Maurya
 
Discrete And Continuous Simulation
Discrete And Continuous SimulationDiscrete And Continuous Simulation
Discrete And Continuous SimulationNguyen Chien
 
Simulation and its application
Simulation and its applicationSimulation and its application
Simulation and its applicationAlesh Dulal
 
Steps in Simulation Study
Steps in Simulation StudySteps in Simulation Study
Steps in Simulation StudyNalin Adhikari
 
Discrete event simulation
Discrete event simulationDiscrete event simulation
Discrete event simulationssusera970cc
 
Operations research - an overview
Operations research -  an overviewOperations research -  an overview
Operations research - an overviewJoseph Konnully
 
All types of model(Simulation & Modelling) #ShareThisIfYouLike
All types of model(Simulation & Modelling) #ShareThisIfYouLikeAll types of model(Simulation & Modelling) #ShareThisIfYouLike
All types of model(Simulation & Modelling) #ShareThisIfYouLikeUnited International University
 
System Modeling & Simulation Introduction
System Modeling & Simulation  IntroductionSystem Modeling & Simulation  Introduction
System Modeling & Simulation IntroductionSharmilaChidaravalli
 
Advantages and disadvantages of Simulation
Advantages and disadvantages of SimulationAdvantages and disadvantages of Simulation
Advantages and disadvantages of SimulationTilakpoudel2
 
Simulation Techniques
Simulation TechniquesSimulation Techniques
Simulation Techniquesmailrenuka
 
Chp. 2 simulation examples
Chp. 2 simulation examplesChp. 2 simulation examples
Chp. 2 simulation examplesPravesh Negi
 
Monte Carlo Simulation
Monte Carlo SimulationMonte Carlo Simulation
Monte Carlo SimulationDeepti Singh
 
Introduction to Operations Research
Introduction to Operations ResearchIntroduction to Operations Research
Introduction to Operations ResearchAditya Classes
 
Unit 1 introduction to simulation
Unit 1 introduction to simulationUnit 1 introduction to simulation
Unit 1 introduction to simulationDevaKumari Vijay
 
Learning by analogy
Learning by analogyLearning by analogy
Learning by analogyNitesh Singh
 
Unit 5 general principles, simulation software
Unit 5 general principles, simulation softwareUnit 5 general principles, simulation software
Unit 5 general principles, simulation softwareraksharao
 

Was ist angesagt? (20)

Modelling simulation (1)
Modelling simulation (1)Modelling simulation (1)
Modelling simulation (1)
 
System modeling and simulation full notes by sushma shetty (www.vtulife.com)
System modeling and simulation full notes by sushma shetty (www.vtulife.com)System modeling and simulation full notes by sushma shetty (www.vtulife.com)
System modeling and simulation full notes by sushma shetty (www.vtulife.com)
 
Discrete event-simulation
Discrete event-simulationDiscrete event-simulation
Discrete event-simulation
 
Discrete And Continuous Simulation
Discrete And Continuous SimulationDiscrete And Continuous Simulation
Discrete And Continuous Simulation
 
Simulation and its application
Simulation and its applicationSimulation and its application
Simulation and its application
 
Modelling and simulation
Modelling and simulationModelling and simulation
Modelling and simulation
 
Simulation
SimulationSimulation
Simulation
 
Steps in Simulation Study
Steps in Simulation StudySteps in Simulation Study
Steps in Simulation Study
 
Discrete event simulation
Discrete event simulationDiscrete event simulation
Discrete event simulation
 
Operations research - an overview
Operations research -  an overviewOperations research -  an overview
Operations research - an overview
 
All types of model(Simulation & Modelling) #ShareThisIfYouLike
All types of model(Simulation & Modelling) #ShareThisIfYouLikeAll types of model(Simulation & Modelling) #ShareThisIfYouLike
All types of model(Simulation & Modelling) #ShareThisIfYouLike
 
System Modeling & Simulation Introduction
System Modeling & Simulation  IntroductionSystem Modeling & Simulation  Introduction
System Modeling & Simulation Introduction
 
Advantages and disadvantages of Simulation
Advantages and disadvantages of SimulationAdvantages and disadvantages of Simulation
Advantages and disadvantages of Simulation
 
Simulation Techniques
Simulation TechniquesSimulation Techniques
Simulation Techniques
 
Chp. 2 simulation examples
Chp. 2 simulation examplesChp. 2 simulation examples
Chp. 2 simulation examples
 
Monte Carlo Simulation
Monte Carlo SimulationMonte Carlo Simulation
Monte Carlo Simulation
 
Introduction to Operations Research
Introduction to Operations ResearchIntroduction to Operations Research
Introduction to Operations Research
 
Unit 1 introduction to simulation
Unit 1 introduction to simulationUnit 1 introduction to simulation
Unit 1 introduction to simulation
 
Learning by analogy
Learning by analogyLearning by analogy
Learning by analogy
 
Unit 5 general principles, simulation software
Unit 5 general principles, simulation softwareUnit 5 general principles, simulation software
Unit 5 general principles, simulation software
 

Andere mochten auch

Andere mochten auch (20)

Simulation PowerPoint
Simulation PowerPointSimulation PowerPoint
Simulation PowerPoint
 
Simulation
SimulationSimulation
Simulation
 
Simulation & Modeling - Smilulation Queuing System
Simulation & Modeling - Smilulation Queuing SystemSimulation & Modeling - Smilulation Queuing System
Simulation & Modeling - Smilulation Queuing System
 
Beauty of Italy
Beauty of ItalyBeauty of Italy
Beauty of Italy
 
Italy Powerpoint Done
Italy Powerpoint DoneItaly Powerpoint Done
Italy Powerpoint Done
 
Decision theory
Decision theoryDecision theory
Decision theory
 
Transportation Problem
Transportation ProblemTransportation Problem
Transportation Problem
 
Ppt on decision theory
Ppt on decision theoryPpt on decision theory
Ppt on decision theory
 
Game theory
Game theoryGame theory
Game theory
 
Role play presentation
Role play presentationRole play presentation
Role play presentation
 
Game theory
Game theoryGame theory
Game theory
 
Italia
ItaliaItalia
Italia
 
Artificial Intelligence: Predictions for 2017
Artificial Intelligence: Predictions for 2017Artificial Intelligence: Predictions for 2017
Artificial Intelligence: Predictions for 2017
 
Pert
PertPert
Pert
 
Artificial inteligence
Artificial inteligenceArtificial inteligence
Artificial inteligence
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Italy much more
Italy much moreItaly much more
Italy much more
 
Italy-presentation
Italy-presentationItaly-presentation
Italy-presentation
 
Final ppt of italy
Final ppt of italyFinal ppt of italy
Final ppt of italy
 
Artificial Intelligence Presentation
Artificial Intelligence PresentationArtificial Intelligence Presentation
Artificial Intelligence Presentation
 

Ähnlich wie Simulation Powerpoint- Lecture Notes

Simulation and modeling introduction.pptx
Simulation and modeling introduction.pptxSimulation and modeling introduction.pptx
Simulation and modeling introduction.pptxShamasRehman4
 
STAT7440StudentIMLPresentationJishan.pptx
STAT7440StudentIMLPresentationJishan.pptxSTAT7440StudentIMLPresentationJishan.pptx
STAT7440StudentIMLPresentationJishan.pptxJishanAhmed24
 
[2017/2018] RESEARCH in software engineering
[2017/2018] RESEARCH in software engineering[2017/2018] RESEARCH in software engineering
[2017/2018] RESEARCH in software engineeringIvano Malavolta
 
Chapter 2Computer Applications in Education.docx
Chapter 2Computer Applications in Education.docxChapter 2Computer Applications in Education.docx
Chapter 2Computer Applications in Education.docxwalterl4
 
Moodle competencies a hidden gem
Moodle competencies   a hidden gemMoodle competencies   a hidden gem
Moodle competencies a hidden gemGavin Henrick
 
Chapters 4,5 and 6Into policymaking and modeling in a comple.docx
Chapters 4,5 and 6Into policymaking and modeling in a comple.docxChapters 4,5 and 6Into policymaking and modeling in a comple.docx
Chapters 4,5 and 6Into policymaking and modeling in a comple.docxtiffanyd4
 
Chapters 4,5 and 6Into policymaking and modeling in a comple.docx
Chapters 4,5 and 6Into policymaking and modeling in a comple.docxChapters 4,5 and 6Into policymaking and modeling in a comple.docx
Chapters 4,5 and 6Into policymaking and modeling in a comple.docxmccormicknadine86
 
Simulation and modeling
Simulation and modelingSimulation and modeling
Simulation and modelingmegersaoljira
 
Modeling should be an independent scientific discipline
Modeling should be an independent scientific disciplineModeling should be an independent scientific discipline
Modeling should be an independent scientific disciplineJordi Cabot
 
MANAGEMENT SCIENCE DEPARTMENTMIS440 MANAGEMENT SUPPO.docx
MANAGEMENT SCIENCE DEPARTMENTMIS440 MANAGEMENT SUPPO.docxMANAGEMENT SCIENCE DEPARTMENTMIS440 MANAGEMENT SUPPO.docx
MANAGEMENT SCIENCE DEPARTMENTMIS440 MANAGEMENT SUPPO.docxinfantsuk
 
[2016/2017] RESEARCH in software engineering
[2016/2017] RESEARCH in software engineering[2016/2017] RESEARCH in software engineering
[2016/2017] RESEARCH in software engineeringIvano Malavolta
 
CS251 Intro. to SE [Lec. 0 - Course Introduction & Plan] Spring 2022.pdf
CS251 Intro. to SE [Lec. 0 - Course Introduction & Plan] Spring 2022.pdfCS251 Intro. to SE [Lec. 0 - Course Introduction & Plan] Spring 2022.pdf
CS251 Intro. to SE [Lec. 0 - Course Introduction & Plan] Spring 2022.pdfTitoMido1
 
OOSE Unit 3 PPT.ppt
OOSE Unit 3 PPT.pptOOSE Unit 3 PPT.ppt
OOSE Unit 3 PPT.pptitadmin33
 
Computer simulation MSWord
Computer simulation MSWordComputer simulation MSWord
Computer simulation MSWordSolamanC
 
Computer simulation MSWord
Computer simulation MSWordComputer simulation MSWord
Computer simulation MSWordSolamanC
 
EDU - 03 MSword
EDU - 03 MSwordEDU - 03 MSword
EDU - 03 MSwordSolamanC
 
Technogy MSword
Technogy MSwordTechnogy MSword
Technogy MSwordSolamanC
 
Technogy MSword
Technogy MSwordTechnogy MSword
Technogy MSwordSolamanC
 
Machine learning: A Walk Through School Exams
Machine learning: A Walk Through School ExamsMachine learning: A Walk Through School Exams
Machine learning: A Walk Through School ExamsRamsha Ijaz
 

Ähnlich wie Simulation Powerpoint- Lecture Notes (20)

Simulation and modeling introduction.pptx
Simulation and modeling introduction.pptxSimulation and modeling introduction.pptx
Simulation and modeling introduction.pptx
 
STAT7440StudentIMLPresentationJishan.pptx
STAT7440StudentIMLPresentationJishan.pptxSTAT7440StudentIMLPresentationJishan.pptx
STAT7440StudentIMLPresentationJishan.pptx
 
[2017/2018] RESEARCH in software engineering
[2017/2018] RESEARCH in software engineering[2017/2018] RESEARCH in software engineering
[2017/2018] RESEARCH in software engineering
 
Chapter 2Computer Applications in Education.docx
Chapter 2Computer Applications in Education.docxChapter 2Computer Applications in Education.docx
Chapter 2Computer Applications in Education.docx
 
Moodle competencies a hidden gem
Moodle competencies   a hidden gemMoodle competencies   a hidden gem
Moodle competencies a hidden gem
 
Chapters 4,5 and 6Into policymaking and modeling in a comple.docx
Chapters 4,5 and 6Into policymaking and modeling in a comple.docxChapters 4,5 and 6Into policymaking and modeling in a comple.docx
Chapters 4,5 and 6Into policymaking and modeling in a comple.docx
 
Chapters 4,5 and 6Into policymaking and modeling in a comple.docx
Chapters 4,5 and 6Into policymaking and modeling in a comple.docxChapters 4,5 and 6Into policymaking and modeling in a comple.docx
Chapters 4,5 and 6Into policymaking and modeling in a comple.docx
 
Simulation and modeling
Simulation and modelingSimulation and modeling
Simulation and modeling
 
Modeling should be an independent scientific discipline
Modeling should be an independent scientific disciplineModeling should be an independent scientific discipline
Modeling should be an independent scientific discipline
 
MANAGEMENT SCIENCE DEPARTMENTMIS440 MANAGEMENT SUPPO.docx
MANAGEMENT SCIENCE DEPARTMENTMIS440 MANAGEMENT SUPPO.docxMANAGEMENT SCIENCE DEPARTMENTMIS440 MANAGEMENT SUPPO.docx
MANAGEMENT SCIENCE DEPARTMENTMIS440 MANAGEMENT SUPPO.docx
 
[2016/2017] RESEARCH in software engineering
[2016/2017] RESEARCH in software engineering[2016/2017] RESEARCH in software engineering
[2016/2017] RESEARCH in software engineering
 
CS251 Intro. to SE [Lec. 0 - Course Introduction & Plan] Spring 2022.pdf
CS251 Intro. to SE [Lec. 0 - Course Introduction & Plan] Spring 2022.pdfCS251 Intro. to SE [Lec. 0 - Course Introduction & Plan] Spring 2022.pdf
CS251 Intro. to SE [Lec. 0 - Course Introduction & Plan] Spring 2022.pdf
 
lecture 1.pptx
lecture 1.pptxlecture 1.pptx
lecture 1.pptx
 
OOSE Unit 3 PPT.ppt
OOSE Unit 3 PPT.pptOOSE Unit 3 PPT.ppt
OOSE Unit 3 PPT.ppt
 
Computer simulation MSWord
Computer simulation MSWordComputer simulation MSWord
Computer simulation MSWord
 
Computer simulation MSWord
Computer simulation MSWordComputer simulation MSWord
Computer simulation MSWord
 
EDU - 03 MSword
EDU - 03 MSwordEDU - 03 MSword
EDU - 03 MSword
 
Technogy MSword
Technogy MSwordTechnogy MSword
Technogy MSword
 
Technogy MSword
Technogy MSwordTechnogy MSword
Technogy MSword
 
Machine learning: A Walk Through School Exams
Machine learning: A Walk Through School ExamsMachine learning: A Walk Through School Exams
Machine learning: A Walk Through School Exams
 

Mehr von Kesavartinii Bala Krisnain (6)

Model inquiri
Model inquiriModel inquiri
Model inquiri
 
Data Logging
 Data Logging Data Logging
Data Logging
 
CONTENT BASED PBL
CONTENT BASED PBLCONTENT BASED PBL
CONTENT BASED PBL
 
Smart School Presentation
Smart School PresentationSmart School Presentation
Smart School Presentation
 
Data logging 3 e model
Data logging 3 e modelData logging 3 e model
Data logging 3 e model
 
Data logging 3 e model
Data logging 3 e modelData logging 3 e model
Data logging 3 e model
 

Kürzlich hochgeladen

Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationRosabel UA
 
Dust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEDust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEaurabinda banchhor
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxJanEmmanBrigoli
 
TEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxTEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxruthvilladarez
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...JojoEDelaCruz
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 

Kürzlich hochgeladen (20)

Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translation
 
Dust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEDust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSE
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptx
 
TEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxTEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 

Simulation Powerpoint- Lecture Notes

  • 1. Introduction To Modeling and Simulation Lecture 1 Introduction 1
  • 2. Goals Of This Course Introduce Modeling Introduce Simulation Develop an Appreciation for the Need for Simulation Develop Facility in Simulation Model Building “Learn by Doing”--Lots of Case Studies Introduction 2
  • 3. What Is A Model ? A Representation of an object, a system, or an idea in some form other than that of the entity itself. (Shannon) Introduction 3
  • 4. Types of Models: Physical (Scale models, prototype plants,…) Mathematical (Analytical queueing models, linear programs, simulation) Introduction 4
  • 5. What is Simulation? A Simulation of a system is the operation of a model, which is a representation of that system. The model is amenable to manipulation which would be impossible, too expensive, or too impractical to perform on the system which it portrays. The operation of the model can be studied, and, from this, properties concerning the behavior of the actual system can be inferred. Introduction 5
  • 6. Applications: Designing and analyzing manufacturing systems Evaluating H/W and S/W requirements for a computer system Evaluating a new military weapons system or tactics Determining ordering policies for an inventory system Designing communications systems and message protocols for them Introduction 6
  • 7. Applications:(continued) Designing and operating transportation facilities such as freeways, airports, subways, or ports Evaluating designs for service organizations such as hospitals, post offices, or fast-food restaurants Analyzing financial or economic systems Introduction 7
  • 8. Steps In Simulation and Model Building 1. Define an achievable goal 2. Put together a complete mix of skills on the team 3. Involve the end-user 4. Choose the appropriate simulation tools 5. Model the appropriate level(s) of detail 6. Start early to collect the necessary input data Introduction 8
  • 9. Why Teach with Simulations? 1.Deep Learning • Instructional simulations have the potential to engage students in "deep learning" that empowers understanding as opposed to "surface learning" that requires only memorization. • A good summary of how deep learning contrasts with surface learning is given at the Engineering Subject Centre
  • 10. Deep learning means student can learn scientific methods including • the importance of model building. • Experiments and simulations are the way scientists do their work. • Using instructional simulations gives students concrete formats of what it means to think like a scientist and do scientific work. • the relationships among variables in a model or models. Simulation allows students to change parameter values and see what happens. • Students develop a feel for what variables are important and the significance of magnitude changes in parameters.
  • 11. • data issues, probability and sampling theory. Simulations help students understand probability and sampling theory. • Instructional simulations have proven their worth many times over in the statistics based fields. • The ability to match simulation results with an analytically derived conclusion is especially valuable in beginning classes, where students often struggle with sampling theory. • Given the utility of data simulation, it is not surprising that SERC has an existing module on teaching with data simulation. • how to use a model to predict outcomes. • Simulations help students understand that scientific knowledge rests on the foundation of testable hypotheses.
  • 12. Learn to reflect on and extend knowledge by: • actively engaging in student-student or instructor- student conversations needed to conduct a simulation. Instructional simulations by their very nature cannot be passive learning. • Students are active participants in selecting parameter values, anticipating outcomes, and formulating new questions to ask. • transferring knowledge to new problems and situations. A well done simulation is constructed to include an extension to a new problem or new set of parameters that requires students to extend what they have learned in an earlier context.
  • 13. • understanding and refining their own thought processes. A well done simulation includes a strong reflection summary that requires students to think about how and why they behaved as they did during the simulation. • seeing social processes and social interactions in action. This is one of the most significant outcomes of simulation in social science disciplines such as sociology and political science.
  • 14. How to Teach with Simulations? Instructor Preparation is Crucial • The good news is that instructional simulations can be very effective in stimulating student understanding. • The bad news is that many simulations require intensive pre-simulation lesson preparation. • Lesson preparation varies with the type and complexity of the simulation
  • 15. Active Student Participation is Crucial • Students learn through instructional simulations when they are actively engaged. • Students should predict and explain the outcome they expect the simulation to generate. • Every effort should be made to make it difficult for students to become passive during the simulation. Students must submit timely input and not rely on classmates to play for them. • Instructors should anticipate ways the simulation can go wrong and include this in their pre-simulation discussion with the class.
  • 16. Post-Simulation Discussion is Crucial • Post-simulation discussion with students leads to deeper learning. The instructor should: • 1. Provide sufficient time for students to reflect on and discuss what they learned from the simulation • 2. Integrate the course goals into the post-simulation discussion • 3. Ask students explicitly asked how the simulation helped them understand the course goals or how it may have made the goals more confusing. Extremely significant or important=crucial
  • 17. Steps In Simulation and Model Building(cont’d) 7. Provide adequate and on-going documentation 8. Develop a plan for adequate model verification (Did we get the “right answers ?”) 9. Develop a plan for model validation (Did we ask the “right questions ?”) 10. Develop a plan for statistical output analysis Introduction 17
  • 18. Define An Achievable Goal “To model the…” is NOT a goal! “To model the…in order to select/determine feasibility/…is a goal. Goal selection is not cast in concrete Goals change with increasing insight Introduction 18
  • 19. Put together a complete mix of skills on the team We Need: -Knowledge of the system under investigation -System analyst skills (model formulation) -Model building skills (model Programming) -Data collection skills -Statistical skills (input data representation) Introduction 19
  • 20. Put together a complete mix of skills on the team(continued) We Need: -More statistical skills (output data analysis) -Even more statistical skills (design of experiments) -Management skills (to get everyone pulling in the same direction) Introduction 20
  • 21. INVOLVE THE END USER -Modeling is a selling job! -Does anyone believe the results? -Will anyone put the results into action? -The End-user (your customer) can (and must) do all of the above BUT, first he must be convinced! -He must believe it is HIS Model! Introduction 21
  • 22. Choose The Appropriate Simulation Tools Assuming Simulation is the appropriate means, three alternatives exist: 1. Build Model in a General Purpose Language 2. Build Model in a General Simulation Language 3. Use a Special Purpose Simulation Package Introduction 22
  • 23. MODELLING W/ GENERAL PURPOSE LANGUAGES Advantages: – Little or no additional software cost – Universally available (portable) – No additional training (Everybody knows…(language X) ! ) Disadvantages: – Every model starts from scratch – Very little reusable code – Long development cycle for each model – Difficult verification phase Introduction 23
  • 24. GEN. PURPOSE LANGUAGES USED FOR SIMULATION FORTRAN – Probably more models than any other language. PASCAL – Not as universal as FORTRAN MODULA – Many improvements over PASCAL ADA – Department of Defense attempt at standardization C, C++ – Object-oriented programming language Introduction 24
  • 25. MODELING W/ GENERAL SIMULATION LANGUAGES Advantages: – Standardized features often needed in modeling – Shorter development cycle for each model – Much assistance in model verification – Very readable code Disadvantages: – Higher software cost (up-front) – Additional training required – Limited portability Introduction 25
  • 26. GENERAL PURPOSE SIMULATION LANGUAGES GPSS – Block-structured Language – Interpretive Execution – FORTRAN-based (Help blocks) – World-view: Transactions/Facilities SIMSCRIPT II.5 – English-like Problem Description Language – Compiled Programs – Complete language (no other underlying language) – World-view: Processes/ Resources/ Continuous Introduction 26
  • 27. GEN. PURPOSE SIMULATION LANGUAGES (continued) MODSIM III – Modern Object-Oriented Language – Modularity Compiled Programs – Based on Modula2 (but compiles into C) – World-view: Processes SIMULA – ALGOL-based Problem Description Language – Compiled Programs – World-view: Processes Introduction 27
  • 28. GEN. PURPOSE SIMULATION LANGUAGES (continued) SLAM – Block-structured Language – Interpretive Execution – FORTRAN-based (and extended) – World-view: Network / event / continuous CSIM – process-oriented language – C-based (C++ based) – World-view: Processes Introduction 28
  • 29. MODELING W/ SPECIAL- PURPOSE SIMUL. PACKAGES Advantages – Very quick development of complex models – Short learning cycle – No programming--minimal errors in usage Disadvantages – High cost of software – Limited scope of applicability – Limited flexibility (may not fit your specific application) Introduction 29
  • 30. SPECIAL PURPOSE PACKAGES USED FOR SIMUL. NETWORK II.5 – Simulator for computer systems OPNET – Simulator for communication networks, including wireless networks COMNET III – Simulator for communications networks SIMFACTORY – Simulator for manufacturing operations Introduction 30
  • 31. THE REAL COST OF SIMULATION Many people think of the cost of a simulation only in terms of the software package price. There are actually at least three components to the cost of simulation: 1. Purchase price of the software 2. Programmer / Analyst time 3. “Timeliness of Results” Introduction 31
  • 32. TERMINOLOGY System – A group of objects that are joined together in some regular interaction or interdependence toward the accomplishment of some purpose. – Entity – An object of interest in the system. – E.g., customers at a bank Introduction 32
  • 33. TERMINOLOGY (continued) Attribute – a property of an entity – E.g., checking account balance Activity – Represents a time period of specified length. – Collection of operations that transform the state of an entity – E.g., making bank deposits Introduction 33
  • 34. TERMINOLOGY (continued) Event: – change in the system state. – E.g., arrival; beginning of a new execution; departure State Variables – Define the state of the system – Can restart simulation from state variables – E.g., length of the job queue. Introduction 34
  • 35. TERMINOLOGY (continued) Process – Sequence of events ordered on time Note: – the three concepts(event, process,and activity) give rise to three alternative ways of building discrete simulation models Introduction 35
  • 36. A GRAPHIC COMPARISON OF DISCRETE SIMUL. METHODOLOGIES A1 A2 P1 E1 E2 /E3 E4 A1 A2 P2 E1’ E2’ E3’ E4’ Simulation Time Introduction 36
  • 37. EXAMPLES OF SYSTEMS AND COMPONENTS System Entities Attributes Activities Events State Variables Banking Customers Checking Making Arrival; # of busy account deposits Departure tellers; # of balance customers waiting Note: State Variables may change continuously (continuous sys.) over time or they may change only at a discrete set of points (discrete sys.) in time. Introduction 37
  • 38. SIMULATION “WORLD- VIEWS” Pure Continuous Simulation Pure Discrete Simulation – Event-oriented – Activity-oriented – Process-oriented Combined Discrete / Continuous Simulation Introduction 38
  • 39. Examples Of Both Type Models Continuous Time and Discrete Time Models: CPU scheduling model vs. number of students attending the class. Introduction 39
  • 40. Examples (continued) Continuous State and Discrete State Models: Example: Time spent by students in a weekly class vs. Number of jobs in Q. Introduction 40
  • 41. Other Type Models Deterministic and Probabilistic Models: Output Output Input Input  Static and Dynamic Models: CPU scheduling model vs. E = mc2 Introduction 41
  • 42. Stochastic vs. Deterministic System Model 1 Deterministic Deterministic 3 2 Stochastic Stochastic 4 Introduction 42
  • 43. MODEL THE APPROPRIATE LEVEL(S) OF DETAIL  Define the boundaries of the system to be modeled.  Some characteristics of “the environment” (outside the boundaries) may need to be included in the model.  Not all subsystems will require the same level of detail.  Control the tendency to model in great detail those elements of the system which are well understood, while skimming over other, less well - understood sections. Introduction 43
  • 44. START EARLY TO COLLECT THE NECESSARY INPUT DATA Data comes in two quantities: TOO MUCH!! TOO LITTLE!! With too much data, we need techniques for reducing it to a form usable in our model. With too little data, we need information which can be represented by statistical distributions. Introduction 44
  • 45. PROVIDE ADEQUATE AND ON-GOING DOCUMENTATION In general, programmers hate to document. (They love to program!) Documentation is always their lowest priority item. (Usually scheduled for just after the budget runs out!) They believe that “only wimps read manuals.” What can we do? – Use self-documenting languages – Insist on built-in user instructions(help screens) – Set (or insist on) standards for coding style Introduction 45
  • 46. DEVELOP PLAN FOR ADEQUATE MODEL VERIFICATION Did we get the “right answers?” (No such thing!!) Simulation provides something that no other technique does: Step by step tracing of the model execution. This provides a very natural way of checking the internal consistency of the model. Introduction 46
  • 47. DEVELOP A PLAN FOR MODEL VALIDATION VALIDATION: “Doing the right thing” Or “Asking the right questions” How do we know our model represents the system under investigation? – Compare to existing system? – Deterministic Case? Introduction 47
  • 48. DEVELOP A PLAN FOR STATISTICAL OUTPUT ANALYSIS How much is enough? Long runs versus Replications Techniques for Analysis Introduction 48

Hinweis der Redaktion

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 8
  7. 9
  8. 10
  9. 11
  10. 12
  11. 13
  12. 14
  13. 15
  14. 16
  15. 17
  16. 18
  17. 19
  18. 20
  19. 21
  20. 22
  21. 23
  22. 24
  23. 25
  24. 26
  25. 28
  26. 29
  27. 31
  28. 32
  29. 33
  30. 34
  31. 36
  32. 37
  33. 38
  34. 39
  35. 40
  36. 41