Simulation with Arena, 4 th ed.Chapter 11 – Continuous & Combined Discrete/Continuous ModelsSlide 1 of 11 Continuous and Combined Discrete/ Continuous.

Slides:



Advertisements
Similar presentations
Formal Computational Skills
Advertisements

Chapter 6 Differential Equations
Chapter 7 Introduction to Procedures. So far, all programs written in such way that all subtasks are integrated in one single large program. There is.
Process Control: Designing Process and Control Systems for Dynamic Performance Chapter 6. Empirical Model Identification Copyright © Thomas Marlin 2013.
Chapter 3 Dynamic Modeling.
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
Stability of computer network for the set delay Jolanta Tańcula.
© 2007 Pearson Education Chapter 14: Solving and Analyzing Optimization Models.
Chapter 3 Simulation Software
Resampling techniques Why resampling? Jacknife Cross-validation Bootstrap Examples of application of bootstrap.
Simulation with Arena, 3 rd ed.Chapter 11 – Continuous & Combined Discrete/Continuous ModelsSlide 1 of 11 Continuous and Combined Discrete/ Continuous.
 2006 Pearson Education, Inc. All rights reserved Control Statements: Part 2.
Stochastic Simulation of Biological Systems. Chemical Reactions Reactants  Products m 1 R 1 + m 2 R 2 + ··· + m r R r – ! n 1 P 1 + n 2 P 2 + ··· + n.
Development of Empirical Models From Process Data
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Implicit ODE Solvers Daniel Baur ETH Zurich, Institut.
Process Control Instrumentation II
Chapter 11 Simulating Wireless Control. Simulate Parameter – Analog Input Block  The current or digital outputs of these transmitters and switches are.
Cmpt-225 Simulation. Application: Simulation Simulation  A technique for modeling the behavior of both natural and human-made systems  Goal Generate.
Short Term Load Forecasting with Expert Fuzzy-Logic System
Ordinary Differential Equations (ODEs)
C How to Program, 6/e Summary © by Pearson Education, Inc. All Rights Reserved.
Numerical Solution of Ordinary Differential Equation
Classification and Prediction: Regression Analysis
PART 7 Ordinary Differential Equations ODEs
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
Linearizing ODEs of a PID Controller Anchored by: Rob Chockley and Scott Dombrowski.
EPSII 59:006 Spring Topics Using TextPad If Statements Relational Operators Nested If Statements Else and Elseif Clauses Logical Functions For Loops.
Chapter 7: Demand Estimation and Forecasting
Verification & Validation
880.P20 Winter 2006 Richard Kass 1 Confidence Intervals and Upper Limits Confidence intervals (CI) are related to confidence limits (CL). To calculate.
Mathematical Modeling and Formal Specification Languages CIS 376 Bruce R. Maxim UM-Dearborn.
ME451 Kinematics and Dynamics of Machine Systems Numerical Solution of DAE IVP Newmark Method November 1, 2013 Radu Serban University of Wisconsin-Madison.
1 Pattern Recognition: Statistical and Neural Lonnie C. Ludeman Lecture 23 Nov 2, 2005 Nanjing University of Science & Technology.
Real-Time Systems Chapter 1 Hermann Kopetz. Real-Time-Systems, Kluwer 1997.
A Really Bad Graph. For Discussion Today Project Proposal 1.Statement of hypothesis 2.Workload decisions 3.Metrics to be used 4.Method.
Basic Probability (Chapter 2, W.J.Decoursey, 2003) Objectives: -Define probability and its relationship to relative frequency of an event. -Learn the basic.
Engineering Statistics ENGR 592 Prepared by: Mariam El-Maghraby Date: 26/05/04 Design of Experiments Plackett-Burman Box-Behnken.
1 Statistical Distribution Fitting Dr. Jason Merrick.
1 Extend is a simulation tool to create models quickly, with all the blocks you need and without even having to type an equation. You can use a series.
Scientific Computing Numerical Solution Of Ordinary Differential Equations - Euler’s Method.
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 12.
Accuracy Based Generation of Thermodynamic Properties for Light Water in RELAP5-3D 2010 IRUG Meeting Cliff Davis.
Unit 1, Chapter 2 Integrated Science. Unit One: Forces and Motion 2.1 Using a Scientific Model to Predict Speed 2.2 Position and Time 2.3 Acceleration.
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 12.
linear  2.3 Newton’s Method ( Newton-Raphson Method ) 1/12 Chapter 2 Solutions of Equations in One Variable – Newton’s Method Idea: Linearize a nonlinear.
SIMULINK-Tutorial 1 Class ECES-304 Presented by : Shubham Bhat.
Chapter 10 ordinary differential equations (ODEs) Chapter 11 systems of ODEs (6 th edition)
Hybrid Load Forecasting Method With Analysis of Temperature Sensitivities Authors: Kyung-Bin Song, Seong-Kwan Ha, Jung-Wook Park, Dong-Jin Kweon, Kyu-Ho.
Copyright © 2014, 2010, and 2006 Pearson Education, Inc. 1 Chapter 7 Functions and Graphs.
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 2: State Equations Spring 2010 Prof. Chung-Kuan Cheng.
Chapter - Continuous Control
Static Timing Analysis
1 Probability and Statistics Confidence Intervals.
CHEE825 Fall 2005J. McLellan1 Nonlinear Empirical Models.
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Adjoint models: Theory ATM 569 Fovell Fall 2015 (See course notes, Chapter 15) 1.
Simulation Examples And General Principles Part 2
Integrating Times Analysis of count statistics. The variability of the coronal X-ray emission is commonly known to be present on various time scales.
Demand Management and Forecasting Chapter 11 Portions Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin.
Design of Intake Systems for I.C. Engine P M V Subbarao Professor Mechanical Engineering Department Design Features of A Network of pipes for effective.
SIR Epidemics: How to model its behavior? Soonmook Lee 1.
Solving Ordinary Differential Equations
Further Modularization, Cohesion, and Coupling. Simple Program Design, Fourth Edition Chapter 9 2 Objectives In this chapter you will be able to: Further.
EEN-E1040 Measurement and Control of Energy Systems Control I: Control, processes, PID controllers and PID tuning Nov 3rd 2016 If not marked otherwise,
Probability and Statistics
Structural testing, Path Testing
Data Structures Recursion CIS265/506: Chapter 06 - Recursion.
Differential Equations
Presentation transcript:

Simulation with Arena, 4 th ed.Chapter 11 – Continuous & Combined Discrete/Continuous ModelsSlide 1 of 11 Continuous and Combined Discrete/ Continuous Models Chapter 11 Last revision August 19, 2006

Simulation with Arena, 4 th ed.Chapter 11 – Continuous & Combined Discrete/Continuous ModelsSlide 2 of 11 What We’ll Do... What is a continuous system? Simple linear continuous systems Combined discrete/continuous systems Non-linear and complex systems

Simulation with Arena, 4 th ed.Chapter 11 – Continuous & Combined Discrete/Continuous ModelsSlide 3 of 11 Continuous Systems Discrete systems – State changes occur at isolated points in time called events Continuous systems – State changes may occur continuously over time  Flow of fluids and fluid-like materials  Temperature changes  Chemical operations  Biological processes

Simulation with Arena, 4 th ed.Chapter 11 – Continuous & Combined Discrete/Continuous ModelsSlide 4 of 11 Continuous Systems Simple systems (linear)  Rate of change is constant between events  Future value can be calculated from starting value and rate  Can step directly to calculated event Complex systems (non-linear)  Rate of change may depend on other continuous processes  Specialized approaches used to capture change  Approximates continuous change by making a series of small steps between the usual discrete events

Simulation with Arena, 4 th ed.Chapter 11 – Continuous & Combined Discrete/Continuous ModelsSlide 5 of 11 Continuous Systems Example of simple continuous system filling a tank smoothly over time (Model 11-1)

Simulation with Arena, 4 th ed.Chapter 11 – Continuous & Combined Discrete/Continuous ModelsSlide 6 of 11 Continuous Systems Basic constructs: Levels & Rates from Elements Panel A Level is the value that is changing over time A Rate determines the rate of change of the level Both are similar to Variables in that they can be assigned a new value at any time. Levels may also change as time advances if the value of the associated Rate is non-zero. A Level and a Rate should be used as a pair (e.g. If you have 4 Levels you should have 4 Rates)

Simulation with Arena, 4 th ed.Chapter 11 – Continuous & Combined Discrete/Continuous ModelsSlide 7 of 11 Simple Continuous Systems Continuous Element specifies integration parameters:  Number of Dif Equations – In simple systems, leave at default of number of Rate/Level pairs.  Number of State Equations – Ignore in simple systems.  Minimum step size – The minimum time advance between integration steps. Use 0.0 in simple systems.  Maximum step size – The maximum time advance between integration steps. Use a high value (100) in simple systems.  Save Point Interval – The maximum time between save points for recording continuous statistics (CSTATS).  Method – Use Euler linear algorithm for simple systems.

Simulation with Arena, 4 th ed.Chapter 11 – Continuous & Combined Discrete/Continuous ModelsSlide 8 of 11 Simple Continuous Systems Discrete control loop to empty and refill a tank (Model 11-2a)

Simulation with Arena, 4 th ed.Chapter 11 – Continuous & Combined Discrete/Continuous ModelsSlide 9 of 11 Combined Discrete/Continuous Modify Model 11-2a to Model 11-2b to detect when Tank Level rises to 100 or falls to 0 Detect Module from Blocks panel “watches” for and helps predict events. Watches for value of a variable to cross a threshold value (e.g. a tank level reaching its maximum value) Similar to Create Module in that an entity is created when crossing occurs.

Simulation with Arena, 4 th ed.Chapter 11 – Continuous & Combined Discrete/Continuous ModelsSlide 10 of 11 Combined Discrete/Continuous Fill and empty logic using Detect modules Further examples (details in text)  Model 11-3: Coal-loading operation with above approach  Model 11-4: Coal-loading operation with Flow Process panel – special-purpose modules for such models

Simulation with Arena, 4 th ed.Chapter 11 – Continuous & Combined Discrete/Continuous ModelsSlide 11 of 11 Complex Systems Non-linear systems require special differential- equation algorithms (Runge-Kutta-Fehlberg)  Step sizes must be set carefully  Smaller step size will generate more accurate results because Arena will calculate continuous-change variables more often  Larger step size will run faster, but your error tolerances will need to be set higher Many situations (like a gravity fed tank) are actually non-linear, but can be accurately approximated with faster, linear methods Model 11-5: Soaking-pit furnace (details in text)  Differential equations defined in VBA