Introductions • I am: – Graham Horton – FIN-ISG / 2-212 – Email: [email protected] Introduction • You – – – – 17.10.2001 Introduction to Simulation WS01/02 - L 01 1/31 Graham Horton "Simulation 1" are students of: Computervisualistik (3rd year) Wirtschaftsingenieur/Logistik (2nd year) Wirtschaftsinformatik (2nd year) ...? Introduction to Simulation WS01/02 - L 01 2/31 Graham Horton Goals of the Course • Your Studienordnungen refer to the course "Simulation 1" • This semester, there are two introductory simulation courses: – Introduction to Simulation (Horton) – Simulation and Animation (Lorenz) • Give an introduction to some important areas of simulation: – Continuous simulation (ODEs & PDEs) – Discrete-event (stochastic) simulation • Content developed together with industry • Learn to use the simulation software SIMPLEX3 • Both of these can be used as "Simulation 1" • Solve some typical engineering problems using simulation • Both are in English Introduction to Simulation WS01/02 - L 01 • Form the basis for advanced courses and project work 3/31 Graham Horton Introduction to Simulation WS01/02 - L 01 4/31 Graham Horton General Information Simulation Courses 01-02 Introductory Level • No previous knowledge is necessary • The lectures will be in English – Tue. 1pm, 22a-203 (WIF) Introduction to Simulation – Wed. 1pm/odd, 22a-119 (WLO) – Thu. 1pm, 22a-208 (CV) Simulation & Animation • A complete script will be provided (via the web) • Website: wwwisg.cs.uni-magdeburg.de/~graham/its Graham Horton Simulation Opportunities Advanced Discrete Sim. Produktionssimulation Kontinuierliche Simulation Petrinetze Umwelt- und Unternehmenssimulation Introduction to Simulation WS01/02 - L 01 6/31 Graham Horton SIMPLEX3 and Assignments • Wide range of courses – various levels – theoretical and practical • We will use the simulation system SIMPLEX3 • SIMPLEX3 is free for students • Internships (Industriepraktika) – – – – Graduate level Diskrete Simulation Simulationssysteme – Wed. 11am/even, 22a-129 (WLO) 5/31 Advanced level Simulation Project • Exercise classes / practical lectures: Introduction to Simulation WS01/02 - L 01 Intermediate level • SIMPLEX3 is installed on the RTL computers BMW Siemens DaimlerChrysler Fraunhofer Institut • Most assignments will be simulation programming • Many assignments developed together with industry • Internal and external Diplomarbeiten • PhD opportunities Introduction to Simulation WS01/02 - L 01 7/31 Graham Horton Introduction to Simulation WS01/02 - L 01 8/31 Graham Horton SIMPLEX3 Evaluation • I would like to carry out a student evaluation of ItS • What criteria make a good course? • Examples: – The lecturer responds well to questions – The lecturer makes the material interesting – The slides and/or script are clear and helpful – The level of difficulty is appropriate – I have learned a lot from this course – I would recommend this course to other students Introduction to Simulation WS01/02 - L 01 9/31 Graham Horton Brockhaus: "Simulation" Introduction to Simulation WS01/02 - L 01 10/31 Graham Horton Brockhaus: "Modell" • Simulation [lat. "imitate"] the representation or replication • Model: a representation of nature which emphasises those as a model of certain aspects of a real or planned cybernetic properties that are considered to be important and ignores system, in particular of its behaviour over time. the aspects which are considered to be irrelevant. • Simulation [lat. "nachahmen"] die modellhafte Darstellung oder Nachbildung bestimmter Aspekte eines vorhandenen oder zu entwickelnden kybernetischen Systems, insbesondere • Modell: ein Abbild der Natur unter Hervorhebung für wesentlich erachteter Eigenschaften und Außerachtlassen als nebensächlich angesehener Aspekte. auch seines Zeitverhaltens. Introduction to Simulation WS01/02 - L 01 11/31 Graham Horton Introduction to Simulation WS01/02 - L 01 12/31 Graham Horton Three Methods of Science e ris eo h T Experiment Real system Prediction Mo de lb uil din g Simulation model Experiment Conceptual model Modify Compare Real data Introduction to Simulation WS01/02 - L 01 Some Applications Simulation data 13/31 Graham Horton One well-known Example Introduction to Simulation WS01/02 - L 01 15/31 • Continuous simulation: – All branches of (Natural) Science – All branches of Engineering – Operations Research • Discrete simulation: – Manufacturing and Automation – Logistics and Transportation – Reliability and Safety Engineering – Operations Research Introduction to Simulation WS01/02 - L 01 14/31 Graham Horton Atmospheric Simulation Graham Horton Introduction to Simulation WS01/02 - L 01 16/31 Graham Horton Simulation is Interdisciplinary • One major classification of systems (and their models) Application field Time cs ati 17/31 Graham Horton Stochastic and Deterministic Systems Discrete Continuous Simulation Continuous Partial Differential Equations Ordinary Differential Equations Discrete "Space" Co Sc mpu ien ter ce m the Ma Introduction to Simulation WS01/02 - L 01 Continuous and Discrete Systems ?? Discrete-Event Systems Introduction to Simulation WS01/02 - L 01 18/31 Static and Dynamic Simulations • The other major classification of systems: • Another major classification of simulations: • Deterministic: • Static: – Randomness does not affect the behaviour of the system. The output of the system is not a random variable. • Stochastic: – A simulation of a system at one specific time, or a simulation in which time is not a relevant parameter. – Examples: Monte Carlo & steady-state simulations • Dynamic: – Randomness affects the behaviour of the system. The output of the system is a random variable. • N.B. Real system and model need not be of the same type! Introduction to Simulation WS01/02 - L 01 Graham Horton 19/31 Graham Horton – A simulation representing a system evolving over time. – Examples: The majority of simulation problems! • N.B. Here also, real system and model may differ! Introduction to Simulation WS01/02 - L 01 20/31 Graham Horton Examples When to use Simulation? Queue length at a cash machine: Stochastic, DT, DS The motion of the planets: Deterministic, CT, DS • When to use simulation? – Study internals of a complex system – Examine effect of environmental changes Logic circuit in a computer: Deterministic, DT, DS Flow of air around a car: Deterministic, CT, CS Closing prices of the 30 DAX shares: Stochastic, CT, DS 21/31 – Study importance of variables – Verify analytic solutions (theories) – Test new designs or policies – Impossible to influence/build the system N.B. Other answers are also possible! Introduction to Simulation WS01/02 - L 01 – Suggest improvements Graham Horton Advantages of Simulation Introduction to Simulation WS01/02 - L 01 22/31 Difficulties of Simulation • Advantages of simulation: • Difficulties of simulation: – Doesn't interrupt running system – Provides only individual solutions – Doesn't consume resources – Manpower: Time-consuming – Test hypotheses – Computing: Memory- & time-intensive – Manipulate time – Difficult, skilled – Study interactions – Hard to interpret results – Ask "what if" questions – Expensive! Introduction to Simulation WS01/02 - L 01 Graham Horton 23/31 Graham Horton Introduction to Simulation WS01/02 - L 01 24/31 Graham Horton A Classic Example A Classic Example • During the First World War, the population of fish in the Adriatic Sea went down. • This was surprising, because, owing to the war, there was less fishing going on (so you would think the amount of fish would go up.) 25/31 Graham Horton A Classic Example Enter bank model: Customers arrive at random intervals at a bank. There is only one cashier. Customers must wait in a queue. Service times at the cashier are also random. • Measured inter-arrival times (seconds): – 25, 111, 56, 232, 97, 452, 153, 45, ... • Measured service times (seconds): – 45, 32, 11, 61, 93, 56, 30, ... • Volterra (an Italian mathematician) built a model to find out what was happening... Introduction to Simulation WS01/02 - L 01 • The – – – – Introduction to Simulation WS01/02 - L 01 26/31 Graham Horton A Classic Example • Consider an area in which hares and foxes live Service • Denote the population of hares by h and of foxes by f – Foxes must eat hares in order to survive – Hares have an unlimited supply of food • The resulting equations are: Queue • Compute: – The average length of the queue – The probability that the cashier is busy Introduction to Simulation WS01/02 - L 01 27/31 • The Lotka-Volterra equations Graham Horton Introduction to Simulation WS01/02 - L 01 28/31 dh = a⋅h −c⋅h⋅ f dt df = −b ⋅ f + c ⋅ h ⋅ f dt Graham Horton A Classic Example A Classic Example • Simulation results for parameters • Example: Petri-dish populations of – h (0) = 400 – Paramecium Aurelia (predator) – f (0) = 37 – Saccharomices Exiguns (prey) – a = 0.175 – b = 0.125 – c = 0.001 – 0 < t < 150 Introduction to Simulation WS01/02 - L 01 29/31 Graham Horton The Last Slide • There will be no exercise classes this week • Find the ItS web site • Your homework assignment (if appropriate): – Download SIMPLEX3 and the C compiler from the web – Download the license file from the web site – Install SIMPLEX3 on your own computer – Check that you can start the program Introduction to Simulation WS01/02 - L 01 31/31 Graham Horton Introduction to Simulation WS01/02 - L 01 30/31 Graham Horton
© Copyright 2026 Paperzz