Presentation is loading. Please wait.

Presentation is loading. Please wait.

Eastern Mediterranean University Department of Industrial Engineering IENG461 Modeling and Simulation Systems Computer Lab 2 nd session ARENA (Input Analysis)

Similar presentations


Presentation on theme: "Eastern Mediterranean University Department of Industrial Engineering IENG461 Modeling and Simulation Systems Computer Lab 2 nd session ARENA (Input Analysis)"— Presentation transcript:

1 Eastern Mediterranean University Department of Industrial Engineering IENG461 Modeling and Simulation Systems Computer Lab 2 nd session ARENA (Input Analysis) Prepared by: Sam Mosallaeipour

2 DATA COLLECTIN ACTIVITIES Consider modeling a painting workstation where jobs arrive at random, wait in a buffer until the sprayer is available, and having been sprayed, leave the workstation. Suppose that the spray nozzle can get clogged— an event that results a stoppage during which the nozzle is cleaned replaced. in or

3 SIMULATION MODELING Suppose that you are asked to simulate this painting workstation. List the required data to estimate the expected job delay in the buffer for this simple system

4 DATA COLLECTION Collection of job interarrival times. – Clock times are recorded on job arrivals and consecutive differences are computed to form the requisite sequence of job interarrival times. If jobs arrive in batches, then the batch sizes per arrival event need to be recorded too. If jobs have sufficiently different arrival characteristics (depending on their type), then the analyst should partition the total arrival stream into substreams of different types, and data collection (of interarrival times and batch sizes) should be carried out separately for each type. – –

5 DATA COLLECTION Collection of painting times. – The processing time is the time it takes to spray a job. Since nozzle cleaning or replacement is modeled separately (see later), the painting time should exclude any downtime.

6 DATA COLLECTION Collection of times between nozzle clogging. – This random process is also known as time to failure. Observe that the nozzle clogging process takes place only during painting periods, and is suspended while the system is idle. Thus, the observations of the effective time to failure should be computed as the time interval between two successive nozzle cloggings minus the total idle time in that interval (if any). –

7 DATA COLLECTION Collection of nozzle cleaning/replacement times. – This random process is also known as downtime or repair time. – Observations should be computed as the time interval from failure (stoppage) onset to the time the cleaning/replacement operation is complete.

8 DATA COLLECTION Suppose we collected the following sample data for repair times (nozzle cleaning/replacement times for painting station given above) and recorded them in a file named as “repair.txt”:

9 SAMPLE DATA FORREPAIR TIMES 12.9 20.9 30.0 17.0 11.0 10.3 10.9 21.0 22.8 10.8 20.5 22.2 14.3 13.3 28.6 19.4 18.9 16.7 12.7 19.5 27.7 26.6 27.4 21.7 27.5 18.0 27.0 21.3 25.9 10.3 19.4 25.5 29.9 24.0 26.9 27.4 11.9 28.5 18.1 11.9 13.5 29.1 18.8 13.7 22.5 11.5 24.2 23.1 22.4 15.1 10.9 17.2 17.8 29.7 20.7 22.5 13.2 19.9 15.0 22.9 13.7 22.4 25.3 15.5 27.1 14.1 25.6 15.8 13.8 19.0 24.1 10.9 19.8 18.1 22.0 28.3 10.9 18.5 21.0 23.2 22.2 10.7 15.0 23.2 25.2 24.0 22.4 13.2 16.6 27.9 10.9 15.6 17.6 28.4 16.8 27.1 22.1 16.5 25.7 18.9 Save as “repair.txt”than changefile extensionas“.dst”

10 CHI-SQUARE TEST for Uniform Distribution (Repair Data) Cell numberCell Interval# of ObservationsRelative Frequency Theoretical Probability Why ? 1 2 3 4 5 6 7 8 9 10 [10,12) [12,14) [14,16) [16,18) [18,20) [20,22) [22,24) [24,26) [26,28) [28,30) 139891281310108139891281310108 0.130.090.080.090.120.080.130.100.100.080.130.090.080.090.120.080.130.100.100.08 0.100.100.100.100.100.100.100.100.100.100.100.100.100.100.100.100.100.100.100.10 2  0.10,7  12 k -s -1 = 10-2-1=7, α = 0.10 22  0.10,70.10,7  3.6  3.6  12 12 Can not reject the null hypothesis

11 ARENA INPUT ANALYZER Arena provides built-in data analysis facilities via is to its Input Analyzer tool, whose main objective fit distributions to a given sample. Keep in mind that Arena provides built-in facilities for fitting distributions to independent empirical data, however, Arena does not provide any built- in facility for fitting dependent (time series) random processes.

12 ARENA INPUT ANALYZER The Input Analyzer is accessible from the Tools menu in the Arena home screen. After opening a new input dialog box (by selecting the New option the File menu in the Input Analyzer window), raw input data can be in selected from two suboptions in the Data File option of the File menu: 1. Existing data files can be opened via the Use Existing option. 2. New (synthetic) data files can be created using the Generate New option as iid samples from a user-prescribed distribution. Once the subsequent Input Analyzer files have been created, they can be accessed in the usual way via the Open option in the File menu

13 ARENA INPUT ANALYZER The Arena Input Analyzer functionality includes fitting a distribution to sample data in two ways: 1. The user can specify a particular class of distributions and request the Input Analyzer to recommend associated parameters that provide the fit. best 2. The user can request the Input Analyzer to recommend both the class of distributions as well as associated parameters that provide the best fit.

14 ARENA INPUT Distribution Arena name Arena parameters ANALYZER Exponential Normal Triangular Uniform Erlang Beta Gamma Johnson Log-normal Poisson Weibull Continuous Discrete EXPO NORM TRIA UNIF ERLA BETA GAMM JOHN LOGN POIS WEIB CONT DISC Mean Mean, StdDev Min, Mode, Max Min, Max ExpoMean, k Beta, Alpha G, D, L, X LogMean, LogStdDev Mean Beta, Alpha P1, V1,... a P1, V1,... a The parameters P1, P2,... are cumulative probabilities. Table displays the distributions supported by Arena and their associated parameters.

15 ARENA When you open this file via “Use Existing Option”, the Input Analyzer automatically creates a histogram from these sample data, and provides a summary of, sample statistics, as shown in the figure. INPUTANALYZER

16 ARENA INPUT ANALYZER The Options menu in the Input Analyzer menu bar allows the analyst to customize a histogram by specifying its number of intervals through the Parameters option and its Histogram option’s dialog box. Once a distribution is fitted to the data (see next section), the same menu also allows the analyst to change the parameter values of the fitted distribution. As mentioned above, either the user can specify a particular distribution and request the Input Analyzer to recommend associated parameters for this distributon or use the “ best fit” option to decide which distribution to use for these sample data.

17 ARENA INPUT ANALYZER Specifying Uniform Distribution

18 ARENA INPUT ANALYZER Fit All Summary:


Download ppt "Eastern Mediterranean University Department of Industrial Engineering IENG461 Modeling and Simulation Systems Computer Lab 2 nd session ARENA (Input Analysis)"

Similar presentations


Ads by Google