• Non ci sono risultati.

M M ExamofDiscreteEventSystems-24.09.2014

N/A
N/A
Protected

Academic year: 2021

Condividi "M M ExamofDiscreteEventSystems-24.09.2014"

Copied!
2
0
0

Testo completo

(1)

Exam of Discrete Event Systems - 24.09.2014

Exercise 1

A channel in the city of Amsterdam has a gate which is normally kept closed and is opened only to allow the passage of boats. Gate opening and closure take 2 minutes each. Both operations cannot be interrupted after they have been started. Boats pass through the gate one at a time. Aim of the gate is to slow down the boats and control the entries in the directions N-S and S-N. Boats in N-S and S-N directions arrive at the gate as generated by Poisson processes with average interarrival times equal to 7.5 minutes and 5 minutes, respectively. When the gate is open, boats pass through it in a time which is uniformly distributed in the interval [30,90] seconds. When a boat has passed through the gate, and there are no boats waiting, the gate is closed; otherwise, the waiting boats are admitted to transit, alternating the two directions if there are waiting boats in both directions.

Assume that, at 6 AM (initial time), there are no boats waiting for transit, and consequently the gate is closed.

1. Compute the average number of arrivals of boats during the opening of the gate.

2. Compute the average waiting time for transit of the first boat.

3. Compute the probability that the second boat finds the gate closed.

Exercise 2

Consider the production system depicted in the figure and formed by two machines without queue.

When both machines are idle, an arriving part is addressed to M

2

with probability p = 2/3, and to M

1

otherwise. If only one machine is idle, the arriving part is addressed to that machine. If both machines are busy, the arriving part is rejected. A part worked in M

1

may need to be worked also in M

2

with probability q = 1/4. If M

2

is busy, the part that needs to be worked again in M

2

, remains in M

1

, and M

1

is not available for a new job. Parts arrive at the production system as generated by a Poisson process with rate 0.5 arrivals/minute. Working times in M

1

and M

2

follow exponential distributions with expected values 1.5 and 1.2 minutes, respectively.

M

1

M

2

p

1 − p 1 − q

q

1. Verify the condition λ

ef f

= µ

ef f

for the system at steady state.

2. Compute the utilization of M

1

and M

2

at steady state.

3. Verify the Little’s law for M

2

.

4. Compute the steady state probability that an arriving part is rejected. Justify the answer.

(2)

Exercise 3

A study of the strengths of the football teams of the main American universities shows that, if a university has a strong team one year, it is equally likely to have a strong team or an average team next year; if it has an average team, it is average next year with 50% probability, and if it changes, it is just as likely to become strong as weak; if it is weak, it has 65% probability of remaining so, otherwise it becomes average.

1. What is the probability that a team is strong on the long run?

2. Assume that a team is weak. How many years are needed on average before it becomes strong?

3. Assume that a team is weak. Compute the probability that, along a time horizon of ten years,

it is strong at least two years.

Riferimenti

Documenti correlati

By arguing against the possible reasons for this neglect on the international aspect of toleration, this thesis claims that there is a place for toleration in our

Solution proposed by Roberto Tauraso, Dipartimento di Matematica, Universit`a di Roma “Tor Vergata”, via della Ricerca Scientifica, 00133 Roma,

[r]

Now we modify the last row of M n by adding a proper linear combination of the other rows. This operation does not change the determinant of M n , but it will help us to

[r]

Apply the ADS to different case-studies, already interpreted and where the detachment is well known (i.e. Hikurangi accretionary prism) in order to check if it works well for each

NOTE: In the solution of a given exercise you must (briefly) explain the line of your argument and show the main points of your calculations1. Solutions without adequate

In fact, from the point of view of the conflict between physics and common sense, the XX century opened ominously with what can be regarded as the paradigm of counterintuitive