Explore examples that show how to operations research.
Use SimEvents to model a process such as the boarding of an aircraft. The process consists of multiple activities such as "Disembark", "SecurityCheck", "Refueling" etc. Some activities can be done concurrently, as represented by multiple parallel paths using AND blocks. Some activities are mutually exclusive and these are represented as output paths using OR blocks. Each activity takes up non-zero time. You can use such a model to study various aspects of a process, such as bottlenecks, resource contention, latencies, etc. The model generates a single entity at the start of simulation. This entity represents the control flow in the process. The position of the entity in the model determines which activity is currently running.
Model and optimize the use of shared resources in a system, to identify resource deficiencies and improve capacity planning. The example is based on a batch production process, where production orders are processed only according to the availability of batch reactors. In the example, SimEvents® entities represent both the production orders of the manufacturing process, and the batch reactors that are required to process them. Later in the example, we will find the optimal resource capacities of the system by applying the Genetic Algorithm solver of MATLAB Global Optimization Toolbox.
Conduct automated tests to model a medical device that analyzes biology samples. This example also requires a Stateflow license.
A production system that uses kanbans to manage production activities. Analysis of simulation results highlights problems in the system and suggests ways to improve its performance.
Model a manufacturing plant. The plant consists of an assembly line that processes jobs based on a pre-determined schedule. This example walks you through a workflow for:
Use entity priority to sequence entity departures when multiple entities are available to depart. The example models an airport check-in counter where passengers arrive to be checked in. Passengers can have either First-Class, Business Class, or Economy Class reservations, modeled using entity priority values 1, 2 and 3 respectively.
Model random failures and scheduled maintenance of a machine during regular operation. In the model, the machine can transition between three different states.
Build a simple inventory management system for a retail store. This example includes:
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office
Get trial now