Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

CHAOTIC WEB SIMULATION LABORATORY APPLICATION

Metin VARAN1 ,Yılmaz UYAROĞLU2 Zekeriya ÖZDEMİR3 Fahri VATANSEVER4


Mehmet Ali YALÇIN5
1
PhD Student Electrical Engineer Faculty Member Sakarya University Electrical-Electronics Engineering Dept.
2
Asst. Prof ,Sakarya University Electrical-Electronics Engineering DepT.
3
M.Sc.Electrical Engineer Faculty Member of Sakarya University Electrical-Electronics Engineering Dept
4
Asst. Prof ,Sakarya University Technical Education Dept
5
Prof ,Sakarya University Dean of Engineering Faculty
1
e-mail: mvaran@sakarya.edu.tr 2e-mail: uyaroglu@sakarya.edu.tr 3 e-mail: zozdemir@sakarya.edu.tr
4
e-mail: fahriv@sakarya.edu.tr 5e-mail: yalcin@sakarya.edu.tr

Abstract - Chaotic applications recently have been used for


various different fields and studies. In this study, we target Web-based educational simulation is not a new area, however
to model and analyze fundamental chaotic oscillators by due to the difficulties that exist in its utilization, the complexity
using web tools. Among many oscillators, we have focused and specificities of nonlinear dynamic system applications,
on Lorenz Oscillators both modeling and analyzing. lecturers have been forcing open in a massive way to the explain
and analyze of chaotic modeling in the different engineering
With this study we aim to satisfy calculation capability of problems. This led us to develop the chaotic simulation model
basic chaotic models using web Medias and make chaotic that gives a collection of requirements, orientations and
models more observable and understandable. prescriptions to the author so that Web-based simulation is used
in a proper way in an educational environment. [2,3]
Keywords - Chaotic Simulation Laboratory Application,
Digital Media, MATLAB Calculation Engine, Chaotic The main objective of the study is to simulate and analyze
Methods chaotic modeling on the web interface. Deeper goals: building
internet-based education tools and intranet objects for chaotic
1.INTRODUCTION model interesteds and students, which might be separate
configurable and separate compiled, for stand alone running;
We review recent developments in the modeling and prediction linking configured objects for complex simulation and
of nonlinear time series. In some cases, apparent randomness in animation with zoom and mouse-over facilities; ability of
time series may be due to chaotic behavior of a nonlinear but strength calculation engine-MATLAB, web publishing of the
deterministic system. In such cases, it is possible to exploit the simulators; building tools for user scenario; report- generator.
determinism to make short term forecasts that are much more With this study we aim to satisfy calculation capability of basic
accurate than one could make from a linear stochastic model. chaotic models using web Medias and make chaotic models
This is done by first reconstructing a state space, and then using more observable and understandable.
nonlinear function approximation methods to create a dynamical
model. Nonlinear models are valuable not only as short term 3.CHAOTIC OSCILLATORS
forecasters, but also as diagnostic tools for identifying and
quantifying low-dimensional chaotic behavior. During the past There are many chaotic oscillators used for chaotic modeling
few years, methods for nonlinear modeling have developed and analyzing, generally each oscillator is applied for specific
rapidly, and have already led to several applications where areas. Most fundamental oscillators may be listed as follows:
nonlinear models motivated by chaotic dynamics provide Lorenz, Chua, Rossler, Vanderpol and Duffing Chaotic
superior predictions to linear models. These applications include Oscillator.[4].Lorenz Oscillator is applied for atmospheric
prediction of fluid flows, sunspots, mechanical vibrations, ice studies; Chua Oscillator are applied for electronic circuits,
ages, measles epidemics, and human speech.[1] Rossler Oscillators are applied for chemical phenomenon.

4. THE LORENZ ATTRACTOR: A NONLINEAR


2.PURPOSE OF STUDY SYSTEM WITH KNOWN DYNAMICS

1
MATLAB and then deploy them as components in .NET and COM
The Lorenz system is a model of convection (i.e., heat transfer) environments. You can use the high-level, matrix-optimized language
in the atmosphere. The dynamics (i.e., changes in states) of the and test your applications. Once the applications are complete, you
Lorenz model can be characterized with three first order can use the builder to automatically package them as components
differential equations, and integrate them in .NET and COM applications.

To deploy your component, you first install the MCR on the target
 . 
 x1   ( x  x )  machine. The MCR is the full set of shared libraries required for
   
2 1 executing MATLAB based components. It provides complete
 .    support for all features of the MATLAB language and most related
 x   rx1  x 2  x1 x3  toolboxes.After instantiating an object from a MATLAB based
 2   (1) component, you can access the object methods just as you access the
 .    methods of any other COM or .NET class. COM and .NET data
   bx 3  x1 x 2  types passed to MATLAB functions are automatically converted to
 x3   

MATLAB data types. Hie builder also provides data conversion
  classes for manually converting data and managing output data, as
well as an interface that converts MATLAB data types into .NET
Where X, Y, and Z correspond to the three dynamical variables native data types[6].
(corresponding to two temperature measures and a velocity
measure), the over-dot corresponds to the rate of change (i.e., 6.CHAOTIC WEB SIMULATION LABORATORY
derivative) of the variable in question, and a, b, and c are APPLICATION
constant parameters. What makes the Lorenz system a complex,
nonlinear system is the interaction Chaotic Web Simulation Applications Main Page involves
of the three dynamical variables. As can be seen in Equations simulation of basic chaotic models under given initial conditions
above, changes in X are dependent not only upon the value of X, (Fig.1). This web application runs at an intranet network server,
but also upon the values of Y and Z. Therefore, the influences of this server only should have MATLAB core engine, not
the variables X, Y, and Z on the current state of the system are commercial toolboxes. In this study, we state our Web
not independent and additive, but are instead mutually Simulation Application on our intranet servers .
dependent and multiplicative. The interactive nature of
dimensions along which a system may change embodies the
complexity of nonlinear systems and is also the key to
quantifying systems with unknown or unmeasured dynamical
variables[5].

5.MATLAB .NET BUILDER TOOLBOX

MATLAB Builder- NE creates MATLAB* based .NET and COM


components for royalty-free deployment on desktop machines or
Web servers. As a result, one can integrate his MATLAB applications
into organizations .NET and COM programs. The builder creates
the components by encrypting MATLAB functions and generating
Figure 1. Chaotic Web Simulation Laboratory Main Page
either a .NET or COM wrapper around them.

One can reference MATLAB based .NET and COM components as The Lorenz attractor could be generated only by numerical
one would any other .NET assembly and COM object, for easy approximations on a computer, as shown (Fig. 2-Fig.5). Now we
integration with existing applications. The components created by have a rigorous proof that confirms its existence.
the builder run against the MATLAB Compiler Runtime (MCR), the
full set of shared libraries that support MATLAB. The MCR is Figure-2 shows x-y portrait of Lorenz System Attractor
provided with MATLAB Compiler. To run .NET and COM
components, it must be distributed the MCR with them.
Components created in MATLAB and the MCR can be deployed
royalty-free.
For Web applications, the builder provides AJAX-based zoom,
pan, and rotate controls for figures created in MATLAB and an API
for automatically converting between .NET or COM data types
and MATLAB data types. Together, MATLAB, MATLAB Compiler,
and MATLAB Builder NE enable you to develop applications using

2
Figure 4. Lorenz Simulation Web Page-3
Figure 2. Lorenz Simulation Web Page-1
The geometry of the attractor is closely related to the ‘flow’ of
The Lorenz System’s x-y-z attractor obtained using state equations
the equations that the curves corresponding to solutions of the
by Matlab modeling under initial conditions, a=0.5, x0=0.001,
differential equations. There is an unstable equilibrium, a saddle
y0=0.001, and z0=0.
point, at the origin. The curves repeatedly pass this point, and
are pushed away to the left or right, only to circle
Figure-3 shows x-z portrait of Lorenz System Attractor
round to pass back by the saddle. As they loop back, adjacent
curves are pulled apart. This is how the unpredictability is
created and can end up on either side of the saddle. The result is
an apparently random sequence of loops to the left and right.

Figure-5 shows Time series of Lorenz System Attractor

Figure 3. Lorenz Simulation Web Page-2

Figure 5. Lorenz Simulation Web Page-5

Figure-4 shows y-z portrait of Lorenz System Attractor


7. CONCLUSIONS

Chaotic Web Simulation Laboratory Application aims that


satisfying calculation capability of basic chaotic models using
web Medias and make chaotic models more observable and
understandable. Finally, it is shown that using ASP. NET and
C#.NET tools is a flexible way, especially for benefiting ability

3
of MATLAB engine. Subsequent study proposal might be on a
real-time web control and web analysis for a chaotic oscillator
circuit.

8.REFERENCES

[1] CASDAGLI, M., Eubank, S.; Electric Power Research


Institute (EPRI) Workshop on Applications of Chaos, San
Francisco, Dec. 1990
[2] YANG,O., YABO D. “A Web-Based Virtual Laboratory
System for Electronic Circuit Simulation”,May-2005,
[3] NICOL , D., JOHNSON, M., YOSHIMURA,A., A Java-
based Distributed Simulation Engine, 1998 International
Workshop on Modeling Analysis and Simulation of Computer
and Telecommunication Systems (MASCOTS) ,Montreal,
Canada, pp. 233-240, 1998
[4] ZHANG,X., Department of Computer Tianjin University of
Technology and Education, August-2004,
[5] A.C. Fowler, M.J. McGuinness; “A description of the
Lorenz attractor at high Prandtl number”, Physica
D.,. 5, pp. 149–182 1982
[6]http://www.mathworks.com/products/netbuilder/description2.
html

You might also like