Equivalent and Efficient Optimization Models for an Industrial Discrete Event System with Alternative Structural Configurations

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.


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][6][7][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.

Complexity
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.

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 fivetuple: 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.m 0 is a marking of the set of places , where 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 W − and W + .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 W = W + − W − .
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: 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.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   = ⟨, , pre, post, m 0 ,   ,  val ⟩, where (i)   is the set of parameters of   ; (ii)  val 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, ∃  str ⊆   , set of structural parameters of   , such that  str ̸ = ⌀, 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.

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 Proposition 10 (properties of the Petri nets obtained from the application of Algorithm 9).Let us consider a compound Petri net   = ⟨, , , , m 0 ,   ,  V ⟩, Let  V (  ) be the set of feasible combinations of values for the structural parameters of   ,   (  ) ⊆   . Let A set of Petri nets   = { 1 , . . .,   } can be constructed by the application of Algorithm 9 such that the following properties are verified:

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 ∏  ( valstr (  )) is a prerequisite for the application of this proposition and  valstr (  ) is one of the elements of ∏  ( valstr (  )).
(iii) By definition  str (  ) ⊆   (  ), 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 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
Let   = { 1 , . . .,   } 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: since the incidence matrices of   are not univocally defined and the dynamic of the Petri net is not defined either.On the contrary, V  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 m(  ) ̸ = m 0 (  ) ⇒ the evolutions of   ,   , ∀,  ∈ {1, . . ., }, such that  ̸ = , are mutually exclusive.
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.

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  1 and  2 the set of vertices in rg 1 and rg 2 , respectively.
Let us call  1 and  2 the set of directed edges in rg 1 and rg 2 , respectively. 1 is a set of ordered pairs (V  , V  ) such that V  , V  ∈  1 and there exists a directed arc which starts in V  and ends in V  . 2 is a set of ordered pairs (V  , V  ) such that V  , V  ∈  2 and there exists a directed arc which starts in V  and ends in V  .rg 1 and rg 2 are said to be isomorphous or isomorphic graphs, denoted by rg 1 ≅ rg 2 , if it is possible to define the following bijection: 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   = { 1 , . . .,   } be a set of alternative Petri nets, where The graph of reachable markings of   , called rg(  ), verifies the following three properties: (i) rg(  ) 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.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 cth alternative Petri net is chosen as solution of a decision problem.
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   .

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.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   = { 1 ,  2 , . . .,   } 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 ⋃   =1 rg(  , ), 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 m 0 (  ).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 ⋃   =1 rg(  , ) includes the marking of every place of all the alternative Petri nets in   .
(iii) This last condition is verified by ⋃   =1 rg(  , ), 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 ⋃   =1 rg(  , ); hence all the feasible evolutions of the alternative Petri nets can be found in the union of subgraphs, the same as in rg(  ).
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 The reachability graph of   will be constructed according to the following algorithm.
Step 1.The first node is m 0 (  ).
Step 2. From the first node, an arc starts for every feasible evolution of   , labeled with the subset  valstr (  ), 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  valstr (  ) to the compound Petri net   .

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 (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   .
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   is Given a place   ∈ (  ), the different values for m 0 (  ,   ), ∀ ∈ N, such that 1 ≤  ≤   , can be obtained from  val + = {V 1 ( + ), V 2 ( + ), . . ., V  + ( + )} by the application of |∏  ( valstr (  ))| to  val (  ).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  valstr (  ).
As a consequence, two possibilities may arise for m 0 (  ,   ): (i) m 0 (  ,   ) = V  ( + ); hence, this marking presents a unique value; then it is not a parameter of   .It is clear that any information present in m 0 (  ) is also present in m 0 (  ) and vice versa.This information is classified by means of choices of a subset in ∏  ( valstr (  )) 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.
(1) The arcs starting in m 0 (  ) are as follows: (i) one arc for each choice of a subset in ∏  ( valstr (  )), 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 ∏  ( valstr (  )) and for feasible value for the remaining marking parameters in m 0 (  ), called   + , in case that by means of this choice the initial marking contains at least one parameter.
(2) On the other hand, the arcs starting in m 0 (  ) 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 m 0 (  ), called   + , in case that by means of this choice the initial marking contains at least one parameter.
The choice made in ∏  ( valstr (  )) leads to the same Petri net as the choice made in   ; for this reason the arcs starting in m 0 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 ∏  ( valstr (  )).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 ∏  ( valstr (  )) 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 rg(  ) and rg(  ), these paths are described by means of the following information: {th choice, assignment of values for the remaining marking parameters, sequence of transition firings}.
Being equivalent paths, the information that describes them should be the same.
The paths lead to the following nodes m  , which are assumed to be equivalent: (i) For   it is obtained that, in m  (  , choice ), 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 rg(  ) and rg(  ), 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 that On 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 m +1 (  , choice ) = m +1 (  ); hence it is possible to state that Hence, it is possible to conclude that (i) rg(  ) is isomorphous to rg(  ); (ii) rg(  ) = rg(  ) for the significant marking.

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,   = { 1 ,  2 ,  3 ,  4 ,  5 }, and the first four of them are structural parameters,  str = { 1 ,  2 ,  3 ,  4 }, which belong to the incidence matrix.In Figure 1, the set of feasible values for the parameters,  val , has also been represented, as well as the set of feasible values for each structural parameter,  val , where  ∈ {1, 2, 3, 4}.
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  valstr = {(2, 2, 0, 0), (1, 1, 1, 1)}.
As it can be seen | valstr | = 2; 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 Complexity is discarded because it does not meet the prerequisite of Proposition 10,   > 1.
In other words,  1 will be obtained by ( 1 ,  2 ,  3 ,  4 ) = (2, 2, 0, 0), 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,  1 contains a row of zeros, which corresponds to an isolated place.That is to say, there is a place in  1 whose input and output arcs have weight zero.The marking of place  3 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   1 with a graph of reachable markings which is the same as the graph of  1 , when only the marking of the connected places is considered (significant marking of  1 ).
Furthermore, m 0 [ 1 ] = 1 and   ( 1 ) = ⌀.In other words, in the compound Petri net the initial marking of  1 is a parameter,  5 , since it can take two different values:  val5 = {1, 2}.Nevertheless, when place  1 of  1 is considered, its initial marking can take a single value and, hence, it is not a parameter anymore.
Figure 2 shows  1 and  2 , 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   = { 1 ,  2 }, 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  =  1 ∪  2 .Notice that  1 is the set of places of the alternative Petri net  1 , while  2 is the set of places of  2 .
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 m 1 ( 1 ) and, therefore, they have been represented in different brackets.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  1 as solution of a decision problem associated with   , while the 2nd choice subgraph is related to  2 .
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  1 and  2 .It is interesting to compare them with the choice subgraphs presented in Figure 4.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 m 0 (  ) = [1 0 0 2 0 0]  , and to substitute the first marking of every choice subgraph by m 0 (  ).The result of this process is shown in Figure 7.
As a result of this union, it is possible to verify rg(  ) = ⋃ 2 =1 rg(  , ) 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, ⋃ 2 =1 rg(  , ) = rg(  , 1) ∪ rg(  , 1) (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 rg(  ), the three steps described in Definition 19 are developed.
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: ( 1 ,  2 ,  3 ,  4 ,  5 ) = (2, 2, 0, 0, 1)).With this choice  5 = 1; hence, only  1 is enabled to fire, allowing the Petri net to evolve to a new state.As a consequence, there will be an arc starting in m 0 (  ) with the labels "choice 1," " 5 = 1," and " 1 ." Step 2.2 (choice 2: ( 1 ,  2 ,  3 ,  4 ,  5 ) = (1, 1, 1, 1, 2)).With this choice  5 = 2; hence, only  1 is enabled to fire, allowing the Petri net to evolve to a new state.As a consequence there will be an arc starting in m 0 (  ) with the labels "choice 2," " 5 = 2," and " 1 ." The new states reached from the initial one are named as m  (choice,  5 ), 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,  5 is the specific value of the marking parameter  5 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 "m 1 (1, 1)" and "m 1 (2, 2)" it is possible to explore the feasible evolutions of the Petri net   , where every node inherits the choice and value of  5 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

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: Complexity 13 (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.

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  = {1, . . .,   } be a set of natural numbers.Due to the fact that || = |  | it is possible to create a bijection  :   ↔ .

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,   = { 1 ,  2 }, are shown in this Stage 3. Let  = {1, 2} be a set of natural numbers, such that || = |  |.It is possible to create a bijection :   ↔ , where ( 1 ) = 1 and ( 2 ) = 2.

Figure 3 :
Figure 3: Graph of reachable markings of a set of alternative Petri nets.

Figure 4 :
Figure 4: Choice subgraphs of the alternative Petri net  1 and  2 .

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   = { 1 ,  2 }, developed in Stage 3, is performed.Definition 17 describes formally this union.

Figure 6 :
Figure 6: First step in the union of the choice subgraphs of  1 and  2 , alternative Petri nets.

Figure 7 :
Figure 7: Union of the choice subgraphs of  1 and  2 .

Figure 8 :
Figure 8: Steps 1 and 2 in the construction of the reachability graph of   .

Figure 9 :
Figure 9: Reachability graph of the compound Petri net   .
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;   ) are the incidence matrices of  and   , respectively.Definition 4 (set of alternative Petri nets).Given a set of Petri nets   = { 1 , . . .,   },   is said to be a set of alternative Petri   is called the th alternative Petri net of   .