Popular Posts

Sunday, November 9, 2014

seminar written by chined j.e on computer in tourism industry



COMPUTER IN TOURISM INDUSTRIES
                                         INTRODUCTION
Computers are being used to organize an increasingly growing industry and to accommodate even more guests in exotic locations unknown until smaller destinations were able to advertise to the wider market through this medium. From a holidaymaker's point of view, computers, and by extension the internet, is allowing them to browse and find the perfect holidays tailored to suit their needs and budget whilst comparing prices offered by multitude of competing companies.

Computers are used for every aspect of tourism; from the selection and planning of a trip to the airport systems that schedule and orchestrate the flights between airports. All the bookings seen done at a travel agents are at a desk through a computer with ease and speed. It has transformed the way in which the industry operates now compared to how it worked in its infancy.
  • Systems in recent decades

The changes over the years have forced the industry to use computers which have been used for over 50 years ago. In 1953, a system called SABRE was used by the American airlines for networking and distribution channels; an area of business that organizes the distribution of goods etc which has benefited from the processing power of the computer for larger quantities of commerce.

As said above, the growing demand for a variety of holiday destinations is only maintained and met because of the capabilities of the internet and the freedom it gives people to choose the option to visit locations not previously frequented by the ordinary tourist due to having a low profile. Tourism has become the largest single category of products made available for sale on the internet.
  • The future for computers in tourism
                                                                                                                 
Tourism and its companies continue to develop the ways in which it uses technology, in particular computers, to make holidays more affordable and easier to organize and no doubt will continue to do so to meet demand.
Computers are being used to organize an increasingly growing industry and to accommodate even more guests in exotic locations unknown until smaller destinations were able to advertise to the wider market through this medium. From a holidaymaker's point of view, computers, and by extension the internet, is allowing them to browse and find the perfect holidays tailored to suit their needs and budget whilst comparing prices offered by multitude of competing companies.

Computers are used for every aspect of tourism; from the selection and planning of a trip to the airport systems that schedule and orchestrate the flights between airports. All the bookings seen done at a travel agents are at a desk through a computer with ease and speed. It has transformed the way in which the industry operates now compared to how it worked in its infancy.
  • Systems in recent decades
The changes over the years have forced the industry to use computers which have been used for over 50 years ago. In 1953, a system called SABRE was used by the American airlines for networking and distribution channels; an area of business that organizes the distribution of goods etc which has benefited from the processing power of the computer for larger quantities of commerce.

As said above, the growing demand for a variety of holiday destinations is only maintained and met because of the capabilities of the internet and the freedom it gives people to choose the option to visit locations not previously frequented by the ordinary tourist due to having a low profile. Tourism has become the largest single category of products made available for sale on the internet.
The future for computers in tourism
Tourism is one of the world's fastest growing industries as well as the major source of foreign exchange earning and employment for many developing countries.
World tourism demand continues to exceed expectations, showing resilience against extraneous factors. According to the UNWTO World Tourism Barometer, released (November 2006):
  • In the first eight months of 2006 international tourist arrivals totalled 578 million worldwide (+4.5%), up from 553 million in the same period of 2005, a year which saw an all-time record of 806 million people travelling internationally.
  • Growth is expected to continue in 2007 at a pace of around 4% worldwide.
Tourism is vital to the well being of many countries, because of the income generated by the consumption of goods and services by tourists, the taxes levied on businesses in the tourism industry and the opportunity for employment and economic advancement by working in the industry.
What defines tourism
The concept of tourism refers to the broad framework that identifies tourism’s essential characteristics and distinguishes tourism from similar, often related but different phenomena The two terms ‘travel’ and ‘tourism’ can be used in isolation or together to describe three concepts:
  • The movement of the people
  • A sector of the economy or an industry
  • A brad system of interacting relationships of people, their needs to travel outside their communities and services that attempt to respond to these needs by supplying products
The World Tourism Organisation (WTO ) cited these definitions of tourism:
  • International Tourism: Consists of inbound tourism, visits to a country by non-residents, and outbound tourism, residents of a country visiting another country
  • Internal Tourism: Residents of a country visiting their own country
  • Domestic Tourism: Internal tourism plus inbound tourism (the tourism market of accommodation facilities and attractions within a country)
  • National Tourism: Internal tourism plus outbound tourism (the resident tourism market for travel agents and airlines.
According to the WTO tourists are people who: “travel to and stay in places outside their usual environment for not more then one consecutive year for leisure, business and other purposes not related to the exercise of an activity remunerated from within the place visited.”
Devised by WTO was endorsed by the UN Statistical Commission in 1993 following an International Government Conference held in Ottawa, Canada in 1991.
Before people can experience tourism they usually need at least:
1.     disposable income, ie. money to spend on non-essentials
2.     leisure time
3.     tourism infrastructure, such as transport and accommodation.
4.     Other factors such as health and motivation to travel are also important.
As a service industry, tourism has numerous tangible and intangible elements. Major tangible elements include transportation, accommodation, and other components of the hospitality industry. Major intangible elements relate to the purpose or motivation for becoming a tourist, such as rest, relaxation, the opportunity to meet new people and experience other cultures, or simply to do something different and have an adventure.
Following is a range of aspects to do with the tourism i


INFORMATION TECHNOLOGY AND TOURISM INDUSTRY
Information and Communication Technology in tourism sector is of special significance. This is due to its special product behavior, various high tech information and communication technologies are in use in the tourism sector around the world. They are used for tourism product development, marketing, distribution and training of tourism sector personnel. These technologies are so indispensable in order to find out and satisfy the ever-changing demands for tourism products. Though there are many definitions for tourism, it could be simply defined as a “travel and stay of a non-resident”. In order to travel to a particular area there must be a reason. For example a person may travel for leisure, business, visiting friends and relatives, health, education etc. He/she chooses a destination for one or the other reason. Transport is necessary to travel and accommodation to stay at the destination. So, tourism as an industry has three major components: Attraction, Accommodation and Transport. In the developed world, today, all these components have reached at their zenith in satisfying their customers’ needs aided by modern technology. These components have also came a long way to offer a range of products which suit the needs of multitude tourists around the world, and are still working hard to cater to an ever changing test of them. Tourism is ranking the top ahead of all other categories of international trade. This is evident from the statistical information compiled from all over the world by WTO (World Tourism Organization). The number of international arrival shows an evolution from a mere 5 million in 2011 to 20 million in 2012.The trend shows a tremendous increase both in the number of tourists and income in the coming years.
INFORMATION TECHNOLOGY AND THE TOURISM INDUSTRY COMPONENTS
As indicated above the tourism industry is made up of three major components: namely,
(i) Transport sector, which includes air, water and surface transport,
(ii) Accommodation sector, all types of establishments that offer lodging to visitors
(Hotel, Motel, Guest houses, caravans etc.)
(iii) Attraction sector which comprises manmade and natural attractions which are developed to satisfy visitors educational, recreational, aesthetic needs etc.
TRANSPORT SECTOR
Transport provides the essential link between tourism origin linkage destination and it facilitates the movement of holidaymakers, business travelers, people visiting friends and relatives and those undertaking educational and health tourism. Before setting out on a journey of any kind, every traveler makes sure which Transport Company has a good safety record. To this effect, airplanes coaches and even taxis are equipped with good communication equipment. An Airplane flies with the help of modern information technology equipment which provides information ranging from weather, altitude and other information to the pilot to communication made during emergency by the pilot with other airplanes and air traffic control stations. In-flight entertainment is also a product of information technology, video games, video films are examples. In the case of buses/coaches and taxis, in many countries with developed tourism business, they are equipped with radio communication systems for various uses. For example, the driver or the tour guide updates the Tour Company headquarters about the progress of the tour throughout the touring period. This communication ensures the safety of tourists. Fast and easy information flow is of paramount importance to build confidence in the travelling public. In recent years, the confidence built due to the use of modern IT has been demonstrated by a tremendous increase in the number of travelers worldwide.
ACCOMMODATION SECTOR
In the accommodation sector also the contribution of information technology is prominent. Any individual or group wishing to travel to any part of the world now has an easy access to the accommodation service providers. A visitor can access an information about the kind of hotels at the destination, their ranges of product, the price and other relevant information without leaving his/her office or home. What one has to do is to ring up a travel agency and get the expert advice. This will help any visitor greatly as to where to stay during any kind of away from home. Here the information can be obtained aided by still or moving pictures in order to give an exact feature of an accommodation, facilities and services of ones choice. At a destination also visitors are at ease during their stay in every respect, in getting information about their business, family or other information back home. They are also at ease to relax with the videos and television entertainment programs, which nowadays are part and parcel of many accommodation units.
ATTRACTION SECTOR
In the case of attractions both manmade and natural attraction owners need to communicate or inform their customers and potential customers about their product. Information about the kind of attraction, where they are located and how to get there is of vital importance. The attraction owners particularly the national tourist offices discharge their duty of promoting their country’s tourist attractions using the information technology products. Information through promotional videos, Internet web Sites, television advertisements and travel documentaries are the main information dissemination tools. 
Travel Agencies and the role of information technology
One of the unique characteristics of tourism products is the need of the role played by the so-called travel agencies. These travel agencies are also known as, tour operators, conference organizers booking agents etc. They are so important because of the nature of the tourism product, perishables and intangibility. This means service products including tourism, cannot be stored for a litter sale, and cannot be inspected for their quality before purchase respectively. This entails a very big effort for marketing and distribution of these products. Tourism product supply is fragmented both geographically and as product component, coupled with their relatively low capital volume; individual components cannot afford to market and distribute their product for the dispersed potential and actual customers on their own. For instance, an airline company, which flies many destinations, can have a representative but cannot have so many offices or product distribution channels in all routes it serves. Or, in Addis Ababa itself for example, Ethiopian Airlines has few offices to distribute and market its product. However, one can also buy Ethiopian Airline ticket from many other travel agencies in the city. One can imagine if the airline can run these many say sixty offices on its own which are usually with high fixed costs. This makes the travel agents an indispensable partner both in efficiently distributing and marketing the product and substantially reducing the cost of operation for the airline. As these are working on commission basis, the cost of operation for the airline is relatively low. These travel agencies are performing this indispensable task of being intermediary by the use of computers and computer reservation systems (CRS).
CRS (Computer Reservation System)
The airline CRS systems were the pioneers of computer applications in the 1950s and are now virtually indispensable to airlines because they enable their revenue streams to be maximized by efficient inventory control (an inventory in this context refers to an airline’s stock of passenger seats that is available for sale). However, these days, hotel and car hiring companies by renting the service from the airline companies are also employed these systems. The technology works by using computers of special kind and leased telephone lines. The travel agent is connected on line to the central host computer system or CRS. The host computer is always a mainframe with massive database attached. The mainframe host polls each travel agent terminal every second or so, to see if it has any messages to send. In this system it is possible that airliners, Hotels and car rental companies can talk to the travel agent and vise versa. This system contributes to a great extent in increasing sales volume and giving precise information on the availability and selling the products efficiently ensuring substantial profit gain.
GDS (Global Distribution Systems)
GDSs are systems which distribute reservation and information services to sales outlets around the world. Unlike the CRSs used solely by an airline or hotel chain, GDS distribute more than one CRS to users who are usually travel agents. GDSs were formed from the airlines of several CRSs, each of which had its airline backer. Once formed, there was a period of some consolidation and shakeout, after which four main GDSs emerged. These are Amadeus, Galileo, Sabre and World Span. These worlds leading GDSs are switches or simply computers that are connected on the one side to many different supplier systems and on the other side to many end users. The end users of switch comprise travel agents with a single reservation system to support the sale of airline seats and related travel products such as hotel-and car hire, via a single computer terminal, usually a Personal Computer. All the GDSs are owned by a group of airline companies. Eleven carriers of different countries for example own Galileo and there are 500 participating airlines companies. GDSs require massive investment because they are extremely large computer systems that link several airlines and travel principals into a complex network of PCs, telecommunications and large main frame computers. It is not important here to go into the complex operation how these GDSs are working. However it is pertinent to say that GDS are the macro version of CRSs with a specialized and improved information technology for the distribution of Travel products.
Internet: Travel and Tourism
So far it has been dealt with an information technology where intermediaries, travel agents, tour operators etc. are an indispensable part in the distribution and marketing of travel and tourism products, and as an important point of sale or product outlets. Here I will discuss about an information technology where the producer and the consumer are directly communicating, by putting the indispensability of travel intermediaries in question. As I have said elsewhere in this article, the intangibility of the product where risk and uncertainty for the customer is higher, his need for reliable pre-purchase information is stronger. The potential customer’s decision risk and dependence on information is further increased because he cannot see, inspect compare or try out tourist services before deciding to use them. This is not met perfectly than through Internet, which is the latest product of information technology. This interactive information-supplying medium is user friendly and gives enormous information of all kind related to travel. Apart from supplying information on world leading and emerging tourist destination of all kind, it is now possible to book and buy holidays through Internet using plastic money. It gives information on all Airlines, Hotels and Car hire companies, which are in its database. Microsoft is a travel agent. Its Internet site branded Expedia is one of the most important examples of the new generation of travel intermediaries. Distribution of travel and tourism products using the Internet has a substantial cost reduction advantage for providers of tourism services. The cost incurred by suppliers in receiving a customer booking is the one, which is costly. So, Internet gives a practical aid both in supplying information and receiving bookings or selling tourism products on the principals’ behalf.
      Marketing tourism products on the Internet is also possible. This is done through the page of the company’s Internet site. Once the company got access to the Internet, it gets various opportunities. Of these, Electronic-mail (e-mail) is one. As a tourism product supplier, especially with business travel as a selected target market, it makes possible to communicate the person through his/her e-mail address wherever the client is. Unlike telephone communication, there is no need for the presence of the receiver of the message during message transmission. It also gives a typed copy of the message. E-mail communication medium is very cheap yet efficient and effective. On the other hand, marketing on the Internet has an advantage of being used by all company’s of all size as long as they can establish their Web Site on the Internet.
Conclusion
In this article, I have discussed many of the prominent mediums and uses of IT in the travel and tourism industry. As can be seen they have enormous contribution to tourism business word wide. It is also noted that, because of the special characteristics of tourism products, the use of IT is more pronounced in this industry. Tourism in today’s world is a very big economic and social activity, generating a large amount of income, employment and foreign currency and investment opportunities. Though, currently, the developed nations are getting the lion’s share of the benefit of tourism, there is a promising future for the developing nations also. The paramount use of IT in tourism business activity by itself does not mean anything, unless it advances the idea of human development. It should contribute to the over all development of a country. The contribution of tourism towards socio-economic development and environmental conservation is immense. Apart from satisfying the recreational, educational and other needs of tourists, tourism could be used as a community development vehicle aimed at local people at the destination area. At macro level tourism gives an alternative or additional foreign currency source which is very much scarce in developing countries. However, not the earning of income from tourism but its judicial distribution among the stakeholders is an issue where in many cases the income remains in the pockets of handful multinational tourism business companies and national tour operators. This should be avoided, and only then, that tourism can serve as a development vehicle to socio-economic and environmental development. The business developed due to the great contribution of IT should address this problem. If this idea is included as a tourism development objective in any country’s economic agenda, the development cannot be achieved without keeping pace with the development of Information Technology.







Saturday, October 4, 2014

A REPORT ON PETRI NET MODELS AND APLLICATION




 
A REPORT ON
PETRI NET MODELS AND APLLICATION
WRITTEN BY 
CHINEDU JAMES E.
                         TABLE OF CONTENTS
CHAPTER ONE
1.0 INTRODUCTION
1.1 Petri net basics
1.2. Formal definition and basic terminology
1.3. Syntax
1.4. Execution semantics
CHAPTER TWO
2.0. INTRODUCTION
2.1. Formulation in terms of vectors and matrices
CHAPTER THREE
3.0 INTRODUCTION
3.1. Reachability
3.2. Liveness
3.3. Boundedness
CHAPTER FOUR
4.0 INTRODUCTION
4.1. Object Petri nets.
4.2 Restrictions
CHAPTER FIVE
SUMMARY
References



CHAPTER ONE
1.0. INTRODUCTION
A Petri net (also known as a place/transition net or P/T net) is one of several mathematical modeling languages for the description of distributed systems. A Petri net is a directed bipartite graph, in which the nodes represent transitions (i.e. events that may occur, signified by bars) and places (i.e. conditions, signified by circles). The directed arcs describe which places are pre- and/or postconditions for which transitions (signified by arrows). Some sources[1] state that Petri nets were invented in August 1939 by Carl Adam Petri — at the age of 13 — for the purpose of describing chemical processes.
Like industry standards such as UML activity diagrams, BPMN and EPCs, Petri nets offer a graphical notation for stepwise processes that include choice, iteration, and concurrent execution. Unlike these standards, Petri nets have an exact mathematical definition of their execution semantics, with a well-developed mathematical theory for process analysis.
(a) Petri net trajectory example
1.1. Petri net basics
A Petri net consists of places, transitions, and arcs. Arcs run from a place to a transition or vice versa, never between places or between transitions. The places from which an arc runs to a transition are called the input places of the transition; the places to which arcs run from a transition are called the output places of the transition.
Graphically, places in a Petri net may contain a discrete number of marks called tokens. Any distribution of tokens over the places will represent a configuration of the net called a marking. In an abstract sense relating to a Petri net diagram, a transition of a Petri net may fire if it is enabled, i.e. there are sufficient tokens in all of its input places; when the transition fires, it consumes the required input tokens, and creates tokens in its output places. A firing is atomic, i.e., a single non-interruptible step.
Unless an execution policy is defined, the execution of Petri nets is nondeterministic: when multiple transitions are enabled at the same time, any one of them may fire.
Since firing is nondeterministic, and multiple tokens may be present anywhere in the net (even in the same place), Petri nets are well suited for modeling theconcurrent behavior of distributed systems.
1.2. Formal definition and basic terminology
Petri nets are state-transition systems that extend a class of nets called elementary nets.[2]
Definition 1. A net is a triple N = (P, T, F) where:
1.     P and T are disjoint finite sets of places and transitions, respectively.
2.     F \subset (P \times T) \cup (T \times P) is a set of arcs (or flow relations).

Definition 2. Given a net N = (P, T, F ), a configuration is a set C so that C 
⊆ P.
A Petri net with an enabled transition.
The Petri net that follows after the transition fires (Initial Petri net in the figure above).
Definition 3. An elementary net is a net of the form EN = (N, C ) where:
1.     N = (P, T, F ) is a net.
2.     C is such that C ⊆ P is a configuration.
Definition 4. A Petri net is a net of the form PN = (N, M, W ), which extends the elementary net so that:
1.     N = (P, T, F ) is a net.
2.     M : P → Z is a place multiset, where Z is a countable set. M extends the concept of configuration and is commonly described with reference to Petri net diagrams as a marking.
3.     W : F → Z is an arc multiset, so that the count (or weight) for each arc is a measure of the arc multiplicity.
If a Petri net is equivalent to an elementary net, then Z can be the countable set {0,1} and those elements in P that map to 1 under M form a configuration. Similarly, if a Petri net is not an elementary net, then the multiset M can be interpreted as representing a non-singleton set of configurations. In this respect, M extends the concept of configuration for elementary nets to Petri nets.
In the diagram of a Petri net (see top figure right), places are conventionally depicted with circles, transitions with long narrow rectangles and arcs as one-way arrows that show connections of places to transitions or transitions to places. If the diagram were of an elementary net, then those places in a configuration would be conventionally depicted as circles, where each circle encompasses a single dot called a token. In the given diagram of a Petri net (see right), the place circles may encompass more than one token to show the number of times a place appears in a configuration. The configuration of tokens distributed over an entire Petri net diagram is called a marking.
In the top figure (see right), the place p1 is an input place of transition t; whereas, the place p2 is an output place to the same transition. Let PN0 (Fig. top) be a Petri net with a marking configured M0 and PN1 (Fig. bottom) be a Petri net with a marking configured M1. The configuration of PN0 enable transition t through the property that all input places have sufficient number of tokens (shown in the figures as dots) "equal to or greater" than the multiplicities on their respective arcs to t. Once and only once a transition is enabled will the transition fire. In this example, the firing of transition t generates a map that has the marking configured M1 in the image of M0 and results in Petri net PN1, seen in the bottom figure. In the diagram, the firing rule for a transition can be characterised by subtracting a number of tokens from its input places equal to the multiplicity of the respective input arcs and accumulating a new number of tokens at the output places equal to the multiplicity of the respective output arcs.
Remark 1. The precise meaning of "equal to or greater" will depend on the precise algebraic properties of addition being applied on Z in the firing rule, where subtle variations on the algebraic properties can lead to other classes of Petri nets; for example, Algebraic Petri nets.[3]
The following formal definition is loosely based on (Peterson 1981). Many alternative definitions exist.
1.3. Syntax
A Petri net graph (called Petri net by some, but see below) is a 3-tuple (S,T,W)\!, where
·         S is a finite set of places
·         T is a finite set of transitions
·         S and T are disjoint, i.e. no object can be both a place and a transition
·          is a multiset of arcs, i.e. it assigns to each arc a non-negative integer arc multiplicity (or weight); note that no arc may connect two places or two transitions.
The flow relation is the set of arcs:  F = \{ (x,y) \mid W(x,y) > 0 \}. In many textbooks, arcs can only have multiplicity 1. These texts often define Petri nets usingF instead of W. When using this convention, a Petri net graph is a bipartite multigraph (S \cup T, F) with node partitions S and T.
The preset of a transition t is the set of its input places: {}^{\bullet}t = \{ s \in S \mid W(s,t) > 0 \}; its postset is the set of its output places: t^{\bullet} = \{ s \in S \mid W(t,s) > 0 \}. Definitions of pre- and postsets of places are analogous.
A marking of a Petri net (graph) is a multiset of its places, i.e., a mapping . We say the marking assigns to each place a number of tokens.
A Petri net (called marked Petri net by some, see above) is a 4-tuple (S,T,W,M_0)\!, where
·         (S,T,W) is a Petri net graph;
·         M_0 is the initial marking, a marking of the Petri net graph.
1.4. Execution semantics
In words:
·         firing a transition t in a marking M consumes W(s,t) tokens from each of its input places s, and produces W(t,s) tokens in each of its output places s
·         a transition is enabled (it may fire) in M if there are enough tokens in its input places for the consumptions to be possible, i.e. iff \forall s: M(s) \geq W(s,t).
We are generally interested in what may happen when transitions may continually fire in arbitrary order.
We say that a marking M' is reachable from a marking M in one step if M \to_G M'; we say that it is reachable from M if M {\to_G}^* M', where {\to_G}^* is thereflexive transitive closure of \to_G; that is, if it is reachable in 0 or more steps.
For a (marked) Petri net N=(S,T,W,M_0)\!, we are interested in the firings that can be performed starting with the initial marking M_0. Its set of reachable markings is the set R(N) \ \stackrel{D}{=}\  \{ M' \mid M_0 {\to_{(S,T,W)}}^* M' \}
The reachability graph of N is the transition relation \to_G restricted to its reachable markings R(N). It is the state space of the net.
A firing sequence for a Petri net with graph G and initial marking M_0 is a sequence of transitions \vec \sigma = \langle t_{i_1} \ldots t_{i_n} \rangle such that M_0 \to_{G,t_{i_1}} M_1 \wedge \ldots \wedge M_{n-1} \to_{G,t_{i_n}} M_n. The set of firing sequences is denoted as L(N).
CHAPTER TWO
2.O.  INTRODUCTION
Variations on the definition
As already remarked, a common variation is to disallow arc multiplicities and replace the bag of arcs W with a simple set, called the flow relation, F \subseteq (S \times T) \cup (T \times S). This doesn't limit expressive power as both can represent each other.
Another common variation, e.g. in, Desel and Juhás (2001),[4] is to allow capacities to be defined on places. This is discussed under extensions below.
2.1. Formulation in terms of vectors and matrices
The markings of a Petri net (S,T,W,M_0)\! can be regarded as vectors of nonnegative integers of length |S|.
Its transition relation can be described as a pair of |S| by |T| matrices:
·         W^-, defined by \forall s,t: W^-[s,t] = W(s,t)
·         W^+, defined by \forall s,t: W^+[s,t] = W(t,s).
Then their difference
·          W^T = W^+ - W^-
can be used to describe the reachable markings in terms of matrix multiplication, as follows. For any sequence of transitions w, write o(w) for the vector that maps every transition to its number of occurrences in w. Then, we have
·         R(N) = \{ M \mid \exists w: M = M_0 + W^T \cdot o(w) \wedge w \! is a firing sequence of N \}\!.
Note that it must be required that w is a firing sequence; allowing arbitrary sequences of transitions will generally produce a larger set.
(b) Petri net Example
W^{+}=\begin{bmatrix} * & t1 & t2 \\ p1 & 0  & 1 \\ p2 & 1 & 0 \\ p3 & 1& 0 \\ p4 & 0 & 1 \end{bmatrix}
 W^{-}=\begin{bmatrix} * & t1 & t2 \\ p1 & 1  & 0 \\ p2 & 0 & 1 \\ p3 & 0 & 1 \\ p4 & 0 & 0 \end{bmatrix}
W^T=\begin{bmatrix} * & t1 & t2 \\ p1 & -1  & 1 \\ p2 & 1 & -1 \\ p3 & 1 & -1 \\ p4 & 0 & 1 \end{bmatrix}
M_{0}=\begin{bmatrix} 1 & 0 & 2 & 1 \end{bmatrix}
CHAPTER THREE
3.0 INTRODUCTION
Mathematical properties of Petri nets
One thing that makes Petri nets interesting is that they provide a balance between modeling power and analyzability: many things one would like to know about concurrent systems can be automatically determined for Petri nets, although some of those things are very expensive to determine in the general case. Several subclasses of Petri nets have been studied that can still model interesting classes of concurrent systems, while these problems become easier.
An overview of such decision problems, with decidability and complexity results for Petri nets and some subclasses, can be found in Esparza and Nielsen (1995).[5]
3.1. Reachability
The reachability problem for Petri nets is to decide, given a Petri net N and a marking M, whether M \in  R(N).
Clearly, this is a matter of walking the reachability graph defined above, until either we reach the requested marking or we know it can no longer be found. This is harder than it may seem at first: the reachability graph is generally infinite, and it is not easy to determine when it is safe to stop.
In fact, this problem was shown to be EXPSPACE-hard[6] years before it was shown to be decidable at all (Mayr, 1981). Papers continue to be published on how to do it efficiently.[7]
While reachability seems to be a good tool to find erroneous states, for practical problems the constructed graph usually has far too many states to calculate. To alleviate this problem, linear temporal logic is usually used in conjunction with the tableau method to prove that such states cannot be reached. LTL uses the semi-decision technique to find if indeed a state can be reached, by finding a set of necessary conditions for the state to be reached then proving that those conditions cannot be satisfied.
3.2. Liveness
A Petri net in which transition t_0 is dead, and {}_{\forall j>0: t_j} is L_j-live
Petri nets can be described as having different degrees of liveness L_1 - L_4. A Petri net (N, M_0) is called L_k-live iff all of its transitions are L_k-live, where a transition is
·         dead, iff it can never fire, i.e. it is not in any firing sequence in L(N,M_0)
·         L_1-live (potentially fireable), iff it may fire, i.e. it is in some firing sequence in L(N,M_0)
·         L_2-live iff it can fire arbitrarily often, i.e. if for every positive integer k, it occurs at least k times in some firing sequence in L(N,M_0)
·         L_3-live iff it can fire infinitely often, i.e. if for every positive integer k, it occurs at least k times in V, for some prefix-closed set of firing sequences {}_{V \subseteq L(N,M_0)}
·         L_4-live (live) iff it may always fire, i.e., it is L_1-live in every reachable marking in R(N,M_0)
Note that these are increasingly stringent requirements: L_{j+1}-liveness implies L_j-liveness, for {}_{j \in {1,2,3}}.
These definitions are in accordance with Murata's overview,[8] which additionally uses L_0-live as a term for dead.
3.3. Boundedness
The reachability graph of N2.
A place in Petri net is called k-bounded if it does not contain more than k tokens in all reachable markings, including the initial marking; it is said to be safe if it is 1-bounded; it is bounded if it is k-bounded for some k.
A (marked) Petri net is called k-bounded, safe, or bounded when all of its places are. A Petri net (graph) is called(structurally) bounded if it is bounded for every possible initial marking.
Note that a Petri net is bounded if and only if its reachability graph is finite.
Boundedness is decidable by looking at covering, by constructing the Karp–Miller Tree.
It can be useful to explicitly impose a bound on places in a given net. This can be used to model limited system resources.
Some definitions of Petri nets explicitly allow this as a syntactic feature.[9] Formally, Petri nets with place capacities can be defined as tuples (S,T,W,C,M_0), where (S,T,W,M_0) is a Petri net,  an assignment of capacities to (some or all) places, and the transition relation is the usual one restricted to the markings in which each place with a capacity has at most that many tokens.
An unbounded Petri net, N.
For example, if in the net N, both places are assigned capacity 2, we obtain a Petri net with place capacities, say N2; its reachability graph is displayed on the right.
A two-bounded Petri net, obtained by extending N with "counter-places".
Alternatively, places can be made bounded by extending the net. To be exact, a place can be made k-bounded by adding a "counter-place" with flow opposite to that of the place, and adding tokens to make the total in both places k.
Discrete, continuous, and hybrid Petri nets[edit]
As well as discrete events, there are Petri nets for continuous and hybrid discrete-continuous processes and useful in discrete, continuous and hybrid control theory.[10] and related to discrete, continuous and hybrid automata.
CHAPTER FOUR
4.0 INTRODUCTION
Extensions
There are many extensions to Petri nets. Some of them are completely backwards-compatible (e.g. coloured Petri nets) with the original Petri net, some add properties that cannot be modelled in the original Petri net (e.g. timed Petri nets). If they can be modelled in the original Petri net, they are not real extensions, instead, they are convenient ways of showing the same thing, and can be transformed with mathematical formulas back to the original Petri net, without losing any meaning. Extensions that cannot be transformed are sometimes very powerful, but usually lack the full range of mathematical tools available to analyse normal Petri nets.
The term high-level Petri net is used for many Petri net formalisms that extend the basic P/T net formalism; this includes coloured Petri nets, hierarchical Petri nets such as Nets within Nets, and all other extensions sketched in this section. The term is also used specifically for the type of coloured nets supported by CPN Tools.
A short list of possible extensions:
·         Additional types of arcs; two common types are:
·         a reset arc does not impose a precondition on firing, and empties the place when the transition fires; this makes reachability undecidable,[11] while some other properties, such as termination, remain decidable;[12]
·         an inhibitor arc imposes the precondition that the transition may only fire when the place is empty; this allows arbitrary computations on numbers of tokens to be expressed, which makes the formalism Turing complete and implies existence of a universal net.[13]
·         In a standard Petri net, tokens are indistinguishable. In a Coloured Petri net, every token has a value.[14] In popular tools for coloured Petri nets such as CPN Tools, the values of tokens are typed, and can be tested (using guard expressions) and manipulated with a functional programming language. A subsidiary of coloured Petri nets are the well-formed Petri nets, where the arc and guard expressions are restricted to make it easier to analyse the net.
·         Another popular extension of Petri nets is hierarchy; this in the form of different views supporting levels of refinement and abstraction was studied by Fehling. Another form of hierarchy is found in so-called object Petri nets or object systems where a Petri net can contain Petri nets as its tokens inducing a hierarchy of nested Petri nets that communicate by synchronisation of transitions on different levels. See[15] for an informal introduction to 4.1.Object Petri nets.
·         A Vector Addition System with States (VASS) can be seen as a generalisation of a Petri net. Consider a finite state automaton where each transition is labelled by a transition from the Petri net. The Petri net is then synchronised with the finite state automaton, i.e., a transition in the automaton is taken at the same time as the corresponding transition in the Petri net. It is only possible to take a transition in the automaton if the corresponding transition in the Petri net is enabled, and it is only possible to fire a transition in the Petri net if there is a transition from the current state in the automaton labelled by it. (The definition of VASS is usually formulated slightly differently.)
·         Prioritised Petri nets add priorities to transitions, whereby a transition cannot fire, if a higher-priority transition is enabled (i.e. can fire). Thus, transitions are in priority groups, and e.g. priority group 3 can only fire if all transitions are disabled in groups 1 and 2. Within a priority group, firing is still non-deterministic.
·         The non-deterministic property has been a very valuable one, as it lets the user abstract a large number of properties (depending on what the net is used for). In certain cases, however, the need arises to also model the timing, not only the structure of a model. For these cases, timed Petri nets have evolved, where there are transitions that are timed, and possibly transitions which are not timed (if there are, transitions that are not timed have a higher priority than timed ones). A subsidiary of timed Petri nets are the stochastic Petri nets that add nondeterministic time through adjustable randomness of the transitions. The exponential random distribution is usually used to 'time' these nets. In this case, the nets' reachability graph can be used as a Markov chain.
·         Dualistic Petri Nets (dP-Nets) is a Petri Net extension developed by E. Dawis, et al.[16] to better represent real-world process. dP-Nets balance the duality of change/no-change, action/passivity, (transformation) time/space, etc., between the bipartite Petri Net constructs of transformation and place resulting in the unique characteristic of transformation marking, i.e., when the transformation is "working" it is marked. This allows for the transformation to fire (or be marked) multiple times representing the real-world behavior of process throughput. Marking of the transformation assumes that transformation time must be greater than zero. A zero transformation time used in many typical Petri Nets may be mathematically appealing but impractical in representing real-world processes. dP-Nets also exploit the power of Petri Nets' hierarchical abstraction to depict Process architecture. Complex process systems are modeled as a series of simpler nets interconnected through various levels of hierarchical abstraction. The process architecture of a packet switch is demonstrated in,[17] where development requirements are organized around the structure of the designed system. dP-Nets allow any real-world process, such as computer systems, business processes, traffic flow, etc., to be modeled, studied, and improved.
There are many more extensions to Petri nets, however, it is important to keep in mind, that as the complexity of the net increases in terms of extended properties, the harder it is to use standard tools to evaluate certain properties of the net. For this reason, it is a good idea to use the most simple net type possible for a given modelling task.
4.2 Restrictions
Petri net types graphically
Instead of extending the Petri net formalism, we can also look at restricting it, and look at particular types of Petri nets, obtained by restricting the syntax in a particular way. Ordinary Petri nets are the nets where all arc weights are 1. Restricting further, the following types of ordinary Petri nets are commonly used and studied:
1.     In a state machine (SM), every transition has one incoming arc, and one outgoing arc, and all markings have exactly one token. As a consequence, there can not be concurrency, but there can be conflict (i.e.nondeterminism[disambiguation needed]). Mathematically: \forall t\in T: |t^\bullet|=|{}^\bullet t|=1
2.     In a marked graph (MG), every place has one incoming arc, and one outgoing arc. This means, that there can not beconflict, but there can be concurrency. Mathematically: \forall s\in S: |s^\bullet|=|{}^\bullet s|=1
3.     In a free choice net (FC), - every arc from a place to a transition is either the only arc from that place or the only arc to that transition. I.e. there can be both concurrency and conflict, but not at the same time. Mathematically: \forall s\in S: (|s^\bullet|\leq 1) \vee ({}^\bullet (s^\bullet)=\{s\})
4.     Extended free choice (EFC) - a Petri net that can be transformed into an FC.
5.     In an asymmetric choice net (AC), concurrency and conflict (in sum, confusion) may occur, but not symmetrically. Mathematically: \forall s_1,s_2\in S: (s_1{}^\bullet \cap s_2{}^\bullet\neq \emptyset) \to [(s_1{}^\bullet\subseteq s_2{}^\bullet) \vee (s_2{}^\bullet\subseteq s_1{}^\bullet)]
Other models of concurrency
Other ways of modelling concurrent computation have been proposed, including process algebra, the actor model, and trace theory.[18] Different models provide tradeoffs of concepts such as compositionality, modularity, and locality.
An approach to relating some of these models of concurrency is proposed in the chapter by Winskel and Nielsen.[19]             
CHAPTER FIVE
SUMMARY
A Petri net is a discrete event model meaning that time increases with each event (transition firing).
In Petri nets time is represented by the ordered sequence of transitions firing.
It has been extended to take time into account (mainly for scheduling problems).
Time is considered either as a delay (time Petri nets) or as intervals of dates (timed Petri nets). In both cases time annotation can be attached to places or transitions.
A p-time Petri net is a Petri net whose token has to wait a delay before being used to enable a transition.
In a t-time Petri net, the time can be considered as the duration of the firing transition.
Timed Petri nets were introduced to model watchdog problems. A t-timed Petri net has a time interval attached to transitions. These intervals are the ones where the transition can be fired.
A p-timed Petri net has intervals attached to places and corresponds to the period where the token is valid and can be used to fire transitions.



















References
Jump up^ Carl Adam Petri and Wolfgang Reisig (2008) Petri net. Scholarpedia, 3(4):6477[1]
1.    Jump up^ G. Rozenburg, J. Engelfriet, Elementary Net Systems, in: W. Reisig, G. Rozenberg (Eds.), Lectures on Petri Nets I: Basic Models - Advances in Petri Nets, volume 1491 of Lecture Notes in Computer Science, Springer,1998, pp. 12-121.
2.    Jump up^ Wolfgang Reisig: Petri Nets and Algebraic Specifications. Theoretical Computer Science 80(1): 1-34 (1991)
5.    Jump up^ Lipton, R. "The Reachability Problem Requires Exponential Space", Technical Report 62, Yale University, 1976]
6.    Jump up^ P. Küngas. Petri Net Reachability Checking Is Polynomial with Optimal Abstraction Hierarchies. In: Proceedings of the 6th International Symposium on Abstraction, Reformulation and Approximation, SARA 2005, Airth Castle, Scotland, UK, July 26–29, 2005]
9.    Jump up^ Discrete, continuous, and hybrid Petri Nets, René David, Hassane Alla, Springer, 2005, ISBN 978-3-540-22480-8
10. Jump up^ T. Araki and T. Kasami, Some Decision Problems Related to the Reachability Problem for Petri Nets, in: Theoretical Computer Science, 3(1), pp. 85-104 (1977)
11. Jump up^ C. Dufourd, A. Finkel, and Ph. Schnoebelen: Reset Nets Between Decidability and Undecidability, in: Proceedings of the 25th International Colloquium on Automata, Languages and Programming, LNCS vol. 1443, pp. 103-115 (1998)
12. Jump up^ Zaitsev D.A. Toward the Minimal Universal Petri Net, IEEE Transactions on Systems, Man, and Cybernetics: Systems, 2013, 1- 12,http://dx.doi.org/10.1109/TSMC.2012.2237549
13. Jump up^ "Very Brief Introduction to CP-nets", Department of Computer Science, University of Aarhus, Denmark