Automated Synthesis of Liveness Enforcing Supervisors Using Petri Nets

Size: px
Start display at page:

Download "Automated Synthesis of Liveness Enforcing Supervisors Using Petri Nets"

Transcription

1 Auomaed Synhesis of Liveness Enforcing Suervisors Using Peri Nes Technical Reor of he ISIS Grou a he Universiy of Nore Dame ISIS Ocober, 000 Revised in January 00 and May 00 Marian V. Iordache John O. Moody Panos J. Ansaklis Dearmen of Lockheed Marin Dearmen of Elecrical Engineering Federal Sysems Elecrical Engineering Universiy of Nore Dame 80 Sae R. 7C, MD 00 Universiy of Nore Dame Nore Dame, IN 66 Owego, NY Nore Dame, IN 66 iordache.@nd.edu john.moody@lmco.com ansaklis.@nd.edu Inerdiscilinary Sudies of Inelligen Sysems

2 AUTOMATED SYNTHESIS OF LIVENESS ENFORCING SUPERVISORS USING PETRI NETS Marian V. Iordache, John O. Moody, Panos J. Ansaklis Absrac Given an arbirary Peri ne srucure, which may have unconrollable and unobservable ransiions, he liveness enforcemen rocedure resened here deermines a se of linear inequaliies on he marking of a Peri ne. When he Peri ne is suervised so ha is markings saisfy hese inequaliies, he suervised ne is roved o be live for all iniial markings ha saisfy he suervision consrains. Also he suervision is roved o be maximally ermissive for a large class of Peri nes, which includes he fully conrollable and observable Peri nes. Moreover, he suervisor suors secificaions requiring only some of he Peri ne ransiions o be live. The maximal ermissiviy yically alies also for his case. The rocedure allows auomaed synhesis of he suervisors. The sufficien condiions for which our heoreical resuls are guaraneed o aly can be auomaically verified. Conens Inroducion. Scoe of he Paer Relaed Work Paer Srucure Review of Some Peri Ne Basic Proeries Deadlock and Liveness Proeries of Peri Nes. Inrinsic Proeries Condiions for Deadlock Prevenion and Liveness Enforcemen A Characerizaion of Peri Nes Based on Subnes which Can Be Made Live, in View of Deadlock Prevenion and Liveness Enforcemen Preliminaries o he Liveness Enforcing Mehod. A Transformaion of Peri Nes o PT-ordinary Peri Nes Transformaion of Peri nes o asymmeric choice Peri nes Peri Ne Suervisors Based on Place Invarians Fully Conrollable and Observable Peri Nes Peri Nes wih Unconrollable and Unobservable Transiions Dearmen of Elecrical Engineering, Universiy of Nore Dame, Nore Dame, IN 66 ( iordache., ansaklis.@nd.edu) Lockheed Marin Federal Sysems, 80 Sae R.7C, MD 00, Owego NY ( john.moody@lmco.com)

3 . Sihon Conrol Based on Place Invarians Case : All Transiions are Conrollable and Observable Case : Transiions Unconrollable and/or Unobservable are Presen The Liveness Enforcing Mehod 9. Inroducion o he Mehod Generaing Marking Consrains The enforced lace invarians Consrains which do need conrol lace enforcemen Consrucing he consrains of (L, b) and(l 0,b 0 ) Imlicily conrolled sihons Iniial consrain ransformaion Transforming Consrains o Admissible Consrains The Comuaion of a T-minimal Acive Subne The Liveness Enforcing Procedure Remarks Illusraive Examles Proeries 6. Basic Proeries of he Mehod Inroducion and Noaions Proeries Main Resuls Success and Permissiviy Resuls Exending Permissiviy Terminaion Resuls Final Remarks and Direcions for Furher Research Addiional Consrains Finie Caaciy Peri Nes The Terminaion Problem Summary of Resuls Inroducion. Scoe of he Paer Liveness is a desirable qualiy of concurren sysems. Due o muual inerdeendencies, such sysems may reach saes of local or oal deadlock. Deadlock means ha some acions (or all, for oal deadlock) are imossible o ursue. A sysem is live when deadlock (boh local and global) is imossible. Raher han roviding a mehod o verify wheher a sysem is live, we rovide a mehod which synhesizes a suervisor such ha he suervised sysem is live. We consider discree even sysems modeled as Peri nes. We noe ha i is more naural o model concurren sysems as Peri nes raher han as finie auomaa. Furher on, we do no resric he Peri ne models. They are allowed o be unbounded, generalized and

4 wih unconrollable and unobservable ransiions. The aroach is no deenden on he iniial marking. Insead, he se of iniial markings for which liveness is enforced is characerized as he feasible se of a sysem of linear marking inequaliies. Thus he liveness suervisor roduced by our aroach is defined for a se of iniial markings, raher han for a single iniial marking. Moreover, when he suervisor is maximally ermissive, enforcing liveness is imossible for all iniial markings for which he suervisor is no defined. Thus he mehod can also be used for liveness verificaion. In some alicaions, some Peri ne ransiions may model undesirable behavior. Such ransiions should no be live. Thus, raher han suervising for liveness, we suervise for T -liveness, which is a conce generalizing liveness: insead of requiring all ransiions o be live, only he ransiions in he se T are o be live. Noe ha liveness is a secial case of T -liveness. The liveness enforcing rocedure can be described as follows. Given a fully conrollable and observable Peri ne and a se T, he rocedure will rovide a suervisor for T -liveness which yically is maximally ermissive, or i will deec ha T - liveness is imossible, in which case he suervisor will enforce T x -liveness, for T x T. Given a Peri ne wih unconrollable and/or unobservable ransiions and a se T, he rocedure will rovide a suervisor enforcing T x -liveness, T x T ;ift x T hen he rocedure is unable o enforce T -liveness. A sufficien condiion which guaranees he suervisor o be maximally ermissive can be easily esed. In aricular, in he case of fully conrollable and observable Peri nes, he suervisor is guaraneed o be maximally ermissive in he case of liveness enforcemen. The disadvanages of our rocedure are ha erminaion is no guaraneed and ha when he rocedure erminaes he comuaions may be comlex. However all comuaions are erformed offline. Thus he suervisor generaed by he rocedure is aroriae for real-ime roblems. I is ossible o guaranee erminaion, bu his may come a he exense of ermissiviy. We give wo varians of he rocedure wih guaraneed erminaion. However hese wo varians are only useful for bounded Peri nes. The mehod resens he condiions necessary o insure liveness enforcemen as a se of linear marking inequaliies. This feaure can be used direcly in oimizaion roblems, e.g., a linear rogram can be used o deermine he minimum number of resources a sysem requires such ha deadlock can be avoided. An ineresing roery of our mehod is ha i solves a roblem which canno be solved wih finie auomaa based aroaches. Indeed, by considering all ossible iniial markings, an auomaon wih an infinie number of saes is obained. Noe ha his is no he case for he aroaches which consider a given iniial marking and a bounded Peri ne. Alicaions which may benefi from considering he iniial marking unknown are in he area of Flexible Manufacuring, as he iniial marking corresonds o he number of available resources.. Relaed Work Previous resuls abou enforcing liveness in Peri nes usually consider resriced classes of Peri nes. A necessary and sufficien condiion for he exisence of liveness suervisors aears in [8]. A mehod for liveness enforcemen in a class of conservaive ordinary Peri nes has been given in []; he aroach is no maximally ermissive. The aroach of [] has been recenly exended o generalized Peri nes in []. Polynomial comlexiy has been roved, however he considered Peri nes are conservaive and he aroach is no maximally ermissive. A liveness enforcing aroach for a resriced class of ordinary Peri nes is given in [9]. Anoher liveness enforcing aroach aears in [0]; i is based on he coverabiliy grah, and hence he iniial marking is required. In [7] he auhors consider enforcing liveness based on he unfolding of a Peri ne. Unfolding is an efficien echnique of searching he reachabiliy grah. The aroach of [7]

5 is limied o bounded Peri nes and he iniial marking mus be known. Our aroach is mos relaed o he deadlock revenion rocedure we resened in [0, 8], and is imrovemen in [9]. While our former rocedure revened deadlock bu was no guaraneed o enforce liveness, he rocedure of his aer is guaraneed o enforce liveness. The liveness enforcemen rocedure of his reor is ieraive, a every ieraion correcing new deadlock siuaions. Using ieraions o correc deadlock siuaions has also been used in []. In our rocedure we emloy suervisory conrol based on lace invarians [, ], which is an esablished mehod in he suervisory conrol of Peri nes. We also use a ransformaion o almos ordinary Peri nes and a ransformaion o asymmeric choice nes. The firs ransformaion was insired by a similar ransformaion in []. A ransformaion o free choice nes, which is a aricular class of asymmeric choice nes, has been used in [7]. In [7] i is shown ha liveness enforcing olicies of a free choice equivalen of a Peri ne can be used o enforce liveness in he original Peri ne. Our ineres for asymmeric choice nes sems from a generalizaion of he Commoner s Theorem for asymmeric choice nes []. Thus liveness in an asymmeric choice Peri nes can be relaed o sihon conrol. Our aroach involves he comuaion of a secial class of minimal sihons. Mehods of sihon comuaion have been given for insance in [,, 6].. Paer Srucure The documen is organized as follows. Secion reviews basic Peri ne roeries and describes he noaions which are used hroughou he aer. Secion resens some deadlock and liveness roeries. We emhasize he suervisory conrol asec of enforcing liveness and revening deadlock and we derive significan consequences of a known resul. Thus we derive Corollary. which is he basis for beer deadlock ess, such as Proosiion. and Proosiion.. In Theorem. we rove a fundamenal resul for our mehod. A consequence of Theorem. is Proosiion.6, which gives a necessary condiion and a sufficien condiion for T -liveness in a class of Peri nes. In secion we resen reliminaries o our mehodology. The suervisory echnique used by our mehod, suervisory conrol based on lace invarians [, ], is oulined in secion.. Transformaions from generalized Peri nes o ordinary Peri nes and o asymmeric choice Peri nes are resened in secions. and.. The sihon conrol aroach (largely a aricular case of he suervision based on lace invarians) is given in secion.. Secion defines he liveness enforcemen rocedure and he oeraions which are involved. The rocedure for liveness enforcemen is saed in secion.. Illusraive examles are given in secion.6. Secion 6 gives he formal characerizaion of he rocedure. The analysis of he rocedure is comlex, so in secion 6. we rovide some basic roeries characerizing he rocedure or he oeraions involved by i. These roeries are also used o derive our main resuls. The main resuls are given in secion 6.. Theorem 6. roves ha he rocedure does enforce liveness and Theorem 6. roves ha for a large class of Peri nes he rocedure is no more resricive han any oher liveness enforcing suervisor. Secion 6.. conains resuls ha show ha by (ossibly) comromising he erformance of he rocedure, erminaion can be guaraneed. We conclude wih some significan secial cases and remarks in secion 6.. This is an almos self-conained reor. The liveness enforcemen rocedure of his reor is essenially a modificaion of he deadlock revenion mehod resened in our revious echnical reor [9]. Thus a significan ar of he maerial of [9] resembles or is included in his reor. The new maerial of his reor is included in he following secions. Secion. includes Theorem., which is essenial for our liveness enforcemen aroach. Secion. describes he asymmeric choice ransformaion. Secion is he adaaion for liveness enforcemen of he similar secion in [9], exce for secion., which conains new

6 maerial. Comared o [9], some resuls of secion 6 needed new roofs or resaemens due o he new form of he rocedure; also, new echnical resuls have been added. The main heoreical resuls for he liveness enforcing rocedure are given in secion 6., where he erminaion resuls are essenially he same as in [9]. Review of Some Peri Ne Basic Proeries We assume he reader o be familiar wih Peri ne fundamenals. Peri ne surveys may be found in [6], [] and []. In his secion we inroduce our convenions and noaions. A Peri ne srucure is a quadrule N =(P, T, F, W) wherep is he se of laces, T he se of ransiions, F (P T ) (T P )isheseofransiion arcs and W : F N \{0} is a weigh funcion. A marking µ of he Peri ne srucure is a ma µ : P N. A Peri ne srucure N wih iniial marking µ 0 is called a Peri ne, and will be denoed by (N,µ 0 ). For simliciy, we may denoe someimes by Peri ne a Peri ne srucure. I is useful o consider a marking boh as a ma and as a vecor. These requiremens are no necessarily conflicing, because vecors can be seen as mas defined on an arbirary finie se domain [6], insead of {,,...m}, as is cusomary. The marking vecor is defined o be [µ( ),µ( ),...µ( n )] T,where,,... n are he laces of he ne enumeraed in a chosen (bu fixed) order and µ he curren marking. The same symbol µ will denoe a marking vecor. The marking vecor of a Peri ne may be regarded as he sae variable of he Peri ne. An equivalen way of saying ha lace has he marking µ() isha has µ() okens. Figure could be used o illusrae he grahical reresenaion of Peri nes. A oken is reresened by a bulle. The marking vecor in figure (b) is [0,, ] T. An arc weigh is indicaed near he arc when i is no one. For insance, in figure (b) W (, )=andw(, )=. The rese of a lace is he se of incoming ransiions o : = { T :(, ) F }. Theosse of a lace is he se of oucoming ransiions from : = { T :(, ) F }. is a source lace if = and a sink lace if =. Similar definiions aly for ransiions. They are also exended for ses of laces or ransiions; for insance, if A P, A =, A =. A We use µ[ o denoe ha µ enables he ransiion and µ[ >µ o denoe ha µ enables and if fires, hen he marking becomes µ. The marking µ is reachable from µ if here is a sequence of markings µ,...µ k, µ k = µ, and a sequence of ransiions i,... ik s.. µ[ i >µ [... ik >µ.these of reachable markings of a Peri ne (N,µ) (i.e. he se of markings reachable from he iniial marking µ) will be denoed by R(N,µ). In a Peri ne N =(P, T, F, W) wihm laces and n ransiions, he incidence marix is an m n marix defined by D = D + D, where he elemens d + ij and d ij of D+ and D are d + ij = W ( j, i )if( j, i ) F and d + ij = 0 oherwise; d ij = W ( i, j )if( i, j ) F and d ij = 0 oherwise. The incidence marix allows an algebraic descriion of he marking change of a Peri ne: µ k = µ k + D u k () where u k is called firing vecor, and is elemens are all zero exceing u k,i =,wherei corresonds o he ransiion i ha fired. We will denoe by firing vecor also a vecor x associaed wih a sequence of ransiions ha have fired, whose enries record how ofen each ransiion aears in he sequence. If x is A

7 he firing vecor of he ransiion sequence ha led he Peri ne from he marking vecor µ 0 o µ k : µ k = µ 0 + D x () A vecor x is called lace invarian if x T D = 0. A vecor x is called ransiion invarian if D x =0. The suor of a ransiion invarian x is x = { j T : x(j) 0}. APerine(N,µ 0 )issaidobedeadlock-free if for any reachable marking µ here is an enabled ransiion. (N,µ)isindeadlock if no ransiion is enabled a marking µ. Le (N,µ 0 ) be a Peri ne. A ransiion is said o be live if µ R(N,µ 0 ) µ R(N,µ) such ha is enabled by µ. A ransiion is dead a marking µ if no marking µ R(N,µ) enables. (N,µ 0 )issaid o be live if every ransiion is live. A nonemy se of laces S P is called a sihon if S S and ra if S S. In aricular, S = P may be sihon. An emy sihon wih resec o a Peri ne marking µ is a sihon S such ha µ() = 0. The aribue emy refers o he fac ha S has no okens. A sihon has he roery ha S if for some marking i is emy, i will be so for all subsequen reachable markings. A ra has he roery ha if a some marking i has one oken, hen for all subsequen reachable markings i will have a leas one oken. See figure for sihon examles. In figure (a), {, } and {, } are ras. S is a minimal sihon if here is no oher sihon S (by definiion, S ) such ha S S. Deadlock and Liveness Proeries of Peri Nes This secion inroduces cerain liveness and deadlock roeries, focusing on heir relaion o srucural roeries of Peri nes and suervision. Throughou his secion all ransiions are considered o be conrollable and observable.. Inrinsic Proeries APerineN =(P, T, F, W) isordinary if f F : W (f) =. We will refer o slighly more general Peri nes in which only he arcs from laces o ransiions have weighs equal o one. We are going o call such Peri nes PT-ordinary, because all arcs (, ) from a lace o a ransiion saisfy he requiremen of an ordinary Peri ne ha W (, ) =. Definiion. Le N =(P, T, F, W) be a Peri ne. We call N PT-ordinary if P, T, if (, ) F hen W (, ) =. The mehodology of our work deends on a well known necessary condiion for deadlock [6], namely ha a deadlocked ordinary Peri ne conains a leas one emy sihon. I can easily be seen ha he roof of his resul also is valid for PT-ordinary Peri nes. Proosiion. A deadlocked PT-ordinary Peri ne conains a leas one emy sihon. An examle is shown in figure (a). Proosiion. shows ha deadlock migh be revened if i can be ensured in a nonblocking way ha no sihon ever loses all is okens. The condiion in Proosiion. is only necessary. The examle of figure (c) illusraes ha he condiion of Proosiion. is no sufficien and figure (b) ha he resul is no alicable o Peri nes more general han PT-ordinary.

8 (a) (b) (c) Figure : (a) A deadlocked PT-ordinary Peri ne. An emy sihon is {,, }. (b) A deadlocked Peri ne wih no emy sihon which is no PT-ordinary. (c) A deadlock-free Peri ne (for he marking dislayed) wih an emy sihon {, }. Definiion. Le N be a Peri ne and M I be a se of iniial markings. A sihon S is said o be conrolled wih resec o M I if µ 0 M I, µ R(N,µ 0 ): µ(). A conrolled sihon conains for all reachable markings a leas one oken. A ra conrolled sihon is a sihon ha includes a ra. Recalling he ra roery, for all markings such ha he ra has one oken, he sihon is conrolled. We define an invarian conrolled sihon as a sihon S of a Peri ne N wih he roery ha N has a lace invarian x such ha for all i =,,... P, ifx(i) > 0hen i S. I is easy o show ha for all iniial markings µ 0, such ha x T µ 0, he sihon S is conrolled. In aricular, a sihon which conains a conrolled sihon is conrolled. Therefore in a Peri ne such ha all minimal sihons are conrolled, all sihons are conrolled. Also, by Proosiion., a PT-ordinary Peri ne is deadlock-free if all is sihons are conrolled. This is may no be rue for more general Peri nes. Proosiion. has been generalized in [] for Peri nes which are no PT-ordinary (bu see also Proosiion. and commens in [8]). We do no use ha resul. Insead we ransform generalized Peri nes o PT-ordinary Peri nes (refer o secion.) and hen use Proosiion.. Anoher drawback of Proosiion. is ha i is no effecive for Peri nes which are no reeiive. We define he reeiive Peri nes in secion. and hen we give new resuls which are adequae for he Peri nes which are no reeiive. Loss of liveness is a less severe form of deadlock, where some acions can no longer haen while ohers may sill be ossible. Deadlock imlies loss of liveness. An emy sihon is a necessary and no a sufficien condiion for deadlock, while for loss of liveness i is a sufficien bu no a necessary condiion. Commoner s Theorem saes ha in an ordinary free choice ne N, if here are dead ransiions for a marking µ, hen here is a reachable marking µ R(N,µ) such ha a sihon is emy ([6].0). We include laer in he secion a generalizaion o asymmeric choice nes as Theorem.. S. Condiions for Deadlock Prevenion and Liveness Enforcemen Definiion. Le N =(P, T, F, W) be a Peri ne, M he se of all markings of N and U M. A suervisory olicy Ξ is a funcion Ξ:U T ha mas o every marking a se of ransiions ha he Peri ne is allowed o fire. The markings in M\U are called forbidden markings. 6

9 We denoe by R(N,µ 0, Ξ) he se of reachable markings when (N,µ 0 ) is suervised wih Ξ. I is known ha if (N,µ 0 ) is live, hen (N,µ)wihµ µ 0 may no be live. The same is rue for deadlock-freedom, as shown in figure. The following resul shows ha if liveness is enforcible a marking µ or if deadlock can be revened a µ, hen his is also rue for all markings µ µ. We say ha deadlock can be revened in a Peri ne N if here is an iniial marking µ 0 and a suervisory olicy Ξ such ha (N,µ 0 ) suervised by Ξ is deadlock-free. Similarly, we say ha liveness can be enforced in N if here is an iniial marking µ 0 and a suervisory olicy Ξ such ha (N,µ 0 )suervised by Ξ is live. Proosiion. If a suervisory olicy Ξ which revens deadlock in (N,µ 0 ) exiss, hen for all µ µ 0 here is a suervisory olicy which revens deadlock in (N,µ). The same is rue for liveness enforcemen. Proof: Le µ µ 0. A suervisory olicy for (N,µ )isξ defined as follows: { Ξ(µ) T f (µ) for µ R(N,µ 0 ) Ξ (µ + µ µ 0 )= oherwise where T f (µ) denoes he ransiions enabled by he marking µ, aar from he suervisor. 6 6 (a) (b) Figure : A Peri ne which is live for he iniial marking µ 0 shown in (a) and no even deadlock-free for he iniial marking µ µ 0 shown in (b). Definiion. [] A Peri ne is said o be (arially) reeiive if here is a marking µ 0 andafiring sequence σ from µ 0 such ha every (some) ransiion occurs infiniely ofen in σ. The following lemma seems o be necessary for he sufficiency roof of Theorem., which is a known resul. The auhors are unaware of a reference in which Lemma. or he sufficiency roof of Theorem. aear. We rove he lemma as we need i in order o rove a number of oher resuls, including Corollary.. A relaed roof aears in [6] a age 70. Lemma. Le N =(P, T, F, W) beaperineofincidencemarixd. Assume ha here is an iniial marking µ I which enables an infinie firing sequence σ. Le U T be he se of ransiions which aear infiniely ofen in σ. There is a nonnegaive ineger vecor x such ha Dx 0, x(i) 0 i U and x(i) =0 i T \ U, where i denoes he ransiion corresonding o he i h column of D. 7

10 Proof: Consider firing σ and le µ 0 be he marking reached afer all ransiions which aear finiely ofen in σ have fired. Le σ = σ 0 σ σ...σ k... such ha each σ k is finie, for all k each of he ransiions in U aears in σ k,andµ I [σ 0 >µ 0.Thenleµ, µ,... be defined as follows: µ k [σ k >µ k for all k. Le V n be a nonemy se of he form V n = {y N n : y i V n,y y i,y y i or y y i }. Nexiis roved by inducion ha V n is finie (i.e. i canno have infiniely many elemens). Assume ha any V n is finie. Then, le y s,n V n ; V n C k,u,wherec k,u = {y N n : y(j k )=u, y(i k ) >y s,n (i k ), y i V n,y k,u y i,y y i or y y i }, is defined for 0 u<y s,n (j k )andk =,...n(n ) corresonds o he ossibiliies in which i k j k,0 i k,j k n can be chosen. The inducion assumion imlies ha each C k,u is finie, because he comonen j k of he vecors is fixed and only he remaining n can be varied. So V n is finie. Le M be recursively consruced as follows: iniially M 0 = {µ 0 }; for all i, M i = M i {µ i } if y M: y µ i or y µ i and else M i = M i. The revious aragrah showed ha n 0 N: k >n 0, M k = M n0. Le M = M n0 and M = {y N n : y x M,y y x }. Boh are finie ses. Here i is shown ha i, j, 0 i<j, such ha µ i µ j leads o conradicion. Assuming he conrary, k >0 y x Msuch ha µ k+n0 y x and µ k+n0 y x. If y N n, y x Mand y x y, henforu such ha u y x and u y x eiher y u or boh y u and y u; foru such ha u y and u y eiher y x u or boh y x u and y x u. Le M () be consruced in a similar way as M, bu saring from M () 0 =(M {y}) \{u M: u y}, wherey = µ +n0, and using µ n0+i insead of µ i for M () i. For he same reason he consrucion ends in finiely many ses. Also, M () M and n 0, such ha k >0 y x Msuch ha µ k+n0, y x and µ k+n0, y x. So we can coninue in he same way wih M (),...M (j), also subses of M. However hese oeraions canno be reeaed infiniely ofen: j M, because M (j) j conains a leas one elemen from M\ M (i). (This is so because y u, y u, u M (i) y/ M (i), i= also u M (i) \M (i ) v M (i ) : v u, hence u M (i) : y u imlies v M: y v.) So, M (j+) canno be consruced for some j, which imlies µ +n0,j u, u M (j), which is a conradicion. Therefore j, k, j<k, such ha µ j µ k. Le q j and q k be he firing coun vecors: µ j = µ 0 + Dq j and µ k = µ 0 + Dq k ;lex = q k q j.thenµ k µ j 0 Dx 0, and by consrucion x 0, x(i) > 0 i U and x(i) =0 i T \ U. Theorem. [] A Peri ne is (arially) reeiive if and only if a vecor x of osiive (nonnegaive) inegers exiss, such ha D x 0, x 0. In general i may no be ossible o enforce liveness or o reven deadlock in an arbirary given Peri ne. This may haen because he iniial marking is inaroriae or because he srucure of he Peri ne is incomaible wih he suervision urose. The nex corollary characerizes he srucure of Peri nes ha allow suervision for deadlock revenion and liveness enforcemen, resecively. I shows ha Peri nes in which liveness is enforcible are reeiive, and Peri nes in which deadlock is avoidable are arially reeiive. Par (b) of he corollary also aears in [8]. Corollary. Le N =(P, T, F, W) be a Peri ne. (a) Iniial markings µ 0 exis such ha deadlock can be revened in (N,µ 0 ) if and only if N is arially reeiive. (b) Iniial markings µ 0 exis such ha liveness can be enforced in (N,µ 0 ) if and only if N is reeiive. 8

11 Proof: (a) If deadlock can be avoided in (N,µ 0 )henµ 0 enables some infinie firing sequence σ, andby definiion N is arially reeiive. On he oher hand, if N is arially reeiive, hen by Theorem. here is a nonnegaive vecor x, x 0suchhaDx 0. Le σ x be a firing sequence associaed o a firing vecor q = x and le q denoe he firing vecor afer he firs ransiion of σ x fired, q afer he firs wo fired, and so on o q k = q. The incidence marix D can be wrien as D = D + D,whereD + and D corresond o he weighs W (, ) and W (, ), resecively. If he rows of he D are d T, dt,..., dt P, hen a marking which enables σ x is µ 0 ( i )= min(0, min j=...k dt i q j ) i =... P () A leas one deadlock revenion sraegy exiss for µ 0 : o allow only he firing sequence σ x,σ x,σ x,... o fire. This infinie firing sequence is enabled by µ 0 because µ 0 + Dx µ 0 and µ 0 enables σ x. (b) The roof is similar o (a). Le Ξ denoe a suervisory olicy. Le R(N,µ 0, Ξ) denoe he se of reachable markings from iniial marking µ 0,when(N,µ 0 ) is suervised by Ξ. A vecor x S R n has maximum suor if no oher vecor in S has more nonzero enries han x. Theminimum suor is similarly defined. Corollary. Consider a Peri ne N =(P, T, F, W) which is no reeiive. Then a leas one ransiion exiss such ha for any given iniial marking i canno fire infiniely ofen. Le T D be he se of all such ransiions. There are iniial markings µ 0 and a suervisory olicy Ξ such ha µ R(N,µ 0, Ξ), no ransiion in T \ T D is dead. Proof: There is an ineger vecor x 0wihmaximum suor such ha Dx 0, which means ha for all ineger vecors w 0 such ha Dw 0, w x. Indeed if y 0, z 0 are ineger vecors and Dy 0, Dz 0, hen D(z + y) 0andsoy + z 0and y, z y + z. If j T can be made live, here is a marking ha enables an infinie firing sequence σ such ha j aears infiniely ofen in σ. Therefore by Lemma. y 0 such ha Dy 0andy(j) > 0. Since x has maximum suor, y x and so j x. This roves ha all ransiions ha can be made live are in x. Therefore T D is nonemy. Nex, he roof shows ha all ransiions in x can be made live, which imlies ha T \ T D = x. Le σ x be a firing sequence associaed wih x, i.e. every i T aears x(i) imes in σ x. Then here is a marking µ 0 given by equaion () which enables he infinie firing sequence σ x,σ x,σ x,... Also, we may choose Ξ o resric all ossible firings o he former infinie firing sequence, so all ransiions in x can be made live. In Corollary., T D is nonemy. Oherwise, since all ransiions from T \ T D could simulaneously be made live, his would imly ha N is reeiive, which is a conradicion. A secial case is T \ T D =, when he Peri ne is no even arially reeiive, and so deadlock can no be avoided for any marking. I was already shown ha only reeiive Peri nes can be made live. The corollary above shows ha he se of ransiions of a arially reeiive Peri ne can be uniquely divided in ransiions ha can be made live and ransiions ha canno be made live. So he liveness roery of arially reeiive Peri nes is ha all ransiions ha can be live are live. 9

12 . A Characerizaion of Peri Nes Based on Subnes which Can Be Made Live, in View of Deadlock Prevenion and Liveness Enforcemen We denoe by an acive subne a ar of a Peri ne which can be made live by suervision for aroriae markings. In he following definiion we use he noaions from Corollary.. Definiion. Le N =(P, T, F, W) be a Peri ne, D he incidence marix and T D T be he se of all ransiions which canno fire infiniely ofen given any iniial marking. N A =(P A,T A,F A,W A ) is an acive subne of N if P A = T A, F A = F {(T A P A ) (P A T A )}, W A is he resricion of W o F A and T A is he se of ransiions wih nonzero enry in some nonnegaive vecor x which saisfies Dx 0. The maximal acive subne of N is he acive subne N A =(P A,T A,F A,W A ) such ha T A = T \ T D. A minimal acive subne has he roery ha he vecor x defining i has minimum suor. Definiion.6 Given an acive subne N A ofaperinen, a sihon of N is said o be an acive sihon (wih resec o N A ) if i is or includes a sihon of N A. An acive sihon is minimal if i does no include anoher acive sihon (wih resec o he same acive subne.) Proosiion. A sihon which conains laces from an acive subne is an acive sihon wih resec o ha subne. Proof: Using he noaions from Definiion., le S be a sihon such ha S P A. S S imlies ha S T A S T A. If T A and for some P :, hen P A, by Definiion.. Hence S T A (S P A ) and so S T A =(S P A ) T A. Noe also ha (S P A ) T A S T A. Therefore S S imlies (S P A ) T A (S P A ) T A, which roves ha S P A is a sihon of N A. The significance of he acive subnes for deadlock revenion can be seen in he following resuls. Firs we rove a echnical resul. Lemma. Le N A =(P A,T A,F A,W A ) be an acive subne of N. Given a marking µ of N and µ A is resricion o N A,if T A is enabled in N A,hen is enabled in N. Proof: By definiion, here is an nonnegaive ineger vecor x 0 such ha Dx 0(D is he incidence marix) and x(i) > 0for i T A and x(i) =0for i T \T A. This imlies ha here are markings such ha he ransiions of T A can fire infiniely ofen, wihou firing oher ransiions (see roof of Corollary..) If is no enabled in N, here is such ha / P A (he oeraors are aken wih resec o N,no N A,) since is enabled in N A. Noe ha / P A imlies T A =. If =, canno fire infiniely ofen, which conradics he definiion of T A, since T A. If x, he ransiions of T A canno fire infiniely ofen wihou firing x, which again conradics he definiion of T A. Therefore is also enabled in N. Noe ha in a reeiive Peri ne all sihons are acive wih resec o he maximal acive subne. The nex resul is a generalizaion of he well known Proosiion.. Proosiion. Le N A be an arbirary, nonemy, acive subne of a PT-ordinary Peri ne N.Ifµ is a deadlock marking of N, hen here is a leas one emy minimal acive sihon wih resec o N A. 0

13 Proof: Since µ is a deadlock marking and N =(P, T, F, W) is PT-ordinary, T : µ() = 0. The acive subne is buil in such a way ha if he marking µ resriced o he acive subne enables a ransiion, henµ enables in he oal ne (Lemma..) Therefore, because he oal ne (N,µ) is in deadlock, he acive subne is oo. In view of Proosiion., le s be an emy minimal sihon of he acive subne. Consider s in he oal ne. If s is a sihon of he oal ne, hen s is also a minimal acive sihon; herefore he ne has a minimal acive sihon which is emy. If s is no a sihon of he oal ne: s \ T A. Le S be he se recursively consruced as follows: S 0 = s, S i = S i { ( S i \ S i ):µ() =0}, where µ is he (deadlock) marking of he ne. In oher words S is a comleion of s wih laces wih null marking such ha S is a sihon. By consrucion S is an acive sihon and is emy for he marking µ. Hence an emy minimal acive sihon exiss. The racical significance of Proosiion. is ha i rovides a suor for doing deadlock revenion, since deadlock is no ossible when all acive sihons wih resec o a nonemy acive subne canno become emy. A less resricive condiion is given in he nex resul. Proosiion. Deadlock is unavoidable for he marking µ if for all minimal acive subnes N A here is an emy acive sihon wih resec o N A. Proof: For any emy (acive or no) sihon, all ransiions in he osse of ha sihon are emy. Therefore for all acive minimal subnes, some of heir ransiions are dead. If deadlock is avoidable, afer some ransiions firings a marking can be reached which enables σ x σ x...,whereσ x is a finie firing sequence. Le q be he firing coun vecor for σ x. Then Dq 0. If he acive subne for q is minimal, we le x = q, bu if i is no, here is x such ha x q, x 0,x 0, Dx 0 and he acive subne associaed o x is minimal. Bu i mus be an acive sihon wih regard o ha acive subne, herefore no all of he ransiions of x can fire, which imlies ha no all of he ransiions of σ x can fire, which is a conradicion. The revious resul suors maximally ermissive deadlock revenion. Deadlock is avoidable in a PTordinary Peri ne as long as i can be insured ha for all allowed markings, here is a minimal acive subne such ha all minimal acive sihons have a oken. The usage of Proosiion. for maximally ermissive deadlock revenion has been demonsraed in secion 6.. of [9]. An asymmeric choice ne is a Peri ne N = (P, T, F, W) wih he roery ha, P, = or. The following new resul can be seen as he corresonden for T-liveness of a revious resul for liveness in []. However, noe ha even for liveness he nex resul is sronger, as i relaes he dead ransiion o an emy sihon. Theorem. Consider a PT-ordinary asymmeric choice Peri ne N and a marking µ such ha a ransiion is dead. Then here is µ R(N,µ) such ha S is an emy sihon for he marking µ and S. Proof: In an asymmeric choice Peri ne, imlies or. Therefore given n laces such ha i j =0, i, j {,,...n}, wehave i i... in,wherei,...i n are disinc and i j {,,...n} for all j =...n. Le = {,... n }, where he noaion is chosen such ha... n. We rove firs ha µ R(N,µ)and j {,...n} such ha µ x R(N,µ ): µ x ( j ) = 0. Assume he conrary. Le µ = µ and i be he leas number in {,...n} such ha µ i, R(N,µ ): µ i, ( i )=0(i exiss, for is dead and

14 N is PT-ordinary). Then µ i, R(N,µ i, ): µ, ( i ). If µ i, R(N,µ i, ): µ i, ( i ), hen le µ = µ i,,leibehe leas ineger in {,...n} such ha µ i, R(N,µ ): µ i, ( i ) = 0 and reea he oeraion above. Noe ha i is increasing, and so afer a mos n such ses we find ha µ i, R(N,µ i, ): µ i, ( i ) = 0. (Oherwise we would have a reachable marking enabling.) From µ i, ( i ) andµ i, ( i )=0 we infer ha µ i, R(N,µ i, )and i i such ha µ i, enables i. Noe ha i j j = i...n, so µ i, ( j ) j = i...n. By he choice of i, µ i, ( j ) j =...i. Therefore µ i, enables. Conradicion. Therefore, µ R(N,µ)and j {,...n} such ha µ x R(N,µ ): µ x ( j ) = 0. We recursively use his roery o consruc S. Noe ha all ransiions in j are dead for µ. Le S 0 = and S = { j }. We recursively consruc S by generaing S,...S n+ and he markings µ,...µ n+. S i for i issuch ha all ransiions in S i are dead for some marking µ i. The consrucion in a ieraion is as follows. Le µ i+ R(N,µ i ) such ha (S i \ S i ) µ x R(N,µ i+ ) : µ x () = 0. Then we le S i+ = S i { x : µ x R(N,µ i+ ):µ x () =0}. There is n such ha S n+ = S n,forhe x (S i\s i ) Peri ne has a finie number of laces. We le S = S n and µ = µ n. Since j S, S. By consrucion S is a sihon, S is emy for µ,andµ R(N,µ). In general we may no wan all ransiions o be live. For insance some ransiions of a Peri ne may model fauls and we wan o insure ha some oher ransiions are live. This is he reason for he following definiion. Definiion.7 Le (N,µ 0 ) be a Peri ne and T a subse of he se of ransiions. The Peri ne is said o be T-live if all ransiions T are live. Noe ha a live ransiion is no he oosie of a dead ransiion. Tha is, a ransiion may be neiher live nor dead. Indeed, a ransiion is live if here is no reachable marking for which i is dead. Noe also ha T-liveness corresonds o liveness when he se T equals he se of ransiions. Definiion.8 Le N be a Peri ne, T a subse of he se of ransiions and N A =(P A,T A,F A,W A ) an acive subne. We say ha N A is T-minimal if T T A and T A Tx A for any oher acive subne Nx A =(Px A,Tx A,Fx A,Wx A ) such ha T Tx A. In general he T-minimal acive subne is no unique. However, as shown in he nex Proosiion, any T-minimal acive subne can be used o characerize T-liveness. Proosiion.6 Given a PT-ordinary asymmeric choice Peri ne N,leT be a se of ransiions and N A a T -minimal acive subne which conains he ransiions in T. If all he minimal sihons wih resec o N A are conrolled (i.e. hey canno become emy for any reachable marking), he Peri ne is T -live (and T A -live). If he Peri ne is T -live, here is a T -minimal acive subne N A such ha all minimal acive sihons wih resec o N A are conrolled. Proof: Assume ha no acive sihon becomes emy. If here is a reachable marking such ha a ransiion T A is dead (and T T A ), by Theorem. here is a reachable marking such ha a sihon S is emy and S. However S imlies S P A, and by Proosiion. S is an acive sihon. Conradicion, for S is emy.

15 Le Ni A denoe a T -minimal acive subne, i =...k,wherek is he number of T -minimal acive subnes. If here is a reachable marking µ such ha an acive sihon S i is emy, le T i = S Ti A,whereT i A is he se of ransiions of Ni A. Because S i is acive, T i is nonemy; because S i is emy, he ransiions of T i are dead. Assume ha here is an infinie firing sequence σ x such ha all ransiions of T aear infiniely ofen in σ x and afer a ar of σ x is fired, (le µ x be he marking reached) all T -minimal acive subnes Ni A have an emy acive sihon S i. Le σ be he remaining ar of σ x which is enabled by µ. All ransiions of T aear infiniely ofen in σ. Therefore, by Lemma., here is x 0 such ha Dx 0(D is he incidence marix) and T x. However, x does no conain all ransiions of any of he T -minimal subnes Ni A: T i x \Ti A,fori =...k. This imlies ha x defines anoher T -minimal acive subne, which is a conradicion. Preliminaries o he Liveness Enforcing Mehod. A Transformaion of Peri Nes o PT-ordinary Peri Nes We are ineresed in using a ransformaion o PT-ordinary Peri nes because Proosiions. and. in secion aly o PT-ordinary Peri nes. We use a modified form of he similar ransformaion from [], and we call i he PT-ransformaion. Le N =(P, T, F, W) be a Peri ne. Transiions j T such ha W (, j ) > forsome j may be sli (decomosed) in several new ransiions: The ransiion j is sli in m = n( j ) ransiions: j,0, j,, j,,... j,m,wheren( j )=max{w(, j ): (, j ) F }. Also,m new laces are added: j,, j,,... j,m. The connecions are as follows: (i) j,i = j,i, j,i = j,i and j,i = j,i,fori =...m (ii) j,i = { j : W (, j ) >i}, fori =0...m (iii) j,0 = j Noe ha j resembles very much j,0 : j,0 has all he connecions of j lus one addiional ransiion arc. Afer he sli is erformed, we denoe j,0 by j. The PT-ransformaion consis in sliing all ransiions such ha W (, ) > forsome. In his way he ransformed Peri ne is PT-ordinary. A few roeries are aaren: j,i = j,i = i =...m () j,i = i =...m () We use he convenion ha a sli ransiion j is also a ransiion of he PT-ransformed ne, since we denoe j,0 by j. Le P T be he se of laces of he ransformed ne. To a marking µ of he original ne we associae in he ransformed ne a marking µ T such ha µ T () =µ() P and µ T () =0 P T \ P. Firing of an unsli ransiion j in he original ne corresonds o firing he same ransiion in he ransformed ne. Firing of a sli ransiion j in he original ne corresonds in he ransformed ne o firing he sequence j,m... j,, j. For similar iniial markings µ and µ T (see above) he firing sequence σ T corresonds o a firing sequence σ, such ha every sli ransiion j in σ is relaced in σ T by is comonens j,m... j,, j, and firing σ in N roduces a similar marking µ o he marking µ T reached by firing σ T in he ransformed ne.

16 6 6 6,,,,,, 6 (a) (b) Figure : Illusraion of he PT-ransformaion. (a) Original ne and (b) ransformed ne.,,,, (a) (b) (c) (d) Figure : Illusraion of he ransiion sli: (a) iniial configuraion; (b) he effec of he PT-ransformaion; (c) iniial configuraion; (d) he effec of he AC-ransformaion. Figure shows an examle in which he ransiion is sli in, and, and he ransiion is sli in,,, and. Firing in he original ne corresonds o firing, and in he ransformed ne, and firing in he original ne corresonds o firing,,, and in he ransformed ne. Anoher examle is he Peri ne of figure 7(a), which is changed as shown in figure 7(b) afer i is PT-ransformed. The ransiion is relaced by, and,and by, and.. Transformaion of Peri nes o asymmeric choice Peri nes Le N =(P, T, F, W) beaperineandn =(P,T,F,W ) be he ransformed Peri ne, where P P, T T. The idea of he ransformaion is as follows. Given he ransiion, i and j such ha i j and j i,remove from eiher he osse of i or ha of j by adding an addiional lace and ransiion. The idea is illusraed in figure (c-d). Noe ha he oeraions corresond o a modified form of ransiion sli oeraions (secion.). Algorihm of he AC-Transformaion Inu: N and oionally M P ; he defaul value of M is M = P. Ouu: N Iniialize N o be idenical wih N.

17 For every T wih > do. Consruc U = {( i, j ) P P : i, j, i j and j i }.. if U is emy, hen coninue wih he nex ieraion.. Le Q :=.. For every ( i, j ) U (a) A lace { i, j } M is seleced. If wo choices are ossible: i. = i (or = j )if i (or j ) has been reviously seleced for anoher elemen of U. ii. oherwise is chosen such ha aears in oher elemen of U. Ifboh i and j saisfy his roery, selec { i, j } such ha =max{ i, j }. iii. if none of i and j aears in anoher elemen of U, selec { i, j } such ha =max{ i, j }. (b) If a lace could be seleced (i.e. if { i, j } M ) henq := Q {}. For all Q, delee from N he ransiion arc (, ) and add a new lace and a new ransiion such ha = {}, = { }, = {}, W (, )=W (, )=andw (,)=W(, ). We call he ransformaion o asymmeric choice Peri nes AC-ransformaion. The oeraion in he se of he algorihm is a ransiion sli. The ransiion sli of he AC-ransformaion is slighly differen from he ransiion sli of he PT-ransformaion in secion.. The second argumen of he algorihm, M, is used by he liveness enforcemen rocedure in order o selec he ransiions which he algorihm slis. Indeed, in general here are many ways in which o choose which ransiions o be sli such ha he ransformed ne is wih asymmeric choice. I will be seen ha he liveness enforcemen rocedure selecs M such ha he lace invarians creaed in revious ieraions are no modified by he AC-ransformaion.. Peri Ne Suervisors Based on Place Invarians We ouline here resuls from [, ] for suervisors based on linear consrains, in he aricular case of fully conrollable and observable Peri nes. The resuls of his secion sill aly for Peri nes wih unconrollable and unobservable ransiions, if he desired consrains are admissible... Fully Conrollable and Observable Peri Nes The conrol roblem considered here is o enforce a se of n c linear consrains o reven reaching undesired markings in a Peri ne. The consrains are wrien in a marix form: L µ b (6) where L is an ineger n c n marix (n c - he number of consrains, n - he number of laces of he given Peri ne), b is an ineger column vecor and µ denoes a marking vecor. Le µ c be a vecor of n c nonnegaive slack variables, defined as: µ c = b L µ (7)

18 Le µ c0 be he slack variables ha corresond o he iniial marking µ 0,haisµ c0 = b Lµ 0. Le q be he firing vecor associaed wih he ransiions ha led he Peri ne from µ 0 o µ and D he incidence marix, ha is µ = µ 0 + Dq. Soweseehaµ c = b L (µ 0 + D q), which also can be wrien as: µ c = µ c0 +( LD ) q (8) Therefore µ c may be regarded as a marking of some addiional conrol laces, where he exended (suervised) Peri ne has a marking vecor µ =[µ T,µ T c ] T, and an incidence marix D =[D T,Dc T ] T, and where D c = LD. In he suervised ne, iniial markings µ 0 such ha L µ 0 >bcanno be considered, since equaion (7) shows ha in his case µ c0 will no be nonnegaive. When he consrains are iniially saisfied, he iniial marking of he conrol laces may be chosen according o equaion (7), and herefore he consrains will remain saisfied for any reachable marking, since he D c ar of he incidence marix revens any firings which would aem o make any of he elemens of µ c negaive. The way he consrains are enforced revens only forbidden markings o be reached, so he suervisor is maximally ermissive. The nex heorem summarizes he consrucion above: Theorem. Le a lan Peri ne wih conrollable and observable ransiions, incidence marix D and iniial marking µ 0 be given. A se of n c linear consrains Lµ b areobeimosed.ifb Lµ 0 0 hen a Peri ne conroller (suervisor) wih incidence marix D c = LD and iniial marking µ c0 = b Lµ 0 enforces he consrain Lµ b when included in he closed loo sysem D =[D T,Dc T ] T. Furhermore, he suervision is maximally ermissive. Proof: See [, ]. Because D c = LD, every row of [L, I] is a lace invarian of he incidence marix of he closed loo sysem, D... Peri Nes wih Unconrollable and Unobservable Transiions Unconrollable and/or unobservable evens of he lan corresond o unconrollable and/or unobservable ransiions in he Peri ne model of he lan. Unconrollable evens canno be inhibied and unobservable evens canno be observed. As he Peri ne suervisor is imlemened in he form of conrol laces conneced o he lan Peri ne, we need o make sure ha no conrol lace ever aems o inhibi an unconrollable ransiion enabled in he lan Peri ne, and no conrol lace marking is varied by firing unobservable ransiions. The consrains Lµ b which saisfy his requiremen are called admissible consrains. Noe ha he admissibiliy of a consrain may deend on he iniial marking of he Peri ne. (For insance, all consrains are admissible in he rivial case wih null iniial marking.) In his aer we are ineresed in consrains which are admissible for all iniial markings. I can easily be seen ha Lµ b is admissible for all iniial markings if and only if he following equaions of [] are rue: LD uc 0 (9) LD uo = 0 (0) where D uc and D uo denoe he columns of he incidence marix which corresond o unconrollable and unobservable ransiions, resecively. From he viewoin of his aer all linear consrains ha have 6

19 marices L ha saisfy he condiions above are admissible. Such consrains may be enforced as in secion... Consrains Lµ b which do no saisfy (9) and (0) may be ransformed o a new se of consrains L µ b such ha (i) L saisfies (9) and (0), and (ii) µ N n : L µ b Lµ b. Unless µ N n : L µ b Lµ b, his aroach of enforcing Lµ b may no be maximally ermissive. Noe ha enforcing linear consrains is maximally ermissive in he case of fully conrollable and observable Peri nes (Theorem.). Algorihms which ransform linear consrains o admissible linear consrains are given in [].. Sihon Conrol Based on Place Invarians Proosiion. showed ha in a PT-ordinary Peri ne deadlock is no ossible if all sihons are conrolled. This suggess ha all sihons should be made conrolled sihons. An easy way o make a sihon conrolled is o creae a lace invarian o conrol he sihon. This is done below by adding an addiional lace o he original Peri ne. Early references of his aroach for sihon conrol are in [, ]. This secion resens i as a secial case of he suervision mehod based on lace invarians (secion.). The oeraions described here do no deend on he fac ha he srucure hey are alied o is a sihon, so hey are described in more general erms... Case : All Transiions are Conrollable and Observable Le N =(P, T, F, W) be a Peri ne. Given a se of laces S, µ() is he desired conrol olicy. This consrain can be enforced using he mehodology of invarian based suervision of [, ], oulined in secion., which yields an addiional lace C, called conrol lace. The lace invarian creaed is x, such ha x(i) =for i S, x(i C )= andx(i) = 0 for all oher indices, where i C is he row index of C in he closed loo incidence marix. This invarian corresonds o he equaion µ(c) = µ( k ) () k S where he consan resuls from he iniial marking of he conrol lace. There are several aricular cases: (a) C = and C : no ransiion increases he marking of S and here are ransiions which decrease he marking of S. In his case C alone makes u a minimal sihon which canno be conrolled (see also [],.87-88). (b) C S (in aricular C = ): no ransiion can make S oken free. Also, C S if and only if S is a ra. Therefore when S is also a sihon, i is (ra) conrolled for all iniial markings µ 0 ha saisfy µ 0 (). S 0 (c) C = and C = : he marking of S canno vary, and so here is a lace invarian x such ha x(i) = for all i S and x(i) = 0 oherwise. Case (a) deecs ransiions ha canno be made live when S is a sihon (Corollary.). Case (b) shows he case when S does no need conrol. Noe ha he mehod deends only on srucural roeries of he Peri ne. Tha is, i does no deec wheher S does no need conrol for some iniial markings, bu i deecs only he case when S does no need conrol for all iniial markings µ 0 such ha µ 0 (). Therefore he S S 7

20 mehod when alied o a sihon ha is no a ra, bu includes a ra, always roduces a conrol lace. The reason ha his is correc is ha here are nonzero iniial markings of he sihon such ha he included ra has null marking; hence he sihon is no ra conrolled for such markings. 7 8 C 6 7 C C 7 (a) (b) Figure : Sihon Conrol Examles. Connecions o conrol laces are dashed. In figure (a) here is a single minimal sihon, {,,,, 6, 7 }. The sihon includes a ra {,, 6, 7 }, bu i is no ra conrolled because he marking of he ra is 0. The conrol lace C revens firing, which would emy he sihon. In figure (b) he original Peri ne has wo minimal sihons, {,, } and {,,,, 6 }. Their conrol laces are C and C, resecively. C is an examle of case (a). Also, he conrol lace C ha resuls by conrolling he minimal sihon {,C } saisfies C = and C =. By Theorem., he way in which he consrain µ 0 () was enforced is maximally ermissive. Therefore, because he enforcemen of his consrain on a sihon by definiion makes he sihon conrolled, here is no oher more ermissive way o conrol a sihon. This is no he only way o rovide maximally ermissive conrol of a sihon; however, any oher way is equivalen. An imoran qualiy of his echnique is ha he closed loo remains a Peri ne. S.. Case : Transiions Unconrollable and/or Unobservable are Presen Le D be he incidence marix of a Peri ne, and le D uo and D uc be D resriced o he columns of unobservable and resecively unconrollable ransiions. In order ha he consrain l T µ b be admissible, he suervisor enforcing i should no need o deec unobservable ransiions or inhibi enabled unconrollable ransiions, and so he consrain is required o saisfy l T D uo =0andl T D uc 0. There are mehods ha allow o ransform a consrain in a anoher consrain, in general more resricive, which saisfies he las wo requiremens. Two such mehods can be found in []. Ye we will choose o use a differen mehod in secion..6. When a desired consrain µ() is inadmissible, i can be ransformed o a consrain S of he form l T µ b. In boh secion..6 and [], b = (in [] consider he consrucion of Lemma.0). Therefore he admissible form of he consrain µ() is α µ(). The algorihm of he secion..6 is guaraneed o find a soluion o his roblem if any of he form l T µ b exiss. Noe ha he ransformaion o admissible consrains is no always ossible. There are cases when his is imossible because of limied informaion due o unobservable ransiions and/or limied abiliy o conrol firing ransiions can make imossible he ask o design a suervisor which guaranees ha he S S 8

A Method for Deadlock Prevention in Discrete Event Systems Using Petri Nets

A Method for Deadlock Prevention in Discrete Event Systems Using Petri Nets M.V. Iordache, J.O. Moody and P.J. Ansaklis, "A Mehod for Deadlock Prevenion in Discree Even Sysems Using Peri Nes," Technical Reor isis-99-006, De. of Elecrical Engr., Univ. of Nore Dame, July 999. A

More information

A Method for Deadlock Prevention in Discrete Event Systems Using Petri Nets

A Method for Deadlock Prevention in Discrete Event Systems Using Petri Nets A Mehod for Deadlock Prevenion in Discree Even Sysems Using Peri Nes Technical Reor of he ISIS Grou a he Universiy of Nore Dame ISIS-99-006 July, 999 Marian V. Iordache John O. Moody Panos J. Ansaklis

More information

Decentralized Control of Petri Nets

Decentralized Control of Petri Nets Decenralized Conrol of Peri Nes Marian V. Iordache and Panos J. Ansaklis Dearmen of Elecrical Engineering Universiy of Nore Dame Nore Dame, IN 6556 iordache.@nd.edu June, 00 M.V. Iordache and P.J. Ansaklis,

More information

Reduction of the Supervisor Design Problem with Firing Vector Constraints

Reduction of the Supervisor Design Problem with Firing Vector Constraints wih Firing Vecor Consrains Marian V. Iordache School of Engineering and Eng. Tech. LeTourneau Universiy Longview, TX 75607-700 Panos J. Ansaklis Dearmen of Elecrical Engineering Universiy of Nore Dame

More information

Decentralized Control of Petri Nets

Decentralized Control of Petri Nets Marian Iordache, Panos J.Ansaklis, Decenralized onrol of Peri Nes, ISIS Technical Reor ISIS-00-005, Ocober 00. Decenralized onrol of Peri Nes Technical Reor of he ISIS Grou a he Universiy of Nore Dame

More information

Decentralized Control of Petri Nets

Decentralized Control of Petri Nets Marian Iordache, Panos J. Ansaklis, Decenralized Conrol of Peri Nes, Proceedings of he Worksho on Discree Even Sysems Conrol a he h Inernaional Conference on Alicaion and Theory of Peri Nes (ATPN 00),.-58,

More information

Synthesis of Supervisors Enforcing General Linear Vector Constraints in Petri Nets

Synthesis of Supervisors Enforcing General Linear Vector Constraints in Petri Nets The 00 Aerican onrol onference, May -0, Anchorage, Alaska. Synhesis of Suervisors Enforcing General Linear Vecor onsrains in Peri Nes Marian V. Iordache and Panos J. Ansaklis Absrac This aer considers

More information

Embedded Systems 5 BF - ES - 1 -

Embedded Systems 5 BF - ES - 1 - Embedded Sysems 5 - - REVIEW: Peri Nes Def.: N=C,E,F) is called a Peri ne, iff he following holds. C and E are disjoin ses 2. F C E) E C); is binary relaion, flow relaion ) Def.: Le N be a ne and le x

More information

Embedded Systems CS - ES

Embedded Systems CS - ES Embedded Sysems - - Overview of embedded sysems design REVIEW - 2 - REVIEW - 3 - REVIEW - 4 - REVIEW - 5 - Scheduling rocesses in ES: Differences in goals REVIEW In classical OS, qualiy of scheduling is

More information

Embedded Systems 4. Petri nets. Introduced in 1962 by Carl Adam Petri in his PhD thesis. Different Types of Petri nets known

Embedded Systems 4. Petri nets. Introduced in 1962 by Carl Adam Petri in his PhD thesis. Different Types of Petri nets known Embedded Sysems 4 - - Peri nes Inroduced in 962 by Carl Adam Peri in his PhD hesis. Differen Tyes of Peri nes known Condiion/even nes Place/ransiion nes Predicae/ransiion nes Hierachical Peri nes, - 2

More information

fakultät für informatik informatik 12 technische universität dortmund Petri Nets Peter Marwedel TU Dortmund, Informatik /10/10

fakultät für informatik informatik 12 technische universität dortmund Petri Nets Peter Marwedel TU Dortmund, Informatik /10/10 2 Peri Nes Peer Marwedel TU Dormund, Informaik 2 2008/0/0 Grahics: Alexandra Nole, Gesine Marwedel, 2003 Generalizaion of daa flow: Comuaional grahs Examle: Peri nes Inroduced in 962 by Carl Adam Peri

More information

Synthesis of Concurrent Programs Based on Supervisory Control

Synthesis of Concurrent Programs Based on Supervisory Control Synhesis of Concurren Programs Based on Suervisory Conrol Marian V. Iordache School of Engineering and Eng. Tech. LeTourneau Universiy Longview, TX 75607, USA E-mail: MarianIordache@leu.edu Panos J. Ansaklis

More information

Embedded Systems 5. Midterm, Thursday December 18, 2008, Final, Thursday February 12, 2009, 16-19

Embedded Systems 5. Midterm, Thursday December 18, 2008, Final, Thursday February 12, 2009, 16-19 Embedded Sysems 5 - - Exam Daes / egisraion Miderm, Thursday December 8, 8, 6-8 Final, Thursday February, 9, 6-9 egisraion hrough HISPOS oen in arox. week If HISPOS no alicable Non-CS, Erasmus, ec send

More information

fakultät für informatik informatik 12 technische universität dortmund Petri Nets Peter Marwedel TU Dortmund, Informatik /11/09

fakultät für informatik informatik 12 technische universität dortmund Petri Nets Peter Marwedel TU Dortmund, Informatik /11/09 2 Peri Nes Peer Marwedel TU Dormund, Informaik 2 2009//09 Grahics: Alexandra Nole, Gesine Marwedel, 2003 Models of comuaion considered in his course Communicaion/ local comuaions Undefined comonens Communicaing

More information

11!Hí MATHEMATICS : ERDŐS AND ULAM PROC. N. A. S. of decomposiion, properly speaking) conradics he possibiliy of defining a counably addiive real-valu

11!Hí MATHEMATICS : ERDŐS AND ULAM PROC. N. A. S. of decomposiion, properly speaking) conradics he possibiliy of defining a counably addiive real-valu ON EQUATIONS WITH SETS AS UNKNOWNS BY PAUL ERDŐS AND S. ULAM DEPARTMENT OF MATHEMATICS, UNIVERSITY OF COLORADO, BOULDER Communicaed May 27, 1968 We shall presen here a number of resuls in se heory concerning

More information

10. State Space Methods

10. State Space Methods . Sae Space Mehods. Inroducion Sae space modelling was briefly inroduced in chaper. Here more coverage is provided of sae space mehods before some of heir uses in conrol sysem design are covered in he

More information

Chapter 2. First Order Scalar Equations

Chapter 2. First Order Scalar Equations Chaper. Firs Order Scalar Equaions We sar our sudy of differenial equaions in he same way he pioneers in his field did. We show paricular echniques o solve paricular ypes of firs order differenial equaions.

More information

ODEs II, Lecture 1: Homogeneous Linear Systems - I. Mike Raugh 1. March 8, 2004

ODEs II, Lecture 1: Homogeneous Linear Systems - I. Mike Raugh 1. March 8, 2004 ODEs II, Lecure : Homogeneous Linear Sysems - I Mike Raugh March 8, 4 Inroducion. In he firs lecure we discussed a sysem of linear ODEs for modeling he excreion of lead from he human body, saw how o ransform

More information

Chapter 3 Common Families of Distributions

Chapter 3 Common Families of Distributions Chaer 3 Common Families of Disribuions Secion 31 - Inroducion Purose of his Chaer: Caalog many of common saisical disribuions (families of disribuions ha are indeed by one or more arameers) Wha we should

More information

Embedded Systems CS - ES

Embedded Systems CS - ES Embedded Sysems - - REVIEW Peri Nes - 2 - Comuing changes of markings REVIEW Firing ransiions generae new markings on each of he laces according o he following rules: When a ransiion fires from a marking

More information

Petri Nets. Peter Marwedel TU Dortmund, Informatik /05/13 These slides use Microsoft clip arts. Microsoft copyright restrictions apply.

Petri Nets. Peter Marwedel TU Dortmund, Informatik /05/13 These slides use Microsoft clip arts. Microsoft copyright restrictions apply. 2 Peri Nes Peer Marwedel TU Dormund, Informaik 2 Grahics: Alexandra Nole, Gesine Marwedel, 2003 20/05/3 These slides use Microsof cli ars. Microsof coyrigh resricions aly. Models of comuaion considered

More information

ON DETERMINATION OF SOME CHARACTERISTICS OF SEMI-MARKOV PROCESS FOR DIFFERENT DISTRIBUTIONS OF TRANSIENT PROBABILITIES ABSTRACT

ON DETERMINATION OF SOME CHARACTERISTICS OF SEMI-MARKOV PROCESS FOR DIFFERENT DISTRIBUTIONS OF TRANSIENT PROBABILITIES ABSTRACT Zajac, Budny ON DETERMINATION O SOME CHARACTERISTICS O SEMI MARKOV PROCESS OR DIERENT DISTRIBUTIONS O R&RATA # 2(3 ar 2 (Vol. 2 29, June ON DETERMINATION O SOME CHARACTERISTICS O SEMI-MARKOV PROCESS OR

More information

I. Introduction to place/transition nets. Place/Transition Nets I. Example: a vending machine. Example: a vending machine

I. Introduction to place/transition nets. Place/Transition Nets I. Example: a vending machine. Example: a vending machine Inroducory Tuorial I. Inroducion o place/ransiion nes Place/Transiion Nes I Prepared by: Jörg Desel, Caholic Universiy in Eichsä and Karsen Schmid, Humbold-Universiä zu Berlin Speaker: Wolfgang Reisig,

More information

Optimality Conditions for Unconstrained Problems

Optimality Conditions for Unconstrained Problems 62 CHAPTER 6 Opimaliy Condiions for Unconsrained Problems 1 Unconsrained Opimizaion 11 Exisence Consider he problem of minimizing he funcion f : R n R where f is coninuous on all of R n : P min f(x) x

More information

Inventory Analysis and Management. Multi-Period Stochastic Models: Optimality of (s, S) Policy for K-Convex Objective Functions

Inventory Analysis and Management. Multi-Period Stochastic Models: Optimality of (s, S) Policy for K-Convex Objective Functions Muli-Period Sochasic Models: Opimali of (s, S) Polic for -Convex Objecive Funcions Consider a seing similar o he N-sage newsvendor problem excep ha now here is a fixed re-ordering cos (> 0) for each (re-)order.

More information

Petri Nets. Peter Marwedel TU Dortmund, Informatik 年 10 月 31 日. technische universität dortmund. fakultät für informatik informatik 12

Petri Nets. Peter Marwedel TU Dortmund, Informatik 年 10 月 31 日. technische universität dortmund. fakultät für informatik informatik 12 Sringer, 2 2 Peri Nes Peer Marwedel TU Dormund, Informaik 2 22 年 月 3 日 These slides use Microsof cli ars. Microsof coyrigh resricions aly. Models of comuaion considered in his course Communicaion/ local

More information

Software Tools for the Supervisory Control of Petri Nets Based on Place Invariants

Software Tools for the Supervisory Control of Petri Nets Based on Place Invariants Sofware Tools for he Suervisory Conrol of Peri Nes Based on Place Invarians Marian V. Iordache and Panos J. Ansaklis This documen describes a Malab oolbox for he suervisory conrol of Peri nes based on

More information

Verification of Coprognosability in Decentralized Fault Prognosis of Labeled Petri Nets

Verification of Coprognosability in Decentralized Fault Prognosis of Labeled Petri Nets 28 IEEE Conference on Decision and Conrol (CDC Miami Beach, FL, USA, Dec. 7-9, 28 Verificaion of Corognosabiliy in Decenralized Faul Prognosis of Labeled Peri es Wenqing Wu, Xiang Yin and Shaoyuan Li Absrac

More information

FORECASTS GENERATING FOR ARCH-GARCH PROCESSES USING THE MATLAB PROCEDURES

FORECASTS GENERATING FOR ARCH-GARCH PROCESSES USING THE MATLAB PROCEDURES FORECASS GENERAING FOR ARCH-GARCH PROCESSES USING HE MALAB PROCEDURES Dušan Marček, Insiue of Comuer Science, Faculy of Philosohy and Science, he Silesian Universiy Oava he Faculy of Managemen Science

More information

23.2. Representing Periodic Functions by Fourier Series. Introduction. Prerequisites. Learning Outcomes

23.2. Representing Periodic Functions by Fourier Series. Introduction. Prerequisites. Learning Outcomes Represening Periodic Funcions by Fourier Series 3. Inroducion In his Secion we show how a periodic funcion can be expressed as a series of sines and cosines. We begin by obaining some sandard inegrals

More information

On a problem of Graham By E. ERDŐS and E. SZEMERÉDI (Budapest) GRAHAM stated the following conjecture : Let p be a prime and a 1,..., ap p non-zero re

On a problem of Graham By E. ERDŐS and E. SZEMERÉDI (Budapest) GRAHAM stated the following conjecture : Let p be a prime and a 1,..., ap p non-zero re On a roblem of Graham By E. ERDŐS and E. SZEMERÉDI (Budaes) GRAHAM saed he following conjecure : Le be a rime and a 1,..., a non-zero residues (mod ). Assume ha if ' a i a i, ei=0 or 1 (no all e i=0) is

More information

T L. t=1. Proof of Lemma 1. Using the marginal cost accounting in Equation(4) and standard arguments. t )+Π RB. t )+K 1(Q RB

T L. t=1. Proof of Lemma 1. Using the marginal cost accounting in Equation(4) and standard arguments. t )+Π RB. t )+K 1(Q RB Elecronic Companion EC.1. Proofs of Technical Lemmas and Theorems LEMMA 1. Le C(RB) be he oal cos incurred by he RB policy. Then we have, T L E[C(RB)] 3 E[Z RB ]. (EC.1) Proof of Lemma 1. Using he marginal

More information

Timed Circuits. Asynchronous Circuit Design. Timing Relationships. A Simple Example. Timed States. Timing Sequences. ({r 6 },t6 = 1.

Timed Circuits. Asynchronous Circuit Design. Timing Relationships. A Simple Example. Timed States. Timing Sequences. ({r 6 },t6 = 1. Timed Circuis Asynchronous Circui Design Chris J. Myers Lecure 7: Timed Circuis Chaper 7 Previous mehods only use limied knowledge of delays. Very robus sysems, bu exremely conservaive. Large funcional

More information

On the Existence, Uniqueness and Stability Behavior of a Random Solution to a Non local Perturbed Stochastic Fractional Integro-Differential Equation

On the Existence, Uniqueness and Stability Behavior of a Random Solution to a Non local Perturbed Stochastic Fractional Integro-Differential Equation On he Exisence, Uniqueness and Sabiliy ehavior of a Random Soluion o a Non local Perurbed Sochasic Fracional Inegro-Differenial Equaion Mahmoud M. El-orai,*, M.A.Abdou, Mohamed Ibrahim M. Youssef Dearmen

More information

STATE-SPACE MODELLING. A mass balance across the tank gives:

STATE-SPACE MODELLING. A mass balance across the tank gives: B. Lennox and N.F. Thornhill, 9, Sae Space Modelling, IChemE Process Managemen and Conrol Subjec Group Newsleer STE-SPACE MODELLING Inroducion: Over he pas decade or so here has been an ever increasing

More information

- The whole joint distribution is independent of the date at which it is measured and depends only on the lag.

- The whole joint distribution is independent of the date at which it is measured and depends only on the lag. Saionary Processes Sricly saionary - The whole join disribuion is indeenden of he dae a which i is measured and deends only on he lag. - E y ) is a finie consan. ( - V y ) is a finie consan. ( ( y, y s

More information

Lecture 20: Riccati Equations and Least Squares Feedback Control

Lecture 20: Riccati Equations and Least Squares Feedback Control 34-5 LINEAR SYSTEMS Lecure : Riccai Equaions and Leas Squares Feedback Conrol 5.6.4 Sae Feedback via Riccai Equaions A recursive approach in generaing he marix-valued funcion W ( ) equaion for i for he

More information

1 Review of Zero-Sum Games

1 Review of Zero-Sum Games COS 5: heoreical Machine Learning Lecurer: Rob Schapire Lecure #23 Scribe: Eugene Brevdo April 30, 2008 Review of Zero-Sum Games Las ime we inroduced a mahemaical model for wo player zero-sum games. Any

More information

The Asymptotic Behavior of Nonoscillatory Solutions of Some Nonlinear Dynamic Equations on Time Scales

The Asymptotic Behavior of Nonoscillatory Solutions of Some Nonlinear Dynamic Equations on Time Scales Advances in Dynamical Sysems and Applicaions. ISSN 0973-5321 Volume 1 Number 1 (2006, pp. 103 112 c Research India Publicaions hp://www.ripublicaion.com/adsa.hm The Asympoic Behavior of Nonoscillaory Soluions

More information

BOX-JENKINS MODEL NOTATION. The Box-Jenkins ARMA(p,q) model is denoted by the equation. pwhile the moving average (MA) part of the model is θ1at

BOX-JENKINS MODEL NOTATION. The Box-Jenkins ARMA(p,q) model is denoted by the equation. pwhile the moving average (MA) part of the model is θ1at BOX-JENKINS MODEL NOAION he Box-Jenkins ARMA(,q) model is denoed b he equaion + + L+ + a θ a L θ a 0 q q. () he auoregressive (AR) ar of he model is + L+ while he moving average (MA) ar of he model is

More information

Hamilton- J acobi Equation: Weak S olution We continue the study of the Hamilton-Jacobi equation:

Hamilton- J acobi Equation: Weak S olution We continue the study of the Hamilton-Jacobi equation: M ah 5 7 Fall 9 L ecure O c. 4, 9 ) Hamilon- J acobi Equaion: Weak S oluion We coninue he sudy of he Hamilon-Jacobi equaion: We have shown ha u + H D u) = R n, ) ; u = g R n { = }. ). In general we canno

More information

Designing Information Devices and Systems I Spring 2019 Lecture Notes Note 17

Designing Information Devices and Systems I Spring 2019 Lecture Notes Note 17 EES 16A Designing Informaion Devices and Sysems I Spring 019 Lecure Noes Noe 17 17.1 apaciive ouchscreen In he las noe, we saw ha a capacior consiss of wo pieces on conducive maerial separaed by a nonconducive

More information

Removing Useless Productions of a Context Free Grammar through Petri Net

Removing Useless Productions of a Context Free Grammar through Petri Net Journal of Compuer Science 3 (7): 494-498, 2007 ISSN 1549-3636 2007 Science Publicaions Removing Useless Producions of a Conex Free Grammar hrough Peri Ne Mansoor Al-A'ali and Ali A Khan Deparmen of Compuer

More information

Description of the MS-Regress R package (Rmetrics)

Description of the MS-Regress R package (Rmetrics) Descriion of he MS-Regress R ackage (Rmerics) Auhor: Marcelo Perlin PhD Suden / ICMA Reading Universiy Email: marceloerlin@gmail.com / m.erlin@icmacenre.ac.uk The urose of his documen is o show he general

More information

Matrix Versions of Some Refinements of the Arithmetic-Geometric Mean Inequality

Matrix Versions of Some Refinements of the Arithmetic-Geometric Mean Inequality Marix Versions of Some Refinemens of he Arihmeic-Geomeric Mean Inequaliy Bao Qi Feng and Andrew Tonge Absrac. We esablish marix versions of refinemens due o Alzer ], Carwrigh and Field 4], and Mercer 5]

More information

Some Ramsey results for the n-cube

Some Ramsey results for the n-cube Some Ramsey resuls for he n-cube Ron Graham Universiy of California, San Diego Jozsef Solymosi Universiy of Briish Columbia, Vancouver, Canada Absrac In his noe we esablish a Ramsey-ype resul for cerain

More information

Technical Report Doc ID: TR March-2013 (Last revision: 23-February-2016) On formulating quadratic functions in optimization models.

Technical Report Doc ID: TR March-2013 (Last revision: 23-February-2016) On formulating quadratic functions in optimization models. Technical Repor Doc ID: TR--203 06-March-203 (Las revision: 23-Februar-206) On formulaing quadraic funcions in opimizaion models. Auhor: Erling D. Andersen Convex quadraic consrains quie frequenl appear

More information

f(t) dt, x > 0, is the best value and it is the norm of the

f(t) dt, x > 0, is the best value and it is the norm of the MATEMATIQKI VESNIK 66, 1 (214), 19 32 March 214 originalni nauqni rad research aer GENERALIZED HAUSDORFF OPERATORS ON WEIGHTED HERZ SPACES Kuang Jichang Absrac. In his aer, we inroduce new generalized

More information

SOLUTIONS TO ECE 3084

SOLUTIONS TO ECE 3084 SOLUTIONS TO ECE 384 PROBLEM 2.. For each sysem below, specify wheher or no i is: (i) memoryless; (ii) causal; (iii) inverible; (iv) linear; (v) ime invarian; Explain your reasoning. If he propery is no

More information

Finish reading Chapter 2 of Spivak, rereading earlier sections as necessary. handout and fill in some missing details!

Finish reading Chapter 2 of Spivak, rereading earlier sections as necessary. handout and fill in some missing details! MAT 257, Handou 6: Ocober 7-2, 20. I. Assignmen. Finish reading Chaper 2 of Spiva, rereading earlier secions as necessary. handou and fill in some missing deails! II. Higher derivaives. Also, read his

More information

INDEPENDENT SETS IN GRAPHS WITH GIVEN MINIMUM DEGREE

INDEPENDENT SETS IN GRAPHS WITH GIVEN MINIMUM DEGREE INDEPENDENT SETS IN GRAPHS WITH GIVEN MINIMUM DEGREE JAMES ALEXANDER, JONATHAN CUTLER, AND TIM MINK Absrac The enumeraion of independen ses in graphs wih various resricions has been a opic of much ineres

More information

Computing with diode model

Computing with diode model ECE 570 Session 5 C 752E Comuer Aided Engineering for negraed Circuis Comuing wih diode model Objecie: nroduce conces in numerical circui analsis Ouline: 1. Model of an examle circui wih a diode 2. Ouline

More information

Rise-Time Distortion of Signal without Carrying Signal

Rise-Time Distortion of Signal without Carrying Signal Journal of Physics: Conference Series PAPER OPEN ACCESS Rise-Time Disorion of Signal wihou Carrying Signal To cie his aricle: N S Bukhman 6 J. Phys.: Conf. Ser. 738 8 View he aricle online for udaes and

More information

Lecture 6 - Testing Restrictions on the Disturbance Process (References Sections 2.7 and 2.10, Hayashi)

Lecture 6 - Testing Restrictions on the Disturbance Process (References Sections 2.7 and 2.10, Hayashi) Lecure 6 - esing Resricions on he Disurbance Process (References Secions 2.7 an 2.0, Hayashi) We have eveloe sufficien coniions for he consisency an asymoic normaliy of he OLS esimaor ha allow for coniionally

More information

A 2-Approximation Algorithm for Stochastic Inventory Control Models with Lost Sales

A 2-Approximation Algorithm for Stochastic Inventory Control Models with Lost Sales A 2-Aroximaion Algorihm for Sochasic Invenory Conrol Models wih Los Sales Resef Levi Sloan School of Managemen, MIT, Cambridge, MA, 02139, USA email: resef@mi.edu Ganesh Janakiraman IOMS-OM Grou, Sern

More information

A One Line Derivation of DCC: Application of a Vector Random Coefficient Moving Average Process*

A One Line Derivation of DCC: Application of a Vector Random Coefficient Moving Average Process* A One Line Derivaion of DCC: Alicaion of a Vecor Random Coefficien Moving Average Process* Chrisian M. Hafner Insiu de saisique, biosaisique e sciences acuarielles Universié caholique de Louvain Michael

More information

CHAPTER 2 Signals And Spectra

CHAPTER 2 Signals And Spectra CHAPER Signals And Specra Properies of Signals and Noise In communicaion sysems he received waveform is usually caegorized ino he desired par conaining he informaion, and he undesired par. he desired par

More information

di Bernardo, M. (1995). A purely adaptive controller to synchronize and control chaotic systems.

di Bernardo, M. (1995). A purely adaptive controller to synchronize and control chaotic systems. di ernardo, M. (995). A purely adapive conroller o synchronize and conrol chaoic sysems. hps://doi.org/.6/375-96(96)8-x Early version, also known as pre-prin Link o published version (if available):.6/375-96(96)8-x

More information

Dirac s hole theory and the Pauli principle: clearing up the confusion.

Dirac s hole theory and the Pauli principle: clearing up the confusion. Dirac s hole heory and he Pauli rincile: clearing u he conusion. Dan Solomon Rauland-Borg Cororaion 8 W. Cenral Road Moun Prosec IL 656 USA Email: dan.solomon@rauland.com Absrac. In Dirac s hole heory

More information

Expert Advice for Amateurs

Expert Advice for Amateurs Exper Advice for Amaeurs Ernes K. Lai Online Appendix - Exisence of Equilibria The analysis in his secion is performed under more general payoff funcions. Wihou aking an explici form, he payoffs of he

More information

Notes for Lecture 17-18

Notes for Lecture 17-18 U.C. Berkeley CS278: Compuaional Complexiy Handou N7-8 Professor Luca Trevisan April 3-8, 2008 Noes for Lecure 7-8 In hese wo lecures we prove he firs half of he PCP Theorem, he Amplificaion Lemma, up

More information

arxiv: v1 [math.rt] 15 Dec 2017

arxiv: v1 [math.rt] 15 Dec 2017 POSITIVITY OF DENOMINATOR VECTORS OF CLUSTER ALGEBRAS PEIGEN CAO FANG LI arxiv:1712.06975v1 [mah.rt] 15 Dec 2017 Absrac. In his aer, we rove ha osiiviy of denominaor vecors holds for any sewsymmeric cluser

More information

3.1.3 INTRODUCTION TO DYNAMIC OPTIMIZATION: DISCRETE TIME PROBLEMS. A. The Hamiltonian and First-Order Conditions in a Finite Time Horizon

3.1.3 INTRODUCTION TO DYNAMIC OPTIMIZATION: DISCRETE TIME PROBLEMS. A. The Hamiltonian and First-Order Conditions in a Finite Time Horizon 3..3 INRODUCION O DYNAMIC OPIMIZAION: DISCREE IME PROBLEMS A. he Hamilonian and Firs-Order Condiions in a Finie ime Horizon Define a new funcion, he Hamilonian funcion, H. H he change in he oal value of

More information

The Arcsine Distribution

The Arcsine Distribution The Arcsine Disribuion Chris H. Rycrof Ocober 6, 006 A common heme of he class has been ha he saisics of single walker are ofen very differen from hose of an ensemble of walkers. On he firs homework, we

More information

THE GENERALIZED PASCAL MATRIX VIA THE GENERALIZED FIBONACCI MATRIX AND THE GENERALIZED PELL MATRIX

THE GENERALIZED PASCAL MATRIX VIA THE GENERALIZED FIBONACCI MATRIX AND THE GENERALIZED PELL MATRIX J Korean Mah Soc 45 008, No, pp 479 49 THE GENERALIZED PASCAL MATRIX VIA THE GENERALIZED FIBONACCI MATRIX AND THE GENERALIZED PELL MATRIX Gwang-yeon Lee and Seong-Hoon Cho Reprined from he Journal of he

More information

STABILITY OF PEXIDERIZED QUADRATIC FUNCTIONAL EQUATION IN NON-ARCHIMEDEAN FUZZY NORMED SPASES

STABILITY OF PEXIDERIZED QUADRATIC FUNCTIONAL EQUATION IN NON-ARCHIMEDEAN FUZZY NORMED SPASES Novi Sad J. Mah. Vol. 46, No. 1, 2016, 15-25 STABILITY OF PEXIDERIZED QUADRATIC FUNCTIONAL EQUATION IN NON-ARCHIMEDEAN FUZZY NORMED SPASES N. Eghbali 1 Absrac. We deermine some sabiliy resuls concerning

More information

Chickens vs. Eggs: Replicating Thurman and Fisher (1988) by Arianto A. Patunru Department of Economics, University of Indonesia 2004

Chickens vs. Eggs: Replicating Thurman and Fisher (1988) by Arianto A. Patunru Department of Economics, University of Indonesia 2004 Chicens vs. Eggs: Relicaing Thurman and Fisher (988) by Ariano A. Paunru Dearmen of Economics, Universiy of Indonesia 2004. Inroducion This exercise lays ou he rocedure for esing Granger Causaliy as discussed

More information

Vector autoregression VAR

Vector autoregression VAR Vecor auoregression VAR So far we have focused mosly on models where y deends on as y. More generally we migh wan o consider models for more han on variable. If we only care abou forecasing one series

More information

G. =, etc.

G. =, etc. Maerial Models υ υ3 0 0 0 υ υ 3 0 0 0 υ3 υ3 0 0 0 = 0 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 3 l (9..4) he subscris denoe he maerial axes, i.e., υ = υ and = (9..5) i j xi xj ii xi Since l is symmeric υ υ =, ec.

More information

A note on diagonalization of integral quadratic forms modulo p m

A note on diagonalization of integral quadratic forms modulo p m NNTDM 7 ( 3-36 A noe on diagonalizaion of inegral quadraic fors odulo Ali H Hakai Dearen of Maheaics King Khalid Universiy POo 94 Abha Posal Code: 643 Saudi Arabia E-ail: aalhakai@kkuedusa Absrac: Le be

More information

SZG Macro 2011 Lecture 3: Dynamic Programming. SZG macro 2011 lecture 3 1

SZG Macro 2011 Lecture 3: Dynamic Programming. SZG macro 2011 lecture 3 1 SZG Macro 2011 Lecure 3: Dynamic Programming SZG macro 2011 lecure 3 1 Background Our previous discussion of opimal consumpion over ime and of opimal capial accumulaion sugges sudying he general decision

More information

On Boundedness of Q-Learning Iterates for Stochastic Shortest Path Problems

On Boundedness of Q-Learning Iterates for Stochastic Shortest Path Problems MATHEMATICS OF OPERATIONS RESEARCH Vol. 38, No. 2, May 2013, pp. 209 227 ISSN 0364-765X (prin) ISSN 1526-5471 (online) hp://dx.doi.org/10.1287/moor.1120.0562 2013 INFORMS On Boundedness of Q-Learning Ieraes

More information

Application of a Stochastic-Fuzzy Approach to Modeling Optimal Discrete Time Dynamical Systems by Using Large Scale Data Processing

Application of a Stochastic-Fuzzy Approach to Modeling Optimal Discrete Time Dynamical Systems by Using Large Scale Data Processing Applicaion of a Sochasic-Fuzzy Approach o Modeling Opimal Discree Time Dynamical Sysems by Using Large Scale Daa Processing AA WALASZE-BABISZEWSA Deparmen of Compuer Engineering Opole Universiy of Technology

More information

non -negative cone Population dynamics motivates the study of linear models whose coefficient matrices are non-negative or positive.

non -negative cone Population dynamics motivates the study of linear models whose coefficient matrices are non-negative or positive. LECTURE 3 Linear/Nonnegaive Marix Models x ( = Px ( A= m m marix, x= m vecor Linear sysems of difference equaions arise in several difference conexs: Linear approximaions (linearizaion Perurbaion analysis

More information

Chapter 6. Systems of First Order Linear Differential Equations

Chapter 6. Systems of First Order Linear Differential Equations Chaper 6 Sysems of Firs Order Linear Differenial Equaions We will only discuss firs order sysems However higher order sysems may be made ino firs order sysems by a rick shown below We will have a sligh

More information

EXERCISES FOR SECTION 1.5

EXERCISES FOR SECTION 1.5 1.5 Exisence and Uniqueness of Soluions 43 20. 1 v c 21. 1 v c 1 2 4 6 8 10 1 2 2 4 6 8 10 Graph of approximae soluion obained using Euler s mehod wih = 0.1. Graph of approximae soluion obained using Euler

More information

Model Reduction for Dynamical Systems Lecture 6

Model Reduction for Dynamical Systems Lecture 6 Oo-von-Guericke Universiä Magdeburg Faculy of Mahemaics Summer erm 07 Model Reducion for Dynamical Sysems ecure 6 v eer enner and ihong Feng Max lanck Insiue for Dynamics of Complex echnical Sysems Compuaional

More information

5. Stochastic processes (1)

5. Stochastic processes (1) Lec05.pp S-38.45 - Inroducion o Teleraffic Theory Spring 2005 Conens Basic conceps Poisson process 2 Sochasic processes () Consider some quaniy in a eleraffic (or any) sysem I ypically evolves in ime randomly

More information

GCD AND LCM-LIKE IDENTITIES FOR IDEALS IN COMMUTATIVE RINGS

GCD AND LCM-LIKE IDENTITIES FOR IDEALS IN COMMUTATIVE RINGS GCD AND LCM-LIKE IDENTITIES FOR IDEALS IN COMMUTATIVE RINGS D. D. ANDERSON, SHUZO IZUMI, YASUO OHNO, AND MANABU OZAKI Absrac. Le A 1,..., A n n 2 be ideals of a commuaive ring R. Le Gk resp., Lk denoe

More information

Physics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle

Physics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle Chaper 2 Newonian Mechanics Single Paricle In his Chaper we will review wha Newon s laws of mechanics ell us abou he moion of a single paricle. Newon s laws are only valid in suiable reference frames,

More information

Boundedness and Exponential Asymptotic Stability in Dynamical Systems with Applications to Nonlinear Differential Equations with Unbounded Terms

Boundedness and Exponential Asymptotic Stability in Dynamical Systems with Applications to Nonlinear Differential Equations with Unbounded Terms Advances in Dynamical Sysems and Applicaions. ISSN 0973-531 Volume Number 1 007, pp. 107 11 Research India Publicaions hp://www.ripublicaion.com/adsa.hm Boundedness and Exponenial Asympoic Sabiliy in Dynamical

More information

Oscillation of an Euler Cauchy Dynamic Equation S. Huff, G. Olumolode, N. Pennington, and A. Peterson

Oscillation of an Euler Cauchy Dynamic Equation S. Huff, G. Olumolode, N. Pennington, and A. Peterson PROCEEDINGS OF THE FOURTH INTERNATIONAL CONFERENCE ON DYNAMICAL SYSTEMS AND DIFFERENTIAL EQUATIONS May 4 7, 00, Wilmingon, NC, USA pp 0 Oscillaion of an Euler Cauchy Dynamic Equaion S Huff, G Olumolode,

More information

Section 3.5 Nonhomogeneous Equations; Method of Undetermined Coefficients

Section 3.5 Nonhomogeneous Equations; Method of Undetermined Coefficients Secion 3.5 Nonhomogeneous Equaions; Mehod of Undeermined Coefficiens Key Terms/Ideas: Linear Differenial operaor Nonlinear operaor Second order homogeneous DE Second order nonhomogeneous DE Soluion o homogeneous

More information

A DELAY-DEPENDENT STABILITY CRITERIA FOR T-S FUZZY SYSTEM WITH TIME-DELAYS

A DELAY-DEPENDENT STABILITY CRITERIA FOR T-S FUZZY SYSTEM WITH TIME-DELAYS A DELAY-DEPENDENT STABILITY CRITERIA FOR T-S FUZZY SYSTEM WITH TIME-DELAYS Xinping Guan ;1 Fenglei Li Cailian Chen Insiue of Elecrical Engineering, Yanshan Universiy, Qinhuangdao, 066004, China. Deparmen

More information

THE MATRIX-TREE THEOREM

THE MATRIX-TREE THEOREM THE MATRIX-TREE THEOREM 1 The Marix-Tree Theorem. The Marix-Tree Theorem is a formula for he number of spanning rees of a graph in erms of he deerminan of a cerain marix. We begin wih he necessary graph-heoreical

More information

Lecture 2: Telegrapher Equations For Transmission Lines. Power Flow.

Lecture 2: Telegrapher Equations For Transmission Lines. Power Flow. Whies, EE 481/581 Lecure 2 Page 1 of 13 Lecure 2: Telegraher Equaions For Transmission Lines. Power Flow. Microsri is one mehod for making elecrical connecions in a microwae circui. I is consruced wih

More information

Lecture 2-1 Kinematics in One Dimension Displacement, Velocity and Acceleration Everything in the world is moving. Nothing stays still.

Lecture 2-1 Kinematics in One Dimension Displacement, Velocity and Acceleration Everything in the world is moving. Nothing stays still. Lecure - Kinemaics in One Dimension Displacemen, Velociy and Acceleraion Everyhing in he world is moving. Nohing says sill. Moion occurs a all scales of he universe, saring from he moion of elecrons in

More information

2. Nonlinear Conservation Law Equations

2. Nonlinear Conservation Law Equations . Nonlinear Conservaion Law Equaions One of he clear lessons learned over recen years in sudying nonlinear parial differenial equaions is ha i is generally no wise o ry o aack a general class of nonlinear

More information

The Maxwell Equations, the Lorentz Field and the Electromagnetic Nanofield with Regard to the Question of Relativity

The Maxwell Equations, the Lorentz Field and the Electromagnetic Nanofield with Regard to the Question of Relativity The Maxwell Equaions, he Lorenz Field and he Elecromagneic Nanofield wih Regard o he Quesion of Relaiviy Daniele Sasso * Absrac We discuss he Elecromagneic Theory in some main respecs and specifically

More information

Robotics I. April 11, The kinematics of a 3R spatial robot is specified by the Denavit-Hartenberg parameters in Tab. 1.

Robotics I. April 11, The kinematics of a 3R spatial robot is specified by the Denavit-Hartenberg parameters in Tab. 1. Roboics I April 11, 017 Exercise 1 he kinemaics of a 3R spaial robo is specified by he Denavi-Harenberg parameers in ab 1 i α i d i a i θ i 1 π/ L 1 0 1 0 0 L 3 0 0 L 3 3 able 1: able of DH parameers of

More information

SUBSPACES OF MATRICES WITH SPECIAL RANK PROPERTIES

SUBSPACES OF MATRICES WITH SPECIAL RANK PROPERTIES SUBSPACES OF MATRICES WITH SPECIAL RANK PROPERTIES JEAN-GUILLAUME DUMAS, ROD GOW, GARY MCGUIRE, AND JOHN SHEEKEY Absrac. Le K be a field and le V be a vecor space of finie dimension n over K. We invesigae

More information

t is a basis for the solution space to this system, then the matrix having these solutions as columns, t x 1 t, x 2 t,... x n t x 2 t...

t is a basis for the solution space to this system, then the matrix having these solutions as columns, t x 1 t, x 2 t,... x n t x 2 t... Mah 228- Fri Mar 24 5.6 Marix exponenials and linear sysems: The analogy beween firs order sysems of linear differenial equaions (Chaper 5) and scalar linear differenial equaions (Chaper ) is much sronger

More information

Fast Approximate Energy Minimization via Graph Cuts

Fast Approximate Energy Minimization via Graph Cuts Proceedings of Inernaion Conference on Comuer Vision, Kerkyra, Greece, Seember 1999 vol.i,.377 Fas Aroximae Energy Minimizaion via Grah Cus Yuri Boykov Olga Veksler Ramin Zabih Comuer Science Dearmen Cornell

More information

Comments on Window-Constrained Scheduling

Comments on Window-Constrained Scheduling Commens on Window-Consrained Scheduling Richard Wes Member, IEEE and Yuing Zhang Absrac This shor repor clarifies he behavior of DWCS wih respec o Theorem 3 in our previously published paper [1], and describes

More information

An Excursion into Set Theory using a Constructivist Approach

An Excursion into Set Theory using a Constructivist Approach An Excursion ino Se Theory using a Consrucivis Approach Miderm Repor Nihil Pail under supervision of Ksenija Simic Fall 2005 Absrac Consrucive logic is an alernaive o he heory of classical logic ha draws

More information

Matlab and Python programming: how to get started

Matlab and Python programming: how to get started Malab and Pyhon programming: how o ge sared Equipping readers he skills o wrie programs o explore complex sysems and discover ineresing paerns from big daa is one of he main goals of his book. In his chaper,

More information

Fault Tolerant Computing CS 530 Reliability Analysis. Yashwant K. Malaiya Colorado State University

Fault Tolerant Computing CS 530 Reliability Analysis. Yashwant K. Malaiya Colorado State University CS 53 eliabiliy Analysis Yashwan K. Malaiya Colorado Sae Universiy February 6, 27 eliabiliy Analysis: Ouline eliabiliy measures: eliabiliy, availabiliy, Transacion eliabiliy, MTTF and (, MTBF Basic Cases

More information

Econ107 Applied Econometrics Topic 7: Multicollinearity (Studenmund, Chapter 8)

Econ107 Applied Econometrics Topic 7: Multicollinearity (Studenmund, Chapter 8) I. Definiions and Problems A. Perfec Mulicollineariy Econ7 Applied Economerics Topic 7: Mulicollineariy (Sudenmund, Chaper 8) Definiion: Perfec mulicollineariy exiss in a following K-variable regression

More information

MISCELLANEOUS DYNAMIC EQUATIONS. Elvan Akın Bohner and Martin Bohner. 1. Introduction

MISCELLANEOUS DYNAMIC EQUATIONS. Elvan Akın Bohner and Martin Bohner. 1. Introduction MISCELLANEOUS DYNAMIC EQUATIONS Elvan Akın Bohner and Marin Bohner We consider several dynamic equaions and resen mehods on how o solve hese equaions. Among hem are linear equaions of higher order, Euler

More information

IMPLICIT AND INVERSE FUNCTION THEOREMS PAUL SCHRIMPF 1 OCTOBER 25, 2013

IMPLICIT AND INVERSE FUNCTION THEOREMS PAUL SCHRIMPF 1 OCTOBER 25, 2013 IMPLICI AND INVERSE FUNCION HEOREMS PAUL SCHRIMPF 1 OCOBER 25, 213 UNIVERSIY OF BRIISH COLUMBIA ECONOMICS 526 We have exensively sudied how o solve sysems of linear equaions. We know how o check wheher

More information