K. Salah1 ICS 533 Introduction To Modeling and Simulation.

Slides:



Advertisements
Similar presentations
Simulation - An Introduction Simulation:- The technique of imitating the behaviour of some situation or system (economic, military, mechanical, etc.) by.
Advertisements

Software Modeling SWE5441 Lecture 3 Eng. Mohammed Timraz
FIN 685: Risk Management Topic 5: Simulation Larry Schrenk, Instructor.
Introduction To System Analysis and Design
1 Simulation Lecture 6 Simulation Chapter 18S. 2 Simulation Simulation Is …  Simulation – very broad term  methods and applications to imitate or mimic.
CPS 808 Introduction To Modeling and Simulation
CPE 412 SIMULATION and MODELING n Instructor: Dr. Mahmoud Alrefaei n Various notes and transparencies can be found on web page.
Discrete-Event Simulation: A First Course Steve Park and Larry Leemis College of William and Mary.
Simulation.
Introduction1 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)
CS350/550 Software Engineering Lecture 1. Class Work The main part of the class is a practical software engineering project, in teams of 3-5 people There.
Lab 01 Fundamentals SE 405 Discrete Event Simulation
Basic Simulation Modeling II
CS 450 Modeling and Simulation
Introduction to Systems and Modeling and Simulation
Basic Concepts The Unified Modeling Language (UML) SYSC System Analysis and Design.
Modeling and Simulation
1 Introduction to Simulation Chapters 24. Overview Simulation: Key Questions Introduction to Simulation Common Mistakes in Simulation Other Causes of.
Analysis of Simulation Results Andy Wang CIS Computer Systems Performance Analysis.
S/W Project Management
Systems Analysis – Analyzing Requirements.  Analyzing requirement stage identifies user information needs and new systems requirements  IS dev team.
Discrete-Event System Simulation
Managing the development and purchase of information systems (Part 1)
Introduction to Discrete Event Simulation Customer population Service system Served customers Waiting line Priority rule Service facilities Figure C.1.
Chapter 1 Introduction to Simulation
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
หลักการโปรแกรม เพื่อแก้ปัญหาโดยใช้คอมพิวเตอร์
Modeling & Simulation: An Introduction Some slides in this presentation have been copyrighted to Dr. Amr Elmougy.
Introduction To System Analysis and Design
Modeling and simulation of systems Model building Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Lecture 1 Introduction Figures from Lewis, “C# Software Solutions”, Addison Wesley Richard Gesick.
1 Introduction to Software Engineering Lecture 1.
Chapter 10 Verification and Validation of Simulation Models
ECE 466/658: Performance Evaluation and Simulation Introduction Instructor: Christos Panayiotou.
Fall 2011 CSC 446/546 Part 1: Introduction to Simulation.
Reid & Sanders, Operations Management © Wiley 2002 Simulation Analysis D SUPPLEMENT.
Object Oriented Discrete-Event Simulation CS4730 Fall 2010 Jose M. Garrido Department of Computer Science and Information Systems Kennesaw State University.
Chapter 3 System Performance and Models Introduction A system is the part of the real world under study. Composed of a set of entities interacting.
Introduction to Simulation Andy Wang CIS Computer Systems Performance Analysis.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
 An Information System (IS) is a collection of interrelated components that collect, process, store, and provide as output the information needed to.
Network Protocol Simulation: A look at Discrete Event Simulation Grant D. Lanterman 5/21/2004.
(C) J. M. Garrido1 Objects in a Simulation Model There are several objects in a simulation model The activate objects are instances of the classes that.
CS433 Modeling and Simulation Lecture 09 – Part 02 Discrete Events Simulation Dr. Anis Koubâa 27 Dec 2008 Al-Imam.
Csci 418/618 Simulation Models Dr. Ken Nygard, IACC 262B
 Simulation enables the study of complex system.  Simulation is a good approach when analytic study of a system is not possible or very complex.  Informational,
1 CS 214 Modeling and Simulation Modeling. TERMINOLOGY lSystem –A group of objects that are joined together in some regular interaction or interdependence.
Introduction The objective of simulation – Analysis the system (Model) Analytically the model – a description of some system intended to predict the behavior.
1 CS 214 Modeling and Simulation Introduction. 2 Goals of This Course lIntroduce Modeling lIntroduce Simulation lDevelop an Appreciation for the Need.
Introduction to Modeling & Simulation Dr. A. K. Dey Third Lecture
NETW 707: Modeling & Simulation Course Instructor: Tallal Elshabrawy Instructor Office: C3.321 Instructor Teaching.
Introduction To Modeling and Simulation 1. A simulation: A simulation is the imitation of the operation of real-world process or system over time. A Representation.
Modelling & Simulation of Semiconductor Devices Lecture 1 & 2 Introduction to Modelling & Simulation.
Traffic Simulation L2 – Introduction to simulation Ing. Ondřej Přibyl, Ph.D.
Introduction To Modeling and Simulation Rabie A. Ramadan odeling / Lecture 1.
OPERATING SYSTEMS CS 3502 Fall 2017
Modeling and Simulation (An Introduction)
The Systems Engineering Context
ADVANTAGES OF SIMULATION
Chapter 1.
Simulation Department of Industrial Engineering Anadolu University
Object oriented system development life cycle
Chapter 10 Verification and Validation of Simulation Models
Basic Simulation Modeling II
Simulation and Modeling
Discrete-Event System Simulation
MECH 3550 : Simulation & Visualization
MECH 3550 : Simulation & Visualization
Chapter 7 Software Testing.
Presentation transcript:

K. Salah1 ICS 533 Introduction To Modeling and Simulation

K. Salah2 Goals Of This Course lIntroduce Modeling lIntroduce Simulation lDevelop an Appreciation for the Need for Simulation lDevelop Facility in Simulation Model Building

K. Salah3 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)

K. Salah4 Types of Models: Physical (Scale models, prototype plants,…) Mathematical (Analytical queueing models, linear programs, simulation)

K. Salah5 What is Simulation? lA Simulation of a system is the operation of a model, which is a representation of that system. lThe model is amenable to manipulation which would be impossible, too expensive, or too impractical to perform on the system which it portrays. lThe operation of the model can be studied, and, from this, properties concerning the behavior of the actual system can be inferred.

K. Salah6 Applications: lDesigning and analyzing manufacturing systems lEvaluating H/W and S/W requirements for a computer system lEvaluating a new military weapons system or tactics lDetermining ordering policies for an inventory system lDesigning communications systems and message protocols for them

K. Salah7 Applications: (continued) lDesigning and operating transportation facilities such as freeways, airports, subways, or ports lEvaluating designs for service organizations such as hospitals, post offices, or fast-food restaurants lAnalyzing financial or economic systems

K. Salah8 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

K. Salah9 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

K. Salah10 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

K. Salah11 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)

K. Salah12 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)

K. Salah13 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

K. Salah14 MODELLING W/ GENERAL PURPOSE LANGUAGES lAdvantages: –Little or no additional software cost –Universally available (portable) –No additional training (Everybody knows…(language X) ! ) lDisadvantages: –Every model starts from scratch –Very little reusable code –Long development cycle for each model –Difficult verification phase

K. Salah15 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

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

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

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

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

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

K. Salah21 SPECIAL PURPOSE PACKAGES USED FOR SIMUL. lNETWORK II.5 –Simulator for computer systems lOPNET –Simulator for communication networks, including wireless networks lCOMNET III –Simulator for communications networks lSIMFACTORY –Simulator for manufacturing operations

K. Salah22 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” Being at the right time.

K. Salah23 TERMINOLOGY lSystem –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

K. Salah24 TERMINOLOGY (continued) lAttribute –a property of an entity –E.g., checking account balance lActivity –Represents a time period of specified length. –Collection of operations that transform the state of an entity –E.g., making bank deposits

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

K. Salah26 TERMINOLOGY (continued) lProcess –Sequence of events ordered on time WNote: –the three concepts(event, process,and activity) give rise to three alternative ways of building discrete simulation models

K. Salah27 SIMULATION “WORLD- VIEWS” lPure Continuous Simulation lPure Discrete Simulation –Event-oriented –Activity-oriented –Process-oriented lCombined Discrete / Continuous Simulation

K. Salah28 Examples Of Both Type Models lContinuous Time and Discrete Time Models: CPU scheduling model vs. number of students attending the class. a)N(t) value is defined all the time b)N(t) value is defined at discrete point in time, not all the time.

K. Salah29 Examples (continued) lContinuous State and Discrete State Models: Example: Time spent by students in a weekly class vs. Number of jobs in Q. –a) state takes continuous values (fraction) –b) state takes discrete values (only integers, ON/OFF, Busy/Idle).

K. Salah30 Static and Dynamic Models: CPU scheduling model vs. E = mc 2 Other Type Models Input Output Input Output lDeterministic and Probabilistic/Stochastic Models:

K. Salah31 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. –Use BestFit software by Law

K. Salah32 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.

K. Salah33 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?

K. Salah34 DEVELOP A PLAN FOR STATISTICAL OUTPUT ANALYSIS lHow much is enough? Long runs versus Replications lTransient and steady state