• Non ci sono risultati.

Test of Discrete Event Systems - 12.11.2020

N/A
N/A
Protected

Academic year: 2021

Condividi "Test of Discrete Event Systems - 12.11.2020"

Copied!
6
0
0

Testo completo

(1)

Test of Discrete Event Systems - 12.11.2020

Exercise 1

A minibus has a maximum capacity of 9 passengers. A bus stop has a waiting room with a maximum capacity of 4 seats. Passengers arriving at the waiting room and finding it full, are routed to another line. When the minibus arrives at the bus stop, the number of passengers in the minibus is a random variable following a discrete uniform distribution over {0, 1, . . . , 9}.

None of the passengers gets off the minibus at the bus stop. Waiting passengers are admitted on the minibus so as to not exceed its maximum capacity. Non-admitted passengers keep waiting for the next minibus. Assume that the duration of a stop is negligible.

1. Model the system above through a state automaton ( E, X , Γ, p, x

0

), assuming that the waiting room is initially empty.

Assume that the minibus arrives at the bus stop every T = 15 min, and arrivals of passengers at the waiting room are generated by a Poisson process with average interarrival time of 5 min.

2. Compute the average number of passengers arriving at the waiting room between a transit of the minibus and the next.

3. Compute the probability that the waiting room is empty after the first transit of the minibus.

4. Compute the probability that, the first time the minibus arrives, exactly one waiting passenger gets on the minibus.

Then, assume that arrivals of the minibus at the bus stop are now generated by a Poisson process with rate 4 arrivals/hour.

5. Assuming that two passengers are sitting in the waiting room, compute the probability that the waiting room is empty when the next passenger arrives.

6. Compute the probability that there are at least three arrivals of any type (both passen-

gers and minibus) in one hour.

(2)
(3)
(4)
(5)
(6)

Riferimenti

Documenti correlati

Taking into account that: the doctor’s office is empty at the opining; the first patient arrives after 2 minutes from the opening, and the others arrive after intervals of 1.5,

Since the hair salon does not have a waiting room, customers arriving when both chairs are busy decide to abandon the hair salon.. Compute the probability that the third

Compute the probability that, the next time the lift truck arrives, it may load its maximum weight.. Compute the probability that the buffer is empty for at least one hour, and in

Customers arrive as generated by a Poisson process with average rate λ = 4 arrivals/hour, whereas the service time at the desk follows an exponential distribution with expected value

The node has a dedicated buffer which may contain at most two messages waiting to be transmitted (independently of their length), and transmits over a dedicated line with

Compute the blocking probability of the system at steady state for those parts requiring preprocessing in M

A process in waiting state requests again the use of a CPU after a random time which follows an exponential distribution with expected value 1.12 ms.. At the moment of the request,

Assume that the customers arrive according to a Poisson process with rate λ = 0.1 arri- vals/min, and the service times in S are exponentially distributed with rate µ =