Docsity

Nonlinear Second Order Models 2-Mathematical Modeling and Simulation-Lecture Slides, Slides of Mathematical Modeling and Simulation

Partial preview of the text

Download Nonlinear Second Order Models 2-Mathematical Modeling and Simulation-Lecture Slides and more Slides Mathematical Modeling and Simulation in PDF only on Docsity!

Nonlinear Second Order Models

Mathematical Modeling

& Simulation

CHAOS

  • Essence of Science is predictability, and almost everything can be

predicted. Example Halley’s Comet.

  • Most of the basic laws of nature are deterministic, i.e. they allow

us to determine what will happen next from the knowledge of

present conditions.

  • Perfect systems may be easily modelled according to the “laws of

physics”: with the massless ropes, frictionless surfaces and perfect

vacuum in text-book problems.

  • Real systems have friction, air-resistance and physical variations

that make them unpredictable.

  • Deterministic is not same as predictable. Example weather

forecast.

  • Unpredictable behavior of deterministic system is called

Chaos.

  • One of the important features of chaos is “sensitivity to initial

conditions”.

Chaos is Everywhere

EXAMPLES OF CHAOS

 Laser instabilities.

 Chemical Reactions.

 Fluid turbulence.

 Progression to heart attack.

 Population biology.

 Weather Systems.

 Disease – An outbreak of a deadly disease which has no cure.

 Political Unrest – Can cause revolt, overthrow of government and vast war.

 War – Lives of many people can be ruined in no time.

 Stock Market

Attractors

Attractors are the focus and origin of chaos.

  • Attractor is a set A of trajectories in phase space to which all

neighboring trajectories converge.

  • A is Invariant (If you happen to start in A you remain there).
  • A has a "basin of attraction“.
  • There are four different types of attractors
  • The Point Attractors
  • Limit Cycle Attractors
  • Torus Attractors
  • Strange Attractors

Limit Cycle Attractors

  • A limit cycle attractor

is a repeating loop of

states.

  • Example are a planet

orbiting around a star

and an undamped

pendulum.

Torus Attractors

  • A system which changes in detailed

characteristics over time but does not

change its form will have a trajectory

which will produce a path looking like

the doughnut shape of a torus

  • Example, picture walking on a large

doughnut, going over, under and

around its outside surface area,

circling, but never repeating exactly

the same path you went before.

  • The torus attractor depicts processes

that stay in a confined area but

wander from place to place in that

area.

Relationship with Chaos Theory

  • Point, Limit Cycle and Torus attractors are not

generally associated with Chaos theory, because they

are fixed.

  • Even though there is a high degree of irregularity and

complexity in the pattern associated with Limit Cycle

and Torus attractors, their pattern is finite and

predictions can still be made.

  • The Strange Attractors can take an infinite number of

different forms. They show their chaotic behavior.

Two initial neighboring points will quickly drive apart

and finally will not have the same behavior at all.

Lorentz Attractor

-20 -15 -10 -5 0 5 10 15 20

5

10

15

20

25

30

35

40

45

50

Z-values

x-values

10 x ( t ) 10 y ( t ),

dt

dx

x ( t ) z ( t ) 28 x ( t ) y ( t ),

dt

dy

x ( t ) y ( t ) ( 8 / 3 ) z ( t )

dt

dz

Lorentz's model for atmospheric

convection consisted of the following

three ordinary differential equations:

A plot of the numerical values calculated from these equations using particular initial conditions can be seen from the above picture.

In 1960’s Edward Lorentz while

attempting to simulate the behavior

of the atmosphere came up with this

strange shape known as Lorentz

attractor.

Rössler Attractor

  • The Rössler attractor is the

solution of these 3 coupled non-

linear differential equations:

dx/dt = -y -z dy/dt = x + ay dz/dt = b + z(x - c)

where a=0.2, b=0.2, c=5.

  • The series does not form limit

cycles nor does it ever reach a

steady state. Instead it is an

example of deterministic chaos.

As with other chaotic systems

the Rossler system is sensitive to

the initial conditions.

Henon’s Attractor

  • In 1970's Michele Henon discovered a very simple iterated mapping that showed a chaotic attractor, now called Henon's attractor. It allowed him to make a direct connection between deterministic chaos and fractals.
  • It consists of two X and Y equations that produce a fractal made up of strands. As the image on the right shows, two main strands, that form a rough arc, are the main part of the fractal. Each strand visible contains an infinite amount of smaller parts

within. This trait is called self-

similarity at all levels.

  • The equations are :

xn = yn-1 + 1 - (1.4sqr(xn-1)) yn = 0.3 * xn-*

What is a Fractal?

  • Benoit Mandelbrot, 1982,

“clouds are not spheres, mountains are not cones, coastlines are not circles, and bark is not smooth, nor does lightning travel in a straight line.”

  • Objects are represented as

procedures rather than equations

  • Repeating the fractal procedure produces more and more details.
  • A formal definition of fractal is a geometrical figure consisting of an identical parts that repeats itself on an ever decreasing scale.

Properties of Fractals

  • Infinite detail at every point
  • Self-similarity between object parts and the overall object features
  • Fractional dimension
  • No specific size or scaling

Distant

Mountain

Closer

View

Closer

The closer you get, the more detail you see Still

Self-Similar Fractals

  • Parts are scaled-down versions of the entire object
    • Start with the initial shape
    • Construct sub-parts by duplicating the initial shape and scaling it
  • Can apply different scaling factors for different parts
  • Example:
    • The von Koch snowflake
    • Can also introduce random variations to the sub-parts
      • These fractals are “statistically self-similar”
    • Typically used to model trees, shrubs, and other plants

Von Koch Snowflake

  • Start with initiator:
  • And generator:
  • At each iteration, replace each piece of the initiator with

the generator