Engineering Problem Solution

Slides:



Advertisements
Similar presentations
Chapter 6 Differential Equations
Advertisements

Lecture 261 Nodal Analysis. Lecture 262 Example: A Summing Circuit The output voltage V of this circuit is proportional to the sum of the two input currents.
Methods of Analysis PSUT 1 Basic Nodal and Mesh Analysis Al-Qaralleh.
Lecture 4 Node/Loop Analysis. Although they are very important concepts, series/parallel equivalents and the current/voltage division principles are not.
NUMERICAL SOLUTION OF ORDINARY DIFFERENTIAL EQUATIONS
EE188L EE I Laboratory Lab #4 KVL, KCL and Nodal Analysis.
METHODS OF ANALYSIS Nodal analysis Mesh Analysis.
CISE301_Topic8L31 SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2,
Differential Equations and Boundary Value Problems
Fin500J Topic 7Fall 2010 Olin Business School 1 Fin500J Mathematical Foundations in Finance Topic 7: Numerical Methods for Solving Ordinary Differential.
Lecture 24 Introduction to state variable modeling Overall idea Example Simulating system response using MATLAB Related educational modules: –Section 2.6.1,
EENG 2610: Circuit Analysis Class 4: Nodal Analysis
EE3561_Unit 8Al-Dhaifallah14351 EE 3561 : Computational Methods Unit 8 Solution of Ordinary Differential Equations Lesson 3: Midpoint and Heun’s Predictor.
Methods of Analysis Circuits 1 Fall 2005 Harding University Jonathan White.
METHODS OF CIRCUIT ANALYSIS
EMLAB 1 Chapter 3. Nodal and loop analysis techniques
First-Order RL&RC Circuits DONE BY AL-AHMED, UTHMAN SULTAN ELECTRICAL ENGINEERING DEPARTMENT.
The second systematic technique to determine all currents and voltages in a circuit IT IS DUAL TO NODE ANALYSIS - IT FIRST DETERMINES ALL CURRENTS IN A.
Numerical Solutions of ODE
Mesh Analysis Introducing Supermeshes!!!. Mesh Analysis A mesh is a loop with no other loops within it; an independent loop. Mesh analysis provides another.
Mesh Analysis Introducing Supermeshes!!!. Mesh Analysis A mesh is a loop with no other loops within it; an independent loop. Mesh analysis provides another.
1 ECE 3144 Lecture 32 Dr. Rose Q. Hu Electrical and Computer Engineering Department Mississippi State University.
Dr. Mujahed AlDhaifallah ( Term 342)
10.1 Definition of differential equation, its order, degree,
ACSL, POSTECH1 MATLAB 입문 CHAPTER 8 Numerical Calculus and Differential Equations.
INC 111 Basic Circuit Analysis Week 9 RC Circuits.
E E 1205 Lecture 08 -Mesh Current Analysis. Introduction to Mesh Current Method More direct than branch equations Fewer equations to solve Express all.
Ordinary Differential Equations (ODEs). Objectives of Topic  Solve Ordinary Differential Equations (ODEs).  Appreciate the importance of numerical methods.
CALCULUS REVIEW BME 3510 C PO-WEI CHEN 8/19/2014.
244-1: INTRODUCTION TO PROGRAMMING
Civil Engineering Majors Authors: Autar Kaw, Charlie Barker
Part 7 - Chapter 25.
SLOPE FIELDS & EULER’S METHOD
Fakulti Kejuruteraan Elektrik
Computer Engineering Majors Authors: Autar Kaw, Charlie Barker
Ordinary Differential Equations
Numerical Solution of Ordinary Differential Equation
Introducing Supernodes!!!
525602:Advanced Numerical Methods for ME
3.1 Resistors in Series When two elements connected at a single node, they are said to be in series Series-connected circuit elements carry the same.
Mechanical Engineering Majors Authors: Autar Kaw, Charlie Barker
Chemical Engineering Majors Authors: Autar Kaw, Charlie Barker
Numerical Solutions of Ordinary Differential Equations
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2, 27-1 CISE301_Topic8L4&5.
Ohm’s Law If the current I = 0.2A and the resistance R = 1000 ohms, solve for voltage. If V = 110V and R = ohms, how much current is flowing through.
Part B - Mesh Analysis Ch. 3 – Methods of Analysis Based on KVL
Chapter 26.
Current Directions and
Part 7 - Chapter 25.
ELL100: INTRODUCTION TO ELECTRICAL ENG.
Ch. 3 – Methods of Analysis
Chapter 2 Systems Defined by Differential or Difference Equations
Sec:5.4 RUNGE-KUTTA METHODS.
Numerical Solutions of Ordinary Differential Equations
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2, 27-1 CISE301_Topic8L2.
Numerical Analysis Lecture 38.
Lecture 01 - Node Voltage Analysis
MATH 175: NUMERICAL ANALYSIS II
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2, 27-1 CISE301_Topic8L6.
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1 CISE301_Topic8L3 KFUPM.
Lecture 06 - Node Voltage Analysis
Lecture 02 -Mesh Current Analysis
Differential equations
Numerical Analysis Lecture 36.
CISE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1 CISE301_Topic8L7 KFUPM.
CISE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1 CISE301_Topic8L1 KFUPM.
CISE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1 CISE301_Topic8L6 KFUPM.
Lecture 07 - Node Voltage Analysis
طرق تحليل الدوائر الكهربائية
LOOP ANALYSIS The second systematic technique to determine all currents and voltages in a circuit IT IS DUAL TO NODE ANALYSIS - IT FIRST DETERMINES ALL.
Presentation transcript:

EEE 244-5: Numerical solution of Ordinary Differential Equations (ODEs)

Engineering Problem Solution Start with physical laws (Faraday’s, Ohm’s, KVL, KCL, Maxwell’s equations) Generation of differential equation for the specific problem Numerical or analytical solution of differential equation to obtain the unknown variables, such as current, voltage, power.

ODE – Initial value problem First order ODE with initial condition Several techniques are available to solve for the function y(x)

ODE - Example To solve an RL circuit, we apply KVL around the loop and obtain a differential equation: The aim is to solve for the unknown current i(t), given the initial condition i(t=0)= i(0) Numerical solution is practical to solve higher order ODEs

Taylor’s Series

Euler’s method of solving first order ODE To solve the ODE: We use the first two terms of the Euler series h = xi+1 – xi ,is the step size Solve for y using values of i=0,1,2….

Error in Euler’s method

Modified Euler’s method Predictor-corrector algorithm Reduces error in Euler’s method

Matlab had the command ode45 to solve the first order ODE: Matlab Commands Matlab had the command ode45 to solve the first order ODE: y = ode45( f, tspan,y0) tspan is the time range y is the output vector in the time range

Solution of second order ODE To solve the second order ODE: Consider Taylor’s series (first 3 terms) for yi+1 and yi-1 ; we obtain y as follows: