System Simulation
System Simulation
System Simulation
What is system
• The system is collection of components
wherein individual components are
constrained by connecting interrelationship
such that system as a whole fullfills some
specific in response to varying demands.
Different types of system
• Continues system The system in which
changes are predominently smooth
• Discrete system The changes occurs
discontinuously
System modelling
• Model is a body of information about the system
gathered for the purpose of studying the system.
• DERIVE MODEL
• Establish the model structure Deciding system
boundry identifying the entities , attributes and
acivities of the system
• Supplyin data
• The data provides the values the attribute can have
and define the relationship involved in the activities
continued
• Model is a body of information about the
system gathered for the purpose of studying
the system.
• Types of models
• Physical
• Mathematical
Static and Dynamic model
MODELS
PHYSICAL MATHEMATICAL
STATIC STATIC
NUMERICAL NUMERICAL
SYSTEM
SIMULATION
Ways of solution
• Analytical method
• It is based on deductive reasoning of
mathematical theory to solve a model .
• It is best fits with certain forms of equations.
• Knowing this the engineer will restricts the
description of a system of a system to that
form will derive the model that can be solved
analytically
Numerical method
• It involves applying computational procedure
• To be strictly accurate any assignment of
numerical values that uses mathematical
tables.
Types of system study
• System analysis
It aims to understand how the existing system or
proposed system works. It is actually construct the
model of the system and investigate the behaviour
of the model.The result obtained are interpreted in
terms of system performance.
• System design
It studies the object is to produce a system that
meets some specification. Certain system parameter
continued
• Or components can be selected or planned by
the designer and conceptually he chooses
particular combination of components to
construct a system. The proposed system is
modelled and its performance from the
knowledge of models behaviour. If the
predicted performance compared favourably
with desired performance then the designed is
accepted.
continued
• System postulation
• It is a charecterstics of the way models are
employed in social,economical,political and
medical studies where the behaviour of the
system is known but processes that produce
the behaviour are not.Hypotheses are made
on likely set of entities and acivities that can
explain the behaviour.
Principles used in modelling
• Block building
• Relevance
• Accuracy
• Aggregation
Corporate model
• Management
• Policy making aspects of corporation
• Plant
• It provides the means of production.
• Environement
• Continuous system
• Systems in which the changes are predominantly smooth
are called continuous system.
• Discrete system
• Systems in which the changes are predominantly
discontinuous are called discrete system.
• Example:
• Changes in the factory occur discontinuously so factory
system is a discrete system.
Monte Carlo Technique
It is defined as the technique of solving problems by the observations of performance
over time of a dynamic model of system. This definition includes the use of dynamic physical
models where the results are derived from physical measurements rather than numerical
computations.
ƒ(X0)
a X0 b x
Figure - The Monte Carlo Method
continued
• Consider now a manufacturer of central air conditioners
designed for houses. His rate of sales depends upon the
number of houses build.
• As with house sales, the rate of sales diminishes as the
unfilled market diminishes Let s be the number of installed
air conditioners.
• Then the unfilled market is the difference between the
number of houses and the number of installed air
conditioners. The sales trend may be expressed
mathematically by the equation
• x. = k2(y-x),x=0 at t=0
Continued…
• The change of s with time is also illustrated in
Fig. 2. The two equation constitute a mode of
the growth of air conditioner sales. The
market limit, for example, may not be stable.
• These influences could also depend upon the
population growth or prevailing economic
condition, and so further complicate the
model.
Continued…
•The calculation steps forward an interval ∆t to ti+1 = ti+ ∆t. The rates of sales are
assumed to be constant over the interval. The rates can be interpreted as the
amount of change per unit time. That is,
•rate of change of y = Δ𝑦i
•Δ𝑡
•rate of change of x = Δ𝑦i
•Δ𝑡
•From the equations of the model, these may be written
•∆yi = k1 (H-yi) Δ𝑡
•∆xi = k2(H-xi) Δ𝑡
Continued..
• Since yi and xi are known, it is a simple matter to get the values of y
and x at time ti+1. However, it will be noticed that the equation for
∆yi must be solved first to get the value of yi needed in the
equation for xi. In preparation for the solution of a continuous
system model, therefore, there must be a careful sorting of the
equations to establish a workable order.
• Repetition of the calculation using the new values of y and x
produces the output at the end of the next interval. As illustrated in
Fig.2, the calculation is equivalent to calculation the slope at each
point and projecting a short straight line at that slope. The
simulation output is a series of such line segments, approximating
the continuous curve that represents the true output of the model.
Continued..
• Rather, they use several previous values to
predict the rate at which the variables are
changing. (Special methods are used to supply
initial values to start the process.)
• In addition, the computation interval is often
adjusted in size to match the rate at which the
variables are changing.
NCT for Discrete Models: -
1 0 45 45 45 N 57
2 45 16 61 61 Y 56
3 66 5 71 5 N 55
4 71 29 100 34 N 54
5 100 33 133 67 Y 53
6 138 25 163 25 N 52
7 163 21 184 46 N 51
• Conceptually simple
• Computers are extensively used to run them
Cobeb model
Progress of simulation study
• An initial state to describe the problem to be solved in a concise
manner so that there is a clear statement of what questions to
be asked and what measurements needed to be taken answer
these questions.
• Based on these problem definition a problem must be defined
• A possible part explore the cost of a model that can be solved
analytically the results in guiding the simulation study.
• When it is decided to simulate we must plan the study by
deciding upon the measure parameter to be varied the number
of cases to be conducted and the order in which runs at to be
made.
continued
• Given that the simulation is to be on a digital
computer a program must be written. The next stage
is executing runs to be study plans.
• The main value of the early runs in a simulation
study is to get inside into the general behaviour of
the system and to know which Parameters are
important for the system.
• This may lead to re-assessment of the model, when
results are verified and it found reasonable the
simulation will be stopped.
Continuous System Models
UNIT2
Continuous System Models
• Continuous System Models
• A continuous system is the system in which the activities of the main
elements of the system cause smooth changes in the attributes of the
entities of the system.
On mathematical modeling, the attributes of the system are
controlled by a continuous functions.
In such system, the relationships depicts the rates at which the
attributes changes.
The continuous system is modeled using the differential equations.
The complex continuous system with non-linearity can be simulated
by showing the application to models for linear differential equations
to obtain constant coefficients and then generalize to more complex
equations.
Differential and Partial Differential Equations