The mathematics behind STELLA Global population model reservoir converter flow connector This system represents a simple differential equation this is.

Slides:



Advertisements
Similar presentations
Courant and all that Consistency, Convergence Stability Numerical Dispersion Computational grids and numerical anisotropy The goal of this lecture is to.
Advertisements

The Exponential Function
Unit 6 – Fundamentals of Calculus Section 6
DERIVATIVES 3. DERIVATIVES In this chapter, we begin our study of differential calculus.  This is concerned with how one quantity changes in relation.
Lesson 9-5 Logistic Equations. Logistic Equation We assume P(t) is constrained by limited resources so : Logistic differential equation for population.
Agenda Recap of Lecture 3 Dynamic behavior of basic systems

ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 31 Ordinary Differential Equations.
Differential Equations (4/17/06) A differential equation is an equation which contains derivatives within it. More specifically, it is an equation which.
DYNAMIC SPATIAL MODELLING: DIFFERENTIAL EQUATIONS Derek Karssenberg Utrecht University, the Netherlands.
Ch 2.1: Linear Equations; Method of Integrating Factors
Differential Equations 7. The Logistic Equation 7.5.
A Simple Introduction to Integral EQUATIONS Glenn Ledder Department of Mathematics University of Nebraska-Lincoln
Implicit Differentiation. Objectives Students will be able to Calculate derivative of function defined implicitly. Determine the slope of the tangent.
Numerical Solution of Ordinary Differential Equation
Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 11e – Slide 1 of 55 § 4.2 The Exponential Function e x.
1 Learning Objectives for Section 3.2 After this lecture, you should be able to Compute compound interest. Compute the annual percentage yield of a compound.
Section 6.1: Euler’s Method. Local Linearity and Differential Equations Slope at (2,0): Tangent line at (2,0): Not a good approximation. Consider smaller.
Ch 2.2: Separable Equations In this section we examine a subclass of linear and nonlinear first order equations. Consider the first order equation We can.
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
The Nature of Exponential Growth Writing growth and decay problems with base e.
Modeling and simulation of systems Numerical methods for solving of differential equations Slovak University of Technology Faculty of Material Science.
Population Growth Calculations: Exponential Growth, Rule of 70 & Doubling Time Ch. 6.
My First Problem of the Day:. Point-Slope Equation of a Line: Linearization of f at x = a: or.
Solving Quadratic Equations by Factoring. Solution by factoring Example 1 Find the roots of each quadratic by factoring. factoring a) x² − 3x + 2 b) x².
Operations Management using System Dynamics Part I.
FW364 Ecological Problem Solving Class 21: Predation November 18, 2013.
2.2 Unconstrained Growth. Malthusian Population Model The power of population is indefinitely greater than the power in the earth to produce subsistence.
+ Numerical Integration Techniques A Brief Introduction By Kai Zhao January, 2011.
Welcome to Differential Equations! Dr. Rachel Hall
SPECIALIST MATHS Differential Equations Week 1. Differential Equations The solution to a differential equations is a function that obeys it. Types of.
STELLA and Calculus STELLA numerically simulates the solutions to systems of differential equations. STELLA INTEGRATES!
13.2 Integration by Substitution. Let w be the inside function Write Do cross-multiply Back to the given integral and do the substitution Take the integral.
Chapter 6, Slide 1 Chapter 6. Finney Weir Giordano, Thomas’ Calculus, Tenth Edition © Addison Wesley Longman All rights reserved. Finney Weir Giordano.
Euler’s Method CS 170: Computing for the Sciences and Mathematics.
CS 170: Computing for the Sciences and Mathematics
2.3 Constrained Growth. Carrying Capacity Exponential birth rate eventually meets environmental constraints (competitors, predators, starvation, etc.)
K = K = K = 100.
Suppose we are given a differential equation and initial condition: Then we can approximate the solution to the differential equation by its linearization.
Do Now: ► How fast is the worlds population growing? Which country is growing at the fastest rate?
10.1 Definition of differential equation, its order, degree,
Chapter 6ET, Slide 1 Chapter 6 ET. Finney Weir Giordano, Thomas’ Calculus, Tenth Edition © Addison Wesley Longman All rights reserved.
2002 BC Question 5NO CalculatorWarm Up Consider the differential equation (a)The slope field for the given differential equation is provided. Sketch the.
Particular Solutions to Differential Equations Unit 4 Day 2.
Warm up Problem Solve the IVP, then sketch the solution and state the domain.
Part 1 Chapter 1 Mathematical Modeling, Numerical Methods, and Problem Solving PowerPoints organized by Dr. Michael R. Gustafson II, Duke University and.
CALCULATE THE GROWTH RATE: Birth Rate = 10 Individuals Immigration = 20 Individuals Death Rate = 15 Individuals Emigration = 5 Individuals Growth Rate.
Assigned work: pg.83 #2, 4def, 5, 11e, Differential Calculus – rates of change Integral Calculus – area under curves Rates of Change: How fast is.
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Problem of the Day - Calculator Let f be the function given by f(x) = 2e4x. For what value of x is the slope of the line tangent to the graph of f at (x,
Moore, A., and Derry, L., 1995, Understanding Natural Systems through Simple Dynamical Systems Modeling, JGE, v. 43, p Introduce systems thinking.
Section 4.4 The Fundamental Theorem of Calculus. We have two MAJOR ideas to examine in this section of the text. We have been hinting for awhile, sometimes.
§ 4.2 The Exponential Function e x.
Differential Equations
Module 3.2 Unconstrained Growth and Decay
40. Section 9.3 Slope Fields and Euler’s Method
6. Section 9.4 Logistic Growth Model Bears Years.
Module 2.2 Unconstrained Growth and Decay
Solve the equation for x. {image}
Local Linearity and Approximation
Section Euler’s Method
3.3 Constrained Growth.
Population Growth Calculations: Exponential Growth, Rule of 70 & Doubling Time Ch. 6.
Differential Equations
Sec 21: Analysis of the Euler Method
Section 11.3 Euler’s Method
Numerical Solutions of Ordinary Differential Equations
Differentiation Summary
Chapter 6 ET . Finney Weir Giordano, Thomas’ Calculus, Tenth Edition © Addison Wesley Longman All rights reserved.
Presentation transcript:

The mathematics behind STELLA Global population model reservoir converter flow connector This system represents a simple differential equation this is essentially an integral Here, P is Population

We can solve this the old fashioned way with calculus to get an equation that will tell us P(t) — Population as a function of time

So if we are given a rate, r, and an initial value for P —P 0 —, this tells us the value of P at any time You could use this to figure out the doubling time for the population:

The mathematics behind STELLA Global population model dPdt is the change in population over time r is the annual growth rate (birth rate- death rate) Now, let’s look at what STELLA does The initial value for Population is 6.7e9 Population(t) = Population(t - dt) + (dPdt) * dt INIT Population = 6.7e9 INFLOWS: dPdt = Population*r r =.0121 {constant annual growth rate = birth rate - death rate} This is a finite difference equation

Population(t) = Population(t - dt) + (dPdt) * dt INIT Population = 6.7e9 INFLOWS: dPdt = Population*r r =.0121 {constant annual growth rate = birth rate - death rate} Population at each time in the model simulation Population at previous time Annual rate of change in population The time step of the calculation STELLA uses this finite difference equation to calculate the population change and the size of the population at each time step for the duration of the simulation.

dt=0.25 dt=10

think of the blue curve as the true solution dt y time Euler’s method consists of projecting a tangent line forward in time in small steps of dt, but if dt is too large, the numerical solution strays from the true solution

here, red is the true solution Euler’s method with dt=1 A Runge-Kutta method with dt=1 Runge-Kutta methods do a better job by finding the tangent lines at fractions of dt. Euler’s method does in fact give fine results is dt is small enough

from Watson and Lovelock, 1983,Tellus 35B, Going from mathematics to STELLA

To represent both differential equations, we need two flows

11 dt=5.0 Time Step and Numerical Instabilities dt=2.0 dt=0.25

This is just a graphical representation of a differential equation. A reservoir is just an integral

We then solve the integrals above to give:

= 20