# Discrete Events

## Models Illustrating the Use of Discrete Event Modeling Features and Capabilities

All the models assigned to the selected category are listed below.

You can filter the list by entering keywords or phrases into the search field:

• #### Moving Discrete Items

This simple model illustrates how to move discrete items from one state to another.

• #### Number of Days Which Failure Occurs

This model counts the number of days in which some failure occurs. A failure event is defined as a reservoir overflow occurrence for any duration within a single day.

Examples show how to delay a trigger until multiple other triggers have fired and also the difference between precedence and required conditions.

• #### Delay Discrete Change with Vector Times

Delay a discrete change with a vector of delay times using a Reservoir and Information Delay. The reason this is needed is because the Discrete Change Delay does not allow non-scalar delay definitions.

• #### Simulating an ATM Queue using Resources

This is a simulation for an ATM machine installed at an event location, where there are frequent customer visits

• #### Population Growth Aging Chain

Example model illustrating population dynamics modeling with Discrete Change elements and Integrator arrays

• #### Probability of Buying a Bike

Tutorial model that calculates the probability that Jason can buy a bike given his income and spending

• #### Trucking Shipments

This example combines both continuous and discrete dynamics to model the transport of a material by truck to a dock where the material is loaded onto ships.

• #### Managing a Bank Queue

This is a simple discrete events model of the number of tellers and the size of a queue of customers at a bank.

• #### Start and End Value Difference

This model computes the difference between the initial value of a variable (at the beginning of a simulation) and the final value of the variable (at the end of the simulation).

• #### Widget Processor Model

In this simple model, widgets are processed at a warehouse for 30 days. The widgets arrive at a rate of about once every two hours. It takes a certain amount of time (1.8 hrs) to process each widget and ship it out, and only one widget can be processed at a time.

• #### On - Off Reservoir Discharge

This model demonstrates the use of a Status element to control discharges from a reservoir.

• #### Ships with Containers

This model simulates ships entering the harbor where each ship carries a random number of containers.

• #### Acute Infection Model

These two models (continuous and discrete) simulate the spread of an acute infection through a population

• #### Aging Chain

Simulate an aging chain using various methods to keep track of the age structure of a stock of material or items.

• #### FDA Approval Process

This model simulates the process of obtaining FDA approval for a new drug.

• #### Simulating Failure Risk of a Pump Station

Use the Reliability Module of GoldSim to calculate the failure modes of various components of a pumping station and water delivery system.

• #### Discrete Model for Manufacturing

This model describes a manufacturing process with the following stages: (1) casting, (2) pre-finish, (3) ‘solution oven’ heat treatment, (4) ‘aging oven’ heat treatment and (5) a finishing process.