Production Line Simulation
Random variation is an important part of most processes in operations and supply chain management. For example, customer demand, supplier lead time, answering a customer inquiry, or processing a batch of material at a machining center all vary from customer to customer, delivery to delivery, and batch to batch. As the chapter notes, simulation allows us to model randomness. Although most large-scale simulations are done on computers using random numbers, there are other ways to generate random distributions and thus simulate random variations. Two examples are rolling a die, which produces a uniform distribution ranging from on to six, and flipping a coin, which produces a binomial distribution. Let’s simulate a production system consisting of two work centers using two dice. The simulation proceeds in daily increments. Production at each work center is equal to the number on the corresponding die. Threes and fours are “average” days, whereas a one (or two) represents a bad day (perhaps one with a lot of machine breakdowns) and a five or a six is an above-average day. To do the simulation, take two pieces of paper and draw a line down the middle of each piece. Put the pieces side by side. Each piece of paper represents a work center. The right side is the machine at each work center. The left side is space for the queue (units waiting to be processed) by the machine. Material flows from left to right, first through work center 1, then through work center 2. After units are processed at work center 2, assume they go to a distribution center. Put about 100 pennies (or toothpicks or poker chips) in the queue of work center 1. This represents raw material, which we assume our plant has unlimited access to. Put four units in the queue of work center 2 (so that when the simulation begins, work center 2 has something to work on).
Work Center 1 Work Center 2
Queue Machine Queue Machine Machine
To simulate the first day, roll the die for work center 1 and the die for work center 2. This is the number of pennies the work center can process in the first day. For example, if work center 1’s roll is 2, then take 2 pennies from its queue and move them over the machine and into work center 2’s queue. Similarly, if work center 2’s roll is a 3, take 3 pennies from its queue and move them over the machine and then put them aside (they are in the distribution center). Now, at the end of day one, there are 3 pennies in work center 2’s queue. To simulate the second day, roll both dice again and, for each work center and for work center 1, move the corresponding number of pennies downstream (from work center 1’s queue into work center 2’s queue and from work center 2’s queue into the distribution center). Note that during a particular week, a work center can only process units that were in its queue at the beginning of the week. In our example above, if work center 2 had rolled a 6 on day one, it could only process 4 units because it began the day with only 4 units.(This simulates a situation in which work on all units must begin at the beginning of the day).
1. How many pennies could this production line process
in 25 days? Note that the average roll is 3.5 (the midpoint between
1 and 6).
2. Simulate the line for 25 days. Keep track of each work center’s role for each day and the number or pennies each work center processes each day.
3. How many pennies did your line process in 25 days
(this is the sum of pennies processed by work center 2)?
4. For each work center, what was the average roll?
What was the average number of pieces processed?
5. How does the average roll for work center 1 compare
to the average roll for work center 2? How would you expect the
averages to compare if you continued the simulation for another 25
weeks? How do the pennies processed for work center 1 compare to
the Distribution Center pennies processed for work center 2? How
would you expect the pennies processed to compare if you continued
the simulation for another 25 weeks? 6. Is the simulation in this
exercise a continuous or discrete event simulation?


Production Line Simulation Random variation is an important part of most processes in operations and supply...
C++ -- Event processing simulation using a transaction queue Hi! it is queue simulation please read the instructions, write codes, and explain the code with comments. Thank you Transactions enter the system and are stored in a queue. Each transaction represents some work that needs to be accomplished. Servers exist which process transactions. Servers take transactions off the queue and process them. you’re building the simulation framework. The idea is that somebody would take your framework, and add the specifics...
C++
Sample run might look like this:
How many minutes should the simulation run? 10
Running simulation for 10 minutes.
minute 1: nothing happens
minute 2: customer 1 arrives and will need 3 minutes to check out
minute 3: nothing happens
minute 4: customer 2 arrives and will need 1 minute to check out
minute 5: customer 3 arrives and will need 1 minute to check out
minute 5: customer 1 has checked out
minute 6: customer 2 has checked...
Hi! it is c++ queue simulation please read the instructions, write codes, and explain the code with comments. Thank you Transactions enter the system and are stored in a queue. Each transaction represents some work that needs to be accomplished. Servers exist which process transactions. Servers take transactions off the queue and process them. you’re building the simulation framework. The idea is that somebody would take your framework, and add the specifics for whatever type of system it was going...
Hello, I am having some trouble with a supermarket checkout simulation program in C++. What I have so far just basically adds customers to the queue and prints when they arrive. I am struggling with how to implement a way of keeping track of when a given customer finishes(I will attach what I have so far). I had already created queue and node classes (with headers and cpp files) that I modified in my attempt. I would be very grateful...
Needs Help with Java programming language For this assignment, you need to write a simulation program to determine the average waiting time at a grocery store checkout while varying the number of customers and the number of checkout lanes. Classes needed: SortedLinked List: Implement a generic sorted singly-linked list which contains all of the elements included in the unsorted linked list developed in class, but modifies it in the following way: • delete the addfirst, addlast, and add(index) methods and...
manufacturing process
1) A customer order of 50 pieces one carat LGDs is to be processed through plant 1. Seed materials are supplied by the customer. The total time for processing the LGDs (including setup and other direct labor) is 500 hr. Direct labor cost is $25.00/hr. The factory overhead is 250% and the corporate overhead rate is 600%. Computer the cost of the job assumes the company's markup (profit) is 60%. 2) the following data are given: direct labor...
Implement the event-driven simulation of a bank that this chapter described. A queue of arrival events will represent the line of customers in the bank. Maintain the arrival events and departure events in an ADT event list, sorted by the time of the event. Use a reference-based implementation for the ADT event list The input is a text file of arrival and transaction times. Each line of the file contains tiie arrival time and required transaction time for a customer....
Part I – Process and Capacity Analysis Mortgage, Inc. processes loan applications in a “back-office” service facility. Each loan application must undergo a sequence of three separate processing activities before Mortgage, Inc. can make a decision to approve or decline the application. That is, a loan application first passes through Activity 1, then Activity 2, and finally Activity 3. Each activity has a fixed number of workers (given below). For example, there are three workers assigned to Activity 1 and...
Scribners corporation produces
Scribners Corporation produces fine papers in three production departments–Pulping, Drying, and Finishing. In the Pulping Department, raw materials such as wood fiber and rag cotton are mechanically and chemically treated to separate their fibers. The result is a thick slurry of fibers. In the Drying Department, the wet fibers transferred from the Pulping Department are laid down on porous webs, pressed to remove excess liquid, and dried in ovens. In the Finishing Department, the dried paper is...
need help with question #2
Multiple Choice Practice 1) A production department's output for the most recent month consisted of 8,000 units completed and transferred to the next stage of production and 5,000 units in ending Work in Process inventory. The units in ending Work in Process inventory were 50% complete with respect to both direct materials and conversion costs. Calculate the equivalent units of production for the month, assuming the company uses the weighted average method. A) 6,500 units....