Professional Documents
Culture Documents
MODELING
Click to add Text
Prof. Prashant Gadakh,
Assistant Professor,
International Institute of Information Technology (IIT)
Cell ph- +919730186682
Why Modeling?
Creates a mathematical representation of
some phenomenon to better understand it.
Fundamental and quantitative way to
understand and analyze complex systems.
Complement to Theory and Experiments,
and often Integrate them.
Matches observation with symbolic
representation.
3. All the results that mathematicians have proved over hundreds of years are at
our disposal.
4.
Mathematical Modeling?
Mathematical modeling seeks to gain an
understanding of science through the use
of mathematical models on HP computers.
Mathematical Modeling
Complements, but does not replace, theory
and experimentation in scientific research.
Experiment
Theory
Computation
Mathematical Modeling
Is often used in place of experiments when
experiments are too large, too expensive,
too dangerous, or too time consuming.
Can be useful in what if studies; e.g. to
investigate the use of pathogens (viruses,
bacteria) to control an insect population.
Is a modern tool for scientific investigation.
Develop computational
algorithm
Perform test
calculations
Interpret results
Communicate results
Working Model
Simplify Working Model:
Identify and select factors to
describe important aspects of
Real World Problem; determine those factors that can be neglected.
Mathematical Model
Represent Mathematical
Model: Express the Working
Model in mathematical terms;
write down mathematical equations whose solution describes
the Working Model.
In general, the success of a mathematical model
depends on how easy it is to use and how
accurately it predicts.
Computational Model
Translate Computational
Model: Change Mathematical Model into a form suitable for computational solution.
Existence of unique solution
Choice of the numerical method
Choice of the algorithm
Software
Computational Model
Translate Computational
Model: Change Mathematical Model into a form suitable for computational
solution.
Computational models include software such as
Matlab, Excel, or Mathematica, or languages such
as Fortran, C, C++, or Java.
Results/Conclusions
Simulate Results/Conclusions: Run Computational
Model to obtain Results; draw
Conclusions.
Verify your computer program; use check
cases; explore ranges of validity.
Graphs, charts, and other visualization tools are
useful in summarizing results and drawing
conclusions.
Flow diagrams
Where the system being modelled is more
complex, we cannot simply jump from an
assumption to an equation. We must be much
more methodical, both when describing the
system and when stating assumptions. Flow
diagrams are a visual aid to this end.
Example
Online Shopping System
Consider the database or inventory D which contains N products with F features.
D={R1,R2,R3..Rn}
P={f1,f2,f2,f4.fn}
Re={Re1, Re2,Ren}
Where
D= Database or inventory containing Products
P= Define a set containing products features
Re= Set of required product by customer
Systems analysis
Making assumptions
we need to construct the basic framework of the
model.
This reflects our beliefs about how the system
operates.
Future analysis of the system treats these
assumptions as being true, but the results of such an
analysis are only as valid as the assumptions.
Analysis
Choosing mathematical
equations
Once the structure of a model has been determined, mathematical
equations must be chosen to describe the system. It is worth
choosing these equations carefully - they may have unforeseen
effects on the behaviour of the model.
Equations from the literature
It may be that somebody else has published an equation relating
to the quantities you are interested in. This provides a good
starting point, but it is necessary to proceed with caution.
Problems encountered may include;
Cont..
equations derived from data with a range of explanatory
variables which does not contain the range
required for model application;
experimental conditions (the environment) differ
substantially from conditions to be encountered during
model application.
equations describe behaviour of the bulk of the data with
no attempt to account for known departures at the end of
range, or no account taken of variability
Analysis
If Pi[fi]==Rei---S0
Append S0[P(fi)]
i=i+1;
Re++;
S0={P1[f1],P2[f2].Pn[fn]}
Where S0 contains products which satisfy
customer requirements.
Cont..
S* = {P1,P2,P3Pn}
Where S* defines a set of Shortlisted/Final
selected product by a customer.
Consider a product Pr with certain attributes
extracted from S*
Pr={N,O,C}
Where,
N= Name of the product
O= Offer of the product
C= Cost of the product
Cont..
F= {n, i, d, a}
n= Number of user used this product
i= Those who really wants to use this
product
d= Number of similar Products
a= Product is socially active or not.
Fv= S* + P
Where Fv is the final set of products having best offers and brand.
Features
P1
P2
P3
.
.
Pn
f1
f2
f3
.
.
fn
Set Theory
Required Products
Re1
Re2
Re3
.
.
Ren
Features
f1
f2
f3
.
.
fn
Set Theory..
Required Products
Re1
Re2
Re3
.
.
Ren
Result Set
P1[f1]
P1[f1]
P2[f1]
P2[f1]
P2[f1]
Pn[fn]
Selected Product
P1
P2
Analogy
P(fi, O)
P(fi, O)
O
fi
where P(fi, O) is the Selected products at
features fi at time offer O. This equation
does not give the future motion of any
individual product. It is simply a description
of collective behaviour of product.
Asymptotic behaviour
A qualitative feature of the (scaled) product is that the
long-term behaviour of the product is independent of the
initial conditions. Hence the product will always
approach the value 1 as time increases.
This value is called an asymptote. A product long term
behaviour value 1 is in equilibrium, since according to
the model it will never change. Furthermore, this
equilibrium is stable, since if the product behaviour is
changed slightly it will always return to 1.
THANK YOU!!!