Question: ECE 5 3 7 1 - - Engineering Analysis Assgn. # 6 Due: April 2 5 , 2 0 2 4 . 1 . Question:
ECE Engineering Analysis Assgn. # Due: April
Question: Parts arrive at station # from a conveyor belt with a Poisson distribution at a
mean rate of persecond. Here they mesh with parts arriving from another conveyor belt
at a steady and constant rate of part in seconds, to form a more complicated assembly
and emerge from Station # Assume the complicated assembly can be completely by
Station # instantaneously. Station # is known to have a failure rate of per second
that is characterized by the exponential distribution and stays down for seconds. Based
on the above, write a Monte Carlo simulator of this scenario that can then yield the discrete
event average output rate for the assembled parts from Station #
Hints: a Poisson distribution is given as: fkmu k
expmu k where mu is the mean. You
could generate a histogram that mimics the Poisson distribution by using either of the two
methods given next. a The Sequential Search Algorithm, or the b Exponential Random
Number Algorithm are given below.
The two algorithms will yield nearidentical results if you take a lot of sample points. Use
either algorithm to generate number of arrivals at Station # in given time period Delta T
Sequential Search Algorithm
Step Generate a random number r and set i
Step If r Pi return N i
Otherwise increase i by and repeat step
Exponential Random Number Algorithm
Step Set r e mu
N and s
Step Generate rrandom number and put s s r
Step If s r set N N and go to Otherwise return N
Results for the distribution comparing the Poisson formula with the Algorithms both
yielded the same results, so only figure is shown are given below:
Histogram from the Algorithms mu and mu
Plot for the analytic formula for the Poisson Distribution Histogram mu and mu
a For the exponential distribution of the failure rate simply obtain the relation
between the timetofailure and a random number.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
