#### Abstract

Discrete event systems in applications, such as industry and supply chain, may show a very complex behavior. For this reason, their design and operation may be carried out by the application of optimization techniques for decision making in order to obtain their highest performance. In a general approach, it is possible to implement these optimization techniques by means of the simulation of a Petri net model, which may require an intensive use of computational resources. One key factor in the computational cost of simulation-based optimization is the size of the model of the system; hence, it may be useful to apply techniques to reduce it. This paper analyzes the relationship between two Petri net formalisms, currently used in the design of discrete event systems, where it is usual to count on a set of alternative structural configurations. These formalisms are a particular type of parametric Petri nets, called compound Petri nets, and a set of alternative Petri nets. The development of equivalent models under these formalisms and the formal proof of this equivalence are the main topics of the paper. The basis for this formal approach is the graph of reachable markings, a powerful tool able to represent the behavior of a discrete event system and, hence, to show the equivalence between two different Petri net models. One immediate application of this equivalence is the substitution of a large model of a system by a more compact one, whose simulation may be less demanding in the use of computational resources.

#### 1. Introduction

A significant number of systems of technological, social, or financial interest may present a high degree of complexity in their composition, in the interrelation among their components, in their behavior, or in all of these features [1, 2]. Many of these systems can be considered as discrete event systems (DES) [3, 4], such as manufacturing facilities, food industry, supply chains, airports, or traffic networks [5–8].

The design of such systems can be a challenging task, involving experts from a variety of knowledge fields [9]. In this context, an effective communication of the partial and final results of the design process may be achieved, when using a formal language to represent a model of the system of interest. Additionally, the formal verification of some specifications of the designed system, such as checking the compliance of certain structural properties or assessing the performance of the system, can be carried out before the system itself has been built up [10, 11]. One effective strategy for achieving this purpose with a certain degree of accuracy consists of using a formal model of the system [10, 12].

A very popular paradigm to represent the model of a DES is Petri nets [13]. This formalism has been applied to a wide range of different fields [14, 15]. The Petri nets present many favourable features, such as an important body of knowledge referred to as subclasses of formalisms, structural analysis techniques and properties, or methodologies for implementing performance evaluation and simulation [16]. Petri nets are the paradigm chosen in this research to represent models of DES.

The research presented in this paper deals with Petri net models applied to the design process of DES. In this design process, the DES modeled by the Petri net has not been completely specified yet; hence, the Petri net should model the lack of concretion in some of the features of the original DES. These nonspecified features of the DES in process of being designed constitute a set of degrees of freedom, which should be solved by decision making as long as the design process is being completed. The mentioned decision-making process can be carried out by means of different strategies, such as “what-if” analysis or the statement of an optimization problem. The formalisms presented in this paper, belonging to the paradigm of the Petri nets, are particularly suited for developing optimization processes. Nevertheless, they are also appropriate for other strategies of decision making [17].

Usually, in the design process of a DES, some of the degrees of freedom that should be solved by the designers refer to structural features of the system [18], while some others can be related to the system’s behavior. For example, the layout of the components of the system is a feature related to its structure. On the contrary, the dynamics or evolution of some of these components, such as raw materials supply, human resources, or communication packets, is associated with its behavior [19]. In a Petri net model, the structural features of a DES are explicitly represented in the so-called incidence matrices. These structural features can be clearly distinguished from the behavior of the system, which is described by successive markings of the net. An introduction of Petri nets can be found in [16, 20].

A large number of scientific reports on the application of decision-making methodologies for solving certain stages of the design process of a DES can be found in the literature. However, most of them refer to the management or control of the operation of such systems; hence, the methodologies they present are aimed at solving behavioral degrees of freedom of the DES.

The references presenting Petri net models of discrete event systems with structural degrees of freedom usually fall under one of the two following approaches:(a)Each alternative configuration for the structural degrees of freedom, in brief alternative structural configuration, is represented by a different Petri net model [7, 8, 21, 22]. These Petri nets can be called alternative Petri nets.(b)The incidence matrix representing the structure of the Petri net model contains a number of parameters. Giving diverse feasible values to these parameters, it is possible to specify different alternative structural configurations of the DES. These Petri nets can be called parametric, parameterized, parameterized, or compound Petri nets [6].

Many of these works, dealing with structural degrees of freedom, lack formal and systematic approach to the definition and implementation of the structural degrees of freedom. In fact, they mainly focus on the decision-making process to select one alternative structural configuration of the DES [6, 8, 21, 22].

Some previous works have advanced an equivalence relation between both formalisms, a set of alternative Petri nets and a compound Petri net, without providing a rigorous proof.

The main contribution of this paper consists of formally proving that both formalisms, a set of alternative Petri net and a compound Petri net, can be equivalent and describing the conditions for achieving this equivalence. This result leads to some consequences of interest, since from this result it is possible to do the following:(a)Apply appropriate algorithms to transform a compound Petri net into a set of alternative Petri nets, detailed in this paper, and vice versa.(b)Use any of both formalisms for modeling in different stages of the design process of a DES, profiting from the advantages of each one of them. For example, depending on the particular case, the development of the original Petri net model of a discrete event system with structural degrees of freedom may be easier with one of the two formalisms.(c)Reduce the amount of data required to describe a Petri net model with an associated set of feasible alternative structural configurations by its transformation into a compact compound Petri net. It has to be considered that there are virtually infinite compound Petri nets, of different sizes, that are equivalent to a given set of alternative Petri nets. Moreover, in the design of a discrete event system, the alternative structural configurations may share a large amount of data. If this redundant data is removed, significant reductions in the size of the simulation model of the system might be achieved.(d)Accelerate the simulation-based optimization of a Petri net model with an associated set of feasible alternative structural configurations by using an appropriate implementation of distributed computing profiting from the advantages of using compact models.

The rest of the paper is organized as follows. Section 2 is devoted to formally define a set of alternative Petri nets and a compound Petri net. Section 3 focuses on proving that a certain transformation on a compound Petri net, based on the concept of partition of a set, leads to a set of alternative Petri nets. Section 4 presents some definitions related to the graphs of reachability and the marking of a Petri net. Section 5 describes a methodology to construct the reachability graph of a set of alternative Petri nets and of a compound Petri net. Section 6 uses the concept of reachability graph to prove the equivalence between a compound Petri net and the set of alternative Petri nets that results from the application of the transformation algorithm presented in Section 3. Section 7 illustrates the concepts, definitions, proposition, and theorems from previous sections by means of an example of application. Last section details the conclusions and future research lines.

#### 2. Alternative Petri Nets and Compound Petri Net

One possible definition of a Petri net system is based on a weighted flow relation through two incidence functions [16, 20]. A Petri net system is also called marked Petri net or just Petri net for simplicity.

*Definition 1 (Petri net). *A (generalized)* Petri net* is a five-tuple:where and are disjoint, finite, nonempty sets of places and transitions, respectively. Pre: is the preincidence or input function. Post: is the postincidence or output function. is a marking of the set of places , where , whose th component is the marking of place .

The first four elements of the Petri net define its structure of a Petri net, which is a static feature, while the fifth one, the marking, represents the behavior of the system, that is, the system state and its changes.

It is possible to describe the structure of a Petri net by using the incidence matrices and . These matrices represent the incidence functions given in Definition 1 and can be called pre- and postincidence matrices, respectively.

A pair of place and transition is called a self-loop if is both an input and output place of . A Petri net is said to be pure if it has not any self-loop. Moreover, pure nets are completely characterized by a single incidence matrix .

As it has been stated in the Introduction, a Petri net associated with a set of alternative structural configurations can be presented as a set of alternative Petri nets. Every Petri net of the mentioned set consists of the complete Petri net model of the original DES, particularized with one of the alternative structural configurations.

Given a set of alternative Petri nets, any pair of these Petri nets verifies a property called mutually exclusive evolution, meaning that only one of the alternative Petri nets can be active at a given time, since all of them are exclusive models of the same DES. This property allows characterizing a set of alternative Petri nets as shown in the following.

*Definition 2 (mutually exclusive evolution). *Given two Petri nets and , they are said to have mutually exclusive evolutions if the following is verified:

(i) if ,

(ii) if .

Once this property has been stated, it is possible to carry out the definition of a couple of Petri nets and a set of alternative Petri nets, as it is stated below.

*Definition 3 (pair of alternative Petri nets). *Given two Petri nets and , they are said to be alternative Petri nets if it is verified that

(i)* R* and have mutually exclusive evolution;

(ii) , where are the incidence matrices of and , respectively.

*Definition 4 (set of alternative Petri nets). *Given a set of Petri nets , is said to be a set of alternative Petri nets if it verifies that

(i) ;

(ii) , such that and , ; then and are a pair of alternative Petri nets.

is called the th alternative Petri net of .

The second formalism, belonging to the paradigm of the Petri nets, which will be considered in this research document, is the compound Petri nets. It is a particular case of parametric Petri net, containing parameters in any of the two incidence matrices. It is associated with a set containing all the feasible combinations of values that can be assigned to these parameters.

*Definition 5 (parameter of a Petri net). *Any variable in a Petri net model, associated with a set of feasible values, its cardinality is greater than 1. A value can be assigned to this variable as a consequence of a decision. The outcome of this decision is a choice from a set of feasible values. Once a decision has been made, the value assigned to the parameter is unique.

*Definition 6 (structural parameter of a Petri net). *Any parameter of an incidence matrix of a Petri net.

*Definition 7 (compound Petri net). *A compound Petri net is a 7-tuple , where

(i) is the set of parameters of ;

(ii) is the feasible combination of values for the parameters, meaning that not all the combinations of values for the parameters of the Petri net lead to a valid structural configuration;

(iii) additionally, , set of structural parameters of , such that , meaning that a compound Petri net should contain at least one structural parameter among all its parameters.

In the previous definitions, two different Petri-net-based formalisms able to represent a discrete event system with alternative structural configurations have been formally presented. Two numerical examples of these two formalisms can be found in Figures 1 and 2. In the following section, an algorithm will be developed to transform a compound Petri net into a set of alternative Petri nets.

#### 3. Partitions

In this section, it is proven that any partition of the set of feasible combinations of values for the structural parameters of a compound Petri net leads to a set of alternative Petri nets. A numerical example of the definition and results presented in this section can be found in Stage 1 of Section 7.

*Definition 8 (partition of the set of feasible combination of values for the set of structural parameters of a compound Petri net). *Given a compound Petri net and a set (), containing the feasible combinations of values for the structural parameters of , a partition of (), denoted by , can be defined as the collection of subsets such that

(i) ;

(ii) , ;

(iii) , , such that .

The next Algorithm 9 describes a procedure to obtain a set of Petri nets from the following elements:

(a) a compound Petri net, ;

(b) a partition of the set of feasible combinations of values for their structural parameters, .

Some properties of the resulting set of Petri nets are proven in Proposition 10.

*Algorithm 9 (construction of a set of Petri nets from a pair (, ). * **Inputs:** , , which are, respectively, a compound Petri net and a partition of the set of feasible values for the structural parameters of the compound Petri net.

**Start**

Repeat Steps 1 and 2 , such that , where .

*Step 1* (construction of ()) () = . Repeat , such that , where Let us consider , where are feasible values for the structural parameters respectively. Notice that stands for “combination of values for the structural parameters.” Repeat , such that , where Let us consider , where are feasible values for the parameters of , respectively, and parameters are structural parameters of . If it is verified that , , then , that is, assign to ().

*Step 2* (construction of () and update of ()) . Repeat , such that , where Let , where , such that ; it can be expressed . If , then and , which is not a parameter anymore. , such that , remove from , and update . .

**End**

**Output:** A set of Petri nets , where , such that .

Proposition 10 (properties of the Petri nets obtained from the application of Algorithm 9). *Let us consider a compound Petri net ,**Let be the set of feasible combinations of values for the structural parameters of , .**Let be a partition of , which verifies**(i) ;**(ii) .**A set of Petri nets can be constructed by the application of Algorithm 9 such that the following properties are verified:*

*(i) , such that ; it is possible to build up a Petri net , such that .*

*(ii)*

*∃*bijection , where .*(iii) .*

*(iv) (every subset of the partition has been assigned to one of the Petri nets as the set of feasible combinations of values for the parameters in it).*

*Proof. *(i) It is evident by the method of construction, since is a prerequisite for the application of this proposition and is one of the elements of .

(ii) Due to the fact that , it is possible to define a bijection between the sets and .

(iii) By definition , since the structural parameters are a particular type of parameters. Moreover, by construction, since the first step in the construction of consists of making and the subsequent feasible operations for the construction of may lead to the removal of elements of .

(iv) By definition , since . On the other hand, by construction, , since the values of the first set are taken from the second. Finally, () ≠ (), because, according to the statement of Proposition 10, and, according to the definition of partition, , , where and , ; hence and and, by the construction Algorithm 9, and .

Theorem 11 proves that the set of Petri nets built up according to Algorithm 9 is a set of alternative Petri nets. In other words, it is a model suitable for describing a discrete event system with freedom degrees in its structure.

Theorem 11. *Let us consider a compound Petri net , where is the set of feasible combinations of values for the structural parameters of .*

Given a partition of , , where .

Let be a set of Petri net, built up according to Algorithm 9; then is a set of alternative Petri nets.

*Proof. *, such that , the following are verified:

(i) ; that is to say, they present different incidence matrices.

(ii) The choice of is the result of a decision if , then such that ; it is verified that if , then as , the evolutions of , such that , are mutually exclusive.

(ii) Let us make a decision to solve the structural degrees of freedom of the original compound Petri net, : let us choose , such that . Additionally, and , since the incidence matrices of are not univocally defined and the dynamic of the Petri net is not defined either. On the contrary, defines univocally the incidence matrices of and the evolution rules of the Petri net; the so-called “token game” can be applied; hence it may be possible for the marking of to verify the evolutions of , , , such that , are mutually exclusive.

, and are a pair of alternative Petri nets, by Definition 3, and by Definition 4, is a set of alternative Petri nets.

As it has been seen in Theorem 11, every partition of the set of feasible values for the structural parameters of a compound Petri net leads to a set of alternative Petri nets. This set constitutes a collection of models, which are pairwise exclusive. This exclusion is a consequence of the fact that every feasible combination of values for the parameters of the compound Petri net can be chosen as a result of a decision. When one of these combinations of values is chosen, the other ones are rejected; hence, the alternative Petri nets related to them are also rejected.

#### 4. Markings and Graphs of Reachable Markings

In the previous sections, both formalisms, the set of alternative Petri nets and the compound Petri net, have been defined. It has also been proven that it is possible to obtain a set of alternative Petri nets from a compound Petri net. In this section some definitions and results on the reachability graph of both formalisms are discussed for preparing the equivalence proof between compound Petri nets and a set of alternative Petri nets obtained from the application of Algorithm 9.

The first definition is devoted to characterize an isomorphous graph of reachable markings, which will be used to prove the equivalence between Petri net models. The following definition, in fact, could be stated and applied for generic graphs.

*Definition 12 (isomorphous graph of reachable markings). *Let us consider two graphs of reachable markings rg_{1} and rg_{2}.

Let us call and the set of vertices in rg_{1} and rg_{2}, respectively.

Let us call and the set of directed edges in rg_{1} and rg_{2}, respectively.

is a set of ordered pairs such that and there exists a directed arc which starts in and ends in .

is a set of ordered pairs such that and there exists a directed arc which starts in and ends in .

rg_{1} and rg_{2} are said to be isomorphous or isomorphic graphs, denoted by , if it is possible to define the following bijection:such that , it is verified that .

This bijection is called labeled directed graph isomorphism. Two graphs of reachable markings are isomorphous if they have the same structure of nodes and directed arcs. This property plays a vital role in the proof of equivalence between a compound Petri net and a set of alternative Petri nets obtained from the application of Algorithm 9 to the former. It is considered in this paper that the equivalence between Petri nets do not imply the same marking in all the states, because it is not taken into account the marking that remains constant along all the feasible evolutions of the Petri net.

*Definition 13 (significant marking [20]). *The significant marking is the marking restricted to the places which do not have the same marking in all the stable states.

More information on this previous definition can be found in [20].

*Definition 14 (graph of reachable markings of a set of alternative Petri nets). *Let be a set of alternative Petri nets, whereThe graph of reachable markings of , called , verifies the following three properties:

(i) is made up of vertices which correspond to reachable markings and arcs corresponding to firing of transitions resulting in passing from one marking to another one.

(ii) Considering the set of alternative Petri nets as a single model of a DES, a marking of this set contains the tokens of every alternative Petri net. Moreover, the set of places of the set of alternative Petri nets is (iii) The construction of this graph of reachable markings is performed by the exploration of the subgraphs corresponding to the different alternative Petri nets. This choice means that the places of the rest of alternative Petri nets will remain in their initial marking. In other words, the places of the nonchosen Petri nets will not contribute to the significant marking of .

A numerical example of Definition 14 is given in Stage 2 of Section 7, while in Stage 3 of the same section a numerical application of Definition 15 is provided.

*Definition 15 (choice subgraph of the reachability graph of a set of alternative Petri nets). *Let be a set of alternative Petri nets, where .

Let be a set of natural numbers. Due to the fact that it is possible to create a bijection .

Let be the result of a choice of one of the alternative Petri nets in the solution process of a decision problem.

The th choice subgraph of the reachability graph of is the reachability graph obtained for when the* c*th alternative Petri net is chosen as solution of a decision problem.

It is called .

In fact, a choice subgraph is the subset of a reachability graph composed by all the nodes corresponding to all the feasible evolutions of a single alternative Petri net.

*Remark 16. *It can be easily deduced that the choice subgraph of an alternative Petri net belonging to a certain set can be transformed into the reachability graph of by the removal of the marking of the places that do not belong to but to another alternative Petri net. This removed marking does not vary in the evolution of and, hence, does not contribute to the significant marking and does not modify the structure of the graph of reachable markings.

On the other hand, the transformation of the reachability graph of a certain alternative Petri net into a choice subgraph associated with a certain set , where , can be done by the addition of a constant marking to every state. The marking to be added is the initial marking of the places that do not belong to this alternative Petri net but to the rest of the Petri nets of .

#### 5. Construction of the Reachability Graph of a Set of Alternative Petri Nets and a Compound Petri Net

In the previous paragraphs the concept of choice subgraph has been introduced. It can be seen as the reachability graph of a set of alternative Petri nets when one of them is chosen as solution of a decision problem. Once this choice is made, the rest of the alternative Petri nets remain in their initial markings by definition.

However, in some situations the comparison of the reachability graphs of the different alternative Petri nets may be of interest. This comparison may lead to interesting conclusions on the behavior of the different alternative Petri nets and, hence, it can be a valuable tool to make the appropriate choice of a certain structural configuration for the modeled DES.

Definition 17 describes the process of assembling the choice subgraphs of the different components of a set of alternative Petri nets. The reachability graph of the set of alternative Petri nets is generated from this assembling process, which eases the comparison mentioned in the previous paragraph.

*Definition 17 (union of choice subgraphs). *Given a set of alternative Petri nets , let us consider a subset .

Let be a set of natural numbers. Due to the fact that , it is possible to create a bijection . Let be the result of a choice of one of the alternative Petri nets in the solution process of a decision problem.

The union of the choice subgraphs of the set , represented by , is defined as a graph where

(i) the initial marking in is ;

(ii) , is added to by means of the following modifications of :(ii.a) the arcs starting from the initial marking of are labeled “choice of ,”(ii.b) the initial marking of is substituted by the initial marking of .

The next proposition provides a methodology to build up the reachability graph of a set of alternative Petri nets by the assembly of all the choice subgraphs associated with the different alternative Petri nets of the set.

In Stage 5 of Section 7, a numerical example illustrates both Definition 17 and Proposition 18.

Proposition 18. *Let be a set of alternative Petri nets:where is the graph of reachable markings of the th alternative Petri net and is the graph of reachable markings of a set of alternative Petri nets.*

*Proof. *The graph of reachable markings of the set of alternative Petri nets, according to Definition 14, complies with three properties, numbered (i), (ii), and (iii). Let us prove that , the union of the choice subgraphs of every alternative Petri net, complies with the same statements; hence, both constructions are the same.

(i) By Definition 17 the initial marking of both constructions is . From this initial marking in both cases, there are a set of arcs that represent the possible evolutions of the set of Petri nets by taking a certain decision that chooses an alternative Petri net and keeps the others in their initial marking. From now on, the different nodes of both graphs represent the reachable markings of certain alternative Petri nets in addition to the constant marking of the places that do not belong to this alternative Petri net but to the others in the set .

(ii) This condition is complied, since every node of includes the marking of every place of all the alternative Petri nets in .

(iii) This last condition is verified by , since its construction is based on linking the independent evolution of every alternative Petri net to the initial marking. This resulting graph includes the constant marking of other places not belonging to the chosen alternative Petri net but taking part in the other Petri nets of . Moreover, the choice subgraphs of all the alternative Petri nets of are present in the ; hence all the feasible evolutions of the alternative Petri nets can be found in the union of subgraphs, the same as in .

The conclusion of the verification of all the statements of Definition 14 in the union of choice subgraphs is that Proposition 18 is true.

The union of choice subgraphs verifies all the statements of Definition 14. As a consequence, Proposition 18 is true.

The following definition will describe how to construct the reachability graph of a compound Petri net. The aim of this definition is to state Theorem 20, which will relate the graph of a compound Petri net with the reachability graph of an equivalent set of alternative Petri nets. Definition 19 is applied to a numerical example presented in Stage 6 of Section 7.

*Definition 19 (reachability graph of a compound Petri net). *Let us consider a compound Petri net and a set composed of the feasible combinations of values for the structural parameters of .

Let us define a partition with the maximal cardinality , denoted by , as the collection of subsets such that it is verified that .

The reachability graph of will be constructed according to the following algorithm.*Step 1*. The first node is .*Step 2*. From the first node, an arc starts for every feasible evolution of , labeled with the subset (), chosen as a result of a decision. Every arc reaches a node displaying the new marking.*Step 3*. From any node, other than the initial one, the reachability graph may continue. This continuation corresponds to the Petri net that results from the application of the choice of () to the compound Petri net .

#### 6. Equivalence of a Compound Petri Net and a Set of Alternative Petri Nets

The next theorem leads to a significant result. Given a compound Petri net, it is possible to obtain a set of alternative Petri nets by means of a partition of the set of feasible combinations of values for its structural parameters. This process is explained in Algorithm 9, Proposition 10, and Theorem 11. Additionally, Theorem 20 proves that the graphs of reachable markings of both the compound Petri net and the associated set of alternative Petri nets are isomorphous. Moreover, they are the same for the significant marking. As a consequence, the compound Petri net and the set of alternative Petri nets are said to be equivalent. Theorem 20 is illustrated in a numerical example described in Stage 6 of Section 7.

Theorem 20. *Let us consider a compound Petri net , where is the set of feasible combinations of values for the structural parameters of .**Given a partition of (), , such that **By Algorithm 9 and Proposition 10, it is possible to obtain a set of Petri nets , which according to Theorem 11 is a set of alternative Petri nets.*

*In addition, it is possible to state that*(i)

*is isomorphous to ;*(ii)

*for the significant marking.*

*Proof. *This proof will be carried out by the principle of induction.

(a) The first step, also called beginning step, consists of describing the relation between the first node and the first set of arcs of the reachability graphs for both and .

The initial marking of is .

In a general case, the marking of every place of might be a (marking) parameter; hence it is possible to write .

Moreover, . For this reason, every place of is replicated times, one for every alternative Petri net. Furthermore, the initial marking of isGiven a place , the different values for , , such that , can be obtained from by the application of to . In other words, the initial markings of the places of every alternative Petri net derived from are obtained by the assignment of the values of the marking parameters that correspond to the feasible combination of values associated with the alternative Petri nets by the partition of ().

As a consequence, two possibilities may arise for :

(i) ; hence, this marking presents a unique value; then it is not a parameter of .

(ii) , where ; hence, this marking is a parameter of .

It is clear that any information present in is also present in and vice versa. This information is classified by means of choices of a subset in for or choices of an alternative Petri net in . For this reason, both initial markings are equivalent.

From these initial markings, depart a series of arcs, representing the evolution conditions of and , respectively.

The arcs starting in are as follows:

(i) one arc for each choice of a subset in , in case that by means of this choice the initial marking does not contain any parameter;

(ii) one arc for each choice of a subset in and for feasible value for the remaining marking parameters in , called , in case that by means of this choice the initial marking contains at least one parameter.

On the other hand, the arcs starting in will be as follows:

(i) one arc for each choice of an alternative Petri net in , in case that by means of this choice the initial marking does not contain any parameter;

(ii) one arc for each choice of an alternative Petri net in and for feasible value for the remaining marking parameters in , called , in case that by means of this choice the initial marking contains at least one parameter.

The choice made in leads to the same Petri net as the choice made in ; for this reason the arcs starting in of both cases ( and ) are the same and are labeled with the same information: choice, fired transition, and value selected for the remaining marking parameters.

As a consequence, the markings reached, while evolves, are the same as the markings corresponding to equivalent evolutions of the alternative Petri net . As it has already been mentioned, corresponds to a certain choice made in . It is clear then that the structure of both reachability graphs will be the same so far (they are isomorphous) and that the markings of will be included in the markings of (because the former are the same as the markings of the chosen alternative Petri net). Nevertheless, the markings of are not included in the markings of since the markings of contain the initial marking of every nonchosen alternative Petri net. However, this difference in the marking of the states of and is based on values that remain constant for any evolution of the resulting Petri net after the choice made on or . This fact means that the markings are the same for the significant marking in every subgraph of the reachability tree that starts in the initial marking.

(b) Assumption step: let us consider that, given two equivalent paths in and , these paths are described by means of the following information:

choice, assignment of values for the remaining marking parameters, sequence of transition .

Being equivalent paths, the information that describes them should be the same.

The paths lead to the following nodes , which are assumed to be equivalent:

(i) For it is obtained that, in , the values selected for the remaining marking parameters must be added:(ii) For the following marking is reached:where every row corresponds to a certain choice; hence, it is possible to relate the marking of the chosen alternative Petri net to the marking of the compound Petri net and the marking of the nonchosen alternative Petri nets with their initial marking:Hence, because the paths are the same for both and , the reachability graphs are isomorphous, and because the significant markings are the same, both nodes are equivalent.

(c) Induction step: let us now analyze a descendant node to the previous one.

First of all, it has to be considered that the set of enabled transitions in and are the same (the transitions in derive from the transitions in and they might even have the same name), since, by the assumption step, the marking of is the same as the marking of the alternative Petri net and the incidence matrices of and are the same after an equivalent choice made from the initial marking.

After the previous considerations, it can be written thatOn the other hand, the marking of the th alternative Petri net is the th row of the marking of the set of alternative Petri nets , where the other rows have constant values that correspond to the initial markings of the rest of the alternative Petri nets:It is clear that ; hence it is possible to state thatHence, it is possible to conclude that

(i) is isomorphous to ;

(ii) for the significant marking.

#### 7. Example of Application

In this section, an example is presented with the purpose of illustrating the concepts and processes described in this research paper. It is divided into a sequence of stages labeled with descriptive titles for better understanding.

*Stage 1 (transformation of a compound Petri net in a set of alternative Petri nets). *Let us consider the compound Petri net represented in Figure 1, , which verifies Definition 7. As it can be seen in Figure 1, presents five parameters, , and the first four of them are structural parameters, , which belong to the incidence matrix. In Figure 1, the set of feasible values for the parameters, , has also been represented, as well as the set of feasible values for each structural parameter, , where .

According to Algorithm 9, it is possible to obtain a set of Petri nets from this compound Petri net.

The first step in the transformation of the compound Petri net is the choice of a partition of the set of feasible combination of values for the structural parameters of the compound Petri net .

As it can be seen ; hence, only two possibilities arise to decompose this set.

The first option consists of making a single set from the partition. As a result, the same compound Petri net, rather than the original one, will be obtained. However, this solution is discarded because it does not meet the prerequisite of Proposition 10, .

The case to be analyzed is the decomposition of into two subsets:

, where and

This partition verifies Definition 8, since

(i) ;

(ii) () ≠ , ;

(iii) .

On the other hand, every resulting Petri net can be obtained, according to Algorithm 9 and Proposition 10, by means of , where .

In other words, will be obtained by , which once substituted in the incidence matrix of will lead to the Petri net, whose incidence matrix is shown as follows:As it can be seen, contains a row of zeros, which corresponds to an isolated place. That is to say, there is a place in whose input and output arcs have weight zero. The marking of place can neither change nor modify the marking of other places after firing of any of the transitions of the Petri net. As a consequence, it is possible to remove this isolated place obtaining a Petri net with a graph of reachable markings which is the same as the graph of , when only the marking of the connected places is considered (significant marking of ).

Furthermore, and . In other words, in the compound Petri net the initial marking of is a parameter, , since it can take two different values: . Nevertheless, when place of is considered, its initial marking can take a single value and, hence, it is not a parameter anymore.

Additionally, is obtained by the assignment . These values can be substituted in the incidence matrix of , hence, leading to the Petri net, whose incidence matrix is given as follows:As it can be seen, does not contain any isolated node. Moreover, and .

Figure 2 shows and , which, according to Theorem 11, constitute a set of alternative Petri nets, .

*Stage 2 (graph of reachable markings of a set of alternative Petri nets). *The graph of reachable markings of , as presented in Definition 14, is given by the application of every feasible sequence of transition firing to the initial marking of for every feasible choice of the alternative Petri nets.

Figure 3 depicts the reachability graph of the set of alternative Petri nets , also called graph of reachable markings. Every reachable marking is represented by a box containing the marking of the places of , which are the places of . Notice that is the set of places of the alternative Petri net , while is the set of places of .

The arrangement of the markings in any of the boxes (vertices) of the reachability graph of , depicted in Figure 3, corresponds to The different markings or states are linked by means of arrows (directed arcs), which represent the evolution of the Petri net system from one state to another one after the firing of the transitions written next to the arrow. These transitions that label the arrows are associated with the alternative Petri net to which they belong.

The initial marking can lead to different subgraphs according to the choice of one or another alternative Petri net as solution of a decision problem. For this reason, every arc starting in the initial marking is also labeled with the corresponding decision.

Once a decision to choose an alternative Petri net is made, the marking that does not vary in any state of the reachability graph is written between round brackets in the boxes (vertices) of the graph. This absence of variation in the marking of certain places can be due to the fact that a set of places belong to nonchosen alternative Petri nets in a subgraph or because it corresponds to an isolated place. Both situations appear in and, therefore, they have been represented in different brackets.

*Stage 3 (choice subgraphs of the set of alternative Petri nets). *The different choice subgraphs of the reachability graph of a set of alternative Petri nets, , are shown in this Stage 3.

Let be a set of natural numbers, such that . It is possible to create a bijection : , where and .

Following Definition 15, two choice subgraphs can be considered, as it can be seen in Figure 4.

The 1st choice subgraph is obtained from the selection of as solution of a decision problem associated with , while the 2nd choice subgraph is related to .

*Stage 4 (reachability graph of the Petri nets belonging to a set of alternative Petri nets). *Once the choice subgraphs of all the Petri nets belonging to , set of alternative Petri nets, have been represented, this stage deals with the graphs of reachable markings of these same alternative Petri nets. This last representation is independent of the fact that they belong to a set of alternative Petri nets. The only difference between both representations (Figures 4 and 5) is the removal, in the latter, of the marking of the places that do not belong to the Petri net but belong to the other Petri net (Petri nets in a more general case) of .

Figure 5 shows the reachability graphs of and . It is interesting to compare them with the choice subgraphs presented in Figure 4.

*Stage 5 (union of choice subgraphs of a set of alternative Petri nets). *In this stage, the union of the choice subgraphs of the alternative Petri nets of , developed in Stage 3, is performed. Definition 17 describes formally this union.

The first step consists of labeling the arcs that start in the initial marking of the subgraphs with “choice of .” In the labels, is the ordinal associated with the alternative Petri net whose subgraph is being developed. The result of this step can be seen in Figure 6.

The second step is to define the initial marking of , which is ^{T}, and to substitute the first marking of every choice subgraph by . The result of this process is shown in Figure 7.

As a result of this union, it is possible to verify as stated in Proposition 18. Notice that the left side of the previous equation refers to the graph of reachable markings of a set of alternative Petri net, (Figure 3), while the right side refers to the union of choice subgraphs of reachable markings of the individual alternative Petri nets belonging to ; that is, (Figure 7). Comparing Figure 3 with Figure 7, it is possible to see that both reachability graphs are the same. This result is proven in Proposition 18.

*Stage 6 (construction of the reachability graph of a compound Petri net). *Let be the compound Petri net described in Stage 1 of this section and depicted in Figure 1.

In order to build up the graph of reachable markings of this compound Petri net, called , the three steps described in Definition 19 are developed.*Step 1*. The first node of the reachability graph is .*Step 2*. From this initial marking, there are two possible choices to be made, regarding the set of feasible combination of values for the structural parameters.*Step 2.1* (choice 1: ). With this choice ; hence, only is enabled to fire, allowing the Petri net to evolve to a new state. As a consequence, there will be an arc starting in with the labels “choice 1,” “,” and “.”*Step 2.2* (choice 2: ). With this choice ; hence, only is enabled to fire, allowing the Petri net to evolve to a new state. As a consequence there will be an arc starting in with the labels “choice 2,” “,” and “.”

The new states reached from the initial one are named as , where is an ordinal number corresponding to the sequence of different markings reached under a particular combination of values for the parameters of . On the other hand,* choice* is a natural number associated with the choice performed for the combination of values for the structural parameters. Finally, is the specific value of the marking parameter associated with this evolution of the Petri net.

The result of Step 2 can be seen in Figure 8.*Step 3*. From the markings labeled “” and “” it is possible to explore the feasible evolutions of the Petri net , where every node inherits the choice and value of of the first arc from which it has evolved.

In Figure 9 it is possible to find the result of Step 3 in the construction of the reachability graph of the compound Petri net .

At this point of the example, it is possible to compare the reachability graph of the compound Petri net, (Figure 9), and the reachability graph of the set of alternative Petri nets, (Figure 3), obtained from in Stage 1.

It can be seen that both graphs are isomorphous, according to Definition 12. On the other hand, the marking of every pair of nodes in both graphs, located in the same position, bears the same information concerning the significant marking. The conclusions of this comparison verify Theorem 20.

#### 8. Conclusions

The present paper has focused on two formalisms, based on the Petri net paradigm, commonly used for describing discrete event systems with alternative structural configurations. This is an issue which has an immediate application in the design of discrete event systems. The mentioned formalisms are the parametric Petri nets and a set of alternative Petri nets. In order to specify the particular case of parametric Petri nets that contain parameters in their structure, that is, incidence matrices, this formalism has been defined as compound Petri nets. Formal definitions and analysis of the transformation of a compound Petri net into an equivalent set of alternative Petri nets are provided, with the purpose of profiting from the advantages of both formalisms at different stages of their application to the design of a discrete event system: modeling, structural analysis, performance evaluation, simulation, optimization, or decision making. This analysis has been based on the study of the graph or reachable markings. For example, the analysis of the graph of reachable markings is the methodology used to prove the equivalence between a compound Petri net and a set of alternative Petri nets obtained from the former by the application of an algorithm, also described in the paper.

An interesting advantage of the proposed methodology consists in the possibility of automating some stages of the design process of a discrete event system, for example,(a)the modeling of alternative structural configurations with common features, which might be carried out easily with one of both formalisms;(b)the selection of one of the alternative structural configurations by means of a decision-making methodology, such as a metaheuristic-guided search in the pool of alternative configurations; this operation can be applied to optimize an objective function that quantifies the objectives of the design process.

The main drawbacks or challenges of the proposed methodology are as follows:(a)knowing in advance which one of the formalisms is best fitted for every stage of the decision process;(b)knowing in advance which decisions to make in the transformation process, such as which partition of the set of feasible combination of values for the structural parameters of the original compound Petri net is the best to obtain an efficient set of alternative Petri nets for a certain stage of the design process.

Two of the main future research lines are the application of the results presented in this paper to a wide range of application cases, as well as mitigating the effects of the mentioned drawbacks of this approach.

Additionally, the authors of the present work expect that this research will help in consolidating the feasibility and applicability of model transformation for representing DES with alternative structural configurations. As mentioned before, these transformations may allow profiting from the advantages of different formalisms to be applied in optimization processes based on simulation. In particular, the equivalence between compound Petri nets and a set of alternative Petri nets might contribute to the applicability of the search of efficient and compact models for reducing the computational requirements of simulation of DES. Fast simulation is a key factor in the development of efficient decision support systems for industrial and logistic systems.

#### Conflicts of Interest

The authors declare that they have no conflicts of interest.