HYPENS Manual. Fausto Sessego, Alessandro Giua, Carla Seatzu. February 7, 2008

Size: px
Start display at page:

Download "HYPENS Manual. Fausto Sessego, Alessandro Giua, Carla Seatzu. February 7, 2008"

Transcription

1 HYPENS Manual Fausto Sessego, Alessandro Giua, Carla Seatzu February 7, 28 HYPENS is an open source tool to simulate timed discrete, continuous and hybrid Petri nets. It has been developed in Matlab to allow designer and user to take advantage of several functions and structures already defined in Matlab, such as optimization routines, stochastic functions, matrices and arrays, etc. The tool can also be easily interfaced with other Matlab programs and be used for analysis and optimization via simulation. The large set of plot functions available in Matlab allow one to represent the results of the simulation in a clear and intuitive way. Background on Hybrid Petri nets We recall the FOHPN formalism used by HYPENS, following [3]. Net structure: A FOHPN is a structure N = (P, T, P re, P ost, D, C. The set of places P = P d P c is partitioned into a set of discrete places P d (represented as circles and a set of continuous places P c (represented as double circles. The cardinality of P, P d and P c is denoted n, n d and n c. The set of transitions T = T d T c is partitioned into a set of discrete transitions T d and a set of continuous transitions T c (represented as double boxes. The cardinality of T, T d and T c is denoted q, q d and q c. The pre- and post-incidence functions that specify the arcs are (here R + = R+ {}: P re, P ost : P c T R +, P d T N. We require that t T c and p P d, P re(p, t = P ost(p, t, so that the firing of continuous transitions does not change the marking of discrete places. Transitions in T d may either be deterministic or stochastic. In the case of deterministic transitions the function D : T d R + specifies the timing associated to timed discrete transitions. In the case of stochastic transitions D defines the parameter(s of the distribution function corresponding to the timing delay. The function C : T c R + R+ specifies the firing speeds associated to continuous transitions (here R + = R + { }. For any continuous transition t j T c we let C(t j = [V j, V j], with V j V j: V j represents the minimum firing speed (mfs, V j F. Sessego, A. Giua and C. Seatzu are with the Department of Electrical and Electronic Engineering, University of Cagliari, {fausto.sessego,giua,seatzu}@diee.unica.it.

2 HYPENS Manual Rev represents the maximum firing speed (MFS. The incidence matrix of the net is defined as C(p, t = P ost(p, t P re(p, t. The restriction of C (P re, P ost, resp. to P x and T y, with x, y {c, d}, is denoted C xy (P re xy, P ost xy, resp.. A marking is a function that assigns to each discrete place a non-negative number of tokens, and to each continuous place a fluid volume. Therefore M : P c R +, P d N. The marking of place p i is denoted M i, while the value of the marking at time τ is denoted M(τ. The restriction of M to P d and P c are denoted with M d and M c, resp. A system N, M(τ is an FOHPN N with an initial marking M(τ. Net dynamics: The enabling of a discrete transition depends on the marking of all its input places, both discrete and continuous. More precisely, a discrete transition t is enabled at M if for all p i t, M i P re(p i, t, where t denotes the preset of transition t. The enabling degree of t at M is equal to enab(m, t = max{k N M k P re(, }. If t is infinite-server semantics, we associate to it a number of clocks that is equal to enab(m, t. Each clock is initialized to a value that is equal to the time delay of t, if t is deterministic, or to a random value depending on the distribution function of t, if t is stochastic. If a discrete transition is k-server semantics, then the number of clocks that are associated to t is equal to min{k, enab(m, t}. The values of clocks associated to t decrease linearly with time, and t fires when the value of one of its clocks is null (if k clocks reach simultaneously a null value, then t fires k times. Note that here we are considering enabling memory policy, not total memory policy. This means that if a transition enabling degree is reduced by the firing of a different transition, then the disabled clocks have no memory of this in future enabling [, 4]. If a discrete transition t j fires k times at time τ, then its firing at M(τ yields a new marking M(τ such that M c (τ = M c (τ + C cd σ, and M d (τ = M d (τ + C dd σ, where σ = k e j is the firing count vector associated to the firing of transition t j k times. To every continuous transition t j is associated an instantaneous firing speed (IFS v j (τ. For all τ it should be V j v j(τ V j, and the IFS of each continuous transition is piecewise constant between events. A continuous transition is enabled only by the marking of its input discrete places. The marking of its input continuous places, however, is used to distinguish between strong and weakly enabled: if all input continuous places of t j have a not null marking, then t j is called strongly enabled, else t j is called weakly enabled. We can write the equation which governs the evolution in time of the marking of a place p i P c as ṁ i (τ = t j T c C(p i, t j v j (τ where v(τ = [v (τ,..., v nc (τ] T is the IFS vector at time τ. The enabling state of a continuous transition t j defines its admissible IFS v j. If t j is not enabled then v j =. If t j is strongly enabled, then it may fire with any firing speed v j [V j, V j]. If t j We are using an enabling policy for continuous transitions slightly different from the one proposed by David and Alla [4]. See [2] for a detailed discussion.

3 HYPENS Manual Rev is weakly enabled, then it may fire with any firing speed v j [V j, V j], where V j V j since t j cannot remove more fluid from any empty input continuous place p than the quantity entered in p by other transitions. Linear inequalities can be used to characterize the set of all admissible firing speed vectors S. Each vector v S represents a particular mode of operation of the system described by the net, and among all possible modes of operation, the system operator may choose the best, i.e., the one that maximize a given performance index J(v [2]. We say that a macro event (ME occurs when: (a a discrete transition fires, thus changing the discrete marking and enabling/disabling a continuous transition; (b a continuous place becomes empty, thus changing the enabling state of a continuous transition from strong to weak; (c a continuous place, whose marking is increasing (decreasing, reaches a flow level that increases (decreases the enabling degree of discrete transitions. Let τ k and τ k+ be the occurrence times of two consecutive ME as defined above; we assume that within the interval of time [τ k, τ k+, denoted as a macro period (MP, the IFS vector is constant and we denote it v(τ k. Then the continuous behavior of an FOHPN for τ [τ k, τ k+ is described by M c (τ = M c (τ k + C cc v(τ k (τ τ k, M d (τ = M d (τ k. Example. Consider the net system in Fig..a. Place p is a continuous place, while all other places are discrete. Continuous transitions t, t 2 have MFS V =, V 2 = 2 and null mfs. Deterministic timed discrete transitions t 3, t 5 have timing delays 2 and.5, resp. Exponential stochastic discrete transitions t 4, t 6 have average firing rates are λ 4 = 2 and λ 6 =.5. The continuous transitions represent two unreliable machines; parts produced by the first machine (t are put in a buffer (p before being processed by the second machine (t 2. The discrete subnet represents the failure model of the machines. When p 3 is marked, t is enabled, i.e. the first machine is operational; when p 2 is marked, transition t is not enabled, i.e. the first machine is down. A similar interpretation applies to the second machine. Assume that we want to maximize the production rates of machines. In such a case, during any MP continuous transitions fire at their highest speed. This means that we want to maximize J(v = v + v 2 under the constraints v V, v 2 V 2, and when p is empty v 2 v. The resulting evolution graph and the time evolution of M, v and v 2 are shown in Fig..b and c. During the first MP (of length both continuous transitions are strongly enabled and fire at their MFS. After one time unit, p gets empty, thus t 2 becomes weakly enabled fires at the same speed of t. At time τ =.5, transition t 5 fires, disabling t 2. 2 HYPENS Tool HYPENS has been developed in Matlab (Version 7.. It is composed of 4 main files. The first two files, make HPN.m and enter HPN.m create the net to be simulated: the former requires input data from the workspace while the latter is a guided procedure. The file simulator HPN.m computes the timing evolution of the net that is summarized in an

4 HYPENS Manual Rev Discrete part Continuous part 2 [ ] T M d = c M v = ( = [ 2] T v p 2 t 3 p 3 t 4.5 t [,] p d = [ ] T [ ] T M p c M v = ( = M.5 p 4 t 5 p 5 t 6 t 2 [,2] t 5 d = [ ] T 2 [ ] T M c M v = (.5 = 2 2 v 2 2 (a (b (c Figure : (a An FOHPN, (b its evolution graph, and (c its evolution in time. array of cells called Evol. Based on this array, the file analysis HPN.m computes useful statistics and plots the simulation results. Function make HPN: [Pre, Post, M, vel, v, D, s, alpha] = make HPN (Pre cc, Pre cd, Pre dc, Pre dd, Post cc, Post cd, Post dd, M c, M d, vel, v, D, s, alpha. This function has the following input arguments. Matrices P re cc, P re cd, P re dc, P re dd, P ost cc, P ost cd, P ost dd ; The initial marking M c and M d of continuous/discrete places. Matrix vel (R + q c 2 specifies, for each continuous transition, the mfs and the MFS. Vector v N q d specifies the timing structure of each discrete transition. The entries of this vector may take the following values: - deterministic; 2 - exponential distribution; 3 - uniform distribution; 4 - Poisson distribution; 5 - Rayleigh distribution; 6 - Weibull distribution; etc. Matrix D (R + q d 3 associates to each discrete transition a row vector of length 3. If the transition is deterministic, the first element of the row is equal to the time delay of transition. If the transition is stochastic, the elements of the row specify the parameters of the corresponding distribution function (up to three, given the available distribution functions. Vector s N q d keeps track of the number of servers associated to discrete transitions. The entries take any value in N: if the corresponding transition has infinite servers; k > if the corresponding transition has k servers. Vector alpha specifies the conflict resolution policy among discrete transitions.

5 HYPENS Manual Rev When alpha N q d then two cases are possible. If all its entries are zero, conflict resolution is solved by priorities that depend on the indices of transitions (the smallest the index, the highest the priority. Otherwise, all its entries are greater than zero and specify the weight of the corresponding transition, i.e., if T e is the set of enabled transitions, the probability of firing transition t T e is π(t = alpha(t/ ( t T e alpha(t. When alpha N 2 q d the first row specifies the weights associated to transitions (as in the previous case while the second row specifies the priorities associated to transitions. During simulation, when a conflict arises, priority are first considered; in the case of equal priority, weights are used to solve the conflict. See [4] for details. Output data of function enter HPN are nothing else than input data, appropriately rewritten so as to constitute the input to function simulator HPN. Matrices P re and P ost are defined as: P re cc NaN P re cd P re = NaN NaN NaN, P ost = P ost cc NaN P ost cd NaN NaN NaN P re dc NaN P re dd P ost dc NaN P ost dd where a row and a column of NaN (not a number have been introduced so as to better visualize the continuous and/or discrete sub-matrices. The initial marking is denoted as M and is defined as a column vector. All other output data are identical to the input data. Function enter HPN: [Pre, Post, M, vel, v, D, s, alpha] = enter HPN. This function creates the net following a guided procedure. The parameters are identical to those defined for the previous function make HPN.m. Function simulator HPN: Evol = simulator HPN(Pre, Post, M, vel, v, D, s, alpha, time stop, simulation type, J. The input data of function simulator HPN coincide with the output data of the previous interface functions, plus three additional parameters. time stop is equal to the time length of simulation. simulation type {2,, } specifies the simulation mode. Mode : no intermediate result is shown but only array Evol is created to be later analyzed by function analysis HPN. Modes and 2 generate on screen the evolution graph: in the fist case the simulation proceeds without interruptions until time stop is reached; in the second case the simulation is carried out step-bystep J R q c is a row vector that associates to each continuous transition a weight: J v is the linear cost function that should be maximized at each MP to compute the IFS vector v. This

6 HYPENS Manual Rev optimization problem is solved using the subroutine glpkmex.m of Matlab. Output data are saved in an array of cells called Evol, with the following entries (here K is the number of ME that occur during the simulation run. Type {, 2, 3}: (2, 3 if the net is continuous (discrete, hybrid. M Evol (R + n (K+ keeps track of the marking of the net during all the evolution. In particular, an n dimensional column vector is associated to the initial time instant and to all the time instants in which a different ME occurs, each one representing the corresponding value of the marking at that time instant. IFS Evol (R + q c (K+ keeps track of the IFS vectors during all the evolution. In particular, a q c dimensional column vector is associated to the initial configuration and to the end of each ME. P macro and Event macro Evol are (K + -dimensional row vectors and keep track of the ME caused by continuous places. If the generic r-th ME is due to continuous place p j, then the (r+ th entry of P macro is equal to j; if it is due to the firing of a discrete transition, then the (r+ th entry of P macro is equal to NaN. The entries of Event macro Evol may take values in {,,, NaN}: means that the corresponding continuous place gets empty; means that the the continuous place enables a new discrete transition; means that the continuous place disables a discrete transition. If the generic r-th ME is due to the firing of a discrete transition, then the (r+-th entry of Event macro Evol is equal to NaN as well. The first entries of both P macro and Event macro Evol are always equal to NaN. firing transition is a (K + dimensional row vector that keeps track of the discrete transitions that have fired during all the evolution. If the r-th ME is caused by the firing of discrete transition t k, then the (r + th entry of firing transition is equal to k; if it is caused by a continuous place, then the (r + th entry of firing transition is equal to. Note that the first entry of firing transition is always equal to NaN. timer macro event is a (K + dimensional row vector that keeps into memory the length of ME. The first entry is always equal to NaN. τ is equal to the total time of simulation. Q Evol is a ((K + q d dimension array of cells, whose generic (r +, j-th entry specifies the clocks of transition t j at the end of the r-th MP. P c P d T c T d N 4 is a 4-dimensional row vector equal to [n c n d q c q d ]. Function analysis HPN: [ P ave, P max, Pd ave t, IFS ave, Td ave, Pd freq, Md freq ] = analysis HPN (Evol, static plot, graph, marking plot, Td firing plot, up marking plot, Pd prob plot, Pd ave t plot, IFS plot, up IFS plot, IFS ave plot, Td freq plot. This function computes useful statistics and plots the results of the simulation run contained in

7 HYPENS Manual Rev Evol. The other input parameters are the following. statistic plot {, }: if two histograms are created showing for each place, the maximum and the average value of the marking during the simulation. graph {, }: if the evolution graph is printed on screen. marking plot: is a vector used to plot the marking evolution of selected places in separate figures. As an example, if we set marking plot= [x y z], the marking evolution of places p x, p y and p z is plotted. If marking plot= [ ], then the marking evolution of all places is plotted. Td firing plot {, }: if a graph is created showing the time instants at which discrete transitions have fired. up marking plot is a vector used to plot the marking evolution of selected places in a single figure. The syntax is the same as that of marking plot. Pd prob plot {, }: means that as many plots as the number of discrete places will be visualized, each one representing the frequency of having a given number of tokens during the simulation run. Pd ave t plot is a vector used to plot the average marking in discrete places with respect to time. A different figure is associated to each place, and the syntax to select places is the same as that of marking plot. IFS plot (resp., up IFS plot: is a vector used to plot the IFS of selected transitions in separate figures (resp., in a single figure. The syntax is the same as that of marking plot and up marking plot. IFS ave plot {, }: if an histogram is created showing the average firing speed of continuous transitions. Td freq plot {, }: if an histogram is created showing the firing frequency of discrete transitions during the simulation run. These are the outputs of function analysis HPN.m. P ave (P max R n : each entry is equal to the average (maximum marking of the corresponding place during the simulation run. Pd ave t R n d K : column k specifies the average marking of discrete places from time τ = to time τ k when the k-th ME occurs. IFS ave R q c : each entry is equal to the average IFS of the corresponding continuous transition. Td ave R q d: each entry is equal to the average enabling time of the corresponding discrete transition. Pd freq R n d (z+ specifies for each discrete place the frequency of a given number of tokens

8 HYPENS Manual Rev during the simulation run. Here z is the maximum number of tokens in any discrete place during the simulation run. Md freq R (n d+ K where K denotes the number of different discrete markings that are reached during the simulation run. Each column of Md freq contains one of such markings and its corresponding frequency as a last entry. 3 A numerical example Let us consider again the FOHPN system in Fig.. For simplicity, we assume that input data using function make HP N.m are entered in a file net.m where we define the following matrices: P re CC = [ ] ; P re CD = [ ] ; P re DC = [ ] ; P re DD = [ ] ; P ost CC = [ ] ; P ost CD = [ ] ; P ost DC = [ ] ; P re DD = [ ] ; M C = [ ] ; M D = [ ] ; vel = [ 2] ; D = [ 2 NaN NaN.5 NaN NaN.5 NaN NaN] ; alpha = [ ] ; v = [ 2 2] ; s = [ ] ; We save the above input data in an array of cells net array = {P re CC, P re CD, P re DC, P re DD, P ost CC, P ost CD, P ost DC, P ost DD, M C, M D, vel, v, D, s, alpha} Now, input should be rewritten in an appropriate form so as to provide the input data of function simulator HP N.m. Two different syntax are possible:. correct net = make HP N (P re CC, P re CD, P re DC, P re DD, P ost CC, P ost CD, P ost DC, P ost DD, M C, M D, vel, v, D, s, alpha

9 HYPENS Manual Rev correct net = make HP N (net array This also allow to verify if input data are consistent. If such is the case, then output data of function make HP N are saved in an array of cells called correct net; if input data are not consistent error messages are displayed. If data are consistent, in the prompt of Matlab the following information are visualized: transition t --> msf= MFS= transition t2 --> msf= MFS=2 transition t3 --> server inf; weight ; transition t4 --> server inf; weight ; transition t5 --> server inf; weight ; transition t6 --> server inf; weight ; correct_net = Columns through 6 [6x7 double] [6x7 double] [5x double] [2x2 double] [x4 double] [4x3 double] Columns 7 through 8 [x4 double] [x4 double] In particular, it is summarized the minimum firing speeds and the maximal firing speeds of continuous transitions, and the number of servers and the weight associated to discrete transitions. Then, it is visualized that correct net is an array of eight cells, and the dimension of each cell is explicitly shown. If celldisp(correct net is executed then the following data are shown: correct net{} = P re = [ NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN ] correct net{2} = P ost = [ NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN ]

10 HYPENS Manual Rev correct net{3} = M = [ ] ; correct net{4} = vel = [ 2] ; correct net{5} = v = [ 2 2] ; correct net{6} = D = [ 2 NaN NaN.5 NaN NaN.5 NaN NaN] ; correct net{7} = s = [ ] ; correct net{8} = alpha = [ ] ; To simulate the net behavior we use function simulator HP N, input data are correct net plus three additional parameters that we assume as follows: time stop = 7 (the time length of simulation is assumed equal to seven simulation tipe = (specifies that we want visualized the evolution graph without interruptions until time stop is reached J = [ ] (the objective of function we want maximize for each Macro Period is equal to V + V 2 where V and V 2 are the IFS of continuous transitions t and t 2 Now, we execute Evol = simulator HP N (correct net, 7,, [ ] The evolution graph is generated on the screen: The current continuous marking Istantaneous firing speeds t strongly enabled t2 2 strongly enabled The current discrete marking

11 HYPENS Manual Rev Residual times of clocks Q t3 2. t4 NaN t5.5 t6 NaN Enabling vector e Place p gets empty after a time interval. (time tot= The current continuous marking Istantaneous firing speeds t strongly enabled t2 weakly enabled The current discrete marking Residual times of clocks Q t3. t4 NaN t5.5 t6 NaN Enabling vector e The discrete transition that fire at time.5 (time tot=.5 is t5 ( time The current continuous marking Istantaneous firing speeds t strongly enabled t2 not enabled The current discrete marking

12 HYPENS Manual Rev Residual times of clocks Q t3.5 t4 NaN t5 NaN t Enabling vector e The discrete transition that fire at time.5 (time tot=2. is t3 ( time The current continuous marking.5 Istantaneous firing speeds t not enabled t2 not enabled The current discrete marking Residual times of clocks Q t3 NaN t t5 NaN t Enabling vector e The discrete transition that fire at time (time tot=4.279 is t6 ( time The current continuous marking.5 Istantaneous firing speeds t not enabled t2 2 strongly enabled The current discrete marking

13 HYPENS Manual Rev Residual times of clocks Q t3 NaN t4.65 t5.5 t6 NaN Enabling vector e Place p gets empty after a time interval.25 (time tot= e+ The current continuous marking Istantaneous firing speeds t not enabled t2 weakly enabled The current discrete marking Residual times of clocks Q t3 NaN t4.4 t5.25 t6 NaN Enabling vector e The discrete transition that fire at time.4 (time tot=4.929 is t4 ( time The current continuous marking Istantaneous firing speeds t strongly enabled t2 weakly enabled The current discrete marking

14 HYPENS Manual Rev Residual times of clocks Q t3 2. t4 NaN t5.849 t6 NaN Enabling vector e The discrete transition that fire at time.849 (time tot=5.779 is t5 ( time The current continuous marking Istantaneous firing speeds t strongly enabled t2 not enabled The current discrete marking Residual times of clocks Q t3.5 t4 NaN t5 NaN t Enabling vector e The discrete transition that fire at time.5 (time tot=6.929 is t3 ( time The current continuous marking.56 Istantaneous firing speeds t not enabled t2 not enabled The current discrete marking

15 HYPENS Manual Rev Residual times of clocks Q t3 NaN t4.443 t5 NaN t Enabling vector e Evol = Columns through 6 [3] [5x double] [2x double] [x double] [x double] [x double] Columns 7 through [x double] [x double] {x cell} [x4 double] Output data of function simulator HP N are saved in an array of then cells called Evol that provides the input of function analysis HP N. If we execute the following data are shown in the screen: E[M(p]=.367 E[M(p2]=.429 E[M(p3]=.57 E[M(p4]=.57 E[M(p5]=.429 max(p=.5 max(p2=. max(p3=. max(p4=. max(p5=. Prob[M(p2=]=.57 Prob[M(p2=]=.429 Prob[M(p3=]=.429 Prob[M(p3=]=.57 Prob[M(p4=]=.429 Prob[M(p4=]=.57 analysed net = analysis HP N(Evol

16 HYPENS Manual Rev Prob[M(p5=]=.57 Prob[M(p5=]=.429 E[v]=.57 E[v2]=.55 E[t3]=.286 E[t4]=.43 E[t5]=.286 E[t6]=.43 ****************************************** Md(=[ ] f(=.4286 ****************************************** Md(2=[ ] f(2=.9277 ****************************************** Md(3=[ ] f(3=.2358 ****************************************** Md(4=[ ] f(4= ****************************************** Md(5=[ ] f(5=.357 ****************************************** Md(6=[ ] f(6= ****************************************** Md(7=[ ] f(7=.7 ****************************************** analysed_net = [x5 double] [x5 double] [x2 double] [x6 double] [5x2 double] [] [6x7 double] Now, let us the function analysis HP N may also have different inputs that enable us to specify the plots we want visualize. The following examples clarify this. analysed net = analysis HP N(Evol, statistic plot = : the maximum and the average value of the marking during the simulation are displayed (see Figure 2;

17 HYPENS Manual Rev The maximum marking of places The average marking of places wrt time Max(p i Average number of tokens p i p i Figure 2: analysed net = analysis HP N(Evol, analysed net = analysis HP N(Evol, [ ], graph = : this parameter is only relative to discrete nets, thus it has no effect in our example regardless of the value it assumes; analysed net = analysis HP N(Evol, [ ], [ ], marking plot = : the marking evolution of all places is shown (see Figure 3 in two different figures. The first one shows the marking evolution of places p, p 2, p 3, p 4, and the second one shows the marking evolution of places p 5 2 ; analysed net = analysis HP N(Evol, [ ], [ ], [ ], T d firing plot = : a graph showing the time instants at which discrete transition have fired is shown (see Figure 4; analysed net = analysis HP N(Evol, [ ], [ ], [ ], [ ], [ 3] Up marking plot = [ 3]: the marking evolution of places p and p 3 are plotted in the same figure (see Figure 5; analysed net = analysis HP N(Evol, [ ], [ ], [ ], [ ], [ ], P d prob plot = : the frequency of having a given number of tokens during the simulation run is shown for each discrete place (see Figure 6; analysed net = analysis HP N(Evol, [ ], [ ], [ ], [ ], [ ], [ ], P d ave t plot = : this parameter is only relative to discrete nets, thus it has no effect in our example regardless of the value it assumes; 2 By default if the number of places is greater than 4, then the graphs are shown in different figures

18 HYPENS Manual Rev M(p The evolution of marking M(p wrt time The evolution of marking M(p wrt time M(p time The evolution of marking M(p 3 wrt time time The evolution of marking M(p 4 wrt time.8 M(p M(p time time The evolution of marking M(p 5 wrt time.8 M(p time Figure 3: analysed net = analysis HP N(Evol, [ ], [ ],

19 HYPENS Manual Rev transitions t i Macro Events: disc. trans. t i (i or cont. place ( tempo Figure 4: analysed net = analysis HP N(Evol, [ ], [ ], [ ], M(p M(p 3 Markings wrt time Markings time Figure 5: analysed net = analysis HP N(Evol, [ ], [ ], [ ], [ ], [ 3]

20 HYPENS Manual Rev Frequency of a given number of tokens in p 2 Frequency of a given number of tokens in p Prob[M(p 2 ] Prob[M(p 3 ] M(p M(p 3 Frequency of a given number of tokens in p 4 Frequency of a given number of tokens in p Prob[M(p 4 ] Prob[M(p 5 ] M(p M(p 5 Figure 6: analysed net = analysis HP N(Evol, [ ], [ ], [ ], [ ], [ ],

21 HYPENS Manual Rev IFS of t wrt time 2 IFS of t 2 wrt time.8.5 IFS(t.6.4 IFS(t time time Figure 7: analysed net = analysis HP N(Evol, [ ], [ ], [ ], [ ], [ ], [ ], [ ], 2.5 IFS wrt time IFS(t IFS(t 2 IFS(t i time Figure 8: analysed net = analysis HP N(Evol, [ ], [ ], [ ], [ ], [ ], [ ], [ ], [ ], analysed net = analysis HP N(Evol, [ ], [ ], [ ], [ ], [ ], [ ], [ ], IF S plot = : the IFS of all continuous transitions are shown (see Figure 7; analysed net = analysis HP N(Evol, [ ], [ ], [ ], [ ], [ ], [ ], [ ], [ ], up IF S plot = : the IFS of all continuous transitions are shown in the same figure (see Figure 8; analysed net = analysis HP N(Evol, [ ], [ ], [ ], [ ], [ ], [ ], [ ],, [ ], [ ], IF S ave plot = : an histogram showing the average firing speed of continuous transitions is created (see Figure 9; analysed net = analysis HP N(Evol, [ ], [ ], [ ], [ ], [ ], [ ], [ ],, [ ], [ ], [ ], T d freq plot = : an histogram showing the firing frequency of discrete transitions is created (see Figure ;

22 HYPENS Manual Rev Average firing speed of continuous transitions.5 Mean speed vel t i Figure 9: analysed net = analysis HP N(Evol, [ ], [ ], [ ], [ ], [ ], [ ], [ ], [ ], [ ], Mean number of firing Firing frequency of discrete transitions ti Figure : analysed net = analysis HP N(Evol, [ ], [ ], [ ], [ ], [ ], [ ], [ ], [ ], [ ], [ ],

23 HYPENS Manual Rev References [] M. Ajmone Marsan, G. Balbo, G. Conte, S. Donatelli, and G. Franceschinis. Modelling with Generalized Stochastic Petri Nets. Wiley, 995. [2] F. Balduzzi, A. Giua, and C. Seatzu. Modelling and simulation of manufacturing systems with first-order hybrid Petri nets. Int. J. of Production Research, 39(2: , 2. [3] F. Balduzzi, G. Menga, and A. Giua. First-order hybrid Petri nets: a model for optimization and control. IEEE Trans. on Robotics and Automation, 6(4: , 2. [4] R. David and H. Alla. Discrete, Continuous and Hybrid Petri Nets. Springer, 24.

Linear programming techniques for analysis and control of batches Petri nets

Linear programming techniques for analysis and control of batches Petri nets Linear programming techniques for analysis and control of batches Petri nets Isabel Demongodin, LSIS, Univ. of Aix-Marseille, France (isabel.demongodin@lsis.org) Alessandro Giua DIEE, Univ. of Cagliari,

More information

Decidability of Single Rate Hybrid Petri Nets

Decidability of Single Rate Hybrid Petri Nets Decidability of Single Rate Hybrid Petri Nets Carla Seatzu, Angela Di Febbraro, Fabio Balduzzi, Alessandro Giua Dip. di Ing. Elettrica ed Elettronica, Università di Cagliari, Italy email: {giua,seatzu}@diee.unica.it.

More information

Petri Net Modeling of Irrigation Canal Networks

Petri Net Modeling of Irrigation Canal Networks Petri Net Modeling of Irrigation Canal Networks Giorgio Corriga, Alessandro Giua, Giampaolo Usai DIEE: Dip. di Ingegneria Elettrica ed Elettronica Università di Cagliari P.zza d Armi 09123 CAGLIARI, Italy

More information

MODELING AND SIMULATION BY HYBRID PETRI NETS. systems, communication systems, etc). Continuous Petri nets (in which the markings are real

MODELING AND SIMULATION BY HYBRID PETRI NETS. systems, communication systems, etc). Continuous Petri nets (in which the markings are real Proceedings of the 2012 Winter Simulation Conference C. Laroque, J. Himmelspach, R. Pasupathy, O. Rose, and A. M. Uhrmacher, eds. MODELING AND SIMULATION BY HYBRID PETRI NETS Hassane Alla Latéfa Ghomri

More information

OPTIMAL TOKEN ALLOCATION IN TIMED CYCLIC EVENT GRAPHS

OPTIMAL TOKEN ALLOCATION IN TIMED CYCLIC EVENT GRAPHS OPTIMAL TOKEN ALLOCATION IN TIMED CYCLIC EVENT GRAPHS Alessandro Giua, Aldo Piccaluga, Carla Seatzu Department of Electrical and Electronic Engineering, University of Cagliari, Italy giua@diee.unica.it

More information

Control of Hybrid Petri Nets using Max-Plus Algebra

Control of Hybrid Petri Nets using Max-Plus Algebra Control of Hybrid Petri Nets using Max-Plus Algebra FABIO BALDUZZI*, ANGELA DI FEBBRARO*, ALESSANDRO GIUA, SIMONA SACONE^ *Dipartimento di Automatica e Informatica Politecnico di Torino Corso Duca degli

More information

NONBLOCKING CONTROL OF PETRI NETS USING UNFOLDING. Alessandro Giua Xiaolan Xie

NONBLOCKING CONTROL OF PETRI NETS USING UNFOLDING. Alessandro Giua Xiaolan Xie NONBLOCKING CONTROL OF PETRI NETS USING UNFOLDING Alessandro Giua Xiaolan Xie Dip. Ing. Elettrica ed Elettronica, U. di Cagliari, Italy. Email: giua@diee.unica.it INRIA/MACSI Team, ISGMP, U. de Metz, France.

More information

Analysis and Simulation of Manufacturing Systems using SimHPN toolbox

Analysis and Simulation of Manufacturing Systems using SimHPN toolbox Analysis and Simulation of Manufacturing Systems using SimHPN toolbox Jorge Júlvez, Cristian Mahulea, and Carlos-Renato Vázquez Abstract SimHP N is a software tool embedded in MAT- LAB that has been developed

More information

From Stochastic Processes to Stochastic Petri Nets

From Stochastic Processes to Stochastic Petri Nets From Stochastic Processes to Stochastic Petri Nets Serge Haddad LSV CNRS & ENS Cachan & INRIA Saclay Advanced Course on Petri Nets, the 16th September 2010, Rostock 1 Stochastic Processes and Markov Chains

More information

Modelling Systems by Hybrid Petri Nets: an Application to Supply Chains Mariagrazia Dotoli 1, Maria Pia Fanti 1, Alessandro Giua 2, Carla Seatzu 2

Modelling Systems by Hybrid Petri Nets: an Application to Supply Chains Mariagrazia Dotoli 1, Maria Pia Fanti 1, Alessandro Giua 2, Carla Seatzu 2 Modelling Systems by Hybrid Petri Nets: an Application to Supply Chains Mariagrazia Dotoli 1, Maria Pia Fanti 1, Alessandro Giua 2, Carla Seatzu 2 1 Dip. di Elettrotecnica ed Elettronica, Politecnico di

More information

Stochastic Petri Net

Stochastic Petri Net Stochastic Petri Net Serge Haddad LSV ENS Cachan & CNRS & INRIA haddad@lsv.ens-cachan.fr Petri Nets 2013, June 24th 2013 1 Stochastic Petri Net 2 Markov Chain 3 Markovian Stochastic Petri Net 4 Generalized

More information

Open Access Database Italy. 1. Introduction

Open Access Database  Italy. 1. Introduction Modelling Systems by Hybrid Petri Nets: an Application to Supply Chains Mariagrazia Dotoli 1, Maria Pia Fanti 1, Alessandro Giua 2 and Carla Seatzu 2 1 Dip. di Elettrotecnica ed Elettronica, Politecnico

More information

Time and Timed Petri Nets

Time and Timed Petri Nets Time and Timed Petri Nets Serge Haddad LSV ENS Cachan & CNRS & INRIA haddad@lsv.ens-cachan.fr DISC 11, June 9th 2011 1 Time and Petri Nets 2 Timed Models 3 Expressiveness 4 Analysis 1/36 Outline 1 Time

More information

A REACHABLE THROUGHPUT UPPER BOUND FOR LIVE AND SAFE FREE CHOICE NETS VIA T-INVARIANTS

A REACHABLE THROUGHPUT UPPER BOUND FOR LIVE AND SAFE FREE CHOICE NETS VIA T-INVARIANTS A REACHABLE THROUGHPUT UPPER BOUND FOR LIVE AND SAFE FREE CHOICE NETS VIA T-INVARIANTS Francesco Basile, Ciro Carbone, Pasquale Chiacchio Dipartimento di Ingegneria Elettrica e dell Informazione, Università

More information

A deadlock prevention method for railway networks using monitors for colored Petri nets

A deadlock prevention method for railway networks using monitors for colored Petri nets A deadlock prevention method for railway networks using monitors for colored Petri nets Maria Pia Fanti Dip di Elettrotecnica ed Elettronica Politecnico di Bari, Italy fanti@deemailpolibait Abstract The

More information

MODELLING DYNAMIC RELIABILITY VIA FLUID PETRI NETS

MODELLING DYNAMIC RELIABILITY VIA FLUID PETRI NETS MODELLING DYNAMIC RELIABILITY VIA FLUID PETRI NETS Daniele Codetta-Raiteri, Dipartimento di Informatica, Università di Torino, Italy Andrea Bobbio, Dipartimento di Informatica, Università del Piemonte

More information

CONTINUOUS APPROXIMATION OF PEPA MODELS AND PETRI NETS

CONTINUOUS APPROXIMATION OF PEPA MODELS AND PETRI NETS CONTINUOUS APPROXIMATION OF PEPA MODES AND PETRI NETS Vashti Galpin FCS, School of Informatics, University of Edinburgh, Scotland Email: Vashti.Galpin@ed.ac.uk KEYWORDS PEPA, Petri nets, continuous approximation,

More information

Stochastic Petri Net. Ben, Yue (Cindy) 2013/05/08

Stochastic Petri Net. Ben, Yue (Cindy) 2013/05/08 Stochastic Petri Net 2013/05/08 2 To study a formal model (personal view) Definition (and maybe history) Brief family tree: the branches and extensions Advantages and disadvantages for each Applications

More information

THROUGHPUT ANALYSIS OF MANUFACTURING CELLS USING TIMED PETRI NETS

THROUGHPUT ANALYSIS OF MANUFACTURING CELLS USING TIMED PETRI NETS c 1994 IEEE. Published in the Proceedings of the IEEE International Conference on Systems, Man and Cybernetics, San Antonio, TX, October 2 5, 1994. Personal use of this material is permitted. However,

More information

Time(d) Petri Net. Serge Haddad. Petri Nets 2016, June 20th LSV ENS Cachan, Université Paris-Saclay & CNRS & INRIA

Time(d) Petri Net. Serge Haddad. Petri Nets 2016, June 20th LSV ENS Cachan, Université Paris-Saclay & CNRS & INRIA Time(d) Petri Net Serge Haddad LSV ENS Cachan, Université Paris-Saclay & CNRS & INRIA haddad@lsv.ens-cachan.fr Petri Nets 2016, June 20th 2016 1 Time and Petri Nets 2 Time Petri Net: Syntax and Semantic

More information

Cycle time optimization of deterministic timed weighted marked graphs by transformation

Cycle time optimization of deterministic timed weighted marked graphs by transformation Cycle time optimization of deterministic timed weighted marked graphs by transformation Zhou He, Zhiwu Li, Alessandro Giua, Abstract Timed marked graphs, a special class of Petri nets, are extensively

More information

CONTROL AND DEADLOCK RECOVERY OF TIMED PETRI NETS USING OBSERVERS

CONTROL AND DEADLOCK RECOVERY OF TIMED PETRI NETS USING OBSERVERS 5 e Conférence Francophone de MOdélisation et SIMulation Modélisation et simulation pour l analyse et l optimisation des systèmes industriels et logistiques MOSIM 04 du 1 er au 3 septembre 2004 - Nantes

More information

An Efficient Heuristics for Minimum Time Control of Continuous Petri nets

An Efficient Heuristics for Minimum Time Control of Continuous Petri nets An Efficient Heuristics for Minimum Time Control of Continuous Petri nets Hanife Apaydin-Özkan, Jorge Júlvez, Cristian Mahulea, Manuel Silva Instituto de Investigación en Ingeniería de Aragon (I3A), Universidad

More information

Proxel-Based Simulation of Stochastic Petri Nets Containing Immediate Transitions

Proxel-Based Simulation of Stochastic Petri Nets Containing Immediate Transitions Electronic Notes in Theoretical Computer Science Vol. 85 No. 4 (2003) URL: http://www.elsevier.nl/locate/entsc/volume85.html Proxel-Based Simulation of Stochastic Petri Nets Containing Immediate Transitions

More information

DES. 4. Petri Nets. Introduction. Different Classes of Petri Net. Petri net properties. Analysis of Petri net models

DES. 4. Petri Nets. Introduction. Different Classes of Petri Net. Petri net properties. Analysis of Petri net models 4. Petri Nets Introduction Different Classes of Petri Net Petri net properties Analysis of Petri net models 1 Petri Nets C.A Petri, TU Darmstadt, 1962 A mathematical and graphical modeling method. Describe

More information

Performance Control of Markovian Petri Nets via Fluid Models: A Stock-Level Control Example

Performance Control of Markovian Petri Nets via Fluid Models: A Stock-Level Control Example Performance Control of Markovian Petri Nets via Fluid Models: A Stock-Level Control Example C. Renato Vázquez Manuel Silva Abstract Petri nets is a well-know formalism for studying discrete event systems.

More information

SPN 2003 Preliminary Version. Translating Hybrid Petri Nets into Hybrid. Automata 1. Dipartimento di Informatica. Universita di Torino

SPN 2003 Preliminary Version. Translating Hybrid Petri Nets into Hybrid. Automata 1. Dipartimento di Informatica. Universita di Torino SPN 2003 Preliminary Version Translating Hybrid Petri Nets into Hybrid Automata 1 Marco Gribaudo 2 and Andras Horvath 3 Dipartimento di Informatica Universita di Torino Corso Svizzera 185, 10149 Torino,

More information

Comparison of Different Semantics for Time Petri Nets

Comparison of Different Semantics for Time Petri Nets Comparison of Different Semantics for Time Petri Nets B. Bérard 1, F. Cassez 2, S. Haddad 1, Didier Lime 3, O.H. Roux 2 1 LAMSADE, Paris, France E-mail: {beatrice.berard serge.haddad}@lamsade.dauphine.fr

More information

Analysis and Optimization of Discrete Event Systems using Petri Nets

Analysis and Optimization of Discrete Event Systems using Petri Nets Volume 113 No. 11 2017, 1 10 ISSN: 1311-8080 (printed version); ISSN: 1314-3395 (on-line version) url: http://www.ijpam.eu ijpam.eu Analysis and Optimization of Discrete Event Systems using Petri Nets

More information

Hybrid Analysis of Automated Manufacturing Systems Using Discrete Linear Inclusions

Hybrid Analysis of Automated Manufacturing Systems Using Discrete Linear Inclusions Hybrid Analysis of Automated Manufacturing Systems Using Discrete Linear Inclusions Fabio Balduzzi, Alessandro Giua, Giuseppe Menga Dipartimento di Automatica ed Informatica, Politecnico di Torino Corso

More information

Stochastic Petri Net

Stochastic Petri Net Stochastic Petri Net Serge Haddad LSV ENS Cachan, Université Paris-Saclay & CNRS & INRIA haddad@lsv.ens-cachan.fr Petri Nets 2016, June 20th 2016 1 Stochastic Petri Net 2 Markov Chain 3 Markovian Stochastic

More information

Toward a Definition of Modeling Power for Stochastic Petri Net Models

Toward a Definition of Modeling Power for Stochastic Petri Net Models Toward a Definition of Modeling Power for Stochastic Petri Net Models Gianfranco Ciardo Duke University Proc. of the Int. Workshop on Petri Nets and Performance Models, Madison, Wisconsin, August 1987

More information

Analysis for Dynamic of Analog Circuits by using HSPN

Analysis for Dynamic of Analog Circuits by using HSPN Proceedings of the 11th WSEAS International Conference on CIRCUITS, Agios Nikolaos, Crete Island, Greece, July 23-25, 2007 207 Analysis for Dynamic of Analog Circuits by using HSPN MENG ZHANG, SHENGBING

More information

Recent results on Timed Systems

Recent results on Timed Systems Recent results on Timed Systems Time Petri Nets and Timed Automata Béatrice Bérard LAMSADE Université Paris-Dauphine & CNRS berard@lamsade.dauphine.fr Based on joint work with F. Cassez, S. Haddad, D.

More information

Formal Analysis of Timed Continuous Petri Nets

Formal Analysis of Timed Continuous Petri Nets Proceedings of the 47th IEEE Conference on Decision and Control Cancun, Mexico, Dec. 9 11, 008 Formal Analysis of Timed Continuous Petri Nets Marius Kloetzer, Cristian Mahulea, Calin Belta, Laura Recalde

More information

Modelling of Railway Network Using Petri Nets

Modelling of Railway Network Using Petri Nets Modelling of Railway Network Using Petri Nets MANDIRA BANIK 1, RANJAN DASGUPTA 2 1 Dept. of Computer Sc. & Engg., National Institute of Technical Teachers' Training & Research, Kolkata, West Bengal, India

More information

Applications of Petri Nets

Applications of Petri Nets Applications of Petri Nets Presenter: Chung-Wei Lin 2010.10.28 Outline Revisiting Petri Nets Application 1: Software Syntheses Theory and Algorithm Application 2: Biological Networks Comprehensive Introduction

More information

Composition of product-form Generalized Stochastic Petri Nets: a modular approach

Composition of product-form Generalized Stochastic Petri Nets: a modular approach Composition of product-form Generalized Stochastic Petri Nets: a modular approach Università Ca Foscari di Venezia Dipartimento di Informatica Italy October 2009 Markov process: steady state analysis Problems

More information

Approaching Minimum Time Control of Timed Continuous Petri nets

Approaching Minimum Time Control of Timed Continuous Petri nets Approaching Minimum Time Control of Timed Continuous Petri nets Hanife Apaydin-Özkan, Jorge Júlvez, Cristian Mahulea, Manuel Silva Instituto de Investigación en Ingeniería de Aragon (I3A), Universidad

More information

Hybrid Petri net model of a traffic intersection in a urban network

Hybrid Petri net model of a traffic intersection in a urban network Hybrid Petri net model of a traffic intersection in a urban network C. Renato Vázquez, Herman Y. Sutarto, René Boel, Manuel Silva Abstract Control in urban traffic networks constitutes an important and

More information

IPA for Continuous Petri Nets with. Threshold-Based Flow Control

IPA for Continuous Petri Nets with. Threshold-Based Flow Control IPA for Continuous Petri Nets with 1 Threshold-Based Flow Control Alessandro Giua, Carla Seatzu, Yorai Wardi Abstract This paper considers an application of the Infinitesimal Perturbation Analysis IPA

More information

An Holistic State Equation for Timed Petri Nets

An Holistic State Equation for Timed Petri Nets An Holistic State Equation for Timed Petri Nets Matthias Werner, Louchka Popova-Zeugmann, Mario Haustein, and E. Pelz 3 Professur Betriebssysteme, Technische Universität Chemnitz Institut für Informatik,

More information

Petri nets analysis using incidence matrix method inside ATOM 3

Petri nets analysis using incidence matrix method inside ATOM 3 Petri nets analysis using incidence matrix method inside ATOM 3 Alejandro Bellogín Kouki Universidad Autónoma de Madrid alejandro. bellogin @ uam. es June 13, 2008 Outline 1 Incidence matrix Tools 2 State

More information

On Controllability of Timed Continuous Petri Nets

On Controllability of Timed Continuous Petri Nets On Controllability of Timed Continuous Petri Nets C Renato Vázquez 1, Antonio Ramírez 2, Laura Recalde 1, and Manuel Silva 1 1 Dep de Informática e Ingeniería de Sistemas, Centro Politécnico Superior,

More information

Elementary Siphons of Petri Nets and Deadlock Control in FMS

Elementary Siphons of Petri Nets and Deadlock Control in FMS Journal of Computer and Communications, 2015, 3, 1-12 Published Online July 2015 in SciRes. http://www.scirp.org/journal/jcc http://dx.doi.org/10.4236/jcc.2015.37001 Elementary Siphons of Petri Nets and

More information

Fault Tolerance, State Estimation and Fault Diagnosis in Petri Net Models

Fault Tolerance, State Estimation and Fault Diagnosis in Petri Net Models Fault Tolerance, State Estimation and Fault Diagnosis in Petri Net Models Christoforos Hadjicostis Department of Electrical and Computer Engineering University of Illinois at Urbana-Champaign March 27,

More information

Sleptsov Net Computing

Sleptsov Net Computing International Humanitarian University http://mgu.edu.ua Sleptsov Net Computing Dmitry Zaitsev http://member.acm.org/~daze Write Programs or Draw Programs? Flow charts Process Charts, Frank and Lillian

More information

On the Applicability of an Interval Time Structure for Protocol Verification

On the Applicability of an Interval Time Structure for Protocol Verification On the Applicability of an Interval Time Structure for Protocol Verification Jerzy BRZZIŃSKI, Michał SAJKOWSKI Institute of Computing Science, Poznań University of Technology Piotrowo 3a, 60-965 Poznań,

More information

A Polynomial-Time Algorithm for Checking Consistency of Free-Choice Signal Transition Graphs

A Polynomial-Time Algorithm for Checking Consistency of Free-Choice Signal Transition Graphs Fundamenta Informaticae XX (2004) 1 23 1 IOS Press A Polynomial-Time Algorithm for Checking Consistency of Free-Choice Signal Transition Graphs Javier Esparza Institute for Formal Methods in Computer Science

More information

ONE NOVEL COMPUTATIONALLY IMPROVED OPTIMAL CONTROL POLICY FOR DEADLOCK PROBLEMS OF FLEXIBLE MANUFACTURING SYSTEMS USING PETRI NETS

ONE NOVEL COMPUTATIONALLY IMPROVED OPTIMAL CONTROL POLICY FOR DEADLOCK PROBLEMS OF FLEXIBLE MANUFACTURING SYSTEMS USING PETRI NETS Proceedings of the IASTED International Conference Modelling, Identification and Control (AsiaMIC 2013) April 10-12, 2013 Phuket, Thailand ONE NOVEL COMPUTATIONALLY IMPROVED OPTIMAL CONTROL POLICY FOR

More information

Analysis of a sewage treatment facility using hybrid Petri nets

Analysis of a sewage treatment facility using hybrid Petri nets Analysis of a sewage treatment facility using hybrid Petri nets Hamed Ghasemieh University of Twente Netherlands h.ghasemieh@utwente.nl Anne Remke University of Twente Netherlands a.k.i.remke@utwente.nl

More information

Optimization of Quadratic Forms: NP Hard Problems : Neural Networks

Optimization of Quadratic Forms: NP Hard Problems : Neural Networks 1 Optimization of Quadratic Forms: NP Hard Problems : Neural Networks Garimella Rama Murthy, Associate Professor, International Institute of Information Technology, Gachibowli, HYDERABAD, AP, INDIA ABSTRACT

More information

Basis Marking Representation of Petri Net Reachability Spaces and Its Application to the Reachability Problem

Basis Marking Representation of Petri Net Reachability Spaces and Its Application to the Reachability Problem Basis Marking Representation of Petri Net Reachability Spaces and Its Application to the Reachability Problem Ziyue Ma, Yin Tong, Zhiwu Li, and Alessandro Giua June, 017 Abstract In this paper a compact

More information

Modeling and Control for (max, +)-Linear Systems with Set-Based Constraints

Modeling and Control for (max, +)-Linear Systems with Set-Based Constraints 2015 IEEE International Conference on Automation Science and Engineering (CASE) Aug 24-28, 2015. Gothenburg, Sweden Modeling and Control for (max, +)-Linear Systems with Set-Based Constraints Xavier David-Henriet

More information

Specification models and their analysis Petri Nets

Specification models and their analysis Petri Nets Specification models and their analysis Petri Nets Kai Lampka December 10, 2010 1 30 Part I Petri Nets Basics Petri Nets Introduction A Petri Net (PN) is a weighted(?), bipartite(?) digraph(?) invented

More information

Linear Time Analysis of Properties of Conflict-Free and General Petri nets

Linear Time Analysis of Properties of Conflict-Free and General Petri nets Linear Time Analysis of Properties of Conflict-Free and General Petri nets Paola Alimonti Esteban Feuerstein Luigi Laura Umberto Nanni Technical Report n. 9, 2010 Linear Time Analysis of Properties of

More information

The matrix approach for abstract argumentation frameworks

The matrix approach for abstract argumentation frameworks The matrix approach for abstract argumentation frameworks Claudette CAYROL, Yuming XU IRIT Report RR- -2015-01- -FR February 2015 Abstract The matrices and the operation of dual interchange are introduced

More information

Petri nets. s 1 s 2. s 3 s 4. directed arcs.

Petri nets. s 1 s 2. s 3 s 4. directed arcs. Petri nets Petri nets Petri nets are a basic model of parallel and distributed systems (named after Carl Adam Petri). The basic idea is to describe state changes in a system with transitions. @ @R s 1

More information

7. Queueing Systems. 8. Petri nets vs. State Automata

7. Queueing Systems. 8. Petri nets vs. State Automata Petri Nets 1. Finite State Automata 2. Petri net notation and definition (no dynamics) 3. Introducing State: Petri net marking 4. Petri net dynamics 5. Capacity Constrained Petri nets 6. Petri net models

More information

Modeling Continuous Systems Using Modified Petri Nets Model

Modeling Continuous Systems Using Modified Petri Nets Model Journal of Modeling & Simulation in Electrical & Electronics Engineering (MSEEE) 9 Modeling Continuous Systems Using Modified Petri Nets Model Abbas Dideban, Alireza Ahangarani Farahani, and Mohammad Razavi

More information

On Qualitative Analysis of Fault Trees Using Structurally Persistent Nets

On Qualitative Analysis of Fault Trees Using Structurally Persistent Nets On Qualitative Analysis of Fault Trees Using Structurally Persistent Nets Ricardo J. Rodríguez rj.rodriguez@unileon.es Research Institute of Applied Sciences in Cybersecurity University of León, Spain

More information

A call-by-name lambda-calculus machine

A call-by-name lambda-calculus machine A call-by-name lambda-calculus machine Jean-Louis Krivine University Paris VII, C.N.R.S. 2 place Jussieu 75251 Paris cedex 05 (krivine@pps.jussieu.fr) Introduction We present, in this paper, a particularly

More information

Modeling and Stability Analysis of a Communication Network System

Modeling and Stability Analysis of a Communication Network System Modeling and Stability Analysis of a Communication Network System Zvi Retchkiman Königsberg Instituto Politecnico Nacional e-mail: mzvi@cic.ipn.mx Abstract In this work, the modeling and stability problem

More information

Embedded Systems 5. Synchronous Composition. Lee/Seshia Section 6.2

Embedded Systems 5. Synchronous Composition. Lee/Seshia Section 6.2 Embedded Systems 5-1 - Synchronous Composition Lee/Seshia Section 6.2 Important semantic model for concurrent composition Here: composition of actors Foundation of Statecharts, Simulink, synchronous programming

More information

Synchronizing sequences. on a class of unbounded systems using synchronized Petri nets

Synchronizing sequences. on a class of unbounded systems using synchronized Petri nets Synchronizing sequences 1 on a class of unbounded systems using synchronized Petri nets Marco Pocci, Isabel Demongodin, Norbert Giambiasi, Alessandro Giua Abstract Determining the state of a system when

More information

1 Markov decision processes

1 Markov decision processes 2.997 Decision-Making in Large-Scale Systems February 4 MI, Spring 2004 Handout #1 Lecture Note 1 1 Markov decision processes In this class we will study discrete-time stochastic systems. We can describe

More information

Structural Analysis of Resource Allocation Systems with Synchronization Constraints

Structural Analysis of Resource Allocation Systems with Synchronization Constraints Structural Analysis of Resource Allocation Systems with Synchronization Constraints Spyros Reveliotis School of Industrial & Systems Engineering Georgia Institute of Technology Atlanta, GA 30332 USA Abstract

More information

Marking Estimation in Labelled Petri nets by the Representative Marking Graph

Marking Estimation in Labelled Petri nets by the Representative Marking Graph DOI: 10.1109/XXXXXXXXXXXXXXXX. Marking Estimation in Labelled Petri nets by the Representative Marking Graph Ziyue Ma, Yin Tong, Zhiwu Li, and Alessandro Giua July 2017 Abstract In this paper a method

More information

Exercises Solutions. Automation IEA, LTH. Chapter 2 Manufacturing and process systems. Chapter 5 Discrete manufacturing problems

Exercises Solutions. Automation IEA, LTH. Chapter 2 Manufacturing and process systems. Chapter 5 Discrete manufacturing problems Exercises Solutions Note, that we have not formulated the answers for all the review questions. You will find the answers for many questions by reading and reflecting about the text in the book. Chapter

More information

THE simulation of a continuous or discrete time system

THE simulation of a continuous or discrete time system 770 IEEE TRANSACTIONS ON SYSTEMS, MAN, AND CYBERNETICS PART B: CYBERNETICS, VOL. 28, NO. 6, DECEMBER 1998 Discrete Event Representation of Qualitative Models Using Petri Nets Alessandra Fanni, Member,

More information

A Canonical Contraction for Safe Petri Nets

A Canonical Contraction for Safe Petri Nets A Canonical Contraction for Safe Petri Nets Thomas Chatain and Stefan Haar INRIA & LSV (CNRS & ENS Cachan) 6, avenue du Président Wilson 935 CACHAN Cedex, France {chatain, haar}@lsvens-cachanfr Abstract

More information

Blocking a transition in a Free Choice net and what it tells about its throughput

Blocking a transition in a Free Choice net and what it tells about its throughput Blocking a transition in a Free Choice net and what it tells about its throughput Bruno Gaujal, Stefan Haar, Jean Mairesse To cite this version: Bruno Gaujal, Stefan Haar, Jean Mairesse. Blocking a transition

More information

Proceedings of the 2012 Winter Simulation Conference C. Laroque, J. Himmelspach, R. Pasupathy, O. Rose, and A. M. Uhrmacher, eds.

Proceedings of the 2012 Winter Simulation Conference C. Laroque, J. Himmelspach, R. Pasupathy, O. Rose, and A. M. Uhrmacher, eds. Proceedings of the 2012 Winter Simulation Conference C. Laroque, J. Himmelspach, R. Pasupathy, O. Rose, and A. M. Uhrmacher, eds. EFFICIENT SIMULATION OF STOCHASTIC WELL-FORMED NETS THROUGH SYMMETRY EXPLOITATION

More information

Network management and QoS provisioning - Network Calculus

Network management and QoS provisioning - Network Calculus Network Calculus Network calculus is a metodology to study in a deterministic approach theory of queues. First a linear modelization is needed: it means that, for example, a system like: ρ can be modelized

More information

Time Petri Nets. Miriam Zia School of Computer Science McGill University

Time Petri Nets. Miriam Zia School of Computer Science McGill University Time Petri Nets Miriam Zia School of Computer Science McGill University Timing Specifications Why is time introduced in Petri nets? To model interaction between activities taking into account their start

More information

Queueing Theory II. Summary. ! M/M/1 Output process. ! Networks of Queue! Method of Stages. ! General Distributions

Queueing Theory II. Summary. ! M/M/1 Output process. ! Networks of Queue! Method of Stages. ! General Distributions Queueing Theory II Summary! M/M/1 Output process! Networks of Queue! Method of Stages " Erlang Distribution " Hyperexponential Distribution! General Distributions " Embedded Markov Chains M/M/1 Output

More information

Simulation of Spiking Neural P Systems using Pnet Lab

Simulation of Spiking Neural P Systems using Pnet Lab Simulation of Spiking Neural P Systems using Pnet Lab Venkata Padmavati Metta Bhilai Institute of Technology, Durg vmetta@gmail.com Kamala Krithivasan Indian Institute of Technology, Madras kamala@iitm.ac.in

More information

Discrete Event Systems Exam

Discrete Event Systems Exam Computer Engineering and Networks Laboratory TEC, NSG, DISCO HS 2016 Prof. L. Thiele, Prof. L. Vanbever, Prof. R. Wattenhofer Discrete Event Systems Exam Friday, 3 rd February 2017, 14:00 16:00. Do not

More information

Performance Regulation via Integral Control in a Class of Stochastic Discrete Event Dynamic Systems

Performance Regulation via Integral Control in a Class of Stochastic Discrete Event Dynamic Systems 12th IFAC/IEEE Workshop on Discrete Event Systems Performance Regulation via Integral Control in a Class of Stochastic Discrete Event Dynamic Systems C. Seatzu Y. Wardi Department of Electrical and Electronic

More information

arxiv: v1 [math.oc] 21 Feb 2018

arxiv: v1 [math.oc] 21 Feb 2018 Noname manuscript No. (will be inserted by the editor) On detectability of labeled Petri nets with inhibitor arcs Kuize Zhang Alessandro Giua arxiv:1802.07551v1 [math.oc] 21 Feb 2018 Received: date / Accepted:

More information

Methods for the specification and verification of business processes MPB (6 cfu, 295AA)

Methods for the specification and verification of business processes MPB (6 cfu, 295AA) Methods for the specification and verification of business processes MPB (6 cfu, 295AA) Roberto Bruni http://www.di.unipi.it/~bruni - Invariants Object We introduce two relevant kinds of invariants for

More information

Lecture 3: Reductions and Completeness

Lecture 3: Reductions and Completeness CS 710: Complexity Theory 9/13/2011 Lecture 3: Reductions and Completeness Instructor: Dieter van Melkebeek Scribe: Brian Nixon Last lecture we introduced the notion of a universal Turing machine for deterministic

More information

A Polynomial-Time Algorithm for Pliable Index Coding

A Polynomial-Time Algorithm for Pliable Index Coding 1 A Polynomial-Time Algorithm for Pliable Index Coding Linqi Song and Christina Fragouli arxiv:1610.06845v [cs.it] 9 Aug 017 Abstract In pliable index coding, we consider a server with m messages and n

More information

Queueing Theory I Summary! Little s Law! Queueing System Notation! Stationary Analysis of Elementary Queueing Systems " M/M/1 " M/M/m " M/M/1/K "

Queueing Theory I Summary! Little s Law! Queueing System Notation! Stationary Analysis of Elementary Queueing Systems  M/M/1  M/M/m  M/M/1/K Queueing Theory I Summary Little s Law Queueing System Notation Stationary Analysis of Elementary Queueing Systems " M/M/1 " M/M/m " M/M/1/K " Little s Law a(t): the process that counts the number of arrivals

More information

9.1 - Systems of Linear Equations: Two Variables

9.1 - Systems of Linear Equations: Two Variables 9.1 - Systems of Linear Equations: Two Variables Recall that a system of equations consists of two or more equations each with two or more variables. A solution to a system in two variables is an ordered

More information

An IDL Based Image Deconvolution Software Package

An IDL Based Image Deconvolution Software Package An IDL Based Image Deconvolution Software Package F. Városi and W. B. Landsman Hughes STX Co., Code 685, NASA/GSFC, Greenbelt, MD 20771 Abstract. Using the Interactive Data Language (IDL), we have implemented

More information

A comment on Boucherie product-form results

A comment on Boucherie product-form results A comment on Boucherie product-form results Andrea Marin Dipartimento di Informatica Università Ca Foscari di Venezia Via Torino 155, 30172 Venezia Mestre, Italy {balsamo,marin}@dsi.unive.it Abstract.

More information

Validation of biological models with Temporal Logic and Timed Hybrid Petri Nets

Validation of biological models with Temporal Logic and Timed Hybrid Petri Nets Validation of biological models with Temporal Logic and Timed Hybrid Petri Nets Sylvie Troncale, Jean-Paul Comet and Gilles Bernot Abstract The Hybrid Functional Petri Nets (HFPN) formalism has shown its

More information

ADVANCED ROBOTICS. PLAN REPRESENTATION Generalized Stochastic Petri nets and Markov Decision Processes

ADVANCED ROBOTICS. PLAN REPRESENTATION Generalized Stochastic Petri nets and Markov Decision Processes ADVANCED ROBOTICS PLAN REPRESENTATION Generalized Stochastic Petri nets and Markov Decision Processes Pedro U. Lima Instituto Superior Técnico/Instituto de Sistemas e Robótica September 2009 Reviewed April

More information

5 Flows and cuts in digraphs

5 Flows and cuts in digraphs 5 Flows and cuts in digraphs Recall that a digraph or network is a pair G = (V, E) where V is a set and E is a multiset of ordered pairs of elements of V, which we refer to as arcs. Note that two vertices

More information

A Gentle Introduction to Reinforcement Learning

A Gentle Introduction to Reinforcement Learning A Gentle Introduction to Reinforcement Learning Alexander Jung 2018 1 Introduction and Motivation Consider the cleaning robot Rumba which has to clean the office room B329. In order to keep things simple,

More information

c 2011 Nisha Somnath

c 2011 Nisha Somnath c 2011 Nisha Somnath HIERARCHICAL SUPERVISORY CONTROL OF COMPLEX PETRI NETS BY NISHA SOMNATH THESIS Submitted in partial fulfillment of the requirements for the degree of Master of Science in Aerospace

More information

Maximizing throughput in zero-buffer tandem lines with dedicated and flexible servers

Maximizing throughput in zero-buffer tandem lines with dedicated and flexible servers Maximizing throughput in zero-buffer tandem lines with dedicated and flexible servers Mohammad H. Yarmand and Douglas G. Down Department of Computing and Software, McMaster University, Hamilton, ON, L8S

More information

Modelling M/G/1 queueing systems with server vacations using stochastic Petri nets

Modelling M/G/1 queueing systems with server vacations using stochastic Petri nets Volume 22 (2), pp. 131 154 http://www.orssa.org.za ORiON ISSN 529-191-X c 26 Modelling M/G/1 queueing systems with server vacations using stochastic Petri nets K Ramanath P Lakshmi Received: 12 November

More information

The Fundamental Insight

The Fundamental Insight The Fundamental Insight We will begin with a review of matrix multiplication which is needed for the development of the fundamental insight A matrix is simply an array of numbers If a given array has m

More information

Formal Semantics for Grafcet Controlled Systems 1 Introduction 2 Grafcet

Formal Semantics for Grafcet Controlled Systems 1 Introduction 2 Grafcet Formal Semantics for Grafcet Controlled Systems JANAN ZAYTOON Laboratoire d'automatique et de Microélectronique Faculté des Sciences Moulin de la Housse, BP 1039, 51687 Reims cedex 2 FRANCE Abstract: Grafcet

More information

A strategy for Estimation in Timed Petri nets

A strategy for Estimation in Timed Petri nets A strategy for Estimation in Timed Petri nets Philippe Declerck 1, Amira Chouchane 1 and Patrice Bonhomme 2 1 : University of Angers LISA/LARIS EA 7315 2 : University François-rabelais, Tours CNRS, LI

More information

Introduction to Stochastic Petri Nets

Introduction to Stochastic Petri Nets Introduction to Stochastic Petri Nets Gianfranco Balbo Università di Torino, Torino, Italy, Dipartimento di Informatica balbo@di.unito.it Abstract. Stochastic Petri Nets are a modelling formalism that

More information

TPN are devoted to specify and verify properties of systems where timing is a critical parameter that may affect the behavior of the system. In this l

TPN are devoted to specify and verify properties of systems where timing is a critical parameter that may affect the behavior of the system. In this l URL: http://www.elsevier.nl/locate/entcs/volume52.html 8 pages Petri Nets with Discrete Phase Type Timing: A Bridge Between Stochastic and Functional Analysis Andrea Bobbio DISTA, Universit a del Piemonte

More information

Liveness enforcing supervisors for railway networks using ES 2 PR Petri nets

Liveness enforcing supervisors for railway networks using ES 2 PR Petri nets Liveness enforcing supervisors for railway networks using ES 2 PR Petri nets Alessandro Giua, Carla Seatzu Department of Electrical and Electronic Engineering, University of Cagliari, Piazza d Armi 923

More information