Introduction To Modeling and Simulation Rabie A. Ramadan odeling / Lecture 1.

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

Information System Economics IT ACQUISITION.
Software Modeling SWE5441 Lecture 3 Eng. Mohammed Timraz
FIN 685: Risk Management Topic 5: Simulation Larry Schrenk, Instructor.
Introduction To System Analysis and Design
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.
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
Feedback Control Systems (FCS)
Basic Simulation Modeling II
CS 450 Modeling and Simulation
Introduction to Systems and Modeling and Simulation
INTRODUCTION TO 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.
System Analysis & Design Introduction: System Analysis and design course intents to help students understand its importance in developing systems that.
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.
FCS - AAO - DM COMPE/SE/ISE 492 Senior Project 2 System/Software Test Documentation (STD) System/Software Test Documentation (STD)
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.
Fall 2011 CSC 446/546 Part 1: Introduction to Simulation.
Reid & Sanders, Operations Management © Wiley 2002 Simulation Analysis D SUPPLEMENT.
Introduction to Simulation Andy Wang CIS Computer Systems Performance Analysis.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
Network Protocol Simulation: A look at Discrete Event Simulation Grant D. Lanterman 5/21/2004.
Advantages of simulation 1. New policies, operating procedures, information flows and son on can be explored without disrupting ongoing operation of the.
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 Introduction. 2 Goals of This Course lIntroduce Modeling lIntroduce Simulation lDevelop an Appreciation for the Need.
K. Salah1 ICS 533 Introduction To Modeling and Simulation.
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.
Information Systems Development
OPERATING SYSTEMS CS 3502 Fall 2017
Prepared by Lloyd R. Jaisingh
Lecture 1 Introduction Richard Gesick.
Modeling and Simulation (An Introduction)
SIMULATION SIMULAND PURPOSE TECHNIQUE CREDIBILITY PROGRAMMATICS
The Systems Engineering Context
Introduction to System Analysis and Design
ADVANTAGES OF SIMULATION
Chapter 1.
Simulation Department of Industrial Engineering Anadolu University
Object oriented system development life cycle
Manufacturing system design (MSD)
Information Systems Development
Basic Simulation Modeling II
Professor S K Dubey,VSM Amity School of Business
Onur Kaya END 201, Ext: 6439 ENM 307 Simulation Department of Industrial Engineering Anadolu University SPRING 2018 Chapter.
Simulation and Modeling
Discrete-Event System Simulation
MECH 3550 : Simulation & Visualization
MECH 3550 : Simulation & Visualization
Chapter 7 Software Testing.
Presentation transcript:

Introduction To Modeling and Simulation Rabie A. Ramadan odeling / Lecture 1

2 Welcome Back

Class Organization 3 Attendance is very important Assignments Projects Quizzes

Textbooks 4

Exams 5 Do not worry about the exam as long as : You are attending Done with your project Done with your presentation Assignments are delivered

Why should I attend ? 6 We will have group activities in class. Some materials will be taught from outside our textbook(s). Some materials will be skipped or left for you to read

Projects 7 There will be a term project Only 4 persons per project You can select your own project after my approval Project

Things need to be with you in class 8 For the group activities

Goals Of This Course 9 l Introduce Modeling l Introduce Simulation l Develop an Appreciation for the Need for Simulation l Develop Facility in Simulation Model Building

What is M&S ? 10 Discipline of understanding and evaluating the interaction of parts of a real or theoretical system by; Designing its representation (model) and Executing (running) the model including the time and space dimension (simulation).

What is a System 11 An entity (unit, process, event...), which exists and operates in time and space through the interaction of its parts.

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

Types of Models: 13 Physical (Scale models, prototype plants,…) Mathematical (Analytical queuing models, linear programs, simulation)

What is Simulation? 14 l A Simulation of a system is the operation of a model, which is a representation of that system. l The model is amenable to manipulation which would be impossible, too expensive, or too impractical to perform on the system which it represents. l The operation of the model can be studied, and, from this, properties concerning the behavior of the actual system can be inferred.

What is a Simulation ? The manipulation of a model in such a way that it operates in time or space to summarize it.

Applications : 16 l Designing and analyzing manufacturing systems l Evaluating H/W and S/W requirements for a computer system l Evaluating a new military weapons system or tactics l Determining ordering policies for an inventory system l Designing communications systems and message protocols for them

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

Steps In Simulation and Model Building 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

Steps In Simulation and Model Building(cont’d) 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

Define An Achievable Goal 20 “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

Put together a complete mix of skills on the team 21 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)

Put together a complete mix of skills on the team(continued) 22 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)

Choose The Appropriate Simulation Tools 23 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

MODELLING With GENERAL PURPOSE LANGUAGES 24 l Advantages: Little or no additional software cost Universally available (portable) No additional training (Everybody knows…(language X) ! ) l Disadvantages: Every model starts from scratch Very little reusable code Long development cycle for each model Difficult verification phase

GEN. PURPOSE LANGUAGES USED FOR SIMULATION 25 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 What Language are you professional at?

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

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

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

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

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

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

THE REAL COST OF SIMULATION 32 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.

TERMINOLOGY 33 l 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

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

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

TERMINOLOGY (continued) 36 l Process Sequence of events ordered on time W Note: the three concepts(event, process,band activity) give rise to three alternative ways of building discrete simulation models

SIMULATION “WORLD-VIEWS” 37 l Pure Continuous Simulation l Pure Discrete Simulation Event-oriented Activity-oriented Process-oriented l Combined Discrete / Continuous Simulation

Examples Of Both Type Models 38 l Continuous 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.

Examples (continued) 39 l Continuous 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).

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

START EARLY TO COLLECT THE NECESSARY INPUT DATA 41 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

DEVELOP PLAN FOR ADEQUATE MODEL VERIFICATION 42 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.

DEVELOP A PLAN FOR MODEL VALIDATION 43 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?

DEVELOP A PLAN FOR STATISTICAL OUTPUT ANALYSIS 44 l How much is enough? Long runs versus Replications l Transient and steady state