A comparison of the ODE semantics of PEPA with timed continuous - - PowerPoint PPT Presentation

a comparison of the ode semantics of pepa with timed
SMART_READER_LITE
LIVE PREVIEW

A comparison of the ODE semantics of PEPA with timed continuous - - PowerPoint PPT Presentation

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions A comparison of the ODE semantics of PEPA with timed continuous Petri nets Vashti Galpin LFCS University of Edinburgh 25 July 2007 Vashti Galpin, LFCS,


slide-1
SLIDE 1

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

A comparison of the ODE semantics of PEPA with timed continuous Petri nets

Vashti Galpin LFCS University of Edinburgh 25 July 2007

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-2
SLIDE 2

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Outline

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-3
SLIDE 3

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

PEPA

◮ Performance Evaluation Process Algebra [Hillston 1996]

◮ syntax, structured operational semantics ◮ equivalence semantics ◮ analysis of dynamic behaviour ◮ stochastic, action durations from exponential distribution Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-4
SLIDE 4

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

PEPA

◮ Performance Evaluation Process Algebra [Hillston 1996]

◮ syntax, structured operational semantics ◮ equivalence semantics ◮ analysis of dynamic behaviour ◮ stochastic, action durations from exponential distribution

◮ syntax

◮ S ::= (α, r).S | S + S | Cs, sequential component ◮ P ::= P ⊲

L P | P/L | C, model component

◮ Cs and C constants ◮ cooperations of sequential components ◮ ergodic continuous time Markov chain (CTMC) Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-5
SLIDE 5

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Structured operational semantics

◮ Prefix and Constant

(α, r).E

(α,r)

− → E E

(α,r)

− → E ′ A

(α,r)

− → E ′ (A

def

= E)

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-6
SLIDE 6

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Structured operational semantics

◮ Prefix and Constant

(α, r).E

(α,r)

− → E E

(α,r)

− → E ′ A

(α,r)

− → E ′ (A

def

= E)

◮ Choice

E

(α,r)

− → E ′ E + F

(α,r)

− → E ′ F

(α,r)

− → F ′ E + F

(α,r)

− → F ′

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-7
SLIDE 7

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Structured operational semantics

◮ Prefix and Constant

(α, r).E

(α,r)

− → E E

(α,r)

− → E ′ A

(α,r)

− → E ′ (A

def

= E)

◮ Choice

E

(α,r)

− → E ′ E + F

(α,r)

− → E ′ F

(α,r)

− → F ′ E + F

(α,r)

− → F ′

◮ Hiding

E

(α,r)

− → E ′ E/L

(α,r)

− → E ′/L (α ∈ L) E

(α,r)

− → E ′ E/L

(τ,r)

− → E ′/L (α ∈ L)

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-8
SLIDE 8

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Structured operational semantics (continued)

◮ Cooperation

E

(α,r)

− → E ′ E ⊲

L F

(α,r)

− → E ′ ⊲

L F

(α ∈ L) F

(α,r)

− → F ′ E ⊲

L F

(α,r)

− → E ⊲

L F ′

(α ∈ L)

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-9
SLIDE 9

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Structured operational semantics (continued)

◮ Cooperation

E

(α,r)

− → E ′ E ⊲

L F

(α,r)

− → E ′ ⊲

L F

(α ∈ L) F

(α,r)

− → F ′ E ⊲

L F

(α,r)

− → E ⊲

L F ′

(α ∈ L) E

(α,r1)

− → E ′ F

(α,r2)

− → F ′ E ⊲

L F

(α,R)

− → E ′ ⊲

L F ′

(α ∈ L) R = r1 rα(E) r2 rα(F) min(rα(E), rα(F))

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-10
SLIDE 10

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Modelling

◮ operational semantics generate a labelled multi-transition

system

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-11
SLIDE 11

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Modelling

◮ operational semantics generate a labelled multi-transition

system

◮ equivalence semantics

◮ same behaviour ◮ bisimulation Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-12
SLIDE 12

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Modelling

◮ operational semantics generate a labelled multi-transition

system

◮ equivalence semantics

◮ same behaviour ◮ bisimulation

◮ analysis of dynamic behaviour

◮ state transition diagram → continuous time Markov Chain ◮ syntax → activity matrix → ODEs ◮ syntax → rate equations → stochastic simulation Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-13
SLIDE 13

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Motivation and background

◮ hybrid systems

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-14
SLIDE 14

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Motivation and background

◮ hybrid systems ◮ PEPA, continuous approximation using ODEs [Hillston]

◮ many identical components ◮ equations for dN(D, τ)/dτ Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-15
SLIDE 15

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Motivation and background

◮ hybrid systems ◮ PEPA, continuous approximation using ODEs [Hillston]

◮ many identical components ◮ equations for dN(D, τ)/dτ

◮ timed continuous Petri nets [Alla & David, Recalde & Silva]

◮ transitions have rates ◮ marking values from positive reals ◮ large numbers of clients and servers ◮ equations for dM(p, τ)/dτ Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-16
SLIDE 16

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Motivation and background

◮ hybrid systems ◮ PEPA, continuous approximation using ODEs [Hillston]

◮ many identical components ◮ equations for dN(D, τ)/dτ

◮ timed continuous Petri nets [Alla & David, Recalde & Silva]

◮ transitions have rates ◮ marking values from positive reals ◮ large numbers of clients and servers ◮ equations for dM(p, τ)/dτ

◮ how do these compare?

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-17
SLIDE 17

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Motivation and background

◮ hybrid systems ◮ PEPA, continuous approximation using ODEs [Hillston]

◮ many identical components ◮ equations for dN(D, τ)/dτ

◮ timed continuous Petri nets [Alla & David, Recalde & Silva]

◮ transitions have rates ◮ marking values from positive reals ◮ large numbers of clients and servers ◮ equations for dM(p, τ)/dτ

◮ how do these compare? ◮ infinite or finite server semantics?

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-18
SLIDE 18

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

ODE semantics of PEPA

◮ numerical vector form (n1, . . . nm) ◮ how many copies of each derivative is present in a given state ◮ continuous approximation of changes in numbers

C1 D1 C2 E1 E2

(α,s) (α,s)

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-19
SLIDE 19

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

ODE semantics of PEPA

◮ numerical vector form (n1, . . . nm) ◮ how many copies of each derivative is present in a given state ◮ continuous approximation of changes in numbers

entry activity C1 D1 C2 E1 E2

(α,s) (α,s)

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-20
SLIDE 20

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

ODE semantics of PEPA

◮ numerical vector form (n1, . . . nm) ◮ how many copies of each derivative is present in a given state ◮ continuous approximation of changes in numbers

entry activity C1 D1 C2 E1 E2 C3 D2

(α,s) (α,s) (α,s)

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-21
SLIDE 21

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

ODE semantics of PEPA

◮ numerical vector form (n1, . . . nm) ◮ how many copies of each derivative is present in a given state ◮ continuous approximation of changes in numbers

entry activity exit activity C1 D1 C2 E1 E2 C3 D2

(α,s) (α,s) (α,s)

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-22
SLIDE 22

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

ODE semantics of PEPA

◮ numerical vector form (n1, . . . nm) ◮ how many copies of each derivative is present in a given state ◮ continuous approximation of changes in numbers

entry activity exit activity C1 D1 C2 E1 E2 C3 D2 D3 E3

(α,s) (α,s) (α,s) (α,s)

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-23
SLIDE 23

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Change in number of copies of component D

dN(D, τ) dτ =

  • (α, r)

entry activity

r × min{N(C, τ) | C

(α,r)

− →} −

  • (α, r)

exit activity

r × min{N(C, τ) | C

(α,r)

− →}

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-24
SLIDE 24

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Change in number of copies of component D

dN(D, τ) dτ =

  • (α, r)

entry activity

r × min{N(C, τ) | C

(α,r)

− →} −

  • (α, r)

exit activity

r × min{N(C, τ) | C

(α,r)

− →}

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-25
SLIDE 25

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Change in number of copies of component D

dN(D, τ) dτ =

  • (α, r)

entry activity

r × min{N(C, τ) | C

(α,r)

− →} −

  • (α, r)

exit activity

r × min{N(C, τ) | C

(α,r)

− →}

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-26
SLIDE 26

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Change in number of copies of component D

dN(D, τ) dτ =

  • (α, r)

entry activity

r × min{N(C, τ) | C

(α,r)

− →} −

  • (α, r)

exit activity

r × min{N(C, τ) | C

(α,r)

− →}

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-27
SLIDE 27

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Change in number of copies of component D

dN(D, τ) dτ =

  • (α, r)

entry activity

r × min{N(C, τ) | C

(α,r)

− →} −

  • (α, r)

exit activity

r × min{N(C, τ) | C

(α,r)

− →}

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-28
SLIDE 28

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Change in number of copies of component D

dN(D, τ) dτ =

  • (α, r)

entry activity

r × min{N(C, τ) | C

(α,r)

− →} −

  • (α, r)

exit activity

r × min{N(C, τ) | C

(α,r)

− →}

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-29
SLIDE 29

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Change in number of copies of component D

dN(D, τ) dτ =

  • (α, r)

entry activity

r × min{N(C, τ) | C

(α,r)

− →} −

  • (α, r)

exit activity

r × min{N(C, τ) | C

(α,r)

− →}

◮ create activity graph and matrix from syntax

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-30
SLIDE 30

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Activity graph and activity matrix

◮ graph nodes are activities ◮ C (α,r)

− → C ′ C α C ′

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-31
SLIDE 31

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Activity graph and activity matrix

◮ graph nodes are activities and components and derivatives ◮ C (α,r)

− → C ′ C α C ′

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-32
SLIDE 32

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Activity graph and activity matrix

◮ graph nodes are activities and components and derivatives ◮ edges are added ◮ C (α,r)

− → C ′ C α C ′

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-33
SLIDE 33

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Activity graph and activity matrix

◮ graph nodes are activities and components and derivatives ◮ edges are added

◮ from a derivative to an exit activity for that derivative

◮ C (α,r)

− → C ′ C α C ′

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-34
SLIDE 34

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Activity graph and activity matrix

◮ graph nodes are activities and components and derivatives ◮ edges are added

◮ from a derivative to an exit activity for that derivative ◮ from an entry activity for a derivative to that derivative

◮ C (α,r)

− → C ′ C α C ′

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-35
SLIDE 35

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Activity graph and activity matrix

◮ graph nodes are activities and components and derivatives ◮ edges are added

◮ from a derivative to an exit activity for that derivative ◮ from an entry activity for a derivative to that derivative

◮ activity matrix, derivatives × activities

◮ (d, a) = −1 if a exit activity for d ◮ (d, a) = +1 if a entry activity for d

◮ C (α,r)

− → C ′ then (C, α) = −1 and (C ′, α) = +1 C α C ′

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-36
SLIDE 36

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Timed continuous Petri nets

◮ places P,

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-37
SLIDE 37

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Timed continuous Petri nets

◮ places P, transitions T, disjoint

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-38
SLIDE 38

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Timed continuous Petri nets

◮ places P, transitions T, disjoint ◮ arcs from places to transitions Pre : P × T → {0, 1}

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-39
SLIDE 39

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Timed continuous Petri nets

◮ places P, transitions T, disjoint ◮ arcs from places to transitions Pre : P × T → {0, 1} ◮ arcs from transitions to places Post : P × T → {0, 1}

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-40
SLIDE 40

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Timed continuous Petri nets

◮ places P, transitions T, disjoint ◮ arcs from places to transitions Pre : P × T → {0, 1} ◮ arcs from transitions to places Post : P × T → {0, 1} ◮ cost matrix C = Post − Pre

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-41
SLIDE 41

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Timed continuous Petri nets

◮ places P, transitions T, disjoint ◮ arcs from places to transitions Pre : P × T → {0, 1} ◮ arcs from transitions to places Post : P × T → {0, 1} ◮ cost matrix C = Post − Pre ◮ standard definitions of •p, •t, p•, t•

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-42
SLIDE 42

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Dynamic behaviour

◮ firing rates λ : T → (0, ∞) 3.2 1.5 6.0 2.7

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-43
SLIDE 43

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Dynamic behaviour

◮ firing rates λ : T → (0, ∞) ◮ marking M : P × Time → [0, ∞) 3.2 1.5 6.0 2.7

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-44
SLIDE 44

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Dynamic behaviour

◮ firing rates λ : T → (0, ∞) ◮ marking M : P × Time → [0, ∞) 3.2 1.5 6.0 2.7

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-45
SLIDE 45

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Dynamic behaviour

◮ firing rates λ : T → (0, ∞) ◮ marking M : P × Time → [0, ∞) ◮ t is enabled at τ if places preceding t have nonzero marking 3.2 1.5 6.0 2.7

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-46
SLIDE 46

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Dynamic behaviour

◮ firing rates λ : T → (0, ∞) ◮ marking M : P × Time → [0, ∞) ◮ t is enabled at τ if places preceding t have nonzero marking ◮ enabling degree of t: minimum value of markings at places

preceding t, enab(t, τ) = minp∈•t

  • m(p, τ)
  • 3.2

1.5 6.0 2.7

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-47
SLIDE 47

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Dynamic behaviour

◮ firing rates λ : T → (0, ∞) ◮ marking M : P × Time → [0, ∞) ◮ t is enabled at τ if places preceding t have nonzero marking ◮ enabling degree of t: minimum value of markings at places

preceding t, enab(t, τ) = minp∈•t

  • m(p, τ)
  • ◮ t can fire with any amount up to enab(t, τ)

3.2 1.5 6.0 2.7

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-48
SLIDE 48

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Dynamic behaviour

◮ firing rates λ : T → (0, ∞) ◮ marking M : P × Time → [0, ∞) ◮ t is enabled at τ if places preceding t have nonzero marking ◮ enabling degree of t: minimum value of markings at places

preceding t, enab(t, τ) = minp∈•t

  • m(p, τ)
  • ◮ t can fire with any amount up to enab(t, τ)

2.7 2.0 0.3 4.8

fires 1.2

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-49
SLIDE 49

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Dynamic behaviour

◮ firing rates λ : T → (0, ∞) ◮ marking M : P × Time → [0, ∞) ◮ t is enabled at τ if places preceding t have nonzero marking ◮ enabling degree of t: minimum value of markings at places

preceding t, enab(t, τ) = minp∈•t

  • m(p, τ)
  • ◮ t can fire with any amount up to enab(t, τ)

2.0 0.3 4.8 1.2 3.9

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-50
SLIDE 50

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Dynamic behaviour

◮ firing rates λ : T → (0, ∞) ◮ marking M : P × Time → [0, ∞) ◮ t is enabled at τ if places preceding t have nonzero marking ◮ enabling degree of t: minimum value of markings at places

preceding t, enab(t, τ) = minp∈•t

  • m(p, τ)
  • ◮ t can fire with any amount up to enab(t, τ)

2.0 0.3 4.8 1.2 3.9

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-51
SLIDE 51

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Change in marking at place p

◮ infinite server semantics: many servers, many clients

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-52
SLIDE 52

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Change in marking at place p

◮ infinite server semantics: many servers, many clients ◮ fundamental equation for Petri nets

m(·, τ + δτ) = m(·, τ) + C(·, t) · σ(τ)

◮ change in marking of place p

dm(p, τ) dτ =

n

  • j=1

C(p, tj).λ(t). min

p′∈•t

  • m(p′, τ)
  • =
  • t∈•p

λ(t). min

p′∈•t{m(p′, τ)}

  • t∈p•

λ(t). min

p′∈•t{m(p′, τ)}

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-53
SLIDE 53

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Comparison

◮ translate a PEPA model into a timed continuous Petri net ◮ example – clients and servers

C

def

= (serv1, s1).C ′ + (serv2, s2).C ′ C ′

def

= (do, d).C S1

def

= (serv1, s1).S′

1

S2

def

= (serv2, s2).S′

2

S′

1

def

= (reset1, r1).S1 S′

2

def

= (reset2, r2).S2 Sys

def

=

  • C(100)

⊲ ⊳

{serv1,serv2}

  • S1(50) S2(50)
  • Vashti Galpin, LFCS, University of Edinburgh

A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-54
SLIDE 54

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Activity graph

◮ activities and derivatives reset1 S1 serv1 S′

1

serv2 S2 reset2 S′

2

C do C ′

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-55
SLIDE 55

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Petri net

◮ activities become transitions and derivatives become places 50 50 100

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-56
SLIDE 56

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Petri net (continued)

◮ Post(p, t) = 1 if t is an entry activity of p ◮ Pre(p, t) = 1 if t is an exit activity of p

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-57
SLIDE 57

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Petri net (continued)

◮ Post(p, t) = 1 if t is an entry activity of p ◮ Pre(p, t) = 1 if t is an exit activity of p ◮ C = Post − Pre, same as activity matrix

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-58
SLIDE 58

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Petri net (continued)

◮ Post(p, t) = 1 if t is an entry activity of p ◮ Pre(p, t) = 1 if t is an exit activity of p ◮ C = Post − Pre, same as activity matrix ◮ rate of transition is rate of activity

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-59
SLIDE 59

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Petri net (continued)

◮ Post(p, t) = 1 if t is an entry activity of p ◮ Pre(p, t) = 1 if t is an exit activity of p ◮ C = Post − Pre, same as activity matrix ◮ rate of transition is rate of activity ◮ t ∈ •p ⇔ t is an entry activity of p ◮ t ∈ p• ⇔ t is an exit activity of p ◮ p ∈ •t ⇔ t is an exit activity of p

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-60
SLIDE 60

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Petri net (continued)

◮ Post(p, t) = 1 if t is an entry activity of p ◮ Pre(p, t) = 1 if t is an exit activity of p ◮ C = Post − Pre, same as activity matrix ◮ rate of transition is rate of activity ◮ t ∈ •p ⇔ t is an entry activity of p ◮ t ∈ p• ⇔ t is an exit activity of p ◮ p ∈ •t ⇔ t is an exit activity of p ◮ a marking value of x at p is the same as x copies of p

m(p, τ) = N(p, τ)

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-61
SLIDE 61

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Petri net (continued)

◮ Post(p, t) = 1 if t is an entry activity of p ◮ Pre(p, t) = 1 if t is an exit activity of p ◮ C = Post − Pre, same as activity matrix ◮ rate of transition is rate of activity ◮ t ∈ •p ⇔ t is an entry activity of p ◮ t ∈ p• ⇔ t is an exit activity of p ◮ p ∈ •t ⇔ t is an exit activity of p ◮ a marking value of x at p is the same as x copies of p

m(p, τ) = N(p, τ)

◮ initial marking m(p, 0) = N(p, 0) for each p

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-62
SLIDE 62

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Comparison of ODEs

dm(p, τ) dτ =

  • t∈•p

λ(t). min

p′∈•t{m(p′, τ)}

  • t∈p•

λ(t). min

p′∈•t{m(p′, τ)}

dN(D, τ) dτ =

  • (α, r)

entry activity

  • r. min{N(C, τ) | C

(α,r)

− →}−

  • (α, r)

exit activity

  • r. min{N(C, τ) | C

(α,r)

− →}

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-63
SLIDE 63

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Comparison of ODEs

dm(p, τ) dτ =

  • t∈•p

λ(t). min

p′∈•t{m(p′, τ)}

  • t∈p•

λ(t). min

p′∈•t{m(p′, τ)}

dN(D, τ) dτ =

  • (α, r)

entry activity

  • r. min{N(C, τ) | C

(α,r)

− →}−

  • (α, r)

exit activity

  • r. min{N(C, τ) | C

(α,r)

− →}

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-64
SLIDE 64

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Comparison of ODEs

dm(p, τ) dτ =

  • t∈•p

λ(t). min

p′∈•t{m(p′, τ)}

  • t∈p•

λ(t). min

p′∈•t{m(p′, τ)}

dN(D, τ) dτ =

  • (α, r)

entry activity

  • r. min{N(C, τ) | C

(α,r)

− →}−

  • (α, r)

exit activity

  • r. min{N(C, τ) | C

(α,r)

− →}

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-65
SLIDE 65

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Comparison of ODEs

dm(p, τ) dτ =

  • t∈•p

λ(t). min

p′∈•t{m(p′, τ)}

  • t∈p•

λ(t). min

p′∈•t{m(p′, τ)}

dN(D, τ) dτ =

  • (α, r)

entry activity

  • r. min{N(C, τ) | C

(α,r)

− →}−

  • (α, r)

exit activity

  • r. min{N(C, τ) | C

(α,r)

− →}

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-66
SLIDE 66

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Comparison of ODEs

dm(p, τ) dτ =

  • t∈•p

λ(t). min

p′∈•t{m(p′, τ)}

  • t∈p•

λ(t). min

p′∈•t{m(p′, τ)}

dN(D, τ) dτ =

  • (α, r)

entry activity

  • r. min{N(C, τ) | C

(α,r)

− →}−

  • (α, r)

exit activity

  • r. min{N(C, τ) | C

(α,r)

− →}

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-67
SLIDE 67

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Comparison of ODEs

dm(p, τ) dτ =

  • t∈•p

λ(t). min

p′∈•t{m(p′, τ)}

  • t∈p•

λ(t). min

p′∈•t{m(p′, τ)}

dN(D, τ) dτ =

  • (α, r)

entry activity

  • r. min{N(C, τ) | C

(α,r)

− →}−

  • (α, r)

exit activity

  • r. min{N(C, τ) | C

(α,r)

− →}

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-68
SLIDE 68

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Comparison of ODEs

dm(p, τ) dτ =

  • t∈•p

λ(t). min

p′∈•t{m(p′, τ)}

  • t∈p•

λ(t). min

p′∈•t{m(p′, τ)}

dN(D, τ) dτ =

  • (α, r)

entry activity

  • r. min{N(C, τ) | C

(α,r)

− →}−

  • (α, r)

exit activity

  • r. min{N(C, τ) | C

(α,r)

− →}

◮ both approaches give the same equations

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-69
SLIDE 69

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Comparison of ODEs

dm(p, τ) dτ =

  • t∈•p

λ(t). min

p′∈•t{m(p′, τ)}

  • t∈p•

λ(t). min

p′∈•t{m(p′, τ)}

dN(D, τ) dτ =

  • (α, r)

entry activity

  • r. min{N(C, τ) | C

(α,r)

− →}−

  • (α, r)

exit activity

  • r. min{N(C, τ) | C

(α,r)

− →}

◮ both approaches give the same equations ◮ ODE semantics of PEPA has infinite server semantics.

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-70
SLIDE 70

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Further work

◮ finite server semantics: many clients, few servers

◮ special case of infinite in discrete Petri nets ◮ can apply to PEPA ◮ two definitions for continuous Petri nets Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-71
SLIDE 71

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Further work

◮ finite server semantics: many clients, few servers

◮ special case of infinite in discrete Petri nets ◮ can apply to PEPA ◮ two definitions for continuous Petri nets

◮ timed continuous Petri nets to PEPA model

◮ stochastic Petri net to PEPA model in discrete case ◮ uses addition of complementary places ◮ use a similar approach for continuous case Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-72
SLIDE 72

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Further work

◮ finite server semantics: many clients, few servers

◮ special case of infinite in discrete Petri nets ◮ can apply to PEPA ◮ two definitions for continuous Petri nets

◮ timed continuous Petri nets to PEPA model

◮ stochastic Petri net to PEPA model in discrete case ◮ uses addition of complementary places ◮ use a similar approach for continuous case

◮ robustness of ODEs

◮ what happens with small numbers Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-73
SLIDE 73

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Conclusions

◮ PEPA → timed continuous Petri nets

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-74
SLIDE 74

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Conclusions

◮ PEPA → timed continuous Petri nets ◮ ODEs are identical

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-75
SLIDE 75

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Conclusions

◮ PEPA → timed continuous Petri nets ◮ ODEs are identical ◮ ODE semantics of PEPA has infinite server semantics

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007

slide-76
SLIDE 76

Introduction ODE semantics of PEPA Timed continuous Petri nets Comparison Conclusions

Conclusions

◮ PEPA → timed continuous Petri nets ◮ ODEs are identical ◮ ODE semantics of PEPA has infinite server semantics

Thank you

Vashti Galpin, LFCS, University of Edinburgh A comparison of the ODE semantics of PEPA with timed continuous Petri nets PASTA 2007