• Non ci sono risultati.

bba012baa ExamofDiscreteEventSystems-13.02.2013Student:

N/A
N/A
Protected

Academic year: 2021

Condividi "bba012baa ExamofDiscreteEventSystems-13.02.2013Student:"

Copied!
2
0
0

Testo completo

(1)

Exam of Discrete Event Systems - 13.02.2013

Student:

Exercise 1

Consider the stochastic state automaton represented in the figure, where a is an event with deter- ministic lifetimes equal to ta = 1, b is an event with lifetimes uniformly distributed in the interval [0, 3], and the initial state is x0 = 0.

1. Compute the probability P (E2 = b).

b b

a

0 1

2

b a a

Exercise 2

A multi-processor computer is equipped with three identical CPUs. N different processes run on the computer. Each process can be either in the waiting state or in the execution state. The duration of the execution of a process on a CPU is an exponential random variable with expected value 0.77 ms. At the end of the execution, the process is put in the waiting state. 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, if at least one CPU is available, the process is executed. Otherwise, it remains in the waiting state and will request again the use of a CPU as described above.

1. Compute the minimum number N such that the steady-state probability that all the three CPUs are busy, is at least 0.75.

With the value of N computed above:

2. Verify the condition λef f = µef f at steady-state for the system composed by the three CPUs.

3. Compute the utilization of a generic CPU at steady state, assuming that, when more than one CPU are available at the moment of a request of execution, the choice is equally probable.

4. Given that two CPUs are busy and one CPU is available, compute the probability that all the three CPUs are available when the next request of execution arrives.

(2)

Exercise 3

Define the age of a device as the number of whole days the device has operated. A device of age j ≥0 at the beginning of a day, fails during the day with probability pj = jp, where p = 0.25, and in such a case it is replaced by a new identical device, which starts operating at the beginning of the next day.

1. Model the system described above through a discrete time homogenous Markov chain.

2. Compute the probability that a new device operates for the maximum number of days.

3. If the device at day 1 is new, compute the probability that the device at day 10 is new.

4. Compute the average duration (in days) of a device.

Riferimenti

Documenti correlati

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,

Each rejected task returns independently to the CPU after a time following an exponential distribution with expected value equal to 25 ms.. A maximum of two rejected tasks is allowed

In the classical time optimal control problem, it is well known that the so-called Petrov condition is necessary and sufficient for the minimum time function to be locally

SM Seifert, Scahaechter JL, Hershorin ER, Lipshultz SE (2011) Health 18. effects of energy drinks on children, adolescents, and young adults. Atrial fibrillation in healthy

Syntax Systems in IoT-LySa are pools of nodes (things), each hosting a shared store for internal communication, sensors and actuators, and a finite number of control processes

Thus, this research—which was based on the study of the Romanian immigrant population living in Alcalá de Henares—focused on contributing knowledge that would help understand the

The deviation between the value of the anomalous magnetic moment of the muon and its SM prediction, observed by the Brookhaven National Laboratory (BNL) E821 experiment, is one of

The presence of organic matter (in a form of humic acids, HAs) in the treated solutions had a slight impact on EC value. It can be predicted that HAs are deposited on the membrane