
























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!

























Index
Q.1 What is System? Ans. The term system is derived from the Greek word systems, which means an organised relationship among functioning units or components. “A system may be
defined “as an orderly grouping of interdependent components linked together according to a plan to achieve a specific objective.” The components of a system may be simple or complex, basic or advanced, each component is a part of the total system and has to do its share of work for the system to achieve the intended goal. Q.2 Explain various characteristics of any system? Ans. The various characteristics of any system are described below:- Organisation: Organisation implies structure and order. It is the arrangement of components that helps to achieve objectives. In the design of a business system for example, the hierarchical relationships starting with the president on top and leading downward to the blue-collar workers represents the organisation structure. Such an arrangement portrays a system subsystem relationships, defines the authority structure, species the formal flow of communication and formalizes the chain of command. Interaction: Interaction refers to the manner in which each component functions with other components of the system. In an organisation, for example, purchasing must interact with production, advertising with soles, and payroll with personnel. The interrelationship between these components enables thesystem to perform effectively. Interdependence: Interdependence means that parts of the organisation or computer system depend on one another. They are coordinated and linked together according to a plan. One subsystem depends on the input of another subsystem for proper functioning, that is, the output of one subsystem is the required input for another subsystem. This interdependence is crucial in system work. Integration: It refers to the holism of the systems. Synthesis follows analysis to achieve the central objective. Integration is concerned with how a system is tied together. It is more than sharing a physical part or location. It means that parts of the system work together within the system even though each part performs a unique function.
consideration of all the activities of the organisation and its external environment. Pioneering work in general system theory emphasized that organisations be viewed as total systems. The idea of systems has become most practical and necessary in conceptualisation the interrelationships and integration of operations, especially when using computers. Thus, a system is a way of thinking about organisation and their problems. It also involves a set of techniques that help in solving problems. Q.4 What are the types of Systems? Ans. The various types of systems are given below: Common classifications of systems are:- (1) Physical or abstract. (2) Continuous or discrete. (1) Physical or abstract: Physical systems are tangible entities that may be static or dynamic in operation. For example, the physical parts of the computer centre are the offices, desks & chairs that facilitate operation of the computer. They can be seen and counted; they are static. In contrast, a programmed computer is a dynamic system. Data programme, output and applications change as the users demands or the priority of the information requested changes. Abstract systems a conceptual or non-physical entities. They may be as straight forwulas of relationships among sets of variables or models – the abstract
conceptualisation of physical situations. A model is a representation of a real or a planned system. The use of models makes it easier for the analyst to visualize relationship in the system under study. The objective is to point out the significant elements and the key interrelationships of a complex system. (2) Continuous or discrete: Systems such as the aircraft, in which the changes are predominantly smooth, are called continuous systems. systems, like the factory, in which changes are predominantly discontinuous, will be called discrete systems. Few systems are wholly continuous or
discrete. The aircraft, for example may make discrete adjustments to its trim as altitude changes while in the factoryexamples, machining proceeds continuously, even though the start and finish of a job are discrete changes. However, in most systems one type of change predominates, so that systems can usually be classified as being continuous or discrete.
System Simulation & Modeling
Think-Tank Q.1 What is System Dynamics? Ans. System Dynamics is a methodology for studying and managing complex feed back system, such as our finds in business and other social system. Infact it has been used to address practically every sort of feedback system. While the word “System” has been applied to all sort of situation. Feed back is the differentiating description here. Feedback refers to the situation of X affecting Y and Y in twin affecting X perhaps through a chain of causes and effects. One cannot study the link X and Y and, independently, the link between Y and X predict how the system will behave. Only the study of the whole system as a feedback system will lead to correct results. Q.2 What are the steps of System dynamics methodology. Ans. Following are the steps of system Dynamics metholdogy. (1) Identifies a problem. (2) Develops a dynamics hypothesis, explaining the cause of the problem. (3) Builds a computer simulation model of the system at the root of the problem. (4) Tests the model to be certain that it reproduces the behaviour seen in the real world. (5) Devices and tests in the model alternative policies that alleviate the problems. (6) Implements this solution. Q.3 Role of casual loop Diagrams in system Dynamics. Ans. (1) Casual loop diagram are useful tools. (2) CLD’s help to discuss a situation. Different view points can be clarified and checked more easily.
However, if the positive definition had been applied to another positive influence in the loop fig. (1), an inconsistency would have appeared. Consider the link from migration to population. The definition claims that a change in migration will produce a change in population in the same direction, yet a decrease in migration will not produce a decrease in population unless migration becomes negative, drawing people of the city. As long as migration is positive, it will always increase the population of the community, whether migration itself is increasing or decreasing. Furthermore, it is not even always true that an increase in migration produces an increase in population in the previous fig. Suppose available jobs per capita is low that the community is not attractive and people are migrating out of the city. In such a case the negative migrating is always decrease the population of the community, whether migration itself is increasing or decreasing.
Thus it can not be said with any certainty that a change in migration in the figure will produce a change in population in same direction. Part of the problem here is that migration can be interpreted to represent a net rate, but the real difficulty is much more ubiquitous. The traditional definition of positive and negative links in casual loop fail for at least one link in most casual loop diagrams system dynamics might draw. In the simple positive loop involving population and births per year, the link from births to population fails the traditional definition: a decrease in birth per year will not result in a decrease in population, since birth can only increase a population. Q.4 Explain the Enter Integration Algorithm. Ans. This Algorithm assumes that you have a value of a variable, X(t), a state equation that allows you to compute dx/dt, and that you want to compute X (t + ?t). The algorithm is simple. Here it is X (t + ?t) ˜ = X(t) + ?t * (dx/dt) / t
The algorithm is applied repetitively to compute a solution for the state at equally spaced intervals of time. The time interval are ?t apart. Implementing the Enter Algorithm in ‘C’? Here is a C program that you can use to do simulation using the Enter integration algorithm.
/ Variables defined here are global.?/ Float X[11], Xdot [11]; / ‘ Define states and state derivatives */ Float t^1 dt; / * Time and integration interval global / Int n state; / Number of states and state equation / 1- State Equation - 1 State - equn (void) { Float Tau = 1.0, Input = 1.0, Gdc = 1.0; Xdot [O] = - X[O] / Tau + (Gdc/Tau) * Input; Return; } / Enter Integration Algorithms - */ Void enter (Void) {
int count = O; State_ eqns ( ); While (Count < n state) i X [Count] = X [Count] + dt * x dot [Count]; Count = Count + 1; } t = t + dt; return; } ? * * * * * * * * * - * / int main (Void) { int index, iterations; float Tmax; / * Dater Input section - * / Print f (“Input data for simulation \n”); Print f (“\n”); Print f (“Input the total time for your simulation \n”); Scan f (“ % f”, & Tmax); Printf (“Input the sample time for your simulation.\n”); Scanf (“%f”, & dt);
(4) Dynamic model- A Dynamic model is representation, which is influenced by time. The State of the model evolves over simulated seconds, houses, days and months. Manufacturing and many service system are generally modeled using a dynamic approach. (5) Warm-up-period – A warm up period is the amount of time that themodel needs to run to remove the initialization bias before statistical data collection begins. The length of the period is dependent upon the type of model being used. Warm up periods for
study state simulation can be found through experimentation with moving averages and other techniques. (6) Model Run – A model run involves operating a simulation for a specified period of time with a unique set of random values. The simulation run length is the amount of time simulated during the model run. (7) Independent Model Replication – An independent model Replication entails operating the same model for the same period of time with one or more random seed values. Multiple model replications are essential when analyzing results. Q.5 Write Manfacturing Terminology. Ans. (1) Pull System – In a pull system everything is focused on the next stage of production and what is needed there (Customer order Driven). That what is needed in the next stage of production is produced. The explanation of the name Pull System is:- Raw materials and parts are pulled from the back of the factory towards the front where they become finished goods. So in a pull system the idol of producing at the same rate as customers are using the products is being realized. (2) Push System – In a push system the emphasis lies on using information about customers, suppliers and production to manage material flow. The name push system result from the way the system works:- Materials and parts are
made and after that they are send to the place where they are needed next (Which is another stage in production or inventory), thus the system is pushing material through production. Q.6 What are Promodel Terminology? Ans. (1) Entities – Entities are items processed through the system. They may represent parts, people, and paper work or almost anything that require system resources. Each entity may have different graphic icons to represent it in different states of processing or at various points in the system. (2) Locations – Locations are fixed points through which entities move. These points may be anywhere that an entity is processed. They can also be quewing areas, storage location or conveyors, capacity, defined as the numbers of entities that can be at a location at one time. (3) Processing – Processing logic defines the operations performed and onward routing for each entity type at each location in the system.
Processing is defined for each type of quantity of each location where it either undergoes some action or simply awaits access to a subsequent location. (4) Arrivals – Arrivals are introduction of entities into the system. An arrival location is specified, as is a quantity or batch size for each entity type. Resources – Resources are an individual person, piece of equipment or transporter that is required to perform some action, but is not a location as described above. In many cases a resource will be shared among several location and must move along a predetermined path network. Shifts – Shifts are schedules that may be assigned to resources and locations. Hours of work are defined graphically and any breaks in the shift can also be specified. Attributes – Attributes is very similar to the variables, but is unique to specific location or entity. Attributes are used to capture information as an entity travels through the model.
In cases where we want to avoid a global time scale J since went rates change during the recording. We use a local definition Tij for each event pair (ij). More precisely, we define …………................ – (4) * We then define Jij as in eq. (2) with J replaced by Tij, and (Cx/y) as in Eq. (1) with Tij replaced by Tij. The factore ½ in the definition of Tij avoids double counting if e.g. two events in X are close to the same event in y. of course, one could also make other choice, e.g. by taking Tij smaller than in eqn (4) or by using Tij = min {T, Tij}. As in the definition of events, an optimal choice of J depends on the problem. Q.9 Explain Queue Management. Ans. It is important to avoid high packet loss rates in the internet. Whena Packet is dropped before it reaches its destination all of the resource it has consumed in transit are wasted. In extreme cases this situation can lead to congestion collapse improving the congestion control and queue management algorithm in the internet has been one of the most active areas of research in the past few year while a number of proposed enhancements have made their way into actual implementations connections still experience high packet loss rates. Loss rates are especially high during time of heavy congestion when a large number of connections compete for scarce network band width. Recent measurements have shown that the growing demand for network bandwidth has driven loss rates up across various links in the internet. In order to stem the increasing packet loss rates up across various links in the internet. In order to stem the increasing Packet loss rates caused by an exponential increase in network traffice the LETF is considering the deployment of explicit congestion notification along with active queue management techniques such as RED while ECN is necessary for eliminating Packet loss in the internet we show that RED even when used in conjunction with ECN is ineffective in preventing packet loss. The basic idea behind
RED queue management is to detict incipient congestion early and to convey congestion notification to the end-hosts allowing them to reduce their transmission rates before queue in the network overflow and packets are dropped to do this RED maintains an exponential weighted moving average of the queue length which it uses to
detect congestion when the average queue length exceeds a minimum threshold. Packets are randomly dropped or marked with an explicit congestion notification bit when the average queue length exceeds a maximum threshold all Packets and dropped or marked. While RED is certainly an improvement over traditional drop-tail queens, it has several shortcomings. One of the fundamental problem with RED and other active queue management techniques is that they rely on queue length as an estimator of congestion. While the presence of a persistent queue indicates congestion, its length gives very little information as to the severity of congestion, that is, the number of competing connections sharing the link. In a busy period, a single source transmitting at a rate greater than the bottleneck link capacity can cause a queue to build up just as easily as a large number of sources can from well known results in queuing theory, it is only when packet inter arrivals have a passion distribution that queue length directly relate to the number of active sources and thus the true level of congestion. Unfortunately, packet interarrival times across network links are decidedly non-passion.
Q.2 What is table function. Ans. A table function is a function defined in the table form. You may need table function to define a complex non-linear relationship which cannot be described as a composition of standard function, or to bring experimental data defined as a table function to a continuous mode. Table function works in the following way: The user defines a function by giving a
will also compile and sometimes supply, routines to represent the activities. Routines are supplied to carry out such functions as scanning events, updating the clock,
gathering statistics, and maintaining events in the time and priority sequence. These are needed to effect the simulation algorithm. Most programs also provide a report generator. There is, however, a great variety in both the world-views of the languages and the degree to which the programming system relievers the user of Programming details. It is not feasible to discuss all the simulation languages that are available. Instead, the discussion will be limited to two languages, GPSS and SIMSCRIPT. The reasons for choosing these two specific languages are that they are among the most widely used languages, and they illustrate the divergence in design consideration. GPSS has been written specifically for users with little or no programming experience, while SIMSCRIPT, along with many other simulation languages, legmieus programming skill to the level where the user is able to program in FORTRAN or ALGOL. The simplifications of GPSS result in some loss of flexibility; so that, while SIMSCRIPT requires more programming skills, it is capable to representing more complex data structures and can execute more complex decisions rules. Both GPSS and SIMSCRIPT appear to be general enough to be equally applicable to a wide variety of systems. The differences are summed up by saying that the greater programming flexibility of SIMSCRIPT means that in more complex models, SIMSCRIPT is able to produce a more compact model that requires less storage space and, generally, will be executed more rapidly. Q.4 Give General Description of GPSS. Ans. The system to be simulated in GPSS is described as a block diagram in which the
block represents the activities, and lines joining the block indicateshe sequence in which the activities can be executed. The use of block diagrams to describe system is of course very familiar. However, the form taken by a block diagram description usually depends upon the person drawing the block diagram. To base a programming language on this descriptive method each block must be given a precise meaning. The approach taken in GPSS is to define a set of 48 specific block types, each of which represents a characteristic action of system. Each block type is given a name that descriptive of the block action and is represented by a particular symbol. Moving through the system being simulated are entities that depend upon the nature of the system. For example, a communication system is concerned with the movement of messages, a road transportation system with motor vehicles, a data processing system with records, and so on. In the simulation, these entities are called “transaction”. The sequence of events in real time is reflected in the movement of transaction from block to block in simulated time.
Q.5 Give brief introduction of continuous Simulation language. Ans. Confining digital computer to routines that represent just the function of an analog or a hybrid computer as is done with a digital-analog simulator, is clearly restriction. To remove the restriction, a number of continuous system simulation languages (abbreviated to CSSLS) have been developed. They use the familiar statement type of input for digital computers, allowing a problem to be programmed directly from the equations of a mathematical model, rather than requiring the equation to be broken into functional elements. Of course a CSSL can easily include macros, or sub routines, that perform the function of specific analog elements, so that it is possible to incorporate the convenience of a digitial-analog simulator. Infact, most implementations of a CSSL, in
(a) Probability of (n + 1) units in the given at time t = Pn+1 (t) (b) There is no arrival in time ?t = Po (?t) = 1 - ….?t (c) There is one service in time ?t = u?t is given by Pn+1 (t) (1-…u?t) (u?t)
= Pn+1 (t) u ?t + O^3 (?t) – (3) Diagram So adding eqn (1), (2) and (3) so the probability of n units in the system at time t + ?t Pn (t+ ?t) = Pn (+) [1-(…+u) ?t] + Pn-1 (t) …?t + Pn+1 (t) u ?t + O (?t) – (4) Where O(?t) = O^1 (?t) + O^2 (?t) + O^3 (?t) When n = O i.e. there is no unit in the given at t + ?t (i) Probability [that there is no unit in the system at time t and no arrival in time ?t] = Po (t) [1-….?t) Diagram (ii) Probability [that there is one unit in the system at time t, one unit served in ?t and no arrival in ?t] = P^1 (t) u ?t(1-…?t) ˜ P^1 (t) u?t + O(?t) The probability of no unit in the system at time t + ?t Po (t + ?t) = Po (t) [1-…?t] + P^1 (t) u?t + O (?t) – (5) From equn (4) …………………. = - Pn (t) […+u] + …Pn-1 (t) + uPn+1 (t) + O (?t) Now taking unit ?t? O, we get ………………… = ……………. – (6) From eqn (5) ………………….. taking limit ?t? O, we get ……………….. (7) Equation (6) and (7) are differential equations of this model. Since is steady state ……………….. Similarly ………….. So from equn (6) and eqn (7), we get – O = - (… + u) Pn (t) + ….Pn-1 (t) + uPn+1 (t), n > O – (8) and O = - …. Po (t) + u P^1 (t), n = O – (9) So eqn (8) and (9) are called system of steady state differential equations.
(2) Solution of System of Steady state differential equations Let Po = Po (fixed) – (10) From eqn (9) …………….. (11)
Put n = 1in eqn (8) O = - (… + u) P 1 (t) + … Po (t) + u P^2 (t) ……………………….. Similarly put n = 3 in eqn (8), we get ……………… Since ……………. = Po (t) + P^1 (t) + P^2 (t)…….. + Pn(t) = 1 ……………………. From equn (12) ………………… Since ……………….. Pn(t) = (1-P)Pn^ , n = O (2) In a railway marshalling yard, good trains arrive at a rate of 30 trains per day. Assuming that the inter-arrival time, follows an exponential distribution and the service time distribution is also exponential with an average 36 minutes. Calculate the following:- (1) The average no. of trains in the queue. (2) The probability that the queue size exceeds 10. If the input of trains increases to an average 33 per day, what will be change in (i) and (ii). Soln. Here…………… = trains/minutes …………………… (i) Average no. of trains in the queue ……………….. = 3 trains (ii) Probability [queue size = 10] = P^10 = (0.75) 10
= (0.06) When the input of trains increase to 33 trains per day …………………….. (i) Average no. of units in the queue = …………………. = …………… = 5 trains (ii) Probability [queue size = 10] = P^10 = (0.84) 10 = 0.2 (approximately) (3) Prove that if the arrivals are completely random then the probability distribution