MATHEMATICAL MODELING

Slides:



Advertisements
Similar presentations
ENGR 110 Engineering Modelling and Design Control Systems Modelling II
Advertisements

D Nagesh Kumar, IIScOptimization Methods: M4L1 1 Linear Programming Applications Software for Linear Programming.
3.4 Artificial starting solution Page103
Computational Methods for Management and Economics Carla Gomes Module 8b The transportation simplex method.
Lecture 16 Symbolic Mathematics Symbolic mathematics: algebraezplotcalculus © 2007 Daniel Valentine. All rights reserved. Published by Elsevier.
BsysE595 Lecture Basic modeling approaches for engineering systems – Summary and Review Shulin Chen January 10, 2013.
1 Tips for solving Project 1 Reactor SO 3 SO 2 +O 2.
Analytical vs. Numerical Minimization Each experimental data point, l, has an error, ε l, associated with it ‣ Difference between the experimentally measured.
What is a model Some notations –Independent variables: Time variable: t, n Space variable: x in one dimension (1D), (x,y) in 2D or (x,y,z) in 3D –State.
Mechanics of Machines Dr. Mohammad Kilani Class 3 Position Analysis.
Computational Physics Introduction 3/30/11. Goals  Calculate solutions to physics problems  All physics problems can be formulated mathematically. 
Feb 18, /34 Mechanical Engineering at Virginia Tech What to bring and what to study One 8.5 X 11 formula sheet, one side only, no examples. Save.
System Control Theory Lab
One model for the growth of a population is based on the assumption that the population grows at a rate proportional to the size of the population. That.
Autar Kaw Humberto Isaza Transforming Numerical Methods Education for STEM Undergraduates.
Computational fluid dynamics Authors: A. Ghavrish, Ass. Prof. of NMU, M. Packer, President of LDI inc.
Sensitivity analysis LI Xiao-lei. A graphical introduction to sensitivity analysis Sensitivity analysis is concerned with how changes in an LP’s parameters.
Quadrature rules 1Michael Sokolov / Numerical Methods for Chemical Engineers / Numerical Quadrature Michael Sokolov ETH Zurich, Institut für Chemie- und.
Numerical Methods.
Sampling Design and Analysis MTH 494 Lecture-22 Ossam Chohan Assistant Professor CIIT Abbottabad.
Do Now (3x + y) – (2x + y) 4(2x + 3y) – (8x – y)
ES 240: Scientific and Engineering Computation. Chapter 1 Chapter 1: Mathematical Modeling, Numerical Methods and Problem Solving Uchechukwu Ofoegbu Temple.
University of Colorado at Boulder Yicheng Wang, Phone: , Optimization Techniques for Civil and Environmental Engineering.
Lecture 6: Time Response 1.Time response determination Review of differential equation approach Introduce transfer function approach 2.MATLAB commands.
A Paper Presentation on VIBRATION MEASURING INSTRUMENTS by A.ARIF DEPARTMENT OF MECHANICAL ENGINEERING GUDLAVALLERU ENGINEERING COLLEGE GUDLAVALLERU -
Linear Programming and Applications
Differential Equations Linear Equations with Variable Coefficients.
D Nagesh Kumar, IIScOptimization Methods: M8L1 1 Advanced Topics in Optimization Piecewise Linear Approximation of a Nonlinear Function.
GOOD MORNING CLASS! In Operation Research Class, WE MEET AGAIN WITH A TOPIC OF :
KINEMATICS Equations … The BIG FOUR. Competency Goal 2: Build an understanding of linear motion. Objectives – Be able to: 2.03 Analyze acceleration as.
Digital and Non-Linear Control
Solving Linear Program by Simplex Method The Concept
MID-TERM EXAM/REVISION
Chapter 7. Classification and Prediction
Part 7 - Chapter 25.
Computer Application in Engineering Design
Transfer Functions Chapter 4
Solver & Optimization Problems
Boundary Element Analysis of Systems Using Interval Methods
Digital Control Systems (DCS)
Control Systems With Embedded Implementation (CSEI)
Chapter 2 Response to Harmonic Excitation
Numerical Solution of Ordinary Differential Equation
9 Deflection of Beams.
Mechanical Engineering at Virginia Tech
ME/AE 339 Computational Fluid Dynamics K. M. Isaac Topic1_ODE
FIRST AND SECOND-ORDER TRANSIENT CIRCUITS
Symbolic mathematics: algebra ezplot calculus
THE SUBSTITUTION METHOD
Class Notes 18: Numerical Methods (1/2)
Engineering Analysis I
Mathematical Modeling, Numerical Methods, and Problem Solving
3 General forced response
Part 7 - Chapter 25.
PLOTTING PHASE PORTRAITS WITH MATLAB:
Autar Kaw Humberto Isaza
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2, 27-1 CISE301_Topic8L2.
ENGINEERING MECHANICS
Numerical Analysis Lecture 38.
Institute of Computing Tech.
Numerical Analysis Lecture 2.
SKTN 2393 Numerical Methods for Nuclear Engineers
MATHEMATICAL MODELING
Autar Kaw Humberto Isaza
Week 6 2. Solving ODEs using Fourier series (forced oscillations)
APPLICATION OF LINEAR ALGEBRA IN MECHANICAL ENGINEERING
MULTI DEGREE OF FREEDOM (M-DOF)
Apply KCL to the top node ,we have We normalize the highest derivative by dividing by C , we get Since the highest derivative in the equation is.
Modeling and Simulations 1
Presentation transcript:

MATHEMATICAL MODELING

Linear Programming

Example 3: Construction During the construction of an off-shore airport in Japan the main contractor used two types of cargo barges to transport materials from a fill collection site to the artificial island built to accommodate the airport. The types of cargo vessels have different cargo capacities and crew member requirements as shown in the table: Models of time-dependent processes may be split into two categories, discrete and continuous, depending on how the time variable is treated. Key point: x and v remain constant between time points. How accurate is this? When implemented on a computer, many continuous models become discrete; also rounding error issues.

According to company records there are 180 crew members in the payroll and all crew members are trained to either manage the “Haneda” or “Fuji” vessels.

Mathematical Formulation Simplify: Purpose is to eliminate unnecessary information and to simplify that which is retained as much as possible. Simplifying assumptions: no friction in the system (physics), no immigration or emigration (population), constant growth rate (biology), etc. Governing principles: laws/relationships from physics, biology, engineering economics, etc.; balance equations. Key variables and relationships Variables types include input variables, output variables, and parameters.

Linear Programming Model Constant acceleration model.

Graphical Solution A mathematical model is an important step in formalizing a problem for solution on a computer.

Graphical Solution A mathematical model is an important step in formalizing a problem for solution on a computer.

Simplex method Arrange objective function in standard form to perform Simplex tableaus. Input variables are t0=0, x0=H, and v0=V; output variables are the ti, xi and vi; g is a parameter.

Simplex method-Initial Tableau Note: x3, x4, x5 are slack variables

Simplex method-Initial Tableau Solution: (x1, x2,x3, x4, x5) = (0,0,180,40,60)

Simplex method-Second Tableau Leaving BV = x5 : New BV = x2

Simplex method-Final Tableau Leaving BV = x3 : New BV = x1 Optimal Solution: (x1, x2,x3, x4, x5) = (20,60,0,20,0)

Computational Model

Matlab Output

Matlab Output

Matlab Output

Matlab Output

Matlab Output

Example 4: Spring Mass Damper System – Unforced Response Models of time-dependent processes may be split into two categories, discrete and continuous, depending on how the time variable is treated. Key point: x and v remain constant between time points. How accurate is this? When implemented on a computer, many continuous models become discrete; also rounding error issues.

Example 4 Solve for five cycles, the response of an unforced system given by the equation (1) For Models of time-dependent processes may be split into two categories, discrete and continuous, depending on how the time variable is treated. Key point: x and v remain constant between time points. How accurate is this? When implemented on a computer, many continuous models become discrete; also rounding error issues.

Solution To solve this equation we have to reduce it into two first order differential equations. This step is taken because MATLAB uses a Runge- Kutta method to solve differential equations, which is valid only for first order equations. Let (2) Models of time-dependent processes may be split into two categories, discrete and continuous, depending on how the time variable is treated. Key point: x and v remain constant between time points. How accurate is this? When implemented on a computer, many continuous models become discrete; also rounding error issues.

(3) From the above expression we see that so the equation (1) reduces to (3) We can see that the second order differential equation (1) has been reduced to two first order differential equations (2) and (3).

For our convenience, put Equations (2) and (3) reduce to (4) (5)

To calculate the value of ‘c’, compare equation (1) with the following generalized equation. Equating the coefficients of the similar terms we have

Using the values of ‘m’ and ‘k’, calculate the different values of ‘c’ corresponding to each value of ξ . Once the values of ‘c’ are known, equations (4) and (5) can be solved using MATLAB. The problem should be solved for five cycles.

In order to find the time interval, we first need to determine the damped period of the system. Natural frequency = 10 rad/s For ξ= 0.1 Damped natural frequency = 9.95 rad/s

Damped time period = 0.63 s Therefore for five time cycles the interval should be 5 times the damped time period, i.e., 3.16 sec.

Computational Model In order to apply the ODE45 or any other numerical integration procedure, a separate function file must be generated to define equations (4) and (5). function yp = unforced1(t,y) yp = [y(2);(-((c/m)*y(2))-((k/m)*y(1)))]; The first line of the function file must start with the word “function” and the file must be saved corresponding to the function call; i.e., in this case, the file is saved as unforced1.m.

Computational Model This example has been solved for ξ= 0.1 Now we need to write a code, which calls the above function and solves the differential equation and plots the required result. First open another M-file and type the following code.

Computational Model tspan=[0 4]; y0=[0.02;0]; [t,y]=ode45('unforced1',tspan,y0); plot(t,y(:,1)); grid on xlabel(‘time’) ylabel(‘Displacement’) title(‘Displacement Vs Time’) hold on;

Computational Model The ode45 command in the main body calls the function unforced1, which defines the systems first order derivatives. The response is then plotted using the plot command.

Oscillating Model

Conclusions From the plot it is evident that the oscillation is damping. Displacement of the spring reduces over the time period and reaches ‘0’m displacement within 4 seconds.

Thank You!