FUN LITE - A PARALLEL P ETRI N ET S IMULATOR Jochen Spranger - - PDF document

fun lite
SMART_READER_LITE
LIVE PREVIEW

FUN LITE - A PARALLEL P ETRI N ET S IMULATOR Jochen Spranger - - PDF document

FUNlite - A parallel Petri Net Simulator September 1997 BrandenburgTechnical University at Cottbus, Computer Science Institute FUN LITE - A PARALLEL P ETRI N ET S IMULATOR Jochen Spranger jsp@informatik.tu-cottbus.de


slide-1
SLIDE 1

FUNlite - A parallel Petri Net Simulator September 1997 jsp@informatik.tu-cottbus.de 1 / 8

BrandenburgTechnical University at Cottbus, Computer Science Institute

FUNLITE -

A PARALLEL PETRI NET SIMULATOR

Jochen Spranger jsp@informatik.tu-cottbus.de http://www.informatik.tu-cottbus.de

slide-2
SLIDE 2

FUNlite - A parallel Petri Net Simulator September 1997 jsp@informatik.tu-cottbus.de 2 / 8

INTRODUCTION:

❑ Provably error-free control software for manufactur- ing systems ❑ Live 1-bounded hierarchical Place/Transition nets ❑ Parallel Petri Net simulator to simulate the tokenflow

  • f a Petri Net

❑ Goals:

  • fast execution speed
  • low memory consumption
  • low communication overhead

❑ Transputer system (T9000 & C104) INMOS C (CSP model of parallel programming)

slide-3
SLIDE 3

FUNlite - A parallel Petri Net Simulator September 1997 jsp@informatik.tu-cottbus.de 3 / 8

PRELIMINARIES:

❑ Simulation of the tokenflow:

  • the control code is assigned to the transitions
  • the execution of a transition is atomar!

❑ Problems: Conflict resolution Parallelity

slide-4
SLIDE 4

FUNlite - A parallel Petri Net Simulator September 1997 jsp@informatik.tu-cottbus.de 4 / 8

THE SEQUENTIAL PETRI NET SIMULATOR

❑ Main problem: speed of the transition enabling test ❑ The counter method:

  • one counter for each transition representing the

number of unmarked pre-places i.e. counter(t) == 0 ⇒ t enabled

  • after the firing of t, we only have to consider

t, and t

  • (

) • t• ( ) • t t’ ❑ For each transition t’ in we decrease the counter of t’ by the number of common places between the pre- places of t’ and the post-places

  • f t

t• ( ) • ❑ For each transition t’ in we increase the counter of t’ by the number of common pre-places with t t

  • (

) • t’ t

slide-5
SLIDE 5

FUNlite - A parallel Petri Net Simulator September 1997 jsp@informatik.tu-cottbus.de 5 / 8

COMMUNICATION PLACES:

(2)

❑ Pre-many-to-many communi- cation places ❑ Pre-many-to-1 communication places ❑ Post-communication places

slide-6
SLIDE 6

FUNlite - A parallel Petri Net Simulator September 1997 jsp@informatik.tu-cottbus.de 6 / 8

LOCKSETS:

❑ Goals:

  • simple conflict resolution
  • atomar allocation of more than one token

❑ Locksets: (disjointed sets of many-to-many commu- nication places) Definition: A lockset l is a minimal set of many-to- many communication places such that holds: If there are transitions with contains many-to-many communication places

  • f l then the lockset l contains all many-to-many

communication places of . t t' , T ∈ t

  • t'

t

  • t'

t t’’ t’

slide-7
SLIDE 7

FUNlite - A parallel Petri Net Simulator September 1997 jsp@informatik.tu-cottbus.de 7 / 8

IMPLEMENTATION:

❑ A lockset l is implemented by:

  • For each transition t with a many-to-many

communication place in l we introduce a counter representing the number of missing communication place tokens.

  • For each place p in l we generate an input

process which waits for an arriving token and updates the counters of the corresponding transitions

  • An administration process which reacts on token

requests from subnets 1 1

admin process counters input processes t’’ t’ t

slide-8
SLIDE 8

FUNlite - A parallel Petri Net Simulator September 1997 jsp@informatik.tu-cottbus.de 8 / 8

CONCLUSION:

❑ fast and simple conflict resolution ❑ fast transition enabling test ❑ minimal network traffic ❑ low memory consumption suited for small systems