bis 494: topics in information systems 1 m/m/c queuing simulation with vba (1) business process...

6
1 BIS 494: Topics in Information Systems M/M/c Queuing Simulation with VBA (1) Business Process Modeling, Simulation and Design

Upload: blake-webb

Post on 27-Dec-2015

216 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: BIS 494: Topics in Information Systems 1 M/M/c Queuing Simulation with VBA (1) Business Process Modeling, Simulation and Design

1

BIS 494: Topics in Information Systems

M/M/c Queuing Simulation with VBA (1)

Business Process Modeling, Simulation and Design

Page 2: BIS 494: Topics in Information Systems 1 M/M/c Queuing Simulation with VBA (1) Business Process Modeling, Simulation and Design

2

Overview

• Problem (VBA Assignment 1)

• Logics – Flowchart– Main Sub– Arrival Sub– ServerOpen Sub– Report, and others

• Coding Flowchart

Page 3: BIS 494: Topics in Information Systems 1 M/M/c Queuing Simulation with VBA (1) Business Process Modeling, Simulation and Design

3

Problem

• Spreadsheet simulation usually means creating a spreadsheet model with random numbers (e.g. exponential) in certain cell and then replicating the model with a data table and add-in such as VBA.

• Multi-server queuing system is very difficult to model with spreadsheet formulas because of the timing and bookkeeping involved (like which server has finished the service).

• A more natural approach is to take care of all the model’s logic in VBA and then simply report the results on a worksheet.

Page 4: BIS 494: Topics in Information Systems 1 M/M/c Queuing Simulation with VBA (1) Business Process Modeling, Simulation and Design

4

Outline of the Simulation

• Arrival Rate (λ)

• Multiple Servers (c) with identical service rate (μ)

• Single line queue

• Limited time length (no more customers at some point of time)

• Limited queue length (?)

User Inputs

Page 5: BIS 494: Topics in Information Systems 1 M/M/c Queuing Simulation with VBA (1) Business Process Modeling, Simulation and Design

5

Output

• See example Sample output.xls

• To get these values in the end, what variables should be kept for each event?

Page 6: BIS 494: Topics in Information Systems 1 M/M/c Queuing Simulation with VBA (1) Business Process Modeling, Simulation and Design

6

Logic Flowchart

• Main Sub– Structure the entire logic– Subroutines are used to hide unnecessary

details– Think logics first before translating into coding

http://www.nku.edu/~sakaguch/ifs494/Main Sub Flowchart.vsd