ECE 576 POWER SYSTEM DYNAMICS AND STABILITY

Slides:



Advertisements
Similar presentations
Formal Computational Skills
Advertisements

Chapter 6 Differential Equations
MATLAB EXAMPLES Initial-value problems
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 5 Numerical Integration Prof. Chung-Kuan Cheng 1.
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 5 Numerical Integration Spring 2010 Prof. Chung-Kuan Cheng 1.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 32 Ordinary Differential Equations.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 31 Ordinary Differential Equations.
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW III.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 5 Approximations, Errors and The Taylor Series.
Numerical Solution of Ordinary Differential Equation
CSE 330 : Numerical Methods Lecture 17: Solution of Ordinary Differential Equations (a) Euler’s Method (b) Runge-Kutta Method Dr. S. M. Lutful Kabir Visiting.
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Solving ODE.
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
4.6 Numerical Integration. The Trapezoidal Rule One method to approximate a definite integral is to use n trapezoids.
CSE 330 : Numerical Methods
Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find the 6 th degree Maclaurin polynomial for For what values.
MECN 3500 Lecture 4 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Computer Animation Algorithms and Techniques
Integration of 3-body encounter. Figure taken from
Scientific Computing Multi-Step and Predictor-Corrector Methods.
Announcements Read Chapters 11 and 12 (sections 12.1 to 12.3)
Ch 8.2: Improvements on the Euler Method Consider the initial value problem y' = f (t, y), y(t 0 ) = y 0, with solution  (t). For many problems, Euler’s.
Today’s class Ordinary Differential Equations Runge-Kutta Methods
ECE 576 – Power System Dynamics and Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
Sec 21: Generalizations of the Euler Method Consider a differential equation n = 10 estimate x = 0.5 n = 10 estimate x =50 Initial Value Problem Euler.
Announcements Please read Chapters 11 and 12
Numerical Integration Methods
Ordinary Differential Equations
Use the Midpoint Rule to approximate the given integral with the specified value of n. Compare your result to the actual value and find the error in the.
Numerical Methods by Dr. Laila Fouad.
5.5 Trapezoidal Rule.
Ordinary Differential Equations
ECE 576 – Power System Dynamics and Stability
525602:Advanced Numerical Methods for ME
CSE245: Computer-Aided Circuit Simulation and Verification
Class Notes 18: Numerical Methods (1/2)
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.
Class Notes 19: Numerical Methods (2/2)
CSE 245: Computer Aided Circuit Simulation and Verification
Chapter 26.
POLYNOMIAL INTERPOLATION
CSE245: Computer-Aided Circuit Simulation and Verification
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
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.
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
MATH 175: NUMERICAL ANALYSIS II
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
Numerical Integration Methods
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
Numerical solution of first-order ordinary differential equations
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
Choose the equation which solution is graphed and satisfies the initial condition y ( 0 ) = 8. {applet} {image}
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1 CISE301_Topic8L3 KFUPM.
Ch5 Initial-Value Problems for ODE
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
Implicit and Explicit Runge-Kutta methods
Differential equations
EE 616 Computer Aided Analysis of Electronic Networks Lecture 12
CISE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1 CISE301_Topic8L7 KFUPM.
Numerical solution of first-order ordinary differential equations 1. First order Runge-Kutta method (Euler’s method) Let’s start with the Taylor series.
Modeling and Simulation: Exploring Dynamic System Behaviour
Presentation transcript:

ECE 576 POWER SYSTEM DYNAMICS AND STABILITY Lecture 17 Numerical Integration Professor Pete Sauer Department of Electrical and Computer Engineering © 2000 University of Illinois Board of Trustees, All Rights Reserved

Example continued Exact x(.1) Forward Euler

Heun’s

Fourth-order Runge-Kutta

Roundoff and truncation errors Consider the truncation error of Forward Euler: Local Truncation Error (LTE)

Approximate LTE:

Try on our example (Forward Euler 2nd step)

The exact solution at .2 The exact change in the solution from .1  .2

The approximate change The “actual” local truncation error (-1%) Note: This is not the “true” LTE because x at the previous time step was not exact

(at t = .2 sec)

Error in LTE estimate: (over estimate) (under estimate)

Choosing a step size Approximate 2nd derivatives:

Choose a maximum acceptable LTE of .001

Tradeoff between round-off and truncation errors:

Implicit methods Backward Euler (1st order Adams-Moulton) Trapezoidal (2nd order Adams-Moulton) Gear’s algorithms

Look at polynomial solutions up to order n: Using multi-steps up to order k:

Suppose the exact solution is (n=2): Find ’s and ’s to give exact answer.

Try using no previous times (k = 0)

(trapezoidal rule)