etm 607 – output analysis: estimation of relative performance output comparison between two or...

13
ETM 607 – Output Analysis: Estimation of Relative Performance • Output comparison between two or more alternative systems • Common Random Numbers (CRN) • Comparison of several systems • Optimization via simulation

Upload: olivia-rose

Post on 17-Jan-2016

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ETM 607 – Output Analysis: Estimation of Relative Performance Output comparison between two or more alternative systems Common Random Numbers (CRN) Comparison

ETM 607 – Output Analysis: Estimation of Relative Performance

• Output comparison between two or more alternative systems• Common Random Numbers (CRN)• Comparison of several systems• Optimization via simulation

Page 2: ETM 607 – Output Analysis: Estimation of Relative Performance Output comparison between two or more alternative systems Common Random Numbers (CRN) Comparison

ETM 607 - Comparing Alternatives

• Usually, simulation is used for more than just a single model “configuration”

• Often want to compare alternatives, select or search for the best (via some criterion)

• Simple processing system: What would happen if the arrival rate were to double? Cut interarrival times in half Rerun the model for double-time arrivals Make five replications

Page 3: ETM 607 – Output Analysis: Estimation of Relative Performance Output comparison between two or more alternative systems Common Random Numbers (CRN) Comparison

ETM 607 – Simple Processing System

Single Server Queue

Arrival Rate ~Exp

Service Rate ~ Norm

Performance Measures:• Average queue size• Max queue size• Average waiting time• Max waiting time

• Average time in system• Max time in system• Server utilization• Number served

Page 4: ETM 607 – Output Analysis: Estimation of Relative Performance Output comparison between two or more alternative systems Common Random Numbers (CRN) Comparison

ETM 607 - Results: Original vs. Double-Time Arrivals

• Original – circles

• Double-time – triangles

• Replication 1 – filled in

• Replications 2-5 – hollow

• Note variability

• Danger of making decisions based on one (first) replication

• Hard to see if there are really differences

• Need: Statistical analysis of simulation output data

Page 5: ETM 607 – Output Analysis: Estimation of Relative Performance Output comparison between two or more alternative systems Common Random Numbers (CRN) Comparison

ETM 607 - Comparing Two Alternatives

• General Idea: Approach I Select some primary performance measure for comparison

(e.g. production rate, average time in system, server utilization, etc…), denoted as i for alternative i.

Run alternative i for Ri replications to find the mean, standard deviation and confidence interval for performance parameter i.

If the CI’s of each alternative overlap, you cannot conclude there is statistical difference between the alternatives.

What if you increased the number of replications? What if you changed the significance level () of the CI?

Page 6: ETM 607 – Output Analysis: Estimation of Relative Performance Output comparison between two or more alternative systems Common Random Numbers (CRN) Comparison

ETM 607 - Comparing Two Alternatives

• General Idea: Approach II Select some primary performance measure for comparison

(e.g. production rate, average time in system, server utilization, etc…), denoted as i for alternative i.

Run alternative i for Ri replications to obtain the performance parameter ri, where r refers to the replication.

Find the difference between the performance measure for each replication (r1 –r2).

Compute the mean, standard deviation and CI for (r1 –r2).

If the CI of (r1 –r2) contains the value 0, then there is no statistical difference between the two alternatives.

Page 7: ETM 607 – Output Analysis: Estimation of Relative Performance Output comparison between two or more alternative systems Common Random Numbers (CRN) Comparison

ETM 607 - Comparing Two Alternatives

Perform In-Class Lab Exercise 11,

Comparison of Two Alternatives

Page 8: ETM 607 – Output Analysis: Estimation of Relative Performance Output comparison between two or more alternative systems Common Random Numbers (CRN) Comparison

ETM 607 - Comparing Two Alternatives: Common Random Number (CRN)

• Step 4 of Lab 11 was possible because the same random number stream was used to compare each alternative. (The only change between both systems was the arrival rate).

• This technique is referred to as Common Random Numbers (CRN).

• Usually possible only when changing parameter values between alternatives. If logic changes, or the execution of random numbers, then this technique is not valid.

Page 9: ETM 607 – Output Analysis: Estimation of Relative Performance Output comparison between two or more alternative systems Common Random Numbers (CRN) Comparison

ETM 607 - Comparing Two Alternatives: Common Random Number (CRN) cont.

• For CRN case:

where

for differences

and

2.1.,2/2.1. .. YYestYY v

212.1. ,.. rrrD YYDifR

SYYes

1Rv

)(1

1 __

1

2__

2

__

1

_

DDR

SandYYDR

r RDii

Page 10: ETM 607 – Output Analysis: Estimation of Relative Performance Output comparison between two or more alternative systems Common Random Numbers (CRN) Comparison

ETM 607 - Comparing Two Alternatives: Common Random Number (CRN) cont.

• For more general case when CRN not valid:

where

And rounded to integer

2.1.,2/2.1. .. YYestYY v

2

22

1

21

2.1...R

S

R

SYYes

1/1/ 2

2

2

22

1

2

1

21

2

2

22

1

21

RRSRR

S

RS

RS

v

Page 11: ETM 607 – Output Analysis: Estimation of Relative Performance Output comparison between two or more alternative systems Common Random Numbers (CRN) Comparison

ETM 607 – Comparison of Several System Designs

• How do you compare multiple system designs?

• Depends on the goal:1. Estimation of the parameter, i for alternative i.

2. Comparison of i to some control 1 which might be an existing system.

3. All pairwise comparisons r1 –r2.

4. Selection of the best i

• Goals 1,2, 3 all use CI’s. Goal 4 requires a type of optimization approach.

• Performing analysis on multiple alternatives is somewhat laborious, but some simulation packages facilitate this process. See In-class Lab 11a.

Page 12: ETM 607 – Output Analysis: Estimation of Relative Performance Output comparison between two or more alternative systems Common Random Numbers (CRN) Comparison

ETM 607 – Optimization via Simulation

• Goal 4 was to find the best i

• What if there are many (thousands or millions) of alternatives to choose from?

• One approach is to use meta-heuristics.1. Register for ETM 645 to learn more about meta-heuristics.

2. Attend the last lesson to observe an application of optimization via simulation in the scheduling of Radar Warning Receivers.

3. Arena comes with a tool called “OptQuest”. Download via Google.

Page 13: ETM 607 – Output Analysis: Estimation of Relative Performance Output comparison between two or more alternative systems Common Random Numbers (CRN) Comparison

ETM 607 – Optimization via Simulation

Perform InClass Lab 11a –

Comparison of multiple alternatives