• No results found

t 1 t 2 q (x q = 0) (x q > 0)

N/A
N/A
Protected

Academic year: 2021

Share "t 1 t 2 q (x q = 0) (x q > 0)"

Copied!
9
0
0

Loading.... (view fulltext now)

Full text

(1)

Discrete-event simulation of uid stochastic Petri nets



Gianfranco Ciardo

1

David Nicol

2

Kishor S. Trivedi

3

ciardo@cs.wm.edu nicol@cs.dartmouth.edu kst@egr.duke.edu

1

Dept. of Computer Science, College of William and Mary, Williamsburg, VA 23187

2

Dept. of Computer Science, Dartmouth College, Hanover, NH 03755

3

CACC, Dept. of Electrical and Computer Eng., Duke University, Durham, NC 27708

Abstract

The purpose of this paper is to describe a method for simulation of recently introduced uid stochastic Petri nets. Since such nets result in rather complex set of partial di erential equations, numerical solution be- comes a formidable task. Because of a mixed, discrete and continuous state space, simulative solution also poses some interesting challenges, which are addressed in the paper.

1 Introduction

Stochastic Petri nets provide a convenient and concise method of describing discrete-event dynamic systems [1, 4, 6, 12, 15]. One of the diculties encountered while using stochastic Petri nets is that the underlying reachability graph tends to be very large in practical problems. Drawing a parallel with uid ow approxi- mations in performance analysis of queueing systems [3, 7, 11], SPNs have been extended to include uid (or continuous) places where uid can be used to ap- proximate a large number of discrete tokens. Armed with such Fluid Stochastic Petri nets (FSPNs), we can also model physical systems that contain continuous uid-like quantities which are controlled by discrete logic.

FSPNs were introduced by Trivedi and Kulkarni in [14]. The original model was considerably enhanced in [9]. The purpose of this paper is twofold: rst we further extend the formalism in [9] to make it more useful and, second, we explore the use of simulation as a solution method for FSPNs. The extensions to

This research was partially supported by the National Aero- nautics and Space Administration under NASA Contract No.

NAS1-19480. Additionally, D. Nicol was supported in part by the National Science Foundation under grants CCR-9201195 and NCR-9527163, and K. Trivedi was supported in part by the National Science Foundation under grant NSF-EEC-94-18765.

the FSPN formalism we propose include:

 Fluid impulses associated with both immediate and timed transition rings.

 Guards on immediate transitions, dependent on uid levels, not just on the discrete marking.

These extensions are quite natural given the type of systems we intend to address. Fluid impulses are the continuous analogue of ordinary token movements for standard Petri nets, while completedependencyof any behavior (including the guards of immediate transi- tions) on the entire state of the system (including the current uid levels) is certainly desirable. Indeed, one could argue that these are not really \extensions", but rather that the initial de nitions were \restrictions"

motivated by the desire of allowing a numerical solu- tion.

Using simulation as a solution method frees us from these considerations. However, several innovations are needed. In this direction, the contributions of this paper include:

 Generation of random deviates based on a non- homogeneous Poisson process.

 Interleaving of ODE solution for uid places with simulation of discrete events in the FSPN.

 De nition of restrictions under which one can in- tegrate the change of uid levels using built-in closed-from results, such as decoupled behavior and special classes of functions for the uid rates.

After introducing the FSPN model in the next sec- tion, we describe the method of simulation for the most general case in Section 3. The simpler case of uncoupled behavior of di erent uid places is taken up in Section 4, while two other cases are discussed in Sections 5 and 6, respectively. Examples are provided in Section 7.

(2)

2 Fluid stochastic Petri nets

In the following, we denote sets by upper case calli- graphic letters. In particular,N,R, and R0 indicate the natural, real, and nonnegative numbers, respec- tively.

For simplicity, we only address exponentially dis- tributed ring times. Generally distributed ring times are clearly useful, and, in connection with discrete-event simulation, might not add much com- plexity to the solution. However, the interruptionpoli- cies (what happens to the remaining ring times of transitions when one of them res) can require very complex de nitions in full generality [5, 13]. This is not the case with the exponential distribution, due to its memoryless property. If we assume that the r- ing rate of each transition, if marking-dependent, is reevaluated in each marking where it is enabled, the time elapsed since the transition rst became enabled does not a ect the future evolution of the FSPN.

A uid stochastic Petri net (FSPN) is a tuple

?

P D

;P C

;T T

;T I

;a;f;g;;w ;b;

m

0;

x

0, where:

 P

D = fp1;:::;pjPDjgand PC = fq1;:::;qjPCjg are two disjoint and nite sets of places. Let

P = PD[PC. A (discrete) place p 2 PD is drawn with a single circle and can contain a num- ber of tokens

m

p 2 N. A (continuous) place

q 2P

C is drawn with two concentric circles and can contain a level of uid

x

q 2R0. The mark- ing, or state, of the FSPN is given by a pair of vectors describing the contents of each place, (

m

;

x

) 2 S^ = NjPDjR0jPCj. We call ^S the

\potential state space", as opposed to the \actual state space"S S^, the set of markings actually reachable during the evolution of the FSPN. The marking (

m

;

x

) evolves in time, which we indi- cate by , so, formally, we can think of it as a stochastic processf(

m

();

x

()); 0g.

 T

T = ft1;:::;tjTTjg and TI = fu1;:::;ujTIjg are two disjoint and nite sets of transitions. Let

T = TT [TI. A (timed) transitiont 2 TT is drawn as a rectangle and has an exponentially distributed ring time. An (immediate) transi- tion u 2 TI is drawn as a thin bar and has a constant zero ring time.

 a : ?(PDT)[(T PD)  S^ ! N and

a : ?(PCT)[(T PC)  S^ ! R0 de- scribe the marking-dependentcardinality (for dis- crete places) or the uid impulse (for continuous places) of the input and output arcs connecting transitions and places. We use the same symbol

for both, and we draw them as thin arcs with an arrowhead on their destination, since the type of place eliminates any possibility of confusion. The function describing a is written on the arc, the default is the constant one.

 f :?(PCT)[(T PC)S^!R0 describes the marking-dependent uid rate of the input and output arcs connectingtransitions and continuous places. These uid arcs are drawn with a thick line, and an arrowhead on their destination. Also in this case the function is written on the arc and the default is the constant one.

 g : T S^ ! f0;1g describes the marking- dependent guard of each transition.

  : TT S^ ! R0 and w : TI S^ ! R0 describe the marking-dependent ring rates (for timed transitions) and weights (for immediate transitions).

 b : PC NjPDj ! R0[f1g describe the uid bounds on each continuous place. This bound has no e ect when it is set to in nity. Note that

b depends only on the discrete part of the state space, NjPDj, not on ^S, to avoid the possibility of circular de nitions.

 (

m

0;

x

0) 2 S^ is the initial marking. We re- quire that, for any continuous place q 2 PC,

x

q  bq(

m

0). Graphically, the initial marking is represented by writing the value of

m

0p, or

x

0q,

inside the corresponding place. A missing value indicates zero. For discrete places, it is also com- mon to draw

m

0p tokens inside the place, if this number is small.

The meaning of these quantities is given by the en- abling and ring rules. We say that a transitiont2T has concession in marking (

m

;

x

) i

8p2P D

; a

p;t(

m

;

x

)

m

p and gt(

m

;

x

) = 1:

If any immediate transition has concession in (

m

;

x

),

it is said to be enabled and the marking is said to be vanishing. Otherwise, the marking is said to be tangible and any timed transition with concession is enabled in it. In other words, a timed transition is not enabled in a vanishing marking even if it has conces- sion.

Some de nitions of SPNs allow one to disable a transition t with concession in a marking by speci- fying a zero rate or weight for it, or by introducing

(3)

inhibitor arcs, drawn with a circle instead of an ar- rowhead. Since we can represent these behaviors by an appropriate de nition of the input arc cardinalities or the guards, we assume, without loss of generality, that rates and weights are positive for an enabled tran- sition. Inhibitor arcs can then be considered merely as a shorthand1.

Let E(

m

;

x

) denote the set of enabled transitions in marking (

m

;

x

). Enabled transitions change the marking in two ways. First, a transitiont2T enabled in marking (

m

;

x

) can re after a random amount of time having distributionExpo(t(

m

;

x

)), and yield a (possibly) new marking (

m

0;

x

0). We then write (

m

;

x

)+t(

m

0;

x

0), where

8p2P D

;

m

0p=

m

p+at;p(

m

;

x

)?ap;t(

m

;

x

)

8q2P C

;

x

0q= minfbq(

m

0);maxf0;

x

q

+ at;q(

m

;

x

)?aq ;t(

m

;

x

)gg:

Second, uid ows continuously through the arcs f of enabled transitions connected to continuous places.

The potential rate of change of uid level for the con- tinuous placeq2PC in marking (

m

;

x

) is

 pot

q (

m

;

x

) = X

t2E(m;x)

f

t;q(

m

;

x

)?fq ;t(

m

;

x

):

However, the uid level can never become negative or exceed the boundbq(

m

), so the (actual) rate of change over time,, while in marking (

m

;

x

), is



q(

m

;

x

) = d

x

q

d =

8

<

:

0 if (

x

q= 0 and qpot(

m

;

x

)0) or

(

x

q =bq(

m

) andqpot(

m

;

x

)0)

 pot

q (

m

;

x

) otherwise :

The stochastic evolution of the FSPN in a tangible(1) marking is governed by a race [2]: the timed transi- tiontwith the shortest ring time is the one chosen to re next, unless it becomes disabled by some uid lev- els reaching particular values that causet to become disabled prior to its ring. In a vanishing marking, instead, the weights are used to decide which transi- tion should re: an immediate transitionuenabled in marking (

m

;

x

) res with probability

w

u(

m

;

x

)

X

u 0

2E(m;x)wu

0(

m

;

x

): (2)

1If, in (m;x), an inhibitor arc fromp 2 PD (q 2 PC) to

t2T has cardinalityc2N (c2R0),tis disabled ifcmp

(cxq). The same behavior can be modeled by ensuring that the guardgt evaluates to 0 in (m;x).

3 General case

The FSPN de nition we just gave is very powerful, but it allows one to describe models whose solution can be quite dicult, even with discrete-event simu- lation. Indeed, it can be used to de ne FSPNs whose behavior is \unstable", as in the FSPNs of Fig. 1. In the model on the left, immediate transitionsu1andu2 alternatively put and remove a unit impulse instanta- neously. With few exceptions [8], such a behavior has been considered a modeling error in the literature on discrete-state models. The instability of the model on the middle is instead exclusive to models with a states having a continuous component, such as our FSPNs.

When

x

0q = 0, timed transitiont1is enabled and timed transitiont2is disabled. However, as soon as the uid arc starts adding uid toq, the situation is reversed,t1 becomes disabled, whilet2becomes enabled and starts emptyingq. It could be argued that, in such a situa- tion,qwill always be empty, but any model where an in nite number of events occurs in a nite time (e.g., transitionst1 andt2become enabled and disabled an in nite number of times) cannot be managed by con- ventional discrete-event simulation techniques. Hence, we will consider such behaviors illegal.

The model on the right could be also considered unstable if F2 > F1. Both t1 and t2 are always en- abled, hence there is a continuous ow into qat rate

F

1 due to t1. However, the outgoing ow due to t2 cannot be F2. Our de nition simply states that q is 0 in this case, implying that the outgoing ow is e ectively reduced to beF1, instead of F2. In other words, the arc fromq to t2 can be thought to have e ect only a fractionF1=F2 of the time. This type of behavior, however, can be easily managed by examin- ing all the ows incident to a continuous place, so we do not regard it as a true instability.

It should be noted that these unstable behaviors were already possible in the original de nitions of FSPNs and that they presented the same diculties and could be managed in the same manner.

We now describe how a model with no unstable behaviors can be studied. Assume that we have just entered tangible marking (

m

;

x

). If there is any en- abled transition, each continuos component

x

q might

vary in a very general way over time. Applying Eq.

1 to each q 2 PC, we obtain a system of ordinary di erential equations subject to the initial condition

x

(0) =

x

. We can then consider two cases:

 In the simpler case, the cardinality of the arcs connectedto discreteplaces and the guards do not depend on

x

. Even so, the ring times behave as a

(4)

(xq = 0)

q

u1 u2

(xq > 0)

q

t1 t2

(xq = 0) (xq > 0)

F1 F2

q

t1 t2

Figure 1: FSPNs exhibiting unstable behaviors.

nonhomogeneous Poisson process (NHPP) whose rate depends on the continuous marking, and so some care is required in sampling the ring in- stants. We assume that the ring rate of each transitiontcan be bounded from above byt(

m

),

given our knowledge of its dependenceon the uid marking. That is, when the discrete marking is

m

, the rate of t satis es t(

m

;

x

)  t(

m

),

for any value of

x

that might be reached in con- junction with

m

. We can therefore sample from the NHPP using the technique of \thinning" [10], where we sample \potential ring instants" in ac- cordancewith a homogeneousPoisson arrival pro- cess with rate

(

m

) = X

t2E(m;x)





t(

m

):

From this process, we can de ne a sequence of in- creasing time instants (1;2;:::). Starting from

i = 1, we \accept"i, that is, we declare that a ring occurred at time i, with probability

(

m

;

x

(i))=(

m

), where

(

m

;

x

(i)) = X

t2E(m;x)



t(

m

;

x

(i)):

In other words, we use the actual ring rates at time i as a weight, to determine whether the event corresponds to a true ring or not. This re- quires to solve for the value of

x

(1), by integrat- ing the system of ordinary di erential equations.

If1is accepted, we stop. Otherwise, we integrate until2, compute

x

(2), and decide whether to ac- cept2or not, and so on. Eventually, this process stops at some stepi, giving us a samplingf =i of the actual ring time.

For example, Fig. 2 illustrates the case where four transitions are enabled in (

m

;

x

): t1, t2, t3, and

t

4. The sequence of numbered arrows shows the random deviates that must be generated, in or- der. First, we generate 1 (1) according to the distribution Expo((

m

)). Then we generate a random deviate (2)  Unif(0;(

m

)). In the

gure, this happens to fall in the interval corre- sponding to the \do not accept" case. Thus, we need to generate another potential ring time (3) by sampling the distribution Expo((

m

)) again

and summing the sampled value to 1, obtain- ing 2. We also need another random deviate (4)  Unif(0;(

m

)), which also, in the gure, happens to cause a rejection. Finally, we gener- ate a third potential ring time and we add it to 2, resulting in 3 (5). When we sample (6)

Unif(0;(

m

)) again, we nally obtain a value falling in the interval corresponding to t2, hence we schedule the ring of t2 at time3. It is then apparent that the expected number or random deviates that need to be generated is larger when the bounds t(

m

;

x

) for the enabled transitions are less tight. On the other hand, if the rates of the enabled transitions are a function of

x

, but

P

t2E(m;x)t(

m

;

x

) is a known constant indepen- dent of

x

, only two deviates are needed: the rst one to decide 1 and the second one to decide which transition to re.

 If, instead, the set of enabled transitions can change as

x

evolves, we also need to consider an

\enabling event" at the time e when the rst change in E(

m

;

x

) occurs. The method to com- pute e depends on the nature of the dependen- cies. In principle, we should know the value of

x

() over the entire horizon  2 [0;f]. This can still be accomplishedthrough integration. Af- ter (during) integration we need to nd the value of e that rst satis es the given condition on the uid levels. If there is no minimum value

 e

2 [0;f] for which the set of enabled transi- tions changes, the next event to schedule is the ring at time f. Otherwise, we must schedule an \enabling event" at timee.

In either case, if the ring rates of timed transi- tions are not dependent on uid levels, the generation of next ring times is considerably simpli ed because the machinery of NHPP-based generation of random deviates is avoided.

(5)

Λ*(m) λ*t1(m)

λ*t2(m)

λ*t3(m)

λ*t4(m)

τ1 τ2

Time

0 τ3 = τ f

1

λt4(m,x(τ1)) λt3(m,x(τ1)) λt2(m,x(τ1)) λt1(m,x(τ1)) do not accept

2

3

λt4(m,x(τ3)) λt3(m,x(τ3)) λt2(m,x(τ3)) λt1(m,x(τ3)) do not accept

6

λt4(m,x(τ2)) λt3(m,x(τ2)) λt2(m,x(τ2)) λt1(m,x(τ2)) do not accept

4

5

Figure 2: Sampling the NHPP process underlying a FSPN.

The processing of the scheduled event causes a change of marking, from (

m

;

x

) to (

m

0;

x

0), where

m

0=

m

if the event was of the enabling type. Then, in marking (

m

0;

x

0), a nite sequenceof immediate rings might take place, just as in ordinary, non- uid, SPNs, until the next tangible marking (

m

00;

x

00) is reached.

Thanks to the memoryless property of the exponen- tial distribution, the evolution of the FSPN from this point on is analogous to the evolution from the ini- tial marking, that is, we do not need to be concerned about the \remaining ring times" of transitions that were already enabled prior to reaching this marking.

4 Uncoupled behavior

The general behavior just described requires us to solve a system of ordinary di erential equations at each step of the simulation. This computation can be quite costly. A restriction on the type of dependency allows us to uncouple the system, resulting in a set of ordinary di erential equations that can be solved independently. This requires that the uid rates in- cident on q, henceq(

m

;

x

), depend only on (

m

;

x

q),

not on the uid levels in the other continuous places:

8(

m

;

x

);(

m

;

x

0)2S;^

x

q=

x

0q)q(

m

;

x

) =q(

m

;

x

0):

As in the general case, we can still distinguish whether the set of enabled transitions can be a ected by

x

or not, and the NHPP random variate generation must be used only if their ring rates depend on

x

.

5 Prede ned classes of behav- iors

For particularcases of uncoupleddependencies, we can even have a built-in closed form solution, which will avoid the need for numerical integration altogether.

One such case is when, in a given marking (

m

;

x

),

d

x

q()

d =A(

m

)

x

q() +B(

m

); A(

m

)6= 0

that is, the uid change rate for a continuous place is a linear function of the uid level in the place itself.

In this case, the solution is

x

q() =?B(

m

)

A(

m

) +



x

q(0) +B(

m

)

A(

m

)



e A(m);

assuming that

x

qremains between 0 andbq(

m

) during

[0;]. This answers the question of how much the uid level in a place will change during the ring time of a timed transition. Inversely, the timeq when place

q reaches a certain uid level thresholdLq is given by



q = ln

0

B

B

@ L

q+B(

m

)

A(

m

)

x

q(0) + B(

m

)

A(

m

)

1

C

C

A

A(

m

) ;

if this quantity is positive (if it is negative, we can simply de neq =1, that is, the thresholdLq cannot be reached in this marking).

(6)

If the set of enabled transitions can only change when some placeq reaches a threshold levelLq, then we can simply de ne the timeeof the next enabling event as



e= min

q 2P C

f

q g:

When A(

m

) = 0, that is, when the uid change rate is a constant, the solution is much simpler,

d

x

q()

d =B(

m

) )

x

q() =

x

q(0)+B(

m

);

again assuming that

x

q remains between 0 andbq(

m

)

during [0;]. The timeq when place q reaches the thresholdLq is then



q = Lq?

x

q(0)

B(

m

) ;

if this quantity is positive, in nity otherwise.

6 Piecewise constant behavior

Complete dependency on the marking (

m

;

x

) is de-

sirable in principle, but the complication it entails is often excessive and its full power unneeded. A sim- pler type of dependency is obtained by enforcing a discretization on the behavior of the FSPN with re- spect to the continuous component

x

. This can be accomplished by de ning a set of boolean threshold- type conditions L = f(r1 1l1);:::;(rjLj jLj ljLj)g, whererk 2PC is a continuous place, k 2f<;;=

;;>;6=gis a comparison operator, andlk:NjPDj!

R

0

[f1gis a threshold value that depends (at most) on the discrete marking. Hence, given a marking (

m

;

x

), we can de ne the \discretized" marking (

m

;

i

)

obtained from (

m

;

x

) throughL, where

i

2 f0;1gjLj,

and

i

k= 1 i

x

rk klk(

m

).

If we forcea(for discrete places only),f, g, and to be de ned on the discretized marking (

m

;

i

), rather

than on the original mixed marking (

m

;

x

), then the behavior of the FSPN is constant until the rst thresh- old is encountered, or until a ring occurs.

Hence, we can carry on a traditional discrete-event simulation, where the types of events that need to be scheduled in the event queue are either transition r- ings or the hitting of a threshold.

Fortunately, there is no need to place the same re- striction on the uid impulses (afor continuous places) or the weights w, since the impulses and the weights are always evaluated only at a speci c instant in time.

Applying the restriction to these quantities as well would prevent us from modeling useful behaviors, such

as emptying a continuous place, or choosing between two immediate transitions with probability propor- tional to the level in two continuous places, but would not simplify the simulation algorithms.

7 Examples

We illustrate the power of the formalism with a few examples.

7.1 A queue with impatient customers and breakdowns

Consider a queue with a server subject to break- downs and repairs. The customers arrive with a con- stant rate, and queue in an unbounded waiting room.

They are served in rst-come- rst-serve order, but, once their service starts, they can become impatient and leave before completion, see Fig. 3. Unlike other system with impatient customers, the amount of time a customer has been in the queue before his service begins does not a ect his decision to leave. The arcs fromServing toBusy and fromWaiting toIdl eare used to count time into the two places, hence they have uid rate one. The arcs from Busy and Idl e toServing have impulse

x

Busy and

x

Idle de ned on

them, respectively. Hence, they are \ ushing" arcs, they have the e ect of emptying the two places imme- diately after the ring ofServing.

The guard of immediate transitionLeavespeci es when the customer at the head of the queue decides to leave. Various policies can be easily modeled:

 The total amount of time from the moment ser- vice begun exceeds a certain threshold MAX. Then, we could de ne the guardgLeav e to be the boolean expression (

x

Busy+

x

Idle=MAX).

This policy is representative of situations where, once the server begins operating on a customers, the operation must complete within a certain time, for example to avoid spoilage.

 The total amount of time a customer has not re- ceived any service from the moment service be- gun exceeds a certain threshold MAX. Then,

g

Leav e = (

x

Idle=MAX).

This could represent a similar situation, where, however, spoilage occurs only when the customer is not being served.

 A customer has waited for an uninterrupted pe- riod of time MAXwithout receiving any service.

(7)

Arrive

Leave

Customers Up

Down Fail

Repair

Busy

Waiting Idle Serving

xBusy

xIdle

gLeave= ...

Figure 3: The FSPN of a queue with impatient customers and breakdowns.

Then, gLeav e = (

x

Idle =MAX), after adding an impulse arc aBusy ;Repair(

m

;

x

) =

x

Busy, so that

place Busybecomes empty after each repair.

This could represent a situation, where, in ad- dition to occurring only when the customer is not being served, any spoilage immediately dis- appears as soon as service resumes.

 A customer has spent more time waiting for the server to be operational than receiving service, from the moment service begun. Then,gLeav e = (

x

Idle>

x

Busy).

A measure of interest is the fraction of jobs that decides to leave,

number of rings ofLeaveup to time number of rings ofArriveup to time computed over a nite horizon, or in the limit for !

1.

7.2 A dual-tank processing facility

Consider a processing plant where, during normal operation, a liquid enters a main tank, One, from an external source with rate in, and is used by a pro- cessing station, with a (potential) rate out> in, see Fig. 4.

However, the processing station is subject to break- downs, during which it cannot process the liquid. In- terrupting the ow from the external source of liquid into the main tank is an expensive operation, hence, a second additional tank, Tw o, is present. When the

processing station is down, the liquid is automatically routed to tankTw o, which has a maximum capacity

b

Tw o. Only when the second tank is full, the ow from the external source is shut down. After a repair, the processing can resume and the liquid is routed again from the external source, which is restarted if it had been shut down, into tankOne. In addition, any liq- uid in tankTw o is pumped into tankOne, with rate

12. If in+ 12> out, the level in tankOnewill in- crease while the processing station is working to catch up after a repair. Since tank One has a maximum capacity,bO ne, the ow from tankTw o to tankOne, rather than the ow from the external source, is slowed down when this limit is reached. The guard (in the FSPN of Fig. 5)gXfer = (

x

O ne <bO ne) accomplishes this.

The main reason for having two tanks, instead of a single large one, is eciency. As the liquid needs to be maintained at a given temperature, tank One is constantly heated, while tank Tw o is heated only when it contains liquid, during a breakdown. Indeed, the two measures we are interested in computing are:

number of ring ofStartup to time



;

the frequency at which the external source needs to go through a start-stop cycle, and

probability that tankTw ois not empty at time; again, either for a nite  or in the limit for !1.

(8)

γin γout

γ21 Tank

One Processing

Station Tank

Two

Figure 4: A dual-tank processing facility.

Repair One

Two

Up

Down Fail

On

Off

Start Stop

mUpγin

(xTwo=bTwo)

Fill γout Use

γ21

γ21

mDownγin Xfer

(xOne<bOne)

Figure 5: The FSPN of the dual-tank processing facility.

8 Conclusion

In this paper we extended the power of recently intro- duced uid stochasticPetri nets. Since equations char- acterizing the evolution of such FSPNs are a coupled system of partial di erential equations, the generation and solution of these equation can become intractable but for small or very well structured FSPNs. Hence, discrete-event simulation becomes an important av- enue for the solution of FSPNs. Because of the mixed nature of the state space, with discrete and continu- ous componentsand heavy interactions between them, simulation also poses some challenges.

Some of the challenges are addressed in the paper.

Actual implementation (currently in progress) of an FSPN simulator will undoubtedly reveal further areas of investigation.

References

[1] M. Ajmone Marsan, G. Balbo, and G. Conte,Per- formance Models of Multiprocessor Systems, MIT Press, Cambridge, MA, 1986.

[2] M. Ajmone Marsan, G. Balbo, A. Bobbio, G. Chi- ola, G. Conte, and A. Cumani, \The e ect of ex- ecution policies on the semantics and analyis of Stochastic Petri Nets,"IEEE Trans. Softw. Eng., vol. 15, pp. 832{846, July 1989.

[3] D. Anick, D. Mitra and M. Sondhi, \Stochastic Theory of Data-Handling Systems,"The Bell Sys- tem Technical Journal, Vol. 61, No. 8, pp. 1871- 1894, Oct. 1982.

[4] C. G. Cassandras,Discrete Event Systems: Model- ing and Performance Analysis, Aksen Associates, Holmwood, IL, 1993.

[5] G. Ciardo, \Discrete-time Markovian stochastic Petri nets," in Numerical Solution of Markov Chains '95 (W. J. Stewart, ed.), (Raleigh, NC), pp. 339{358, Jan. 1995.

[6] G. Ciardo, J. K. Muppala, and K. S. Trivedi,

\Analyzing concurrent and fault-tolerant software using stochastic Petri nets", J. Par. and Distr.

Comp., 15(3):255{269, July 1992.

(9)

[7] A. I. Elwalid and D. Mitra, \Statistical Multiplex- ing with Loss Priorities in Rate-Based Congestion Control of High-Speed Networks," IEEE Trans- action on Communications, Vol. 42, No. 11, pp.

2989-3002, November 1994.

[8] W. K. Grassmann and Y. Wang, \Immediate events in Markov chains," inNumerical Solution of Markov Chains '95(W. J. Stewart, ed.), (Raleigh, NC), pp. 163{176, Jan. 1995.

[9] G. Horton, V. Kulkarni, D. Nicol, and K. Trivedi,

\Fluid stochastic Petri nets: Theory, application, and solution," ICASE Report 96-5, Institute for Computer Applications in Science and Engineer- ing, Hampton, VA, 1996.

[10] P.A.W. Lewis and G.S. Shedler, \Simulation of NonhomogeneousPoisson Processes by Thinning", Naval Research Logistics Quarterly, Vol. 26, pp.

403-414, 1979.

[11] D. Mitra, \Stochastic Theory of Fluid Models of Multiple Failure-Susceptible Producers and Con- sumers Coupled by a Bu er,"Advances in Applied Probability, Vol. 20, pp. 646-676, 1988.

[12] T. Robertazzi,Computer Networks and Systems:

Queueing Theory and Performance Evaluation, Springer-Verlag, 1990.

[13] M. Telek, A. Bobbio, and A. Pulia to, \Steady state solution of MRSPN with mixed preemp- tion policies," in Proc. IEEE International Com- puter Performance and Dependability Sympo- sium (IPDS'96), (Urbana-Champaign, IL, USA), pp. 106{115, IEEE Comp. Soc. Press, Sept. 1996.

[14] K. S. Trivedi and V. G. Kulkarni, \FSPNs: uid stochastic Petri nets," inProc. 14th Int. Conf. on Applications and Theory of Petri Nets, (Chicago, IL), pp. 24{31, June 1993.

[15] N. Viswanadham and Y. Narahari, Performance Modeling of Automated Manufacturing Systems, Prentice-Hall, Englewood Cli s, NJ, 1992.

References

Related documents

Data on the National Council of Wine Communities collected by the Central Statistical Office (CSO) in 2013 are summarised to present the grape varieties of the

Professional, scientific and technical services experienced a decline in the labour productivity (Q t /Q 0 : L t /L 0 = 0.85), despite a moderate growth in GDP, at the

The solution space is discretized into the x-t plane so that at any point on the grid (x,t) there is a certain H and Q for the that point, H(x,t) and Q(x,t). Figure 2.3

(b) The average pairwise mutual information I SYMB computed from pre-symbolized time series, or (c) the corresponding version I computed from the associated multiplex

The results obtained may be regarded as generalizations of well known results of Datko, Pazy, Littman and Neerven about exponential stability of C o -semigroups...

0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Reduce medical costs Improve worker health Increase productivity; reduce absenteeism Increase employee engagement with health

Costs are based on the size of the container that the waste is brought to the collection event in (for example: if you bring a five-gallon pail, you will be charged for

In summary and referring to the question how does receding horizon control offer a straightforward method for dynamically extending the planning horizon, the find- ings show