Docsity

SIMULATION AND DECSREATE, Exercises of Artificial Intelligence

Toggle sidebar
bg1
Simulation Modeling & Analysis
Introduction to Simulation Page 1
INRODUCTION TO SIMULATION
SIMULATION :
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
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b

Partial preview of the text

Download SIMULATION AND DECSREATE and more Exercises Artificial Intelligence in PDF only on Docsity!

INRODUCTION TO SIMULATION

SIMULATION :

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 :

  • Simulation is a representation of reality through the use of a model or other device which will react in the same manner as reality under a given set of conditions.
  • Simulation is the use of system model that has the designed characteristics of reality in order to produce the essence of actual operation.
  • According to Donald G. Malcolm, a simulation model may be defined as "one which depicts the working of a large scale system of men, machines, materials and information operating over a period of time in a simulated environment of the actual real world conditions".
  • According to T H Taylor et al., (1966), simulation is a numercial technique for conducting experiments on a digital computer, which involves certain types of mathematical and logical relationships necessary to describe the behaviour and structure of a complex real-world system over extended periods of time.
  1. The model system (factory, water fabrication plant, service organization, etc) is so complex that the interactions can be treated only through simulation. Advantages of Simulation:
  2. New policies, operating procedures, decision rules, information flows, organizational procedures, and so on can be explored without disrupting ongoing operations of the real system.
  3. New hardware designs layouts, transportation systems, and so on can be tested without committing resources for their acquisition.
  4. Hypotheses about how or why certain phenomena occur can be tested for feasibility.
  5. Time can be compressed or expanded allowing for a speed up or slow down of the phenomena under investigation.
  6. Insight can be obtained about the interaction of variables.
  7. Insight can be obtained about the importance of variables on the performance of the system.
  8. Bottleneck analysis can be performed indicating where work in process, information, materials, and so on is being excessively delayed.
  9. A simulation study can help in understanding how the system operates rather than how individuals think the system operates.
  10. "What if " questions can be answered? This is particularly useful in the design of new systems.
  11. Simulation models are comparatively flexible an can be modified to adjust the variation in the environments of real situations.
  12. The simulation is an easier technique to use than mathematical models and thus, considered quite superior to the mathematical analysis.
  1. It is always advantageous to train the people on simulated models before putting into their hands the costly real system. Disadvantages of Simulations :
  2. Model building requires special training: It is an art that is learned overtime and through experience. Furthermore, if two models are constructed by two competent inviduals, they may have similarities, but it is highly unlikely that they will be the same.
  3. Simulation results may be difficult to interpret : Since most simulation outputs are essentially random variables, it may be hard to determine whether an observation is a result of system interrelationships or randomness.
  4. Simulation modeling and analysis can be time consuming and expensive.
  5. Simulation is used in some cases when an analytical solution is possible, or even preferable.
  6. Simulation si not precise : it is not optimization process and does not yield an answer but merely provides a set of the system's responses to different operating conditions.
  7. Simulation generates a way of evaluating solutions but does not generate the solution techniques users must still generate the solution approaches they want to test. In defense of simulation, the first four disadvantages, respectively, can be offset as follows ;
  8. Vendors of simulation software have been actively developing packages that contain models that only need input data for their operation. Such models have the generic tag "simulators" or "templates".
  9. Many simulation software vendors have developed output analysis capabilities within their packages for performing very thorough analysis.
  • The corrupting influence of variability.
  • A new lot-release rule for wafer fabs.
  • Assessment of potential gains in productivity due to proactive reticle management.
  • Comparison of a 200mm and 300 mm x-ray lithography cell.
  • Capacity planning with time constraints between operations.
  • 300 mm logistic system risk reduction.
  • material handling system design for semiconductor manufacturing.
  • Interoperability for spares inventory planning.
  • Aircraft assembly operations.
  • Agile control of aerospace manufacturing
  • Spatial representation and autonomy in material handling systems.
  • Distributed model for Computer Integrated Manufacturing.
  • Agent based flexible routing manufacturing control system
  • Tool shared Flexible Manufacturing System.
  • Rapid manufacturing
  • Order release planning in a job shop
  • Finite capacity scheduling system
  • Inventory cost model for "just-in-time" production.
  • Inventory tracking of a Kanban production system
  • Strain of manual work in manufacturing systems
  • Traditional versus activity-based costing in product mix decisions
  1. Construction systems
  • Construction of a dam embankment
  • Trench less renewal of underground urban infrastructures activity scheduling and a dynamic, multi-project setting.
  • Investigation of a structural steel erection process special-purpose template for utility tunnel construction.
  • Applications in earthmoving / strip mining.
  • Cable-stayed bridges.
  • Strengthening the design / construction interface
  • Advanced project planning paradigm.
  1. Health Care
  • Prediction of pharmaceutical costs and outcomes
  • Cement less hip replacement.
  • Reducing the length of stay in emergency departments.
  1. Military applications.
  • Modeling leadership effects and recruit type in an army recruiting station.
  • Design and test of an intelligent controller for autonomous underwater vehicles.
  • Modeling military requirements for non-war fighting operations.
  • Multi trajectory performance for varying scenario sizes.
  • Using adaptive agents in U.S. air force pilot retention.
  • Logistics issues in autonomous food production systems for extended duration space exploration.
  • Sizing industrial rail-care fleets.
  • Product distribution in the newspaper industry.
  • Design of a tool plaza
  • Choosing between rental car locations
  • Quick-response replenishment.
  1. Cargo transfer and personnel launch system.
    • Container port operations
    • Demand based toll plaza lane staffing.
  2. Restaurant and entertainment systems
    • Quick service restaurant traffic analysis
    • Determination of labor requirements
    • Opportunities in amusement parks.
  3. Business process Reengineering
    • Integrating business process reengineering with image-based work flow.
    • Business process modeling and analysis tool.
  4. Food processing
    • Trawler operations in the fish processing industry
    • Capacity expansion for the pistachio hauling process.
    • Evaluating international competitiveness in boiler production.
  1. Computer system performance
    • Heterogeneous networks
    • Evaluating large-scale computer system performance
    • Client / server system architecture. System : A system is defined as a group of objects that are joined together in some regular interaction or interdependence toward the accomplishment of some purpose. A system is defined to be collection of entities that act and interact together toward the accomplishment of some logical end. A system is defined as an aggregation or assemblage of objects joined in some regular interaction or interdependence. Ex (1) : Consider an aircraft flying under the control of an autopilot. A gyroscope in the autopilot detects the difference between the actual heading and the desired heading. It sends a signal to move the cnotrol surfaces in response to control surface movement ; the air-frame steers, towards the desired heading. Desired Heading Gyroscope Control Surfaces Air Frame Actual Heading. Fig : An aircraft under autopilot control Ex (2) : consider a factory system that makes and assembles parts into a product. Two major components of the system are the fabrication department making parts and the assembly department producing the product. A purchasing department maintains supply of raw materials and shipping department dispatches the finishe dproducts. A production control department receives orders and assigns work to other department.

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 :

  1. Problem formulation
  2. Setting of objectives and overall project plan
  3. Model conceptualization
  4. Data collection
  5. Model translation
  6. Verified?
  7. Validated?
  8. Experimental design
  9. Production runs and analysis
  10. More runs
  11. Documentation and reporting
  12. Implementation.