



















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




















Simulation is the imitation of the operation of a real-world process or system over time. It involves the generation of an artificial history of a system and the observation of that artificial history to draw inferences concerning the operating characteristics of the real world". Simulation is a quantitative technique developed for studying alternative courses of action by building a model of that system and the conducting a series of repeated trial and error experiments to predict the behavior of the system over a period of time. Simulation is a technique used for decision making under conditions of uncertainty. In situations where the mathematical formulation of the problem is not feasible, simulation technique is used by representing reality through a model which will respond in the same manner as in real life situation. Simulation technique had its origin in the work of Prof. John Von Neumann and Prof. Stanislaw Ulam for determining the complicated behavior of neutrons in a nuclear shielding problem being too complex for mathematical analysis. The behavior of a system as it evolves over time is studied by developing a simulation model. This model usually takes the form of a set of assumptions concerning the operation of the system. These assumptions are expressed in mathematical, logical, and symbolic relationships between the entities, or objects of interest, of the system. Once developed and validated, a model can be used to investigate a wide variety of "what if" questions about the real-world system. Potential changes to the system can first be simulated in order to predict their impact on system performance. Simulation can also be used to study systems in the design stage, before such systems are built. Thus, simulation modeling can be used both as an analysis
to for predicting the effect of changes to existing systems, and as a design tool to predict the performance of new systems under varying sets of circumstances. In some instances, a model can be developed which is simple enough to be "solved" by mathematical methods. Such solutions may be found by the use of differential calculus, probability theory, algebraic methods, or other mathematical techniques. The solution usually consists of one or more numerical parameters, which are called measures of performance of the system. However, many real world systems are so complex that models of these systems are virtually impossible to solve mathematically. in these instnaces, numerical, computer based simulation can be used to imitate the behavior of the system over time. From the simulation, data are collected as if a real system were being observed. This simulation generated data is used to estimate the measures of performance of the system. Definition of Simulation :
Ex: in a study of effect of monetary laws on the banking industry, the setting of maximum interest rate that can be paid, could be an activity of the system. The system could be closed or open system. Closed system is a system for which there is no exogeneous activity. Ex: aircraft under the control of auto pilot. Open system is a system in which there is an exogenous activity. Ex : traffic control system using signal lights. Components of A system Entity : An entity is an object of interest in the system. Ex : (i) Airframe, control surface and gyroscope. ii) Departments, parts and products. iii) Customer. Attribute : it is used to denote property of an entity. Ex : (i) speed, control surface angle, gyroscope setting. ii) quantities for each order, type of parts, number of machines in a department, etc. iii) Balance in checking account. Activiity : any process that causes changes in the system will be called an activity. It represents a time period of specified length. Ex : (i) Driving of control surfaces and response of airframe to control surface movements. ii) Manufacturing processes of the departments. iii) Making deposits.
The state of a system : it is the description of all entities, attributes and activities as they exist at one point in time. is defined to be that collection of variables necessary to describe he system at any time, reltive to the objectives of the study. Ex : (iii) the number of busy tellers, the number of customers waiting in line or being served, and the arrival time of the next customer. Discrete and Continuous Systems : Systems can be categorized as discrete or continuous. A discrete system is one in which the state of a discrete system since the state variable, the number of customers in the bank, changes only when a customer arrives or when the service provided a customer is completed. A continuous system is one in which the state variable change continuously over time. An example is the head of water behind a dam. During and for some time after a rainstorm, water flows into the lake behind the dam. Water is drawn from the dam for flood control and to make electricity. Evaporation also decreases the water level. MODEL OF A SYSTEM A model is defined as a representation of a system for the purpose of studying the system. A model by definition, is a simplification of the system. The model should be sufficiently detailed to permit valid conclusions to be drawn about the real system. Different models of the same system will be produced by different analysts interested in different aspects of the system or by the same analyst as his understanding of the system changes. The task of deriving a model of a system may be divided into two tasks.
Dynamic physical models : they rely upon an analogy between the system being studied and some other system of a different nature, the analogy usually depends on underlying similarity in the forces governing the behavior of the system. Consider spring, mass, damper system, in which mass is subjected to an applied force varying with time. Mathematical models : They use symbolic notation and mathematical equation to represent the system. The system attributes are represented by variable and the activities are represented by mathematical functions that inter-relate the variable. Mathematical model could be further classified as static and dynamic mathematical model. A static mathematical model gives the relationship between the system attributes when the system is in equilibrium. If the point of equilibrium is changed by altering any of the attribute values, the model enables the new values for all the attributes to be derived but does not show the way in which they have changed their new values. Ex : in marketing a commodity there is a balance between supply and demand (Q) for the commodity. Both factors depend upon price ; a simplest market model will show what is the price at which balance occurs. Q = a-bP (or) S = c + dP, S=Q ; where Q is quantity, P is price and S is supply. A Dynamic mathematical model allows the changes of system attributes to be derived as a function of time. The derivation will be made with an analytical solution or with a numerical computation, depending upon he complexity of the model. Ex: (i) the equation that was derived to describe the behaviour of a car wheel.
X3+2wx+w2x = w2F (t) => w = 2 IIf Mx3+DxC + Kx=KF (t) Where, x = distance moved ; M=Mass; K=Stiffness of spring ; D = damping fator of the shock absorber. (ii) Static and Dynamic model. A static simulation model, sometimes called a Monte Carlo simulation, represents a system at a particular point in time. Dynamic simulation models represent systems as they change over time. The simulation of a bank from 9.00 AM to 4.00 PM is an example of a dynamic simulation. (iii) Discrete and continuous model. A discrete system is one in which the state of a discrete system since the state variable, the number of customers in the bank, changes only when a customer arrives or when the service provided to a customer is completed. A continuous system is one in which the state variable change continuously over time. An example is the head of water behind a dam. During and for some time after a rainstorm, water flows into the lake behind the dam. Water is drawn from the dam for flood control and to make electriicty. Evaporation also decreases the water level. Stochastic and Deterministic Model. Deterministic models have a known set of inputs, which will result in a unique set of outputs. Deterministic arrivals would occur at a dentist's office if all patients arrived at the scheduled appointment time. A stochastic simulation model has one or more random variables as inputs. Random inputs lead to random outputs. Since the outputs are random, they can be considered only as estimates of the true characteristics of a model. The simulation
It is not possible to provide rules by which mathematical models are built, but a number of guiding principles can be stated. They do not describe distinct steps carried out in building a model. They describe different view point from which to judge the information to be included in the model. (i) Block building - the description of the system should be organized in a series of blocks. The aim in constructing the block is to simplify the specifications of the interactions within the system. Each block describes a part of the system that depends upon a few, preferably one, input varibles and results in a few output variables. The sysem as a whole can then be described in terms of the interactions between the blocks. Correspondingly, the system can be represented graphically as a simple block diagram. Ex : aircraft. ii) Relevance - the model should include those aspects of the system that are relevant to the study objectives. While irrelevant information in the model may not do any harm, it shoiuld be excluded because it increases the complexity of the model and causes more work in solving the model. (iii) Accuracy - the accuracy of the information gatherd for the model should be considered. In the air craft system, for ex. the accuracy is described depending upon the representation of the air frame as a rigid body and derive a very simple relationship between control surface movement and aircraft heading or it may be necessary to recognize the flexibility of the air frame and make allowance for virbations in the structure. An engineer responsible for estimating fuel consumption may be satisfied with simple representation. Another engineer, responsible for considering comfort of passengers needs to consider vibrations and will want detailed description of the air frame. (iv) Aggregation - a further factor to be considered is the extent to which the number of individual entities can be grouped together into larger entites. the general manager of the factory may be satisfied with description that has been given. The production control manager, however, will want to consider the shops of the department as individual entities.
In some studies, it may be necessary to construct artificial entities through the process of aggregation. For ex. an economic or social study will usually treat a population as a number of social classes and conduct a study as tough each social class were a distinct entity. Similar considerations of aggregation should be given to the representation of activities. For ex. in studying a missile defense system, it may not be necessary to include the details of computing a missile trajectory for ech firing. It may be sufficient to represent the outcome of many firings by a probability function. STEPS IN A SIMULATION STUDY : Figure shows a set of steps to guide a model builder in thorough and sound simulation study. It includes :