Rendex Official Blogsite

Thursday, July 26, 2012

Report Topics and Reporter

Topic Description Pages Reporter
1 Simulation Languages 32-35 Española, Hermaine Loriz V.
2 Simulators and Integrated simulation Environmentss 36-40 Serot, Chucklord D.
3 Animations 41-43 Geonson, Ian Mark T.
4 Applications of Simulation 45-50 Rotarla, Marlita T.
5 Estimation of Simulation Time 50-55 Labiang, Reymark A.
6 The Simulation Decision 55-59 Sinahan, Hansel V.
7 Starting a Simulation the right way 63-67 Ferolino, Jimelyn T.
8 Managerial Phase 68-72 Destua, Michael John D.
9 Modeling Views 73-80 Abastar, Kimverlie G.
10 Concept Modeling with Simple Spreadsheet 80-85 Egoc, Cherrylyn G.
11 Statistical Methods and Input Data 86-91 Nillama, Rizalyn D.
12 Example Chi-Square Goodness-of-Fit 92-96 Entila, Napoleon Jr.
13 Anderson Darling Test 97-101 Castada, Gilda C.
14 Human Component Consideration 101-103 Amantil, Gilbert A.
15 Simulation Quality and Development 108-110 Bercero, Peter
16 Selection of a Lanaguage Tool 110-115 Torino, Venus Lee S.
17 Model Construction 115-118 Avenue, Kwin Maria Krista
18 Random and Pseudo-random Number Streams 119-123 Cabang, Elvene Anthony
19 Production Runs 124-129 Baylon, Reuben
20 Output Reporting 130-136 Hontiveros, Nero L.
21 Post Processing Output 137-140 Neri, Jay Mark A.
22 Case Study: DePorres Tours 143-147 Amado, Gerald
23 Modeling Views 148-154 Laging, Axl Ros E.
24 Model Construction 155-159 Escabarte, Jayson B.
25 Expeirmental Design 160-166 Divina, Frederick Jr. A.
26 Simple Model: Using Arena   Gallogo, Shiela Mae B.

 
http://www.4shared.com/office/XMmO_0N3/understanding.html?refurl=d1url 
copy paste this link in your browser

Tuesday, July 10, 2012

Simulation in Spreadsheet - News Vendor Problem


Due on Tuesday:
Simulating with Spreadsheets:
Newsvendor Problem – Setup
          Newsvendor sells newspapers on the street
§  Buys for c = $0.55 each, sells for r = $1.00 each
          Each morning, buys q copies
§  q is a fixed number, same every day
          Demand during a day:  D = max (ëXù, 0)
§  X ~ normal (m = 135.7, s = 27.1), from historical data
§  ëXù rounds X  to nearest integer
          If D £ q, satisfy all demand, and qD ³ 0 left over, sell for scrap at s = $0.03 each
          If D > q, sells out (sells all q copies), no scrap
§  But missed out on Dq > 0 sales
          What should q be?

Newsvendor Problem – Formulation
          Choose q to maximize expected profit per day
§  q too small – sell out, miss $0.45 profit per paper
§  q too big – have left over, scrap at a loss of $0.52 per paper
          Classic operations-research problem
§  Many versions, variants, extensions, applications
§  Much research on exact solution in certain cases
§  But easy to simulate, even in a spreadsheet
          Profit in a day, as a function of q:
W(q) = r min (D, q) + s max (qD, 0) – cq
§  W(q) is a random variable – profit varies from day to day
          Maximize E(W(q)) over nonnegative integers q

Newsvendor Problem – Simulation
          Set trial value of q, generate demand D, compute profit for that day
§  Then repeat this for many days independently, average to estimate E(W(q))
        Also get confidence interval, estimate of P(loss), histogram of W(q)
§  Try for a range of values of q
          Need to generate demand D = max (ëXù, 0)
§  So need to generate X ~ normal (m = 135.7, s = 27.1)
§  (Much) ahead – Sec. 12.2, generating random variates
§  In this case, generate X = Fm,s(U)
U is a random number distributed uniformly on [0, 1] (Sec. 12.1)
Fm,s is cumulative distribution function of normal (m, s) distribtuion

Newsvendor Problem – Excel
          File Newsvendor.xls
          Input parameters in cells B4 – B8 (blue)
          Trial values for q in row 2 (pink)
          Day number (1, 2, ..., 30) in column D
          Demands in column E for each day:


                 


          For each q:
§  “Sold” column: number of papers sold that day
§  “Scrap” column: number of papers scrapped that day
§  “Profit” column: profit (+, –, 0) that day
§  Placement of “$” in formulas to facilitate copying
          At bottom of “Profit” columns (green):
§  Average profit over 30 days
§  Half-width of 95% confidence interval on E(W(q))
        Value 2.045 is upper 0.975 critical point of t distribution with 29 d.f.
        Plot confidence intervals as “I-beams” on left edge
§  Estimate of P(W(q) < 0)
        Uses COUNTIF function
          Histograms of W(q) at bottom
Vertical red line at 0, separates profits, losses

Sample Output on Spreadsheet: