SlideShare uma empresa Scribd logo
1 de 65
Model Checking of
Time Petri Nets


                    Marwa K. U. Al-Rikaby
                     Babylon University
                         IT College
Outlines:
   Introduction.
   Time Petri nets.
   Temporal Logics for time Petri nets.
   TPN state space abstraction.
   Model checking timed properties of TPN.
Introduction

Why time Petri nets?
 TPN model is a good compromise between
 modeling power and verification complexity of
 concurrent systems with timed constraints
 (real time systems).
Introduction

Why time Petri nets?
    TPN are able to model time constraints even if
    the exact delays or durations of events aren't
    known.
   TPN specify time constraints of real time
    systems by giving worst case boundaries.
Introduction
How TPN differ from ordinary PN?
 A firing interval is associated with each
  transition specifying the minimum and
  maximum times it must be maintained
  enabled, before its firing.
 Firing takes no time, but may lead to another
  marking.
 In real world, events (firings) takes a time to
  complete, but in Petri nets it is omitted for
  simplicity.
Introduction
Model checking techniques of systems:
 Applied by:
     Representing the behavior of a system as a finite
      state transition system (state space).
     Specifying properties of interest in a temporal logic
      (LTL, CTL, CTL*, MTL, TCTL).
     Exploring the state space to determine whether they
      hold or not.
   With TPN, an extra effort is required to abstract
    their generally infinite state space.
Outlines:
   Introduction.

   Time Petri nets.
   Temporal Logics for time Petri nets.
   TPN state space abstraction.
   Model checking timed properties of TPN.
Time Petri nets
  Definition:
A TPN is PN with time intervals attached to its
transitions, it is a 6 tuple ϰ =(P, T, Pre, Post, m0,Is)
where:
     P and T are finite sets of places and transitions,
      P∩T=Ø.
     Pre and Post are the backward and forward incidence
      functions: P T N.
     m0 is the initial marking: P N.
     Is is a static firing interval associated with each
      transition t, T Q+ (Q+ U {∞}).
           ↓Int is the lower bound.
Time Petri nets
   Example:
                      ϰ =(P, T, Pre, Post,
                                    m0,Is)
                       P={ p0,p1,p2,p3}
                       T={t0,t1}
                       pre={(1,1),(1,1)}
                       post={(1,1),(1,1)}
                       m0={1, 0, 1, 3}
                       Is={[1,2],[1, ∞]}
Time Petri nets
   In ordinary PN, a transition t is said to be
    enabled if there are enough tokens in its input
    places.
   In TPN, that’s not enough, the time in which
    the transition has the needed number of
    tokens must not be less than the lower bound
    nor exceeds the upper bound of the transition
    interval.
Time Petri nets
Keep these notations in your mind:
   En(m)  : is the set of all enabled transitions in a
    marking m.
   s and s’: are two different states of TPN in the
    state space.
   θ R+ is a number of time units.
Time Petri nets
The semantics of TPN
Defines the TPN state as a marking and a
 function.
     Definition based on clocks:
      associates with each transition t of the model a
      clock to measure the time elapsed since t
      became enabled most recently.
     Definition based on intervals:

      associates a firing interval with each enabled
Time Petri nets
   Clocks based TPN:
     TPN  clock state is a pair s=(m,v), where m is a
      marking and v is a valuation function, v: En(m)
      R+ .
     The initial clock state is: s0=(m0,v0)
       m0  is the initial marking.
       v0(t)=0 for all transitions in En(m).

     TPN   state evolves either by time progression or
     by firing transitions.
Time Petri nets
   Clocks based TPN:
     When   t becomes enabled, its clock initialized to 0
      and increases synchronously with time until t is
      fired or disabled by another transition firing.
     t can fire if its clock value is inside its static firing
      interval Is(t).
     If the clock reached ↑Is(t) then t must fire
      immediately without any delay.
Time Petri nets
Time Petri nets
Time Petri nets
   Intervals based TPN
     The  TPN interval state is a couple s=(m,I), where
      m is a marking and I:En(m)  Q+ (Q+ U {∞}) is
      an interval function.
     The initial interval state is s0=(m0,I0)
       m0   is the initial marking.
       I0(t)=is(t) for all t in En(m0).
     TPN   state evolves either by time progression or
     by firing transitions.
Time Petri nets
   Interval based TPN
     When a transition t becomes enabled, its firing interval
      is set to its static firing interval Is(t).
     The lower and upper bounds of this interval decrease
      synchronously with time, until t is fired or disabled by
      another firing.
     t can fire, if the lower bound of its firing interval
      reaches 0, but must be fired, without any additional
      delay, if the upper bound of its firing interval reaches
      0.
Time Petri nets
Timed Petri nets
Timed Petri nets
   π(s) is the set of all execution paths starting from
    state s.
   π(s0) is the set of all execution paths in the TPN
    since it starts from s0.
   The TPN state space defines the branching
    semantics of the TPN model, where as
    defines its linear semantics.
Outlines:
   Introduction.
   Time Petri nets.
   Temporal Logics for time Petri
    nets.
   TPN state space abstraction.
   Model checking timed properties of TPN.
Temporal logics of TPN
 Properties of timed systems are usually
specified using temporal logics, we introduce:
    CTL* (computation tree logic star).
    TCTL (timed computation tree logic).

 Markings are represented as atomic
propositions.
Temporal logics of TPN
Temporal logics of TPN
   TCTL
    A   time extension of CTL, in which a time interval
      is associated with each temporal operator.
     Defined as:




     When  interval I is omitted, its value is [0,∞] by
     default.
Outlines:
   Introduction.
   Time Petri nets.
   Temporal Logics for time Petri nets.

   TPN state space
    abstraction.
   Model checking timed properties of TPN.
TPN state space abstractions
   Aim to construct a finite contraction of the
    model state space by removing irrelevant
    details.
   Must preserve interested properties (markings,
    linear and branching properties), which would
    be verified using classical model checking
    techniques later.
   The challenge is to construct a much coarser
    abstraction with less resources (time and
    space).
TPN state space abstractions
Abstraction process going into:
1. Abstract state space.

2. Abstract states.

3. Abstractions preserving linear properties.

4. Abstractions preserving branching properties.
TPN state space abstractions
2. Abstract states:
   Each transition enabled in m is represented
    in f by a time variable with the same
    name, Var(f)=En(m).
   All time variables are either clocks (clock
    abstract state) or delays (interval abstract
    state).
TPN state space abstractions
3. Abstractions preserving linear properties:
       Have exactly the same firing sequences as their
        concrete state space.
       Three levels of abstractions:
         States reachable by time progression may either
          represented or abstracted.
         States reachable by the same firing sequence
          independently of their firing times are agglomerated
          in the same node.
         The agglomerated states are then considered
          modulo some relation of equivalence or
          approximation.
TPN state space abstractions
3. Abstractions preserving linear properties:


                                                t
TPN state space abstractions
4. Abstractions preserving branching properties:
   Can be done on two steps:
      Intermediate abstraction:
      does not necessarily preserve branching
       properties.
      Refinement process:
      restore the condition AE (the resulting graph is
       atomic).
TPN state space abstractions
4. Abstractions preserving branching properties:
Step1: Intermediate abstraction:
    1. group abstract states whenever one of them includes all
    the        others or their union is convex.
    2. replace the grouped states set by a new abstract state
        representing their union.
    3. all transitions between these abstract states become
    loops for their union.
    4. ingoing and outgoing transitions of the grouped abstract
    states     become ingoing and outgoing of their union.
    5. if one of the grouped abstract states contains the initial
    abstract state then their union become the initial abstract
    state.
TPN state space abstractions
4. Abstractions preserving branching properties:
Step2: Refinement Process:
    1. partition a into a set of convex subclasses so as
    isolate the       predecessors of a’ by t in a from those
    are not.
    2. replace a by its partition.
    3. each subclass inherets all connections of a
    according to      condition EE.
    4. repeat refinement process until condition AE is
    established.
This step process generates a finite graph iff the
Outlines:
   Introduction.
   Time Petri nets.
   Temporal Logics for time Petri nets.
   TPN state space abstraction.
   Model checking timed
    properties of TPN.
Model checking of time petri nets
Model checking of time petri nets
Model checking of time petri nets
Model checking of time petri nets
Model checking of time petri nets
Model checking of time petri nets
Model checking of time petri nets
Model checking of time petri nets
Model checking of time petri nets
Model checking of time petri nets
Model checking of time petri nets
Model checking of time petri nets
Model checking of time petri nets
Model checking of time petri nets
Model checking of time petri nets

Mais conteúdo relacionado

Mais procurados

DFT and its properties
DFT and its propertiesDFT and its properties
DFT and its propertiesssuser2797e4
 
EC8352- Signals and Systems - Unit 2 - Fourier transform
EC8352- Signals and Systems - Unit 2 - Fourier transformEC8352- Signals and Systems - Unit 2 - Fourier transform
EC8352- Signals and Systems - Unit 2 - Fourier transformNimithaSoman
 
Fft analysis
Fft analysisFft analysis
Fft analysisSatrious
 
Ch2 probability and random variables pg 81
Ch2 probability and random variables pg 81Ch2 probability and random variables pg 81
Ch2 probability and random variables pg 81Prateek Omer
 
The discrete fourier transform (dsp) 4
The discrete fourier transform  (dsp) 4The discrete fourier transform  (dsp) 4
The discrete fourier transform (dsp) 4HIMANSHU DIWAKAR
 
Fourier Transform ,LAPLACE TRANSFORM,ROC and its Properties
Fourier Transform ,LAPLACE TRANSFORM,ROC and its Properties Fourier Transform ,LAPLACE TRANSFORM,ROC and its Properties
Fourier Transform ,LAPLACE TRANSFORM,ROC and its Properties Dr.SHANTHI K.G
 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal ProcessingPRABHAHARAN429
 
Fourier analysis of signals and systems
Fourier analysis of signals and systemsFourier analysis of signals and systems
Fourier analysis of signals and systemsBabul Islam
 
The Fast Fourier Transform (FFT)
The Fast Fourier Transform (FFT)The Fast Fourier Transform (FFT)
The Fast Fourier Transform (FFT)Oka Danil
 
Communication system 1 chapter 2-part-1
Communication system 1 chapter  2-part-1Communication system 1 chapter  2-part-1
Communication system 1 chapter 2-part-1BetelihemMesfin1
 
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier TransformDSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier TransformAmr E. Mohamed
 
Recurrent and Recursive Networks (Part 1)
Recurrent and Recursive Networks (Part 1)Recurrent and Recursive Networks (Part 1)
Recurrent and Recursive Networks (Part 1)sohaib_alam
 
7076 chapter5 slides
7076 chapter5 slides7076 chapter5 slides
7076 chapter5 slidesNguyen Mina
 

Mais procurados (20)

DFT and its properties
DFT and its propertiesDFT and its properties
DFT and its properties
 
EC8352- Signals and Systems - Unit 2 - Fourier transform
EC8352- Signals and Systems - Unit 2 - Fourier transformEC8352- Signals and Systems - Unit 2 - Fourier transform
EC8352- Signals and Systems - Unit 2 - Fourier transform
 
Fft
FftFft
Fft
 
Unit 8
Unit 8Unit 8
Unit 8
 
Fft analysis
Fft analysisFft analysis
Fft analysis
 
Ch2 probability and random variables pg 81
Ch2 probability and random variables pg 81Ch2 probability and random variables pg 81
Ch2 probability and random variables pg 81
 
The discrete fourier transform (dsp) 4
The discrete fourier transform  (dsp) 4The discrete fourier transform  (dsp) 4
The discrete fourier transform (dsp) 4
 
Fourier Transform ,LAPLACE TRANSFORM,ROC and its Properties
Fourier Transform ,LAPLACE TRANSFORM,ROC and its Properties Fourier Transform ,LAPLACE TRANSFORM,ROC and its Properties
Fourier Transform ,LAPLACE TRANSFORM,ROC and its Properties
 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal Processing
 
Fourier analysis of signals and systems
Fourier analysis of signals and systemsFourier analysis of signals and systems
Fourier analysis of signals and systems
 
The Fast Fourier Transform (FFT)
The Fast Fourier Transform (FFT)The Fast Fourier Transform (FFT)
The Fast Fourier Transform (FFT)
 
Communication system 1 chapter 2-part-1
Communication system 1 chapter  2-part-1Communication system 1 chapter  2-part-1
Communication system 1 chapter 2-part-1
 
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier TransformDSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
 
Lecture9
Lecture9Lecture9
Lecture9
 
Recurrent and Recursive Networks (Part 1)
Recurrent and Recursive Networks (Part 1)Recurrent and Recursive Networks (Part 1)
Recurrent and Recursive Networks (Part 1)
 
Book wavelets
Book waveletsBook wavelets
Book wavelets
 
7076 chapter5 slides
7076 chapter5 slides7076 chapter5 slides
7076 chapter5 slides
 
Impulse Response ppt
Impulse Response pptImpulse Response ppt
Impulse Response ppt
 
Lecture 1 sapienza 2017
Lecture 1 sapienza 2017Lecture 1 sapienza 2017
Lecture 1 sapienza 2017
 
Lecture 3 sapienza 2017
Lecture 3 sapienza 2017Lecture 3 sapienza 2017
Lecture 3 sapienza 2017
 

Destaque

Modeling MAPK with ODEs and Petri Nets
Modeling MAPK with ODEs and Petri NetsModeling MAPK with ODEs and Petri Nets
Modeling MAPK with ODEs and Petri NetsBiafra Ahanonu
 
Impact of Agricultural Value Chains on Digital Liquidity
Impact of Agricultural Value Chains on Digital LiquidityImpact of Agricultural Value Chains on Digital Liquidity
Impact of Agricultural Value Chains on Digital LiquidityITU
 
A Preliminary Study on Architecting Cyber-Physical Systems
A Preliminary Study on Architecting Cyber-Physical SystemsA Preliminary Study on Architecting Cyber-Physical Systems
A Preliminary Study on Architecting Cyber-Physical SystemsHenry Muccini
 
Cellular Automata, PDEs and Pattern Formation
Cellular Automata, PDEs and Pattern FormationCellular Automata, PDEs and Pattern Formation
Cellular Automata, PDEs and Pattern FormationXin-She Yang
 
StrataGEM: A Generic Petri Net Verification Framework
StrataGEM: A Generic Petri Net Verification FrameworkStrataGEM: A Generic Petri Net Verification Framework
StrataGEM: A Generic Petri Net Verification FrameworkEdmundo López Bóbeda
 
Promoting accountability in agricultural investment chains: an introduction
Promoting accountability in agricultural investment chains: an introductionPromoting accountability in agricultural investment chains: an introduction
Promoting accountability in agricultural investment chains: an introductionIIED
 
EoT slides presented at the Road2CPS “Smart-Cyber-Physical Systems Clustering...
EoT slides presented at the Road2CPS “Smart-Cyber-Physical Systems Clustering...EoT slides presented at the Road2CPS “Smart-Cyber-Physical Systems Clustering...
EoT slides presented at the Road2CPS “Smart-Cyber-Physical Systems Clustering...Eyes of Things
 
Promoting accountability in agricultural investment chains: lessons from prac...
Promoting accountability in agricultural investment chains: lessons from prac...Promoting accountability in agricultural investment chains: lessons from prac...
Promoting accountability in agricultural investment chains: lessons from prac...IIED
 
VensimPLE Quick Reference and Tutorial
VensimPLE Quick Reference and TutorialVensimPLE Quick Reference and Tutorial
VensimPLE Quick Reference and Tutorialjiali zhang
 
Colored petri nets theory and applications
Colored petri nets theory and applicationsColored petri nets theory and applications
Colored petri nets theory and applicationsAbu Hussein
 
Innovation systems perspective and Value Chains Approach for development: Con...
Innovation systems perspective and Value Chains Approach for development: Con...Innovation systems perspective and Value Chains Approach for development: Con...
Innovation systems perspective and Value Chains Approach for development: Con...ILRI
 
Modelling with Vensim 101: Basics
Modelling with Vensim 101: BasicsModelling with Vensim 101: Basics
Modelling with Vensim 101: BasicsMario López
 
Cellular Automata Models of Social Processes
Cellular Automata Models of Social ProcessesCellular Automata Models of Social Processes
Cellular Automata Models of Social ProcessesSSA KPI
 
Visualising and Analysing Dynamic Business Processes using Petri nets
Visualising and Analysing Dynamic Business Processes using Petri netsVisualising and Analysing Dynamic Business Processes using Petri nets
Visualising and Analysing Dynamic Business Processes using Petri netsMithileysh Sathiyanarayanan
 
Accounting for gender-related structures of agricultural value chains
Accounting for gender-related structures of agricultural value chainsAccounting for gender-related structures of agricultural value chains
Accounting for gender-related structures of agricultural value chainsIFPRI-PIM
 
Cellular automata
Cellular automataCellular automata
Cellular automataYang Yeeun
 
Cellular automata
Cellular automataCellular automata
Cellular automataNur Islam
 
Tech Jam 2015: Robotics, CPS and Innovation: It’s How We Make Our Living
Tech Jam 2015: Robotics, CPS and Innovation:It’s How We Make Our LivingTech Jam 2015: Robotics, CPS and Innovation:It’s How We Make Our Living
Tech Jam 2015: Robotics, CPS and Innovation: It’s How We Make Our LivingUS-Ignite
 

Destaque (20)

Modeling MAPK with ODEs and Petri Nets
Modeling MAPK with ODEs and Petri NetsModeling MAPK with ODEs and Petri Nets
Modeling MAPK with ODEs and Petri Nets
 
Impact of Agricultural Value Chains on Digital Liquidity
Impact of Agricultural Value Chains on Digital LiquidityImpact of Agricultural Value Chains on Digital Liquidity
Impact of Agricultural Value Chains on Digital Liquidity
 
A Preliminary Study on Architecting Cyber-Physical Systems
A Preliminary Study on Architecting Cyber-Physical SystemsA Preliminary Study on Architecting Cyber-Physical Systems
A Preliminary Study on Architecting Cyber-Physical Systems
 
Cellular Automata, PDEs and Pattern Formation
Cellular Automata, PDEs and Pattern FormationCellular Automata, PDEs and Pattern Formation
Cellular Automata, PDEs and Pattern Formation
 
StrataGEM: A Generic Petri Net Verification Framework
StrataGEM: A Generic Petri Net Verification FrameworkStrataGEM: A Generic Petri Net Verification Framework
StrataGEM: A Generic Petri Net Verification Framework
 
Promoting accountability in agricultural investment chains: an introduction
Promoting accountability in agricultural investment chains: an introductionPromoting accountability in agricultural investment chains: an introduction
Promoting accountability in agricultural investment chains: an introduction
 
EoT slides presented at the Road2CPS “Smart-Cyber-Physical Systems Clustering...
EoT slides presented at the Road2CPS “Smart-Cyber-Physical Systems Clustering...EoT slides presented at the Road2CPS “Smart-Cyber-Physical Systems Clustering...
EoT slides presented at the Road2CPS “Smart-Cyber-Physical Systems Clustering...
 
Exploring Petri Net State Spaces
Exploring Petri Net State SpacesExploring Petri Net State Spaces
Exploring Petri Net State Spaces
 
Promoting accountability in agricultural investment chains: lessons from prac...
Promoting accountability in agricultural investment chains: lessons from prac...Promoting accountability in agricultural investment chains: lessons from prac...
Promoting accountability in agricultural investment chains: lessons from prac...
 
VensimPLE Quick Reference and Tutorial
VensimPLE Quick Reference and TutorialVensimPLE Quick Reference and Tutorial
VensimPLE Quick Reference and Tutorial
 
Colored petri nets theory and applications
Colored petri nets theory and applicationsColored petri nets theory and applications
Colored petri nets theory and applications
 
Innovation systems perspective and Value Chains Approach for development: Con...
Innovation systems perspective and Value Chains Approach for development: Con...Innovation systems perspective and Value Chains Approach for development: Con...
Innovation systems perspective and Value Chains Approach for development: Con...
 
Modelling with Vensim 101: Basics
Modelling with Vensim 101: BasicsModelling with Vensim 101: Basics
Modelling with Vensim 101: Basics
 
Cellular Automata Models of Social Processes
Cellular Automata Models of Social ProcessesCellular Automata Models of Social Processes
Cellular Automata Models of Social Processes
 
Promoting responsible agricultural supply chains
Promoting responsible agricultural supply chainsPromoting responsible agricultural supply chains
Promoting responsible agricultural supply chains
 
Visualising and Analysing Dynamic Business Processes using Petri nets
Visualising and Analysing Dynamic Business Processes using Petri netsVisualising and Analysing Dynamic Business Processes using Petri nets
Visualising and Analysing Dynamic Business Processes using Petri nets
 
Accounting for gender-related structures of agricultural value chains
Accounting for gender-related structures of agricultural value chainsAccounting for gender-related structures of agricultural value chains
Accounting for gender-related structures of agricultural value chains
 
Cellular automata
Cellular automataCellular automata
Cellular automata
 
Cellular automata
Cellular automataCellular automata
Cellular automata
 
Tech Jam 2015: Robotics, CPS and Innovation: It’s How We Make Our Living
Tech Jam 2015: Robotics, CPS and Innovation:It’s How We Make Our LivingTech Jam 2015: Robotics, CPS and Innovation:It’s How We Make Our Living
Tech Jam 2015: Robotics, CPS and Innovation: It’s How We Make Our Living
 

Semelhante a Model checking of time petri nets

Ss important questions
Ss important questionsSs important questions
Ss important questionsSowji Laddu
 
Optimal control of multi delay systems via orthogonal functions
Optimal control of multi delay systems via orthogonal functionsOptimal control of multi delay systems via orthogonal functions
Optimal control of multi delay systems via orthogonal functionsiaemedu
 
Generalized Stochastic Petri Nets
Generalized Stochastic Petri NetsGeneralized Stochastic Petri Nets
Generalized Stochastic Petri NetsUmar Alharaky
 
Lecture9 Signal and Systems
Lecture9 Signal and SystemsLecture9 Signal and Systems
Lecture9 Signal and Systemsbabak danyal
 
Signals and Systems-Fourier Series and Transform
Signals and Systems-Fourier Series and TransformSignals and Systems-Fourier Series and Transform
Signals and Systems-Fourier Series and TransformPraveen430329
 
time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...
time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...
time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...Waqas Afzal
 
MOLECULAR SIMULATION TECHNIQUES
MOLECULAR SIMULATION TECHNIQUESMOLECULAR SIMULATION TECHNIQUES
MOLECULAR SIMULATION TECHNIQUESMysha Malar M
 
lecture1 (5).ppt
lecture1 (5).pptlecture1 (5).ppt
lecture1 (5).pptHebaEng
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentIJERD Editor
 
signal and system chapter2-part3.pdf
signal and system chapter2-part3.pdfsignal and system chapter2-part3.pdf
signal and system chapter2-part3.pdfislamsharawneh
 
unit 2: analysis of continues time signal
unit 2: analysis of continues time signalunit 2: analysis of continues time signal
unit 2: analysis of continues time signalTsegaTeklewold1
 
Instrumentation Engineering : Signals & systems, THE GATE ACADEMY
Instrumentation Engineering : Signals & systems, THE GATE ACADEMYInstrumentation Engineering : Signals & systems, THE GATE ACADEMY
Instrumentation Engineering : Signals & systems, THE GATE ACADEMYklirantga
 
Basic reliability models
Basic reliability modelsBasic reliability models
Basic reliability modelsAna Zuliastuti
 
Meeting w3 chapter 2 part 1
Meeting w3   chapter 2 part 1Meeting w3   chapter 2 part 1
Meeting w3 chapter 2 part 1mkazree
 
Meeting w3 chapter 2 part 1
Meeting w3   chapter 2 part 1Meeting w3   chapter 2 part 1
Meeting w3 chapter 2 part 1Hattori Sidek
 

Semelhante a Model checking of time petri nets (20)

Ss important questions
Ss important questionsSs important questions
Ss important questions
 
Optimal control of multi delay systems via orthogonal functions
Optimal control of multi delay systems via orthogonal functionsOptimal control of multi delay systems via orthogonal functions
Optimal control of multi delay systems via orthogonal functions
 
Generalized Stochastic Petri Nets
Generalized Stochastic Petri NetsGeneralized Stochastic Petri Nets
Generalized Stochastic Petri Nets
 
Lecture9 Signal and Systems
Lecture9 Signal and SystemsLecture9 Signal and Systems
Lecture9 Signal and Systems
 
Signals and Systems-Fourier Series and Transform
Signals and Systems-Fourier Series and TransformSignals and Systems-Fourier Series and Transform
Signals and Systems-Fourier Series and Transform
 
time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...
time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...
time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...
 
Signals & systems
Signals & systems Signals & systems
Signals & systems
 
MOLECULAR SIMULATION TECHNIQUES
MOLECULAR SIMULATION TECHNIQUESMOLECULAR SIMULATION TECHNIQUES
MOLECULAR SIMULATION TECHNIQUES
 
lecture1 (5).ppt
lecture1 (5).pptlecture1 (5).ppt
lecture1 (5).ppt
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
Statistics Assignment Help
Statistics Assignment HelpStatistics Assignment Help
Statistics Assignment Help
 
signal and system chapter2-part3.pdf
signal and system chapter2-part3.pdfsignal and system chapter2-part3.pdf
signal and system chapter2-part3.pdf
 
03 time and motion
03 time and motion03 time and motion
03 time and motion
 
Control chap4
Control chap4Control chap4
Control chap4
 
unit 2: analysis of continues time signal
unit 2: analysis of continues time signalunit 2: analysis of continues time signal
unit 2: analysis of continues time signal
 
5 2020 04_06!09_40_10_pm
5 2020 04_06!09_40_10_pm5 2020 04_06!09_40_10_pm
5 2020 04_06!09_40_10_pm
 
Instrumentation Engineering : Signals & systems, THE GATE ACADEMY
Instrumentation Engineering : Signals & systems, THE GATE ACADEMYInstrumentation Engineering : Signals & systems, THE GATE ACADEMY
Instrumentation Engineering : Signals & systems, THE GATE ACADEMY
 
Basic reliability models
Basic reliability modelsBasic reliability models
Basic reliability models
 
Meeting w3 chapter 2 part 1
Meeting w3   chapter 2 part 1Meeting w3   chapter 2 part 1
Meeting w3 chapter 2 part 1
 
Meeting w3 chapter 2 part 1
Meeting w3   chapter 2 part 1Meeting w3   chapter 2 part 1
Meeting w3 chapter 2 part 1
 

Último

Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsManeerUddin
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationRosabel UA
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxleah joy valeriano
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 

Último (20)

Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture hons
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translation
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 

Model checking of time petri nets

  • 1. Model Checking of Time Petri Nets Marwa K. U. Al-Rikaby Babylon University IT College
  • 2. Outlines:  Introduction.  Time Petri nets.  Temporal Logics for time Petri nets.  TPN state space abstraction.  Model checking timed properties of TPN.
  • 3. Introduction Why time Petri nets? TPN model is a good compromise between modeling power and verification complexity of concurrent systems with timed constraints (real time systems).
  • 4. Introduction Why time Petri nets?  TPN are able to model time constraints even if the exact delays or durations of events aren't known.  TPN specify time constraints of real time systems by giving worst case boundaries.
  • 5. Introduction How TPN differ from ordinary PN?  A firing interval is associated with each transition specifying the minimum and maximum times it must be maintained enabled, before its firing.  Firing takes no time, but may lead to another marking.  In real world, events (firings) takes a time to complete, but in Petri nets it is omitted for simplicity.
  • 6. Introduction Model checking techniques of systems:  Applied by:  Representing the behavior of a system as a finite state transition system (state space).  Specifying properties of interest in a temporal logic (LTL, CTL, CTL*, MTL, TCTL).  Exploring the state space to determine whether they hold or not.  With TPN, an extra effort is required to abstract their generally infinite state space.
  • 7. Outlines:  Introduction.  Time Petri nets.  Temporal Logics for time Petri nets.  TPN state space abstraction.  Model checking timed properties of TPN.
  • 8. Time Petri nets  Definition: A TPN is PN with time intervals attached to its transitions, it is a 6 tuple ϰ =(P, T, Pre, Post, m0,Is) where:  P and T are finite sets of places and transitions, P∩T=Ø.  Pre and Post are the backward and forward incidence functions: P T N.  m0 is the initial marking: P N.  Is is a static firing interval associated with each transition t, T Q+ (Q+ U {∞}).  ↓Int is the lower bound.
  • 9. Time Petri nets  Example: ϰ =(P, T, Pre, Post, m0,Is) P={ p0,p1,p2,p3} T={t0,t1} pre={(1,1),(1,1)} post={(1,1),(1,1)} m0={1, 0, 1, 3} Is={[1,2],[1, ∞]}
  • 10. Time Petri nets  In ordinary PN, a transition t is said to be enabled if there are enough tokens in its input places.  In TPN, that’s not enough, the time in which the transition has the needed number of tokens must not be less than the lower bound nor exceeds the upper bound of the transition interval.
  • 11. Time Petri nets Keep these notations in your mind:  En(m) : is the set of all enabled transitions in a marking m.  s and s’: are two different states of TPN in the state space.  θ R+ is a number of time units.
  • 12. Time Petri nets The semantics of TPN Defines the TPN state as a marking and a function.  Definition based on clocks: associates with each transition t of the model a clock to measure the time elapsed since t became enabled most recently.  Definition based on intervals: associates a firing interval with each enabled
  • 13. Time Petri nets  Clocks based TPN:  TPN clock state is a pair s=(m,v), where m is a marking and v is a valuation function, v: En(m) R+ .  The initial clock state is: s0=(m0,v0)  m0 is the initial marking.  v0(t)=0 for all transitions in En(m).  TPN state evolves either by time progression or by firing transitions.
  • 14. Time Petri nets  Clocks based TPN:  When t becomes enabled, its clock initialized to 0 and increases synchronously with time until t is fired or disabled by another transition firing.  t can fire if its clock value is inside its static firing interval Is(t).  If the clock reached ↑Is(t) then t must fire immediately without any delay.
  • 17. Time Petri nets  Intervals based TPN  The TPN interval state is a couple s=(m,I), where m is a marking and I:En(m)  Q+ (Q+ U {∞}) is an interval function.  The initial interval state is s0=(m0,I0)  m0 is the initial marking.  I0(t)=is(t) for all t in En(m0).  TPN state evolves either by time progression or by firing transitions.
  • 18. Time Petri nets  Interval based TPN  When a transition t becomes enabled, its firing interval is set to its static firing interval Is(t).  The lower and upper bounds of this interval decrease synchronously with time, until t is fired or disabled by another firing.  t can fire, if the lower bound of its firing interval reaches 0, but must be fired, without any additional delay, if the upper bound of its firing interval reaches 0.
  • 20.
  • 22. Timed Petri nets  π(s) is the set of all execution paths starting from state s.  π(s0) is the set of all execution paths in the TPN since it starts from s0.  The TPN state space defines the branching semantics of the TPN model, where as defines its linear semantics.
  • 23. Outlines:  Introduction.  Time Petri nets.  Temporal Logics for time Petri nets.  TPN state space abstraction.  Model checking timed properties of TPN.
  • 24. Temporal logics of TPN  Properties of timed systems are usually specified using temporal logics, we introduce: CTL* (computation tree logic star). TCTL (timed computation tree logic).  Markings are represented as atomic propositions.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34. Temporal logics of TPN  TCTL A time extension of CTL, in which a time interval is associated with each temporal operator.  Defined as:  When interval I is omitted, its value is [0,∞] by default.
  • 35. Outlines:  Introduction.  Time Petri nets.  Temporal Logics for time Petri nets.  TPN state space abstraction.  Model checking timed properties of TPN.
  • 36. TPN state space abstractions  Aim to construct a finite contraction of the model state space by removing irrelevant details.  Must preserve interested properties (markings, linear and branching properties), which would be verified using classical model checking techniques later.  The challenge is to construct a much coarser abstraction with less resources (time and space).
  • 37. TPN state space abstractions Abstraction process going into: 1. Abstract state space. 2. Abstract states. 3. Abstractions preserving linear properties. 4. Abstractions preserving branching properties.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43. TPN state space abstractions 2. Abstract states:  Each transition enabled in m is represented in f by a time variable with the same name, Var(f)=En(m).  All time variables are either clocks (clock abstract state) or delays (interval abstract state).
  • 44. TPN state space abstractions 3. Abstractions preserving linear properties:  Have exactly the same firing sequences as their concrete state space.  Three levels of abstractions:  States reachable by time progression may either represented or abstracted.  States reachable by the same firing sequence independently of their firing times are agglomerated in the same node.  The agglomerated states are then considered modulo some relation of equivalence or approximation.
  • 45. TPN state space abstractions 3. Abstractions preserving linear properties: t
  • 46. TPN state space abstractions 4. Abstractions preserving branching properties:  Can be done on two steps:  Intermediate abstraction: does not necessarily preserve branching properties.  Refinement process: restore the condition AE (the resulting graph is atomic).
  • 47. TPN state space abstractions 4. Abstractions preserving branching properties: Step1: Intermediate abstraction: 1. group abstract states whenever one of them includes all the others or their union is convex. 2. replace the grouped states set by a new abstract state representing their union. 3. all transitions between these abstract states become loops for their union. 4. ingoing and outgoing transitions of the grouped abstract states become ingoing and outgoing of their union. 5. if one of the grouped abstract states contains the initial abstract state then their union become the initial abstract state.
  • 48.
  • 49. TPN state space abstractions 4. Abstractions preserving branching properties: Step2: Refinement Process: 1. partition a into a set of convex subclasses so as isolate the predecessors of a’ by t in a from those are not. 2. replace a by its partition. 3. each subclass inherets all connections of a according to condition EE. 4. repeat refinement process until condition AE is established. This step process generates a finite graph iff the
  • 50. Outlines:  Introduction.  Time Petri nets.  Temporal Logics for time Petri nets.  TPN state space abstraction.  Model checking timed properties of TPN.