Discrete rate simulation

Last updated

In the field of simulation, a discrete rate simulation models the behavior of mixed discrete and continuous systems. This methodology is used to simulate linear continuous systems, hybrid continuous and discrete-event systems, and any other system that involves the rate-based movement or flow of material from one location to another. [1]

Contents

Areas of application

Industrial areas where discrete rate simulation is used include:

Compared to discrete-event and continuous simulation

Discrete rate simulation combines the event-based timing of discrete event simulation and the continuous variables calculations found in continuous simulation. It predicts and schedules events when the system needs to calculate a new set of rates and determines the appropriate rate of flow for each branch or stream.

A comparison between discrete rate, continuous, and discrete event simulation A comparison between discrete rate, continuous, and discrete event simulation.gif
A comparison between discrete rate, continuous, and discrete event simulation

Discrete rate simulation is similar to discrete event simulation in that both methodologies model the operation of the system as a discrete sequence of events in time. However, while discrete event simulation assumes there is no change in the system between consecutive events, in a discrete rate simulation model the flow continues to move at a constant rate such that, for example, the level in a tank could change. Another difference is that discrete event simulation models are overwhelmingly concerned with the status of system entities (discrete objects moving through the system) while discrete rate simulation models are concerned with the status (quantity and location) of homogeneous flow. For rate-based systems, discrete rate simulation has faster computational times and is more accurate in calculating mass balance compared to discrete event simulation.

Discrete rate simulation is also similar to continuous simulation in that it simulates homogeneous flow. In addition, both methods recalculate flow rates, which are continuous variables, whenever a state change occurs. However, discrete rate simulation S differs from continuous simulation in that it is event-based and does not simulate every time slice. Modeling linear flow systems using continuous simulation has limitations because it usually is unable to detect important events, such as a tank becoming full or empty, until after the event has occurred plus requires many more system recalculations during the course of the simulation. [4]

Example

An exercise in learning how to build discrete-rate simulations is to model a tank filling and emptying over time. The tank fills at a constant rate and empties at two different rates, one rate until it is full and a faster rate until it is empty. There are 4 types of events in the simulation: start simulation, storage full, storage empty, and end simulation. At each event the model determines which emptying rate to use; between events the emptying rate remains constant.

Related Research Articles

Computational fluid dynamics Analysis and solving of problems that involve fluid flows

Computational fluid dynamics (CFD) is a branch of fluid mechanics that uses numerical analysis and data structures to analyze and solve problems that involve fluid flows. Computers are used to perform the calculations required to simulate the free-stream flow of the fluid, and the interaction of the fluid with surfaces defined by boundary conditions. With high-speed supercomputers, better solutions can be achieved, and are often required to solve the largest and most complex problems. Ongoing research yields software that improves the accuracy and speed of complex simulation scenarios such as transonic or turbulent flows. Initial validation of such software is typically performed using experimental apparatus such as wind tunnels. In addition, previously performed analytical or empirical analysis of a particular problem can be used for comparison. A final validation is often performed using full-scale testing, such as flight tests.

An industrial process control in continuous production processes is a discipline that uses industrial control systems to achieve a production level of consistency, economy and safety which could not be achieved purely by human manual control. It is implemented widely in industries such as automotive, mining, dredging, oil refining, pulp and paper manufacturing, chemical processing and power generating plants.

Mathematical and theoretical biology Branch of biology

Mathematical and theoretical biology, or biomathematics, is a branch of biology which employs theoretical analysis, mathematical models and abstractions of the living organisms to investigate the principles that govern the structure, development and behavior of the systems, as opposed to experimental biology which deals with the conduction of experiments to prove and validate the scientific theories. The field is sometimes called mathematical biology or biomathematics to stress the mathematical side, or theoretical biology to stress the biological side. Theoretical biology focuses more on the development of theoretical principles for biology while mathematical biology focuses on the use of mathematical tools to study biological systems, even though the two terms are sometimes interchanged.

In systems theory, a system or a process is in a steady state if the variables which define the behavior of the system or the process are unchanging in time. In continuous time, this means that for those properties p of the system, the partial derivative with respect to time is zero and remains so:

Network traffic simulation is a process used in telecommunications engineering to measure the efficiency of a communications network.

Plug flow reactor model

The plug flow reactor model is a model used to describe chemical reactions in continuous, flowing systems of cylindrical geometry. The PFR model is used to predict the behavior of chemical reactors of such design, so that key reactor variables, such as the dimensions of the reactor, can be estimated.

The United States Environmental Protection Agency (EPA) Storm Water Management Model (SWMM) is a dynamic rainfall–runoff–subsurface runoff simulation model used for single-event to long-term (continuous) simulation of the surface/subsurface hydrology quantity and quality from primarily urban/suburban areas. It can simulate the Rainfall- runoff, runoff, evaporation, infiltration and groundwater connection for roots, streets, grassed areas, rain gardens and ditches and pipes, for example. The hydrology component of SWMM operates on a collection of subcatchment areas divided into impervious and pervious areas with and without depression storage to predict runoff and pollutant loads from precipitation, evaporation and infiltration losses from each of the subcatchment. Besides, low impact development (LID) and best management practice areas on the subcatchment can be modeled to reduce the impervious and pervious runoff. The routing or hydraulics section of SWMM transports this water and possible associated water quality constituents through a system of closed pipes, open channels, storage/treatment devices, ponds, storages, pumps, orifices, weirs, outlets, outfalls and other regulators.

A discrete-event simulation (DES) models the operation of a system as a (discrete) sequence of events in time. Each event occurs at a particular instant in time and marks a change of state in the system. Between consecutive events, no change in the system is assumed to occur; thus the simulation time can directly jump to the occurrence time of the next event, which is called next-event time progression.

A stochastic simulation is a simulation of a system that has variables that can change stochastically (randomly) with individual probabilities.

Simulation software is based on the process of modeling a real phenomenon with a set of mathematical formulas. It is, essentially, a program that allows the user to observe an operation through simulation without actually performing that operation. Simulation software is used widely to design equipment so that the final product will be as close to design specs as possible without expensive in process modification. Simulation software with real-time response is often used in gaming, but it also has important industrial applications. When the penalty for improper operation is costly, such as airplane pilots, nuclear power plant operators, or chemical plant operators, a mock up of the actual control panel is connected to a real-time simulation of the physical response, giving valuable training experience without fear of a disastrous outcome.

Dynamic simulation is the use of a computer program to model the time-varying behavior of a dynamical system. The systems are typically described by ordinary differential equations or partial differential equations. A simulation run solves the state-equation system to find the behavior of the state variables over a specified period of time. The equation is solved through numerical integration methods to produce the transient behavior of the state variables. Simulation of dynamic systems predicts the values of model-system state variables, as they are determined by the past state values. This relationship is found by creating a model of the system.

Model-based design (MBD) is a mathematical and visual method of addressing problems associated with designing complex control, signal processing and communication systems. It is used in many motion control, industrial equipment, aerospace, and automotive applications. Model-based design is a methodology applied in designing embedded software.

SIMUL8 simulation software is a product of the SIMUL8 Corporation used for simulating systems that involve processing of discrete entities at discrete times. This program is a tool for planning, design, optimization and reengineering of real production, manufacturing, logistic or service provision systems. SIMUL8 allows its user to create a computer model, which takes into account real life constraints, capacities, failure rates, shift patterns, and other factors affecting the total performance and efficiency of production. Through this model it is possible to test real scenarios in a virtual environment, for example simulate planned function and load of the system, change parameters affecting system performance, carry out extreme-load tests, verify by experiments the proposed solutions and select the optimal solution. A common feature of problems solved in SIMUL8 is that they are concerned with cost, time and inventory.

Continuous Simulation refers to simulation approaches where a system is modeled with the help of variables that change continuously according to a set of differential equations.

Traffic simulation

Traffic simulation or the simulation of transportation systems is the mathematical modeling of transportation systems through the application of computer software to better help plan, design, and operate transportation systems. Simulation of transportation systems started over forty years ago, and is an important area of discipline in traffic engineering and transportation planning today. Various national and local transportation agencies, academic institutions and consulting firms use simulation to aid in their management of transportation networks.

MLDesigner is an integrated modeling and simulation tool for the design and analysis of complex embedded and networked systems. MLDesigner speeds up modeling, simulation and analysis of discrete event, discrete time and continuous time systems concerning architecture, function and performance. The tools is based on ideas of the "Ptolemy Project", done at the University if California Berkeley. MLDesigner is developed by MLDesign Technologies Inc. Palo Alto, CA, USA in collaboration with Mission Level Design GmbH, Ilmenau, Germany.

ExtendSim is a simulation program for modeling discrete event, continuous, agent-based, discrete rate, and mixed-mode processes. There are three ExtendSim packages: CP for continuous processes; DE which adds discrete event technology; and Pro which adds discrete rate and reliability block diagramming modules.

Microscale and macroscale models Classes of computational models

Microscale models form a broad class of computational models that simulate fine-scale details, in contrast with macroscale models, which amalgamate details into select categories. Microscale and macroscale models can be used together to understand different aspects of the same problem.

SystemC AMS is an extension to SystemC for analog, mixed-signal and RF functionality. The SystemC AMS 2.0 standard was released on April 6, 2016 as IEEE Std 1666.1-2016.

References

  1. "Discrete Rate Simulation Using Linear Programming" (PDF). Retrieved 2014-03-11.
  2. "Simulation of Bulk Flow and High Speed Operations" (PDF). Retrieved 2014-03-11.
  3. "Simulation of Mixed Discrete and Continuous Systems: an Iron Ore Example" (PDF). Retrieved 2014-03-11.
  4. "ExtendSim Advanced Technology: Discrete Rate Simulation" (PDF). Retrieved 2014-03-11.