<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JSEA</journal-id><journal-title-group><journal-title>Journal of Software Engineering and Applications</journal-title></journal-title-group><issn pub-type="epub">1945-3116</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jsea.2023.169022</article-id><article-id pub-id-type="publisher-id">JSEA-127669</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject></subj-group></article-categories><title-group><article-title>
 
 
  FMS-Workflow Modeling Based on P-Timed Stochastic Petri Net
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Walid</surname><given-names>Ben Mesmia</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Kamel</surname><given-names>Barkaoui</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Mohamed</surname><given-names>Escheikh</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff2"><addr-line>CEDRIC-CNAM, Paris, France</addr-line></aff><aff id="aff1"><addr-line>Sys’Com-ENIT, Tunisia, ENIT, Le Belvédère, Tunis, Tunisia</addr-line></aff><pub-date pub-type="epub"><day>14</day><month>09</month><year>2023</year></pub-date><volume>16</volume><issue>09</issue><fpage>443</fpage><lpage>482</lpage><history><date date-type="received"><day>11,</day>	<month>July</month>	<year>2023</year></date><date date-type="rev-recd"><day>11,</day>	<month>September</month>	<year>2023</year>	</date><date date-type="accepted"><day>14,</day>	<month>September</month>	<year>2023</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  In this paper, we propose astochastic Petri net model P-timed Workflow (
  <em>WPTSPN</em>) to specify, verify, and analyze a business process (
  <em>BP</em>) of a Flexible Manufacturing System (
  <em>FMS</em>). After formalizing the semantics of our model, we illustrate how to verifysome of its properties (reachability, safety, boundedness, liveness, correctness, alive tokens, and security) in the P-Timed context. Next, we validate the relevance of the proposed model with
  <em> MATLAB</em> simulation through a specific 
  <em>FMS </em>case study. Finally, we use a generalized truncated density function to predict the duration of a token’s sojourn (residence) in a timed place with respect to the sequence states of the global 
  <em>FMS </em>workflow.
 
</p></abstract><kwd-group><kwd>WPTSPN</kwd><kwd> SPN</kwd><kwd> Workflow</kwd><kwd> FMS</kwd><kwd> P-Timed</kwd><kwd> Specification</kwd><kwd> Verification</kwd><kwd> Prediction</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>On the one hand, in thispaper, we suggest a Workflow P-Timed Stochastic Petri Net model (WPTSPN) for a Flexible Manufacturing System (FMS) management process to describe and decide how business activities are carried out. Next, we show the generic (P-timed) characteristicsrelating to reachability, safety, boredness, liveness, properness, and alive-tokens, followed by a description of our model semantics. On the other hand, we propose an extension of stochastic Petri nets (SPNs). Weverify the properties of this model using a new notation and expressiveness-specific features related to the randomresidences of tokens in timed places. This allows us to detectex ecution failures linked either to FMS steps or to interactions between resources used in the business process. First, to introduce the application field of this work, we present the complexities and complicated dynamism of resource allocation and execution in the industrial process. FMS [<xref ref-type="bibr" rid="scirp.127669-ref1">1</xref>] modeling has been introduced for the analysis, verification, and optimization of a manufacturing system [<xref ref-type="bibr" rid="scirp.127669-ref2">2</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref3">3</xref>] according to various criteria. The objective is to evaluate and compare the architectures of production systems to select the most suitable according to previously established decision criteria [<xref ref-type="bibr" rid="scirp.127669-ref2">2</xref>] . This process involves the use of formal models ensuring specification, analysis, evaluation, and verification [<xref ref-type="bibr" rid="scirp.127669-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref5">5</xref>] .</p><p>So, production companies must develop a strategy that ensures control over their operations if they are to profit from the business process paradigm [<xref ref-type="bibr" rid="scirp.127669-ref1">1</xref>] . To achieve this, they must tend to totally or partially automate their processes because this method is apt to show the efficiency and tendency towards this objective [<xref ref-type="bibr" rid="scirp.127669-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref5">5</xref>] . Several research works propose methodologies for modeling and automating business processes [<xref ref-type="bibr" rid="scirp.127669-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref6">6</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref8">8</xref>] .</p><p>Second, the need to model an FMS to achieve automation, control, analysis, and optimization of the elementary activities that make up its representative business process [<xref ref-type="bibr" rid="scirp.127669-ref2">2</xref>] . A variety of business process modeling methods [<xref ref-type="bibr" rid="scirp.127669-ref9">9</xref>] (specification and representation) are used to practically specify work procedures from a global perspective to describe their operational requirements. We can mention among these methods the activity diagram UML (Unified Modeling Language), Chain Event-Driven Process [<xref ref-type="bibr" rid="scirp.127669-ref10">10</xref>] (EPC) and Business Process Modeling and Scoring (BPMN) [<xref ref-type="bibr" rid="scirp.127669-ref11">11</xref>] . We consider BPMN [<xref ref-type="bibr" rid="scirp.127669-ref11">11</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref12">12</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref13">13</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref14">14</xref>] as a standard for process modeling. It provides a graphical notation-based representation for business process modeling [<xref ref-type="bibr" rid="scirp.127669-ref15">15</xref>] . To build a standard annotation and expressiveness to make a business process representation understandable and readable for the different users involved in procedures’ automation [<xref ref-type="bibr" rid="scirp.127669-ref16">16</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref17">17</xref>] .</p><p>Despite the reality that specification and verification methods are widely used, their application to the business domain remains difficult [<xref ref-type="bibr" rid="scirp.127669-ref8">8</xref>] . This is related to the reasons that business analysts strive to formalize simple approaches to modeling and simulating their processes over a long period of time [<xref ref-type="bibr" rid="scirp.127669-ref18">18</xref>] . These approaches’ disadvantage, according to [<xref ref-type="bibr" rid="scirp.127669-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref18">18</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref19">19</xref>] , comes down to the need for operational expertise (manipulation and simulation). Furthermore, the representative model may deviate from the actual simulated due to the significant increase in the number of tests (time and simulation cost ratio) [<xref ref-type="bibr" rid="scirp.127669-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref18">18</xref>] .</p><p>Third, the use of Petri Nets (PNs) to model an FMS management process [<xref ref-type="bibr" rid="scirp.127669-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref18">18</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref20">20</xref>] is justified as follows:</p><p>On one hand, industrial companies need a tool that simultaneously merges modeling and simulation processes. Also, this company’s type has a fundamental objective of economic competitiveness, which summarizes the satisfaction of customers’ tendencies with the changes in the environment [<xref ref-type="bibr" rid="scirp.127669-ref21">21</xref>] . Thus, this flexible and competitive aspect requires representation and control via the supply chain simulator and the use of modeling tools that guarantee an acceptable degree of comprehensibility and readability [<xref ref-type="bibr" rid="scirp.127669-ref21">21</xref>] . On second hand, it confirmed that (PNs) can represent a manufacturing system composed of simultaneous and synchronous activities set according to different levels of abstraction [<xref ref-type="bibr" rid="scirp.127669-ref22">22</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref23">23</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref24">24</xref>] . Any formalization based on the PNs [<xref ref-type="bibr" rid="scirp.127669-ref25">25</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref26">26</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref27">27</xref>] applied in the FMS, models the operational knowledge in the workshop, favoring a planning of the processes. So it provides a decision support tool [<xref ref-type="bibr" rid="scirp.127669-ref28">28</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref29">29</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref30">30</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref31">31</xref>] . Additionally, PNs [<xref ref-type="bibr" rid="scirp.127669-ref22">22</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref23">23</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref24">24</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref29">29</xref>] can model manufacturing systems at different levels of abstraction in a hierarchical manner identifying many strategic keys or control points [<xref ref-type="bibr" rid="scirp.127669-ref23">23</xref>] . Thus, PNs based models are used effectively to analyze control problems in real-time [<xref ref-type="bibr" rid="scirp.127669-ref23">23</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref24">24</xref>] . These analyses are useful for understanding the behavioral aspect of real-time operations in an FMS. They effectively ensure a performance and systematic analysis by varying the parameters of the system represented.</p><p>We can list the works related to modeling FMS (Flexible Manufacturing System) with PN (Petri Nets) as follows:</p><p>&#183; In [<xref ref-type="bibr" rid="scirp.127669-ref32">32</xref>] , the author uses the PNs in modeling and controlling the FMS. The control function is divided into two levels: their proposed model based on PN [<xref ref-type="bibr" rid="scirp.127669-ref32">32</xref>] represents the lower level of control for each device in a cell and the upper level which deals with a decision framework about priority sequencing to avoid collisions.</p><p>&#183; In [<xref ref-type="bibr" rid="scirp.127669-ref33">33</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref34">34</xref>] , the authors propose a model based on timed Petri nets (TPN) to model and analyze a production process. Also, they show an approach for translating TPN into linear algebraic equations. Evaluation and monitoring of production system performance can be done through the use of efficient algorithms to solve these last equations [<xref ref-type="bibr" rid="scirp.127669-ref33">33</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref34">34</xref>] .</p><p>&#183; In [<xref ref-type="bibr" rid="scirp.127669-ref35">35</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref36">36</xref>] , a software package called Generalized Stochastic Petri-Net Analysis (GSPNA), is used to study the complex and dynamic behavior of a system. So, GSPN can achieve a more accurate and refined representation of a FMS than classical techniques such as network-based queuing [<xref ref-type="bibr" rid="scirp.127669-ref24">24</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref35">35</xref>] - [<xref ref-type="bibr" rid="scirp.127669-ref39">39</xref>] .</p><p>On the other hand, the interest in orienting our proposed model towards the P-timed semantics of PNs [<xref ref-type="bibr" rid="scirp.127669-ref40">40</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref41">41</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref42">42</xref>] is summarized in the fact that they effectively ensure the analysis as well as the verification of the dynamic behaviors of the systems they model. The latter (P-timed PN) combines two different approaches to analyze the behavior and study the properties of a model: the time interval approach and the tokens-age approach. That is to say that the first allows a better study of the behavior while it is preferable to use the second for the analysis of the properties of the model. Moreover, our proposed extension of P-timed SPN orientation [<xref ref-type="bibr" rid="scirp.127669-ref43">43</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref44">44</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref45">45</xref>] is based on the assumption that all model transitions must be fired. Therefore, the arrival times of the tokens in the places that are synchronization transition entry places must be compatible. However, another advantage of this extension is that it randomly models (specifies) the minimum residence times and the maximum residence times of the tokens in all the places of the model (even those that are upstream of the synchronization transitions) [<xref ref-type="bibr" rid="scirp.127669-ref41">41</xref>] . This advantage is not possible with other classic PN models [<xref ref-type="bibr" rid="scirp.127669-ref35">35</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref36">36</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref46">46</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref47">47</xref>] .</p><p>When we analyze the work related to modeling with Stochastic Petri Nets, we find:</p><p>&#183; The authors [<xref ref-type="bibr" rid="scirp.127669-ref48">48</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref49">49</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref50">50</xref>] propose a model named non-Markovian SPN. They show that Non-Markovian SPN allows specifying the behavior of a system by representing the system more realistically. According to their modeling approach, each transition is characterized by a distributed random duration. This representation adopts bounded support laws with a predetermined probability density. Also, they use the maximum density method to estimate the firing time of the transitions [<xref ref-type="bibr" rid="scirp.127669-ref49">49</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref50">50</xref>] .</p><p>&#183; The authors [<xref ref-type="bibr" rid="scirp.127669-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref19">19</xref>] propose a second level (refined representation) described by the intermediate locations (micro locations), the micro-transitions, and their firing preconditions according to a micro-level life cycle (token consumption phase, execution phase, and token production phase).</p><p>So our model based on P-timed SPN captures the random time requirements in the structure of the representative model of an FMS. In this work, we propose an extension of SPN with a P-timed orientation in specification and verification. The model referred to as Workflows P-Timed Stochastic Petri Nets (WPTSPN) enables life cycle specification and control of tokens circulating in the timed places according to sequences of transitions. This is fulfilled through granting to each places a dynamic residence interval. This residence time allocated to a place follows a law of probability determined via three possible densities (exponential, normal, and log-normal). To determine the average residence time granted to each token, we chose the gravity center of the density method, for precision accuracy. Hence, this model adopts the formal verification tools to conform to the P-timed orientation, knowing that such an orientation brings verification of the token's life cycle in timed places. From where we redefine a formalism of verification according to this semantics Thus, the model proposes a prediction approach of the delay related to the time of residence granted to the tokens in the timed places. In an FMS context, it should be noted that the delay in residence (stay) of the tokens in a place can mean the expiration time of primary material or semi-finished material. So, our work focuses on the Workflow performance aspect through Stochastic Petri Nets (SPN) [<xref ref-type="bibr" rid="scirp.127669-ref46">46</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref47">47</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref51">51</xref>] use. Hence, we propose a SPN extension, named Workflow P-Timed Stochastic Petri Net (WPTSPN), able to specify, check FMS-workflow, also predict time of stay (residence) in activity lifecycle.</p><p>In other words, we provide a P-timed SPN extension that provides expressive specification, verification, and performance analysis of FMS business processes. So, the WPTSPN makes it possible to represent the expressiveness of a FMS business process, to manage and monitor its phases, then to identify any type of execution failure, and to build scenarios of cooperation between actors and their roles in case of failure. Also, this model’ stochastic paradigm favors the delay prediction.</p><p>Knowing that several works related to the forecast of the risks of delay have elaborated:</p><p>&#183; In the work orientation indicated in [<xref ref-type="bibr" rid="scirp.127669-ref16">16</xref>] , one must emphasize the need to sensitively manage business operations according to risk. In [<xref ref-type="bibr" rid="scirp.127669-ref52">52</xref>] there is a link to a recent survey on the question. According to this study, the majority of prior studies focused on that topic from a qualitative perspective. Some quantitative research methods have recently been offered. The risk indicators for non-compliance with deadlines are described in works [<xref ref-type="bibr" rid="scirp.127669-ref27">27</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref52">52</xref>] and [<xref ref-type="bibr" rid="scirp.127669-ref53">53</xref>] . Also, the work in [<xref ref-type="bibr" rid="scirp.127669-ref7">7</xref>] investigates and analyzes the models’ goals, such as anomalous activity times, and forecasts a case of delay.</p><p>&#183; The authors in [<xref ref-type="bibr" rid="scirp.127669-ref52">52</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref53">53</xref>] provide a risk-based simulation prototype design that incorporates resource risks such as hardware failures and business process actor illnesses.</p><p>&#183; The model in [<xref ref-type="bibr" rid="scirp.127669-ref7">7</xref>] , which is assumed to be stochastically validated, must include a monitoring system that captures and documents the business process stages, just as the models in [<xref ref-type="bibr" rid="scirp.127669-ref53">53</xref>] and [<xref ref-type="bibr" rid="scirp.127669-ref54">54</xref>] . In this hypothesis, the occurrence earlier-time is applied as an information source to generate an exact accuracy for the representative dynamic system.</p><p>Ultimately, P-timed PNs capture time requirements in the model structure. On the one hand, according to the P-timed semantics, it is necessary to assign to each token a local clock (a stopwatch) which measures the time from the moment of arrival in the place. On the other hand, the addition of these counters is useful to check and control the state of non-occurrence of dead tokens (violation of residence time constraints). Moreover, this state of a timed PN is characterized by the current marking and by the value of the clocks associated with the tokens. The latter has very negative consequences for the complexity of the analysis. However, this drawback is only due to the effective complexity of the modeled problem. In our approach, the tools enriching the model make it possible to calculate the cycle time, the times of firing, and the operating margins of the system in mono-periodic operation in residence and firing times. Based on the work performed in [<xref ref-type="bibr" rid="scirp.127669-ref47">47</xref>] and [<xref ref-type="bibr" rid="scirp.127669-ref50">50</xref>] , we extend our model with formal tools that ensure adaption to P-timed semantics. According to the splitted (division) mechanism, this model uses the analytical verification characteristics of the two-level transitions and their related micro-transitions. The density gravity center method is used to identify the firing duration and average random residency of a token in each model place, similar to the method used in [<xref ref-type="bibr" rid="scirp.127669-ref48">48</xref>] . Additionally, the current model adopts a strategy based on elapsed time randomly attached to tokens in timed places specified by randomly residence intervals. We note that randomly interpreting residency intervals is different from the approach in ff which interprets static stay intervals [<xref ref-type="bibr" rid="scirp.127669-ref47">47</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref50">50</xref>] and [<xref ref-type="bibr" rid="scirp.127669-ref54">54</xref>] .</p><p>So our WPTSPN accomplishes a verification method based on checking model properties that are related to elapsed time which is randomly stay assigned to tokens in timed places like as in [<xref ref-type="bibr" rid="scirp.127669-ref30">30</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref47">47</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref50">50</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref54">54</xref>] . We apply our model and its adjacent tools to an FMS example which corresponds to the production chain sub-section presented in [<xref ref-type="bibr" rid="scirp.127669-ref4">4</xref>] .</p><p>The remainder of this paper is divided into the following sections:</p><p>&#183; The basic concepts of our proposed model are defined in Section 2;</p><p>&#183; The suggested WPTSPN is depicted in Section 3;</p><p>&#183; Section 4 focuses on the real-world implementation of our concept and related tools in the field of FMS Workflow;</p><p>&#183; The final section summarizes our work and suggests future research directions.</p></sec><sec id="s2"><title>2. Definitions and Basic Concepts</title><p>We define the concept set to introduce our paradigm and the associated formal tools to specify, verify and analyze a complex system such as a FMS-workflow.</p><sec id="s2_1"><title>2.1. Workflow</title><p>To present the strategic, organizational, and operational functions of the management process, we define Workflow [<xref ref-type="bibr" rid="scirp.127669-ref6">6</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref7">7</xref>] . To understand and assess the existing parties in a socio-economic organization, it is crucial to understand the business processes in the organizational structure. They advocate for flexible information system design and deployment. These information systems’ technical foundation is the realization of new products through adaptation to change and market demands. Given the context of managing and guiding businesses, business process management is innovative. According to [<xref ref-type="bibr" rid="scirp.127669-ref5">5</xref>] a business process is any set of actions that include one or more types of input and offer a customer-satisfactory outcome. This definition covers the relationships’ semantics between the inputs and the outputs (pre-condition and post-condition) in a business process. So it is an abstraction of the concept of the process that becomes clear in this definition.</p><p>However, a workflow [<xref ref-type="bibr" rid="scirp.127669-ref12">12</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref55">55</xref>] ensures the automation of formal rules to restructure, simulate, and optimize the company’s business processes. According to [<xref ref-type="bibr" rid="scirp.127669-ref56">56</xref>] , the workflow optimization procedure, therefore, concerns the definition of the scheduling of fundamental interdependencies, the representation flexibility, at the time of the action, certain routes integrating the data specific to an instance particular process [<xref ref-type="bibr" rid="scirp.127669-ref18">18</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref56">56</xref>] .</p></sec><sec id="s2_2"><title>2.2. Petri Nets</title><p>In 1962, Carl Adam Petri innovated a formal modeling tool called the Petri Net [<xref ref-type="bibr" rid="scirp.127669-ref57">57</xref>] . They emerged as a powerful graphical tool for the representation of complex system and sequential mechanisms [<xref ref-type="bibr" rid="scirp.127669-ref57">57</xref>] . They have effectively been used for the specification, verification, and analysis of the behavior of complex systems [<xref ref-type="bibr" rid="scirp.127669-ref58">58</xref>] . With a variety of PNs [<xref ref-type="bibr" rid="scirp.127669-ref59">59</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref60">60</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref61">61</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref62">62</xref>] application fields and their efficient uses to specify and verify the dynamic behavior of complex systems, PNs several classes have appeared in the literature. Using the advantages of the SPN to complex systems analysis and verification, we suggest a model that covers the life-cycle of the manufacturing process workflow. To specify, validate, and predict the execution delay associated with the duration of the tokens propagating within firing transitions, we propose a P-timed oriented extension of the SPN [<xref ref-type="bibr" rid="scirp.127669-ref63">63</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref64">64</xref>] . This proposed model, as well as the tools for specification, verification, and evaluation, is presented in the following section.</p></sec></sec><sec id="s3"><title>3. Workflow P-Timed Stochastic Petri Net Model (WPTSPN)</title><p>Our WPTSPN is an extension of the SPN that adds new components (timed places, tokens, and transitions) for the FMS-Workflow context. The basic formal concepts of the WPTSPN are covered in this section. The model’s basic characteristics are formulated, interpreted, and illustrated after it has been defined. In addition, this proposed model incorporates WFMS notions [<xref ref-type="bibr" rid="scirp.127669-ref55">55</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref65">65</xref>] , with refinements attributed in [<xref ref-type="bibr" rid="scirp.127669-ref6">6</xref>] and [<xref ref-type="bibr" rid="scirp.127669-ref25">25</xref>] .</p><sec id="s3_1"><title>3.1. Model Definition</title><p>The Workflow P-Timed Stochastic Petri Net, denoted WPTSPN, is the 8-uplets:</p><p>WPTSPN:</p><p>=&lt;P, Tr, A, Sac, Ac, Typ-tk, GTyp-P, CardM&gt;</p><p>&#183; P = P b   ∪   P w   ∪   P r   ∪ P f , represents the finished set of places;</p><p>- P b : all initial places,</p><p>- P w : all workflow places,</p><p>- P r : all resource places,</p><p>- P f : all final places.</p><p>&#183; T r = T r i   ∪   T r d   ∪ T r s , represents the finished set of transitions (non-empty finite set);</p><p>- T r i : immediate transitions set,</p><p>- T r d : determinstic transitions set,</p><p>- T r s : stochastic transitions set.</p><p>&#183; A: set of Workflow-actors is non-empty finished;</p><p>&#183; Ac: workflow activities finished set;</p><p>&#183; Sac: finished set of Sub-activities associated with a Workflow-activity;</p><p>&#183; Typ-tk: the representation by our model distinguishes between four token types (activity, sub-activity, actor, and any encapsulation of tokens) then the Typ-tk-function is in charge of this classification.</p><p>T y p - t k : t k → { 1,2,3,4 } ;     t k ↦ { 1,     t k ∈ A 2,     t k ∈ S a c 3,     t r ∈ A c 4,     t k ∈ u p l e t (1)</p><p>&#183; GTyp-P: the representation adopted by our model requires that we distinguish the ordinary places of a PN, those linked to the semantic workflow, and those endowed by a residence time. So, GTyp-P-function makes it possible to distinguish the model’s places.</p><p>G T y p - P : P → { o ,   w ,   r ,   f }</p><p>p ↦ G T y p - P ( P ) = ( o ,     ( initialplace ) w ,     ( workflowplace ) r ,     ( resourceplace ) f ,     ( finalplace ) (2)</p><p>&#183; CdM: the marking cardinality of a WPTSPN is a family indexed by the set of places P, such that tokens (tk) in place p:M(p) is an element of CdM(M(p)).</p><p>The proposed WPTSPN aims to represent (specify) a flexible production business process according to a P-timed orientation, to then check (verify) the model properties that coincide with the domain of application, and finally to predict the delay relating to the execution of an activity (firing a non-immediate transition of the model). So to achieve these ends, we enrich our model with formal functions.</p></sec><sec id="s3_2"><title>3.2. Formal Tools Enriching the WPTSPN Model</title><p>In this subsection, we enriched our model with the functions to increase the analytical coverage according to the workflow semantics, P-timed orientation, and the random residence time assigned to the tokens during a sequence of firing transitions. These &lt;GDensity, GDistrib, TFringT, IRP, MST, GTruncated, MIP, MPO, MIT, MTO&gt; formal tools are defined as follows:</p><p>&#183; GDensity: the probability density function of the WPTSPN components (tokens, and stochastic transitions) represents a stochastic probability density (Normal, Log-Normal, or Exponential).</p><p>G D e n s i t y : ( A c   ∪ S a c   ∪   T r s ) &#215; { e ,   n ,   l n } → R + t y p =   T y p - d i s t ( k )</p><p>( k ,   t y p ) ↦ G D e n s i t y ( k ) = ( t y p = e ,   λ ⋅ e − λ x   ( λ ≥ 0,   x ≥ 0 ) ; t y p = n ,   1 / ( 2 2 π ) ⋅ e − 1 / 2 ⋅ x 2 , ( x ≥ a p ) ; t y p = l n ,   1 / x σ 2 π ⋅ e − ( ( ln x − μ ) 2 / 2 σ 2 ) , ( x ≥ a p ,   σ ∈ R + ,   μ ∈ R ) . a p = min ( I R P p )     ( ∀ t r j ∈ p I )   and   ( G T y p - P ( p ) ∈   { o ,   w } ) . (3)</p><p>&#183; GDistrib: each WPTSPN component (tokens, and stochastic transitions) is assigned an arbitrary probability distribution (Normal, Log-Normal, or Exponential). This assignment is performed by the function GDistrib.</p><p>G D i s t r i b : ( A c   ∪   S a c ∪ T r s ) &#215; { e ,   n ,   l n } → R + t y p d = T y p - d i s t ( k ) t y p - k = T y p - t k ( k )</p><p>( k , t y p - d , t y p - k ) ↦ G D i s t r i b ( k ) = ( t y p = e ,   1 − e − λ x   ( λ ≥ 0,   x ≥ a p ) ; t y p = n ,   1 / ( 2 2 π ) ⋅ ∫ − ∞ t     e − 1 / 2 ⋅ x 2 d x , ( x ≥ a p ,   t ≥ a p ) ; t y p = l n ,   1 / 2 + 1 / 2 ⋅ e r f − ( ( ln x − μ ) 2 / 2 σ 2 ) , ( x ≥ a p ,   σ ∈ R + ,   μ ∈ R ,   e r f   istheGausserrorfunction ) ; a p = min ( I R P p )     ( ∀ t r j ∈ p I )   and   ( G T y p - P ( p )   ∈   { o ,   w } ) . (4)</p><p>&#183; TFringT: Our model assigned three probability distributions (Normal, Log-Normal, or Exponential) to each stochastic transition [<xref ref-type="bibr" rid="scirp.127669-ref66">66</xref>] . This function makes it possible to determine each stochastic transition firing time, with TFringT-function, according to the distribution chosen. We use the gravity center method [<xref ref-type="bibr" rid="scirp.127669-ref48">48</xref>] which consists of taking the abscissa corresponding to the gravity center of the each stochastic density transition.</p><p>T F r i n g T : T r s &#215; { e ,   n ,   l n } → R + t y p = T y p - d i s t ( t r s )</p><p>( t r s , t y p ) ↦ T F r i n g T ( t r s ) = ( t y p = e , ∫ − ∞ t ( λ ⋅ e − λ x )   ⋅   x d x ∫ − ∞ + ∞ ( λ ⋅ e − λ x ) d x ; t y p = n , ∫ − ∞ + ∞ ( ( 1 / ( 2 2 π ) ⋅ e − 1 / 2 ⋅ x 2 ) ⋅ x ) d x ∫ − ∞ + ∞ ( 1 / ( 2 2 π ) ⋅ e − 1 / 2 ⋅ x 2 ) d x ; t y p = l n , ∫ − ∞ + ∞ ( 1 / x σ 2 π ⋅ e − ( ( ln x − μ ) 2 / 2 σ 2 ) ⋅   x ) d x ∫ − ∞ + ∞ ( 1 / x σ 2 π ⋅ e − ( ( ln x − μ ) 2 / 2 σ 2 ) ) d x ; ( x ∈ R + , λ ∈ R + ,   σ ∈ R + ,   μ ∈ R ) . (5)</p><p>&#183; IRP: IRP<sub>i</sub> function defines the static residence (stay) interval of the model’s places (initial or workflow). ( ∀ p i ∈ ( P o ∪ P w ) \ G T y p - P ( p i )   ∈ { O ,   w } ). When it leaves the place p i , the output transitions firing becomes equal to b i . After this random time ( b i ), the token will be “dead” and will no longer participate in the transitions validation. Formally IRP is expressed as follows:</p><p>I R P : P o ∪ P w → ℚ + ∪ ( ℚ + &#215; + ∞ ) ;</p><p>∀ p i ∈ P o ∪ P w \ G T y p - P ( p i ) ∈ { o ,   w } ;</p><p>p i → I R P i = [ a i ,   b i ]     with   0 ≤ a i ≤ b i ;</p><p>( a i = min ( a i ,   b i )   ( ∀   t r ∈ p I ) ; b i = max ( a i ,   b i ) ;   ( ∀   t r ∈ p I ) ; (6)</p><p>&#183; MST: (Mean Stay Time) Taking into account the specificity of the token’s type (activity or sub-activity) in places of our model. So, the MST-function calculates each token’s average stay time in timed locations and which are of type (initial or workflow). We associate time value, framed by the min ( T F r i n g T ( t r ) ) ( ∀ t r ∈ p I ) and the min ( T f i r i n g T ( t r ) ) ( ∀ t r ∈ p O \ ( G T y p - P ( p ) ) ∈ { O ,   w } , T y p - t k ( M ( p ) ) ∈ { 2,   3,   4 } ), taking into account the random distribution assigned to each token in this place. Practically, we use the gravity center method [<xref ref-type="bibr" rid="scirp.127669-ref48">48</xref>] which determines the abscissa corresponding to the density attributed to the place in question.</p><p>M S T : ( P ∪ A c ∪ S a c &#215; T r s &#215; { e ,   n ,   l n } ) → R + t y = G T y p - P ( p ) ∈ { o ,   w } t y p = G T y p - d i s t ( t t k ) t t k = T y p - t k ( M ( p ) ) m = min ( T F r i n g T ( t r ) ) ∀ t r ∈ p I M = min ( T F r i n g T ( t r ) ) ∀ t r ∈ p O</p><p>( p ,   t y ,   t y p ,   t t k ) ↦ M S T ( p ) = ( t y ∈ { o , w } ,   t y p =   e ,   t t k ∈ { 1,2 } ,   ∫ m M ( λ ⋅ e − λ x )   ⋅   x d x ∫ m M ( λ ⋅ e − λ x ) d x ; t y ∈ { o , w } ,   t y p =   n ,   t t k ∈ { 1,2 } ,   ∫ m M ( ( 1 / 2 2 π ⋅ e − 1 / 2 ⋅ x 2 ) ⋅ x ) d x ∫ m M ( 1 / 2 2 π ⋅ e − 1 / 2 ⋅ x 2 ) d x ; t y ∈ { o , w } ,   t y p =   l n ,   t t k ∈ { 1,2 } ,   ∫ m M ( 1 / x σ 2 π ⋅ e − ( ( ln x − μ ) 2 / 2 σ 2 ) ⋅   x ) d x ∫ m M ( 1 / x σ 2 π ⋅ e − ( ( ln x − μ ) 2 / 2 σ 2 ) ) d x ; ( x ∈ [ m ,   M ] , λ ∈ R + ,   σ ∈ R + ,   μ ∈ R ) . m &lt; min ( I R P ( p ) )   and   M &lt; max ( I R P ( p ) ) . (7)</p><p>&#183; GTruncated: We use a truncated density function to estimate and predict the delay related to the residence time of a token in a timed place. And for it to cover the densities allocated to the tokens’ residence time in each timed place. We define the generalized truncated density sojourn probability law of a timed place function as follows:</p><p>T r u n c a t e d : ( P ∪ T r s )   →   R + ( t 0 ,   t ) ∈ T D &#215; T D t y p ∈ { e ,   n ,   l n } t t k ∈ { 1,2,4 } ( k , t y p ) ↦ G D e n s i t y ( k ) ( k , t y p ) ↦ G D i s t r i b ( k )</p><p>T r u n c a t e d ( k , t t k ) = ( 0,     t ≤ t 0 ,   G D i s t r i b ( t 0 ) ≤ 1 ; G D e n s i t y ( t ) / 1 − G D i s t r i b ( t 0 ) ,   t &gt; t 0 ,   G D i s t r i b ( t 0 ) &lt; 1 ; G D e n s i t y Δ ( t − t 0 ) ,   G D i s t r i b ( t 0 ) = 1 ; (8)</p><p>&#183; Let MIP: the places input-transitions matrix:</p><p>( P &#215; T r ) → { 0,1 } (9)</p><p>Such that:</p><p>M I P ( P i ,   t r k ) = 0 , if I P ( P i ,   t r k ) = ∅ , 1 if not</p><p>&#183; Let MPO: the places output-transitions matrix :</p><p>( P &#215; T r ) → { 0,1 } (10)</p><p>Such that:</p><p>M P O ( P i ,   t r k ) = 0 , if P O ( P i ,   t r k ) =   ∅ , 1 if not.</p><p>&#183; Let MIT: the transitions input-places matrix:</p><p>( T r &#215; P ) → { 0,1 } (11)</p><p>Such that:</p><p>M I T ( t r k , P i ) = 0 , if I T r ( t r k , P i ) = ∅ , 1 if not</p><p>&#183; Let MTO: the transitions output-places matrix:</p><p>( T r &#215; P ) → { 0,1 } (12)</p><p>Such that:</p><p>M T O ( t r k , P i ) = 0 , if T r O ( t r k , P i ) = ∅ , 1 if not</p><p>The firing transitions semantics adopted by the WPTSPN model are defined in the next sections.</p></sec><sec id="s3_3"><title>3.3. Firing Transitions Semantics Adopted by the WPTSPN</title><p>The firing semantics adopted by the WPTSPN depend on three factors: the static stay (residence) interval of the places at the transition input, the stochastic firing time, the average stay time of tokens in workflow entry places, and preconditions related to the interaction between the actors responsible for executing the activity represented by the transition. To explain this firing mechanism, we need to apply it to the context of the transition tr<sub>6</sub>. According to <xref ref-type="table" rid="table3">Table 3</xref>, the transition Tr<sub>6</sub> which represents the operation below (“Machine run”).</p><p><xref ref-type="fig" rid="fig1">Figure 1</xref> illustrates the tr<sub>6</sub> transition and the mechanism of division (splitted) into three micro-transitions: { t r 6 c , t r 6 w , t r 6 p } .</p><p>The transition tr<sub>6</sub> is stochastic according to the WPTSPN, so we assign a random value of firing time using t y d t = G T y p - d i s ( t r 6 ) ∈ { e ,   n ,   l n } and T F r i n g T ( t y d t ,   t r 6 ) .</p><p>We note that according to the representation semantics of the WPTSPN: Let input places: I T r 6 = { P 0 , P 7 , P 8 } and output place: T r 6 O = { P 10 , P 0 , P 8 } .</p><p>&#183; P<sub>0</sub>: specifies the park of actors, G T y p - P ( P 0 ) = r ;</p><p>&#183; P<sub>7</sub>: specifies the both a machine bounded input and conveyor output buffer, G T y p - P ( P 7 ) = w ;</p><p>&#183; P<sub>8</sub>: specifies place of the maintenance sub-process, G T y p - P ( P 7 ) = r ;</p><p>&#183; P<sub>10</sub>: specifies the end of workflow process G T y p - P ( P 7 ) = f ;.</p><p>It is assumed that non-workflow places (P<sub>0</sub>, P<sub>8</sub>), i.e., resources, are not timed, so the tokens they store are always available, such as actors, primary materials, or semi-finished products. The timed place P<sub>7</sub> is a workflow place dedicated to storing an activity or sub-activity type token (noted tk: T y p - t k ( t k ) = ∈ { 2,3 } ). Then we assign a static interval of stay (residence): I R P ( P 7 ) = [ a 7 , b 7 ] .</p><p>At the moment when the token named tk such that Gtype(tk) = 2 (i.e. of type Sac) instead of p<sub>7</sub>, we assign it a stochastic value of stay using the density function ( τ t k = G d e n s i t y ( t k , t y ) ) where ty varies between the three possible distributions of the model { e ,   n ,   l n } . If there are several (Gtype(tk) = 2) type tokens, an average residence time is used using the M S T ( P 7 ) function.</p><p>The firing semantics of a stochastic transition with timed places assumes that a time counter is triggered when a token arrives. Let t be the value of this time counter. We associate a token-life-cycle time named ( τ t k , t ) . We discuss the following three cases:</p><p>&#183; τ t k &lt; a i ( P 7 ) ; so the tk token is not available.</p><p>&#183; t ∈ [ a 7 , a 7 + τ t k ] and ( a 7 + τ t k &lt; T F i r i n g ( T r 6 ) &lt; b 7 ); During Tr<sub>6</sub> firing, WPTSPN detects the transition type via the function calls Distinct(Tr<sub>6</sub>) = 3 and GTyp-dist(Tr<sub>6</sub>) = ln. We know that the overall firing time value is determined by the function call TFiringT(Tr<sub>6</sub>, ln). The transition firing Tr<sub>6</sub>, which is in the sub activity executing charge Sac<sub>1</sub>, consists in sequentially firing the three micro-transitions Tr<sub>6</sub><sup>c</sup>, T r 6 w and T r 6 p . The transition pre-condition T r 6 c is the uplet &lt;11, time, 1&gt; and the stochastic value ( 0.33 ∗ φ 3 ). The micro-transition firing T r 6 w is influenced by the stochastic value ( 0.67 ∗ φ 11 ). Once the function activity call is done, T 6 w micro-transition firing is achieved. The T 6 p firing is immediate; i.e., the token Sac<sub>1</sub> is moving towards the place P<sub>10</sub> and the two tokens A<sub>1</sub> and A<sub>3</sub> will be released to the place P<sub>0</sub> (the original place before firing Tr<sub>6</sub>), also a token in place P<sub>8</sub>.</p><p>&#183; τ k &gt; b 7 ; so the tk token is dead. We note that the tokens which circulate in the three micro-transitions have the same behavior according to the static residence time. Note that each micro transition from the split mechanism inherits a behavior similar to the transition (splitted).</p><p>The main properties that generally studied the WPTSPN are verification and checking. First, verification consists in determining the techniques for deciding on each of them. Second, checking, which is based on the dynamic timed evolution to analayze and verify this model properties, is then presented.</p></sec><sec id="s3_4"><title>3.4. WPTSPN Checking Formal Tools</title><p>The WPTSPN model can be used to qualitatively analyze the basic FMS properties to provide the dynamic behavioral aspects of complex systems. The CdM (marking cardinalities graph) associated with the model at any time in time represents the number and position of tokens concerning the places of the model. Firing a transition moves the model into a new marking cardinality. The marking cardinality of an WPTSPN helps to define which places are occupied and which are free.</p><p>The model adopts two verification approaches:</p><p>&#183; Checking based on the elapsed time following a firing transitions sequence:</p><p>- Reachability (Accessibility): A CdM’ marking cardinality is said to be accessible from CdM if there are sequences of markings cardinalities (CdM<sub>0</sub> to CdM<sub>n</sub>) and transitions ( t r 0 to t r n , ∀ ( t r 0 , t r n ) ∈ ( T r &#215; T r ) ) such as C d M i + 1 is immediately accessible from CdM’ ( i ∈ [ 0, n − 1 ] ) with C d M i = C d M 0 and C d M ′ = C d M n . The set of each markings cardinalities accessible from CdM is noted the set of reachability.</p><p>So reachability seems to be a tool for finding erroneous states, for practical problems the constructed graph usually has far too many states to compute. This allows us to detect execution failures of a business process (FMS) modeled by a WPTSPN.</p><p>- Safeness: An WPTSPN is safe if each of its places ( ∀ p ∈ P ) is safe. So, a place p is safe if it does not contain more than one token. The model transitions if it can fire infinitely often, so if there is always a fixed (necessarily infinite) firing sequence that ensures the execution of a workflow activity.</p><p>- Boundeness: A WPTSPN is said to be bounded if it is composed only of bounded places. A place ( ∀ p ∈ P ) is bounded if there is a limit on the tokens maximum number ( C d M ( p ) ≤ K \( ∀ p ∈ P , K &gt; 1 )).</p><p>This property indicates that the system represented by a WPTSPN never risks exceeding the storage limits of semi-finished material, finished products, and workers… This property indicates that the system represented by a WPTSPN never risks exceeding the storage limits of semi-finished material, finished products, and workers…</p><p>- Conservativeness: A WPTSPN is said to be conservative if the tokens-number in the ∀ C d M ∈ C d M remains constant.</p><p>It is obvious that conservativeness is a special case of structural delimitation and that coherence is a case of repetitiveness. Then this property can be partial, consistency and repetitiveness are the relaxations of the circulation of tokens in the places of the WPTSPN.</p><p>- Liveness: A transition is said to be alive if for each ( ∀ C d M ∈ ( C d M , W P T S P N ) ) there is a firing sequence which brings the WPTSPN to a CdM in which this tr transition is fired. An WPTSPN is active if each transitions ( ∀ t r ∈ T r ) are active. If the WPTSPN is activated and correct, this indicates that there are no deadlocks in the FMS operations.</p><p>- Properness: if the initial marking CdM<sub>0</sub> is accessible from each marking ( ∀ C d M ∈ ( C d M , u ) ) in the accessibility set, the WPTSPN is said to be proper.</p><p>This property verifies that the tokens which represent the actors (worker) return to their place of origin before the each firing model’s transition for which they will always be available at the future firing (excution of an activity workflow FMS).</p><p>&#183; Checking is based on randomly residence intervals associated with the token in workflow-places and the token life-cycle:</p><p>We keep the verification properties related to the firing transitions context, and we add other definitions related to the P-timed SPN contexts that we adopt in this work. Let DT is a finite time domain; Let t: time in finished time domain ( ∀ t ∈ D T ); Let state characterizing the WPTSPN graph situation be defined by a doublet SE = &lt;CdM, Q&gt;, where:</p><p>&#183; CdM is the same as the previous definition of the WPTSPN marking function,</p><p>&#183; Q is a time-of-stay application which associates with each token k ( ∀ k ∈ { S A C ∪ A C } ) in place p i ( ∀ p i ∈ P   \   T y p - t k ( M ( p i ) ) ∈ { 1,2,4 } ) a real number q i k where q k is the this token lifetime (the time elapsed since its arrival in place p i ). The q i k associated with a token k in the place p i must be less than or equal to bi where [ a i , b i ] is the Randomly residence interval associated with the place p i . This token k in the place p i is involved in the activation and validation of its p<sup>O</sup> transitions when q i k age great. The token is considered dead when its lifespan (age) is strictly greater than b i .</p><p>Note that the lifetime q i k of a token k ∈ ( A c &#215; S a c ) (given by a local clock associated with it) is relative to this token arrival time in the place p i \ T y p - t k ( M ( p i ) ) ∈ { 1,2,4 } . We suppose that the token k arrives in the place p i at the instant τ (given by a global clock for example), this token time duration is equal to zero. At the absolute instant τ ′ its lifetime is q i k = τ ′ − τ . It participates in the validation of the output transitions of the place ( ∀ t r ∈ p i O which contains it, only from the instant τ ′ = τ   +   a i , and it is dead from the instant τ ′ &gt; τ   +   b i . Then, a token is dead if its lifetime becomes strictly greater than the upper limit of the dynamic interval associated with its host place and if none of its exit transitions is validated at this time. Therefore, a transition can be activated and validated in the semantics of autonomous PNs and not in the WPTSPN’s semantics because of time constraints.</p><p>&#183; A transition ( t r ∈ T ) is potentially firable (validated in the semantics of model) from the state S E ( C d M , Q ) if and only if:</p><p>- It is validated within the meaning WPTSPNs in this state, that is to say ∀ p i ∈ t I r ;   C d M ( p i )   ≥   C a r d ( I ( p i , t r ) ) ;   T y p - t k ( M ( p ) ) ∈ { 1,2,4 } (Card: function which counts the tokens number in input flow or respectively output flow) ∀ p i ∈ t I r , there is at least I ( p i , t r ) tokens in the place such as: min ( b i   −   q i k ) − max ( 0, max ( a i − q i k ) ) ≥ 0 ( ∀ k ∈ { S A C ∪ A C } ) and [ a i , b i ] is the dynamic interval associated with the place p i . In addition, there are no j tokens (which do not participate in firing the tr transition) such as: ( b i   −   q i k ) ≤ max ( 0, max ( a i   −   q i k ) ) .</p><p>- Otherwise, this token is dead. It is, then, associated with this place interval: [ max ( 0 , max ( a i   −   q i k ) ) , min ( b i   −   q i k ) ] .</p><p><xref ref-type="fig" rid="fig2">Figure 2</xref> illustrates the token life-cycle according to the firing semantics of the WPTSPN.</p><p>When we perform in the intersection of all these intervals ( ∀ p ∈ t I r , we associate an interval), we select the interval in which the transition remains potentially firable. According to the state SE notion, from a given state, an infinite number of states is generally accessible. There are, therefore, two possibilities of having this new state from an earlier state:</p><p>- the time fluidity (time passage);</p><p>- the transition firing (the potential firing interval lower limit is equal to zero from this new state).</p><p>&#183; The state e’ accessibility from a previous state e ( ( e , e ′ ) ∈ S E &#215; S E ):</p><p>- by a τ time-flow: we note e ( C d M , Q ) → e ′ ( C d M ′ , Q ′ ) , is verifiable if: C d M ≠ C d M ′ , ∀ k ∈ ( S A C ∪ A c ) in the p i \ T y p - t k ( M ( p i ) ) ∈ { 1,2,4 } place, q ′ i k = q i k + τ ; where q i k (respectively q ′ i k ) is the token k lifetime in state e (respectively in state e’) and b i is the dynamic interval upper bound associated with the place p i .</p><p>- by firing a transition t r i if and only if: t r i can be firing directly (the lifetimes of all the marks which validate t r i are greater than or equal to the dynamic intervals lower bounds associated with their places) from e, ∀ p ∈ P w , C d M ′ ( p ) = C d M ( p ) − C d M ( I ( p , t r i ) ) + C d M ( O ( t r i , p ) ) . When the tokens do not flow and keep the same lifetime in e and e’ (this is assumed to be an immediate transition), then we assume those tokens that are flowed or created have a lifetime (age) equal to zero. We note that the preceding firing rule allows us to determine the states and the state-space accessibility relations. The set of firing transitions’ sequences from the initial state characterizes the dynamic behavior of the WPTSPN.</p><p>According to the state analysis, either by time fluidity or by firing a transitions sequence, the WPTSPN verifiable properties are:</p><p>&#183; An WPTSPN model’s state e ( C d M , Q ) is tokens-alive if all of the tokens in CdM are alive.</p><p>&#183; A WPTSPN is token-alive for an initial CdM<sub>0</sub> marking (the initial state e<sub>0</sub>) if all the markings accessible from CdM<sub>0</sub> are token-alive states.</p><p>We adopt the hypothesis that if a token, in a cardinality marking a state accessible from e<sub>0</sub>, is verified dead, the WPTSPN is dead tokens. Consequently, this dead token no longer participates in the transitions validation. There are two objectives through which we can verify the token death upstream of a synchronization transition tr:</p><p>- the tokens on circuits containing it do not arrive at a compatible time in its entry places ( ∀ p ∈ t I r ),</p><p>- the tokens, on the transition elementary oriented paths from parallelism to tr, do not arrive at compatible instants upstream of the transition tr.</p><p>&#183; A transitions firing sequence (made up of the transitions and the associated firing time ( ( S E ,   t r ) ; ∀ t r ∈ ( T r s ∪ T r d ) ) is called a token-liveness sequence (k-v-sequence) if and only if each of the states accessible ( ∀ e ∈ S E ) by this transition sequence is token-alive states.</p><p>&#183; A transition firing sequence (SE, u) is repetitive if, for a state ∃ e   ∈   S E reachable from e<sub>0</sub> (the initial state of graph states), e is accessible from e by the (SE, u) sequence transitions firing.</p><p>&#183; A transition firing sequence (SE, u) is complete if it contains each of the transitions ( u ⊆ T r ) composing the WPTSPN model. The WPTSPN model checking P-timed properties definitions help to adopt the tow following assumptions in [<xref ref-type="bibr" rid="scirp.127669-ref30">30</xref>] :</p><p>- If an WPTSPN has a repetitive and complete (tok-v-sequence), then this model has at least one operation which results in a steady-state after a finite time.</p><p>- If an WPTSPN is boundless, alive, and alive-tokens then each operation of the model results in a steady-state after a finite time.</p><p>After verifying the WPTSPN model’s probabilities according to two P- and T-timed orientations, we show our formal mechanism for predicting of the delay relative to the residence time of sac-token in timed places.</p></sec><sec id="s3_5"><title>3.5. Delay Prediction Relative to the Randomly Residence Time in Model Place</title><p>In this subsection, we demonstrate the specificity in the delay prediction that is related to the token’ randomly residence time assigned in the model’ timed places. We include the Event-log related to WPTSPN model to provide delay semantics in the activities’ description. Let TD represent the temporal domain associated with the state firing sequence SE.</p><p>So, we define an Event Log by LEv = (SE, C, D):</p><p>&#183; SE: states’ firing sequence set,</p><p>&#183; C: cases finite set where each case specifies an FMS business process instance,</p><p>&#183; D: S E → T D . A function to assign each event to time-space and classify it as a time function.</p><p>Each deterministic and stochastic transitions in the WPTSPN ( t r ∈ ( T r d   ∪   T r s ) ) are covered by the set SE. And, each SE/CdM states in the event log contain the C set. We can utilize a time capture approach based on a probabilistic aspect to assure the prediction of the delay associated to task execution in the business processes represented by our model. As a result, this model was integrated with an event-log (Eventlog : LEv) to predict remaining durations as well as the probability of execution delays. To induce the elapsed time required by the model, we use the same definition of a sequence of delays { d 0 , d 1 , d 2 ,   ⋯ , d n } , where d ∈ T D is the time elapsed before the occurrence of se<sub>0</sub> and d<sub>i</sub> is the elapsed time between occurrences of s e i and ( ∀ s e i   ∈   S E ) The prediction method is based on:</p><p>&#183; The enrichment of places with probabilistic delays in order to determine the duration of an activity and the associated stay time.</p><p>&#183; To determine the probability of a decision outcome, assign weights to places.</p><p>&#183; The probability density function associated with stochastic places determines the randomly residence time distribution.</p><p>&#183; Using an adjacent algorithm in the WPTSPN to predict the residence delay based on the elapsed time.</p><p>A monitoring system that collects and records the FMS business process steps is required for our WPTSPN to be stochastically verified. According to this assumption, the time since the previous occurrence represents an information source that benefits the preacher in acquiring precise accuracy for the model. With the duration distribution, it is possible to visualize the conditional impacts on the remaining time. The formal representation is as follows:</p><p>&#183; t ∈ T D : time space,</p><p>&#183; t r ∈ ( T r d ∪ T r s ) : timed transition,</p><p>&#183; P i ∈ P w : timed place,</p><p>&#183; t k   ∈ A c   ∪ S a c : token,</p><p>&#183; G D i s t r i b ( k ) k ∈ ( P ∪ T r d ∪ t r s ) : the duration distribution function,</p><p>&#183; G D e n s i t y ( k ) k ∈ ( P ∪ T r d ∪ t r s ) : The differential function G D i s t r i b ( k ) becomes the generalized density function.</p><p>&#183; G t r u n c a t e d P : the generalized truncated density function.</p><p>In a formal way, we denote that ( t ∈ T D ) represents time, tk token ( T y p - t k ( t k ) ∈ { 2,3,4 } ) and ( P i ∈ P w ) is a timed place with the assigned static residence. Let ( t 0 ∈ T D ; t 0 &gt; 0 ) be tr the current place time sensor. Let Gtruncated<sub>Δ</sub> be the truncate delta function which captures the entire probability mass at a single point.</p><p>We aim to build an algorithmic prediction solution based on the immediate detection of events. It is assumed that the duration of each stay place is purely isolated from other independent activities. This hypothesis allows us to simplify the forecasting process while remaining within the norms of other prediction approaches.</p><p>To perform the forecast on a state case, we build the forecast algorithm with six entries:</p><p>&#183; business process model, its states Graph representative or markings cardinalities graph,</p><p>&#183; current moment noted t<sub>0</sub>,</p><p>&#183; minimum time limit: t m = M i n ( T F i r i n g T ( t r ) ) ( ∀ t r   ∈   I P i ) ,</p><p>&#183; maximum time limit: t M = M i n ( T F i r i n g ( t r ) ) ( ∀ t r   ∈   P i O ) ,</p><p>&#183; Nbt: activity Cases total number,</p><p>&#183; activity current trace c which represents all the events observed up to the moment t<sub>0</sub>.</p><p>The organizational chart illustrates the prediction process, which begins with a case activity search taking place in the model or one of its representative SE states. It’s a SE graph in the WPTSPN that specifies all of the observed events in this scenario.</p><p>Notation: we use the same concept which is an alignment method for localizing the current state in the business process model by adjusting the (place/transitions). The next step is to arrange the results of the probabilistic simulation (t<sub>m</sub>, t<sub>M</sub>, MST(P), se, Nbr: iterations number). Based on the WPTSPN firing sequence states, the simulated case probability distribution type is established for each iteration. Despite the fact that their represented place’s probability density is the same, all cases are thought to be independent. The simulation operation is responsible for simulating the trace sequences in the restricted sampling model using conditioned truncated distribution densities without analyzing the transition source GDistrib(P). Then, the conditioned truncated distributions must be raised one more G T r u n c a t e d ( t ) ( ∀ t   ≥   M S T ( P ) ) samples.</p><p>We must notice that the remaining durations are estimated using the empirical estimation method.</p></sec></sec><sec id="s4"><title>4. Study Case: Flexible Manufacturing Systems</title><p>We show in this section the potential of a modeling approach based on the WPTSPN model via an application of industrial modeling. This approach is composed of the specification, the verification, and the delay prediction. In this case study, we use our WPTSPN to specify, verify, analyze, and simulate the production process.</p><p>In addition, the modeling of flexible manufacturing systems (FMS) in order to specify, analyze, verify, and optimize a manufacturing system according to different criteria. So it’s a performance study to detect any source of failure. This objective is summarized in a study to evaluate and compare several models of manufacturing systems by selecting the most suitable according to specific pre-selection criteria [<xref ref-type="bibr" rid="scirp.127669-ref64">64</xref>] . Our modeling process combines new formal tools specific to WPTSPN, with those of SPN [<xref ref-type="bibr" rid="scirp.127669-ref63">63</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref64">64</xref>] to formulate a clear and expressive approach to specification, analysis, evaluation, and the checking process. Also, most FMS’ stochastic modeling studies [<xref ref-type="bibr" rid="scirp.127669-ref67">67</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref68">68</xref>] have focused on steady-state analysis based on metrics such as throughput, productivity, and lifetime [<xref ref-type="bibr" rid="scirp.127669-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref63">63</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref64">64</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref69">69</xref>] .</p><p>We note that the application of our model and its adjacent tools to an FMS example corresponds to the production chain section represented in [<xref ref-type="bibr" rid="scirp.127669-ref4">4</xref>] . In the present work, we rely on mixed specification, analysis, and verification between timed transitions, timed places (random residence time), and lifecycle tokens to detect delay sources. Our approach to modeling a flexible production chain based on the WPTSPN covers concepts related to delays, the temporal properties of transitions, and the circulation of tokens endowed with randomly timed life cycles (activities, sub-activities, actors, etc.).</p><p>The FMS system architecture [<xref ref-type="bibr" rid="scirp.127669-ref4">4</xref>] (See (<xref ref-type="table" rid="table1">Table 1</xref>)), modeled by WPTSPN, is composed of machines served by conveyor belts [<xref ref-type="bibr" rid="scirp.127669-ref4">4</xref>] . The raw material automatically comes from an unlimited buffer representing the raw material stockyard. The time between the arrival of these materials is distributed randomly. Knowing that the raw materials flow into the conveyor belt according to a strategy based on predictions of breakdowns. It is possible to assume that these two operations specify the movements on the conveyor chain. Firstly, the first operation is deterministic (with Delta Time) and designates the transport time between the pallet and the input buffer of the production machine, denoted (location 7) [<xref ref-type="bibr" rid="scirp.127669-ref4">4</xref>] . Suppose that the conveyor belt injects the raw materials into (slot 7) which specifies both a machine-limited input buffer and a conveyor output buffer. Thus, to synchronize logistics, the production system adopts a rule that blocks the conveyor belt when the location is saturated (two rooms in location 7). Secondly, the machine execution service is specified by operation 6. In parallel, the system estimates the lifetime according to a stochastic law. To simplify the calculations, we consider that the service is always available [<xref ref-type="bibr" rid="scirp.127669-ref4">4</xref>] . The control system assumes a breakdown/repair sub-process of the production chain: The time between two successive breakdowns distributed according to a normal distribution [<xref ref-type="bibr" rid="scirp.127669-ref4">4</xref>] .</p><p><xref ref-type="fig" rid="fig3">Figure 3</xref> illustrates the production chain [<xref ref-type="bibr" rid="scirp.127669-ref4">4</xref>] represented by Bizagi Modeler [<xref ref-type="bibr" rid="scirp.127669-ref70">70</xref>] adopting the BPMN 2.0 notification. <xref ref-type="table" rid="table1">Table 1</xref> explains the business process steps (operations) represented by the FSM workflow. The Workflow Nets (WF-Net) notion [<xref ref-type="bibr" rid="scirp.127669-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref71">71</xref>] , based on a Petri Net modeling, was introduced by Van Der Aalest [<xref ref-type="bibr" rid="scirp.127669-ref72">72</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref73">73</xref>] . Also, the refinements made Van Der Aalest [<xref ref-type="bibr" rid="scirp.127669-ref6">6</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref63">63</xref>] exploit the Petri Net criteria by behaving like an intuitive graphical language which results in Workflow models whose definition is clear and precise. We cannot leave the profile of an end-user in charge of generating Petri nets which are rather the expert’s language in the field of mathematical modeling. The conversion [<xref ref-type="bibr" rid="scirp.127669-ref72">72</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref73">73</xref>] from a WF-Net to a Petri Net necessitates the interpretation of states (of a Role, a Resource, or a Tool) as “places” and operations (of the same model), usually represented by squares, as “transitions” [<xref ref-type="bibr" rid="scirp.127669-ref71">71</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref72">72</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref73">73</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref74">74</xref>] .</p><sec id="s4_1"><title>4.1. FMS Specification by WPTSPN</title><p>We adopt a conversion manual method of the WF-Net (represented by BPMN) to WPTSPN using the terms adapted by [<xref ref-type="bibr" rid="scirp.127669-ref71">71</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref72">72</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref73">73</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref74">74</xref>] .</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Description of the FMS-business process steps</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Operations-Id</th><th align="center" valign="middle" >Signification</th></tr></thead><tr><td align="center" valign="middle" >Op<sub>1</sub></td><td align="center" valign="middle" >Input of primary materials.</td></tr><tr><td align="center" valign="middle" >Op<sub>2</sub></td><td align="center" valign="middle" >Material movement via the conveyor belt.</td></tr><tr><td align="center" valign="middle" >Op<sub>3</sub></td><td align="center" valign="middle" >Stopping the conveyor belt.</td></tr><tr><td align="center" valign="middle" >Op<sub>4</sub></td><td align="center" valign="middle" >Starting the conveyor belt.</td></tr><tr><td align="center" valign="middle" >Op<sub>5</sub></td><td align="center" valign="middle" >Transport operation between the pallet and the input buffer of the production machine.</td></tr><tr><td align="center" valign="middle" >Op<sub>6</sub></td><td align="center" valign="middle" >Machine run operation.</td></tr><tr><td align="center" valign="middle" >Op<sub>7</sub></td><td align="center" valign="middle" >Failed execution.</td></tr><tr><td align="center" valign="middle" >Op<sub>8</sub></td><td align="center" valign="middle" >Repair maintenance operation.</td></tr></tbody></table></table-wrap><p>&#183; The application field is an FMS-Workflow.</p><p>&#183; The set of A   =   { A 1 ,   A 2 ,   A 3 ,   A 4 ,   A 5 } : the actors set representing human resources allocated to a workflow.</p><p>&#183; The workflow activities set named AC represents the finished product manufacture via an FMS business process.</p><p>&#183; The set S A C = { s a c 1 , s a c 2 , ⋯ , s a c n } the sub-activities to be executed sequentially or in parallel according to a work scheduling strategy on the production multiple lines.</p><p>&#183; Places Specification:</p><p>The set P = { P 0 ,   P 1 ,   P 2 ,   P 3 ,   P 4 ,   P 5 ,   P 6 ,   P 7 ,   P 8 ,   P 9 ,   P 10 }               ∪ { P 11 ,   P 12 ,   P 13 ,   P 14 , P 15 ,   P 16 ,   P 17 ,   P 18 ,   P 19 ,   P 20 ,   P 21 ,   P 22 } .</p><p>The model places, without taking into account the intermediate places, are explained by the <xref ref-type="table" rid="table2">Table 2</xref>.</p><p>The { P 11 ,   P 12 ,   P 13 ,   P 14 ,   P 15 ,   P 16 ,   P 17 ,   P 18 ,   P 19 ,   P 20 ,   P 21 , P 22 } places set represents intermediate places set represents the intermediate places (micro-places) when we adopt the splitting approach for non-immediate transitions (like in [<xref ref-type="bibr" rid="scirp.127669-ref7">7</xref>] ). Such micro-places’ role is to avoid the loss of tokens during the transitions splitting as explained in [<xref ref-type="bibr" rid="scirp.127669-ref7">7</xref>] . In specifying the FSM, P<sub>1</sub> is deemed as an initial place and P<sub>10</sub> is a final place.</p><p>&#183; Transitions Specification:</p><p>Like in [<xref ref-type="bibr" rid="scirp.127669-ref7">7</xref>] , the WPTSPN is liable to distinguish between the three transition types (immediate, deterministic and stochastic). Each stochastic or deterministic model transition is divided into three micro-transitions (Tr<sup>c</sup>, Tr<sup>w</sup>, and Tr<sup>p</sup>). The sub-model transition specification and the associated probability values are well described in <xref ref-type="table" rid="table2">Table 2</xref>.</p><p>Each model transition, whether stochastic or deterministic, is divided into</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Places specification</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Places</th><th align="center" valign="middle" >Signification</th><th align="center" valign="middle" ><sup>I</sup>P</th><th align="center" valign="middle" >P<sup>O</sup></th></tr></thead><tr><td align="center" valign="middle" >P<sub>0</sub></td><td align="center" valign="middle" >Actor park (execution and maintenance worker).</td><td align="center" valign="middle" >∅</td><td align="center" valign="middle" >tr<sub>1</sub></td></tr><tr><td align="center" valign="middle" >P<sub>1</sub></td><td align="center" valign="middle" >The place of Workflow begins.</td><td align="center" valign="middle" >tr<sub>6</sub>, tr<sub>8</sub></td><td align="center" valign="middle" >tr<sub>6</sub>, tr<sub>8</sub></td></tr><tr><td align="center" valign="middle" >P<sub>2</sub></td><td align="center" valign="middle" >A primary material conveyor.</td><td align="center" valign="middle" >∅</td><td align="center" valign="middle" >tr<sub>1</sub>, tr<sub>5</sub></td></tr><tr><td align="center" valign="middle" >P<sub>3</sub></td><td align="center" valign="middle" >Unlimited conveyor belt input buffer.</td><td align="center" valign="middle" >tr<sub>1</sub></td><td align="center" valign="middle" >tr<sub>2</sub></td></tr><tr><td align="center" valign="middle" >P<sub>4</sub></td><td align="center" valign="middle" >A conveyor belt reading place.</td><td align="center" valign="middle" >tr<sub>3</sub></td><td align="center" valign="middle" >tr<sub>2</sub>, tr<sub>4</sub></td></tr><tr><td align="center" valign="middle" >P<sub>5</sub></td><td align="center" valign="middle" >A remote position and conveyor belt element.</td><td align="center" valign="middle" >tr<sub>2</sub></td><td align="center" valign="middle" >tr<sub>5</sub></td></tr><tr><td align="center" valign="middle" >P<sub>6</sub></td><td align="center" valign="middle" >A waiting place.</td><td align="center" valign="middle" >tr<sub>2</sub>, tr<sub>4</sub></td><td align="center" valign="middle" >tr<sub>3</sub></td></tr><tr><td align="center" valign="middle" >P<sub>7</sub></td><td align="center" valign="middle" >Specifies both a machine bounded input buffer and a conveyor output buffer.</td><td align="center" valign="middle" >tr<sub>5</sub></td><td align="center" valign="middle" >tr<sub>6</sub></td></tr><tr><td align="center" valign="middle" >P<sub>8</sub></td><td align="center" valign="middle" >Place of the maintenance sub-process start.</td><td align="center" valign="middle" >tr<sub>6</sub>, tr<sub>9</sub></td><td align="center" valign="middle" >tr<sub>6</sub>, tr<sub>7</sub></td></tr><tr><td align="center" valign="middle" >P<sub>9</sub></td><td align="center" valign="middle" >End of the maintenance sub-process.</td><td align="center" valign="middle" >tr<sub>7</sub></td><td align="center" valign="middle" >tr<sub>8</sub></td></tr><tr><td align="center" valign="middle" >P<sub>10</sub></td><td align="center" valign="middle" >The end of the workflow.</td><td align="center" valign="middle" >tr<sub>6</sub></td><td align="center" valign="middle" >∅</td></tr></tbody></table></table-wrap><p>three micro-transitions (Tr<sup>c</sup>, Tr<sup>w</sup>, and Tr<sup>p</sup>). <xref ref-type="table" rid="table3">Table 3</xref> and <xref ref-type="table" rid="table4">Table 4</xref> contain a detailed description of the sub-model transition specification as well as the corresponding probability values. <xref ref-type="table" rid="table3">Table 3</xref> describes the transition Tr<sub>6</sub> (which corresponds to Op<sub>6</sub> in <xref ref-type="table" rid="table1">Table 1</xref>) as follows: (“Machine run operation”).</p><p>&#183; Tokens Specification:</p><p>Three different token types are adopted by our WPTSPN, which is an FMS business process representation:</p><p>- A firing sequence triggered by the presence of a SAC-type token named sac<sub>1</sub> specifies the finished product cycle, from its primary form to its packaging. In other words, the FMS workflow represented by the WPTSPN, started by P<sub>1</sub> is considered as begin place contains sac<sub>1</sub>.</p><p>- To ensure the execution of the semi-automatic operations of the FMS workflow modeled by WPTSPN, we represent five types of tokens A having the execution agents’ role in the production section or the maintenance workflow. Place P<sub>0</sub> is considered the workers’ park.</p><p>- An encapsulation tokens type comes from the places-entries of a non-immediate transition. This new token role guaranteed the non-loss of the tokens-entries during the division and the sequential micro-transitions firing.</p></sec><sec id="s4_2"><title>4.2. FMS Model Represented by WPTSPN</title><p>In this subsection, with the development of the model WPTSPN representative</p><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> The business process FMS transitions specification</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Tr</th><th align="center" valign="middle" >Op</th><th align="center" valign="middle" >Type</th><th align="center" valign="middle" >Rate</th><th align="center" valign="middle" ><sup>I</sup>tr</th><th align="center" valign="middle" >tr<sup>O</sup></th></tr></thead><tr><td align="center" valign="middle" >Tr<sub>1</sub></td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >Stochastic</td><td align="center" valign="middle" >φ 1</td><td align="center" valign="middle" >P<sub>1</sub></td><td align="center" valign="middle" >P<sub>3</sub>, P<sub>2</sub></td></tr><tr><td align="center" valign="middle" >Tr<sub>2</sub></td><td align="center" valign="middle" >2</td><td align="center" valign="middle" >Stochastic</td><td align="center" valign="middle" >φ 2</td><td align="center" valign="middle" >P<sub>3</sub>, P<sub>4</sub></td><td align="center" valign="middle" >P<sub>5</sub>, P<sub>6</sub></td></tr><tr><td align="center" valign="middle" >Tr<sub>3</sub></td><td align="center" valign="middle" >3</td><td align="center" valign="middle" >Immediate</td><td align="center" valign="middle" ></td><td align="center" valign="middle" >P<sub>6</sub></td><td align="center" valign="middle" >P<sub>4</sub></td></tr><tr><td align="center" valign="middle" >Tr<sub>4</sub></td><td align="center" valign="middle" >4</td><td align="center" valign="middle" >Immediate</td><td align="center" valign="middle" ></td><td align="center" valign="middle" >P<sub>4</sub></td><td align="center" valign="middle" >P<sub>6</sub></td></tr><tr><td align="center" valign="middle" >Tr<sub>5</sub></td><td align="center" valign="middle" >5</td><td align="center" valign="middle" >Deterministic</td><td align="center" valign="middle" ></td><td align="center" valign="middle" >P<sub>2</sub>, P<sub>5</sub></td><td align="center" valign="middle" >P<sub>7</sub></td></tr><tr><td align="center" valign="middle" >Tr<sub>6</sub></td><td align="center" valign="middle" >6</td><td align="center" valign="middle" >Stochastic</td><td align="center" valign="middle" >φ 3</td><td align="center" valign="middle" >P<sub>0</sub>, P<sub>7</sub>, P<sub>8</sub></td><td align="center" valign="middle" >P<sub>10</sub>, P<sub>0</sub>, P<sub>8</sub></td></tr><tr><td align="center" valign="middle" >Tr<sub>7</sub></td><td align="center" valign="middle" >7</td><td align="center" valign="middle" >Stochastic</td><td align="center" valign="middle" >φ 4</td><td align="center" valign="middle" >P<sub>8</sub></td><td align="center" valign="middle" >P<sub>9</sub></td></tr><tr><td align="center" valign="middle" >Tr<sub>8</sub></td><td align="center" valign="middle" >8</td><td align="center" valign="middle" >Stochastic</td><td align="center" valign="middle" >φ 5</td><td align="center" valign="middle" >P<sub>0</sub>, P<sub>9</sub></td><td align="center" valign="middle" >P<sub>0</sub>, P<sub>8</sub></td></tr></tbody></table></table-wrap><table-wrap id="table4" ><label><xref ref-type="table" rid="table4">Table 4</xref></label><caption><title> Rates met description</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Rate</th><th align="center" valign="middle" >Mets signification</th></tr></thead><tr><td align="center" valign="middle" >φ 1</td><td align="center" valign="middle" >The raw material capture success rate</td></tr><tr><td align="center" valign="middle" >φ 2</td><td align="center" valign="middle" >Success rate of material movement operation</td></tr><tr><td align="center" valign="middle" >φ 3</td><td align="center" valign="middle" >Machine runtime service success rate</td></tr><tr><td align="center" valign="middle" >φ 4</td><td align="center" valign="middle" >Execution failure rate</td></tr><tr><td align="center" valign="middle" >φ 5</td><td align="center" valign="middle" >Repair rate maintenance operation</td></tr></tbody></table></table-wrap><p>of the FMS business process. The specification phase is completed by this step which summarizes the previous subsection steps.</p><p>From the FMS workflow specified by our WPTSPN model representing an extension of model in [<xref ref-type="bibr" rid="scirp.127669-ref7">7</xref>] , we consider an abstraction with two levels:</p><p>&#183; The first level presents the graphical PN representation via places, tokens randomly residence (stay), transitions, arc, tokens, and firing pre-conditions (see <xref ref-type="fig" rid="fig4">Figure 4</xref>(a)).</p><p>&#183; According to a micro-level life cycle, the second level explains the micro places, micro-transitions, and their firing pre-conditions (tokens consumption phase, execution phase, and tokens production phase) (liken in [<xref ref-type="bibr" rid="scirp.127669-ref7">7</xref>] ).</p><p>To illustrate the micro-places and the micro-transitions, we present the abstraction-second level applied to the transition Tr<sub>6</sub> in <xref ref-type="fig" rid="fig4">Figure 4</xref>(b). The Cardinality Marking Graph (<xref ref-type="fig" rid="fig5">Figure 5</xref>), State Graph based (<xref ref-type="fig" rid="fig6">Figure 6</xref>) on the timed places, Randomly residence (stay) time tokens, and tokens’ life-cycle shown earlier are helpful tools to interpret and verify the P-timed properties following a transitions firing sequence.</p></sec><sec id="s4_3"><title>4.3. FMS Model Checked Based on WPTSPN</title><p>The rules for conversion from a markings cardinalities graph CdM to a state graph G-SE are:</p><p>&#183; each CdM is transformed into a state e;</p><p>&#183; in case c d M i comes from a c d M i − 1 by firing an immediate transition of the WPTSPN, then a new state will not be considered and we associate a reversible arc in state e i − 1 .</p><p><xref ref-type="table" rid="table5">Table 5</xref> illustrates the correspondence between SE states and cdM markings and their generating transitions.</p><p>According to the markings cardinalities graph and the states graph associated with the WPTSPN, we notice:</p><p>&#183; According to the workflow semantics of the FMS system modeled by WPTSPN, the arrival of a sac<sub>1</sub> type token in the place considered initial. Then the state e<sub>0</sub> and cdM<sub>0</sub> are interpreted as the start of the FMS management process.</p><p>&#183; The state e<sub>4</sub> and cdM<sub>6</sub> are interpreted as the end of the FMS workflow.</p><p>&#183; According to the hypothesis of state stability during the firing of an immediate transition [<xref ref-type="bibr" rid="scirp.127669-ref63">63</xref>] , we observe that two tr<sub>3</sub> and tr<sub>4</sub> generate a state of temporal stability despite the change in the marking cardinality based on ordinary circulation tokens.</p><p>&#183; The firing of the tr<sub>7</sub> transition generates, according to the semantics of the workflow [<xref ref-type="bibr" rid="scirp.127669-ref6">6</xref>] , a change in the state of the sub-activity sac<sub>1</sub> from in-execution to suspended.</p><p>&#183; Each firing sequence comprising the two immediate transitions tr<sub>7</sub> and tr<sub>8</sub> generate a return to the (cdM<sub>5</sub>, e<sub>2</sub>), so it is a firing circuit.</p><p>&#183; The study of markings cardinalities graph allows us to notice that it is possible to fire three transition sequences: s 1   = { t r 1 ,   t r 2 ,   t r 3 ,   t r 4 ,   t r 5 ,   t r 7 ,   t r 8 ,   t r 5 ,   t r 6 } ; s 2 = { t r 1 ,   t r 2 ,   t r 5 ,   t r 7 ,   t r 8 ,   t r 5 ,   t r 6 } ; s 3   = { t r 1 ,   t r 2 ,   t r 5 ,   t r 6 } . The s<sub>3</sub> firing sequence ends with a transition providing the finished product (the sac<sub>1</sub> token instead</p><table-wrap id="table5" ><label><xref ref-type="table" rid="table5">Table 5</xref></label><caption><title> Markings cardinalities, states, and generating transitions in FMS management process</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Steps (CdM)</th><th align="center" valign="middle" >States</th><th align="center" valign="middle" >Transition</th></tr></thead><tr><td align="center" valign="middle" >c d M 0 [ 5,1,0,0,1,0,0,0,1,0,0 ]</td><td align="center" valign="middle" >e<sub>0</sub></td><td align="center" valign="middle" >-</td></tr><tr><td align="center" valign="middle" >c d M 1 [ 5,0,1,1,1,0,0,0,1,0,0 ]</td><td align="center" valign="middle" >e<sub>1</sub></td><td align="center" valign="middle" >tr<sub>1</sub></td></tr><tr><td align="center" valign="middle" >c d M 2 [ 5,0,1,0,0,1,1,0,1,0,0 ]</td><td align="center" valign="middle" >e<sub>2</sub></td><td align="center" valign="middle" >tr<sub>2</sub></td></tr><tr><td align="center" valign="middle" >c d M 3 [ 5,0,1,0,1,1,0,0,1,0,0 ]</td><td align="center" valign="middle" >e<sub>2</sub></td><td align="center" valign="middle" >tr<sub>3</sub></td></tr><tr><td align="center" valign="middle" >c d M 4 [ 5,0,1,0,0,1,1,0,1,0,0 ]</td><td align="center" valign="middle" >e<sub>2</sub></td><td align="center" valign="middle" >tr<sub>4</sub></td></tr><tr><td align="center" valign="middle" >c d M 5 [ 5,0,0,0,0,0,1,1,1,0,0 ]</td><td align="center" valign="middle" >e<sub>3</sub></td><td align="center" valign="middle" >tr<sub>5</sub></td></tr><tr><td align="center" valign="middle" >c d M 6 [ 5,0,0,0,0,0,1,0,1,0,1 ]</td><td align="center" valign="middle" >e<sub>4</sub></td><td align="center" valign="middle" >tr<sub>6</sub></td></tr><tr><td align="center" valign="middle" >c d M 7 [ 5,0,0,0,0,0,1,1,0,1,0 ]</td><td align="center" valign="middle" >e<sub>5</sub></td><td align="center" valign="middle" >tr<sub>7</sub></td></tr><tr><td align="center" valign="middle" >c d M 8 [ 5,0,0,0,0,0,1,1,1,0,0 ]</td><td align="center" valign="middle" >e 6 ⇌ e 3</td><td align="center" valign="middle" >tr<sub>8</sub></td></tr></tbody></table></table-wrap><p>P<sub>10</sub>), which contains no transition circuit, so its firing is assumed to be purely sequential.</p><p>The model’s properties are checked according to verification semantics based on T-timed:</p><p>&#183; The WPTSPN associated with the FMS workflow for the firing sequence transition s<sub>3</sub> is 9-bounded.</p><p>&#183; The WPTSPN is not pure.</p><p>&#183; The WPTSPN has no source transition.</p><p>&#183; The transitions are quasi-live so the WPTSPN model is almost alive.</p><p>&#183; Note that the WPTSPN has an accessibility problem when it reaches cdM<sub>6</sub>.</p><p>&#183; We see that cdM<sub>5</sub> and cdM<sub>8</sub> are equivalent to what a firing circuit shows.</p><p>&#183; The marking cardinality cdM<sub>5</sub> has no successor. So it’s a deadlock.</p><p>&#183; The WPTSPN is quasi-live, non-conservativeness, not proper, not balanced, and not sound.</p><p>The model properties specificity verifying based on the P-timed semantics and the tokens cycle life carried following a behavioral simulation of the FMS business process. So, the following subsection is dedicated to simulating the tokens’ randomly timed behavior in the places at the WPTSPN sequence s<sub>3</sub>.</p></sec><sec id="s4_4"><title>4.4. FMS Model Simulation</title><p>A cardinality marking graph/state graph interpretation verifies that cdM<sub>6</sub>/e<sub>4</sub> is the final state of the FMS business process. We select the transitions in three sequences s 1   = { t r 1 ,   t r 2 ,   t r 3 ,   t r 4 ,   t r 5 ,   t r 7 ,   t r 8 ,   t r 5 ,   t r 6 } , s 2   = { t r 1 ,   t r 2 ,   t r 5 ,   t r 7 ,   t r 8 ,   t r 5 ,   t r 6 } , and s 3   = { t r 1 ,   t r 2 ,   t r 5 ,   t r 6 } lead to the final state.</p><p>The s<sub>3</sub> sequence is preferred to be simulated since it does not contain circuits. In our firing and randomly residence time analysis, we try to apply the method adopted by the WPTSPN.</p><p>&#183; Let { e 0 ,   e 1 ,   e 2 ,   e 3 ,   e 4 } : the states’ firing sequence corresponding to s<sub>3</sub>.</p><p>&#183; Let { P 0 ,   P 1 ,   P 2 ,   P 3 ,   P 4 ,   P 5 ,   P 6 ,   P 7 ,   P 8 ,   P 10 } : the places’ subset is involved in the s<sub>3</sub> firing sequence.</p><p>&#183; Let MIP<sub>3</sub>: the matrix of the places input-transitions involved in the transitions sequence s<sub>3</sub>.</p><p>&#183; Let MPO<sub>3</sub>: the matrix of the places output-transitions involved in the transitions sequence s<sub>3</sub>.</p><p>M I P 3 = ( 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 ) M P O 3 = ( 1 0 0 0 0 0 0 1 1 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 )</p><p>&#183; Let MIT<sub>3</sub>: the matrix of the transitions input-places involved in the transitions sequence s<sub>3</sub>. Let MTO<sub>3</sub>: the matrix of the transitions output-places involved in the transitions sequence s<sub>3</sub>.</p><p>M I T 3 = ( 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 )</p><p>M T O 3 = ( 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 )</p><p>Thus, the simulated system evolution depends on different situations according to the densities types (Exponential, Normal, and Log-Normal). To calculate the firing time of each transition as well as the tokens’ random stay in each timed place, we target the transitions firing sequence S<sub>3</sub>. A data collection specifying the parameters of our simulation solution must be provided as an input {places, MIP<sub>3</sub>, MPO<sub>3</sub>}, {transitions, MIT<sub>3</sub>, MTO<sub>3</sub>, times at the latest, and firing rates}, and the parameters related to the probability distribution type ( λ   =   0.6 , μ   = 0.6 and σ   =   0.7 ). <xref ref-type="table" rid="table6">Table 6</xref> illustrates our simulation transitions basic data.</p><p>After retrieving the input data, our simulation process follows the following steps:</p><p>&#183; Step 1: The gravity center method [<xref ref-type="bibr" rid="scirp.127669-ref48">48</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref50">50</xref>] which is used by the T F i r i n g T ( t r j ) ( ∀ t r j   ∈   s 3 ) function, is used to determine the firing time for each transition in the firing sequence (s<sub>3</sub>/se<sub>3</sub>). This function returns three-time values, one for each density type (exponential, normal, and log-normal). The outcomes of this stage are presented in <xref ref-type="table" rid="table7">Table 7</xref>: (sorting time with the gravity center method according to the three types of distribution and their cumulative values).</p><p>We note:</p><p>- EGFT: Exponential Gravity Center Transition Firing Time;</p><p>- NGFT: Normal Gravity Center Transition Firing Time;</p><p>- L-NGFT: Log-Normal Gravity Center Transition Firing Time;</p><p>- CEGFT: Cumulative Exponential Center Transition Firing Time;</p><p>- CNGFT: Cumulative Normal Center Transition Firing Time;</p><p>- CL-NGFT: Cumulative Log-Normal Gravity Center Transition Firing Time.</p><p>&#183; Step 2: In this simulation phase, we calculate the cumulative firing time ( S F T =   ∑ ( T F i r i n g T ( t r j ) ) ) for each transition t r j in its firing sequence order (s<sub>3</sub>/se<sub>3</sub>). Also, for each transition, the three cumulative firing time values (see (<xref ref-type="table" rid="table7">Table 7</xref>)) are the basis for determining token dwell times. Then, for each timed place applied to the sequence, the lower bounds of the static stay intervals are determined from the matrix MIP<sub>3</sub>. For each density type, the MEFIP<sub>3</sub>, MNFIP<sub>3</sub>, and ML-NFIP<sub>3</sub> matrix are constructed to select each</p><table-wrap id="table6" ><label><xref ref-type="table" rid="table6">Table 6</xref></label><caption><title> Simulation transitions basic input data</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Tr</th><th align="center" valign="middle" >Type</th><th align="center" valign="middle" >Rate value</th><th align="center" valign="middle" >Time at the latest (expressed in minutes)</th></tr></thead><tr><td align="center" valign="middle" >Tr<sub>1</sub></td><td align="center" valign="middle" >Stochastic</td><td align="center" valign="middle" >0.6</td><td align="center" valign="middle" >10</td></tr><tr><td align="center" valign="middle" >Tr<sub>2</sub></td><td align="center" valign="middle" >Stochastic</td><td align="center" valign="middle" >0.7</td><td align="center" valign="middle" >15</td></tr><tr><td align="center" valign="middle" >Tr<sub>5</sub></td><td align="center" valign="middle" >Deterministic</td><td align="center" valign="middle" ></td><td align="center" valign="middle" >20</td></tr><tr><td align="center" valign="middle" >Tr<sub>6</sub></td><td align="center" valign="middle" >Stochastic</td><td align="center" valign="middle" >0.5</td><td align="center" valign="middle" >25</td></tr></tbody></table></table-wrap><table-wrap id="table7" ><label><xref ref-type="table" rid="table7">Table 7</xref></label><caption><title> Each value of transitions gravity center firing time is expressed in minutes</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Transition</th><th align="center" valign="middle" >EGFT</th><th align="center" valign="middle" >NGFT</th><th align="center" valign="middle" >L-NGFT</th><th align="center" valign="middle" >CEGFT</th><th align="center" valign="middle" >CNGFT</th><th align="center" valign="middle" >CL-NGFT</th></tr></thead><tr><td align="center" valign="middle" >tr<sub>1</sub></td><td align="center" valign="middle" >1.12</td><td align="center" valign="middle" >0.79</td><td align="center" valign="middle" >4.99</td><td align="center" valign="middle" >1.12</td><td align="center" valign="middle" >0.79</td><td align="center" valign="middle" >4.99</td></tr><tr><td align="center" valign="middle" >tr<sub>2</sub></td><td align="center" valign="middle" >3.89</td><td align="center" valign="middle" >2.37</td><td align="center" valign="middle" >9.99</td><td align="center" valign="middle" >5.02</td><td align="center" valign="middle" >3.17</td><td align="center" valign="middle" >14.98</td></tr><tr><td align="center" valign="middle" >tr<sub>5</sub></td><td align="center" valign="middle" >11.69</td><td align="center" valign="middle" >0.79</td><td align="center" valign="middle" >4.99</td><td align="center" valign="middle" >16.71</td><td align="center" valign="middle" >18.17</td><td align="center" valign="middle" >29.98</td></tr><tr><td align="center" valign="middle" >tr<sub>6</sub></td><td align="center" valign="middle" >35.08</td><td align="center" valign="middle" >37.13</td><td align="center" valign="middle" >37.48</td><td align="center" valign="middle" >51.80</td><td align="center" valign="middle" >55.30</td><td align="center" valign="middle" >67.47</td></tr></tbody></table></table-wrap><p>min-value row corresponding to the lower sac-token boundary at the current timed place (random residence).</p><p>M E F I P 3 = ( 0 0 0 0 0 0 0 51.80 0 0 0 0 1.12 0 0 0 0 0 16.71 0 0 5.02 0 0 0 5.02 0 0 0 0 16.72 0 0 0 0 51.80 0 0 0 51.80 )</p><p>M N F I P 3 = ( 0 0 0 0 0 0 0 55.30 0 0 0 0 0.79 0 0 0 0 0 18.17 0 0 3.17 0 0 0 3.17 0 0 0 0 18.17 0 0 0 0 55.30 0 0 0 55.30 )</p><p>M L - N F I P 3 = ( 0 0 0 0 0 0 0 67.47 0 0 0 0 4.99 0 0 0 0 0 29.98 0 0 14.98 0 0 0 14.98 0 0 0 0 29.98 0 0 0 0 67.47 0 0 0 67.47 )</p><p>&#183; Step 3: In this third phase, we fix a random residence interval upper limit, which is assigned to a token in each timed place occurring in the sequence s s<sub>3</sub>/se<sub>3</sub>. For each density type, the MEFIT<sub>3</sub>, MNFIT<sub>3</sub>, and ML-NFIT<sub>3</sub> matrices are elaborated to select the minimum value of each column corresponding to the upper limit of the token’s stay.</p><p>M E I T 3 = ( 0 1.12 0 0 0 0 0 0 0 0 0 0 0 5.02 5.02 0 0 0 0 0 0 0 16.71 0 0 16.71 0 0 0 0 0 0 0 0 0 0 0 51.80 51.80 0 )</p><p>M N I T 3 = ( 0 0.79 0 0 0 0 0 0 0 0 0 0 0 3.07 3.17 0 0 0 0 0 0 0 18.17 0 0 18.17 0 0 0 0 0 0 0 0 0 0 0 55.30 55.30 0 )</p><p>M N L I T 3 = ( 0 4.99 0 0 0 0 0 0 0 0 0 0 0 14.99 14.99 0 0 0 0 0 0 0 29.98 0 0 29.98 0 0 0 0 0 0 0 0 0 0 0 67.47 67.47 0 )</p><p>After determining the randomly residence limits for each sac-token in WPTSPN’ timed place, we clarify that stochastically using the density functions according to the three distributions. <xref ref-type="fig" rid="fig7">Figure 7</xref> represents the sac-token’ randomly residence distributions in the timed place P<sub>7</sub>.</p><p>&#183; The last step is summed up in determining for each place its three means of the stay time according to the gravity center method using the function M S T ( P i ) , ( ∀ P i ∈ s 3 ).</p><p><xref ref-type="table" rid="table8">Table 8</xref> illustrates the three randomly residence of all sac-token in the place P<sub>7</sub>, its average residence times according to the three densities (exponential, Normal, and Log-normal), and a token sac<sub>1</sub> cycle-life according to the time horizon.</p><p><xref ref-type="fig" rid="fig8">Figure 8</xref> specifies the process of determining the stay dynamic interval according to the place P<sub>7</sub> and the decision about the token’s life-cycle, according to its time sensor value. The token sac<sub>1</sub> arriving in the place P<sub>7</sub> following the transition tr<sub>5</sub> firing is equipped with an automatic time sensor. This time sensor can activate a perception operation of the Randomly residence and compare its value, triggered from the first moment in the place, with the MST(P<sub>7</sub>).</p><p>The following subsection shows our delay detection and prediction process related to the randomly residence time in a firing sequence.</p></sec><sec id="s4_5"><title>4.5. FMS Business Process Prediction Delay</title><p>The verification and simulation, allow us to detect a delay problem of the execution time relating to the operation op6 of the FMS business process, knowing that the latter is specified by the transition tr<sub>6</sub>. So, we determine the cumulative</p><table-wrap id="table8" ><label><xref ref-type="table" rid="table8">Table 8</xref></label><caption><title> Three randomly residence intervals of the token sac<sub>1</sub> and their life cycle in the place P<sub>7</sub></title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Density type</th><th align="center" valign="middle" >Lower limits</th><th align="center" valign="middle" >Upper limit</th><th align="center" valign="middle" >MST</th><th align="center" valign="middle" >τ &lt; L L</th><th align="center" valign="middle" >τ ∈ [ M S T , U L ]</th><th align="center" valign="middle" >τ &gt; U L</th></tr></thead><tr><td align="center" valign="middle" >Exp</td><td align="center" valign="middle" >16.71</td><td align="center" valign="middle" >51.80</td><td align="center" valign="middle" >18.65</td><td align="center" valign="middle" >not available</td><td align="center" valign="middle" >available with risk of delay</td><td align="center" valign="middle" >dead</td></tr><tr><td align="center" valign="middle" >N</td><td align="center" valign="middle" >18.17</td><td align="center" valign="middle" >55.30</td><td align="center" valign="middle" >18.79</td><td align="center" valign="middle" >not available</td><td align="center" valign="middle" >available with risk of delay</td><td align="center" valign="middle" >dead</td></tr><tr><td align="center" valign="middle" >L<sub>N</sub></td><td align="center" valign="middle" >29.98</td><td align="center" valign="middle" >67.47</td><td align="center" valign="middle" >33.43</td><td align="center" valign="middle" >not available</td><td align="center" valign="middle" >available with risk of delay</td><td align="center" valign="middle" >dead</td></tr></tbody></table></table-wrap><p>transition sequence firing time (s<sub>3</sub>/se<sub>3</sub>), after that, we check this delay indicated in the <xref ref-type="fig" rid="fig9">Figure 9</xref>. This figure illustrates the cumulative firing time, according to the three densities, for each transition making up the sequence. The delay detection step launches the prediction process linked to the tokens random residence in timed places. We apply the same prediction process to the micro-places, which are obtained following the division mechanism adopted by the model WPTSPN).</p><p>The model prediction approach requires converting the cardinality markings graph and/or the state sequence graph to Event-log: Lev, matching each cdM/se in Event. According to our FMS workflow simulation and verification results, firing sequence transitions denoted s<sub>3</sub>/se<sub>3</sub> create a delay risk in FMS execution. Therefore, we propose a delay prediction procedure based on the algorithmic aspect illustrated in <xref ref-type="fig" rid="fig8">Figure 8</xref>. Knowing that the delay causes the token death in timed places during the transitions firing sequence. So, we use a prediction process based on a density truncation with the three possible distributions. This last process is illustrated by Algorithm 1.</p><disp-formula id="scirp.127669-formula1"><graphic  xlink:href="//html.scirp.org/file/1-9303146x240.png?20230914085728362"  xlink:type="simple"/></disp-formula><p>An illustrative example of the truncated randomly residence densities is applied to sac-token in P<sub>7</sub> and shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>0. According to our model of transitions division approach (like in [<xref ref-type="bibr" rid="scirp.127669-ref7">7</xref>] ), it is possible to apply the truncating process at the second level (micro-places), as illustrated in <xref ref-type="fig" rid="fig1">Figure 1</xref>1 and <xref ref-type="fig" rid="fig1">Figure 1</xref>2.</p><p>Knowing that the two places (P<sub>17</sub>, P<sub>18</sub>) are considered as two micro-places preventing the splitting mechanism of the tr<sub>6</sub> transition. As our model based on the no interpretation hypothesis of immediate transitions, then t r 6 P does not temporally generate interpretable micro-states.</p><p>So, the immediate micro-transition T r 6 p densities’ truncation is not performed (like in [<xref ref-type="bibr" rid="scirp.127669-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref48">48</xref>] ). The delay margin calculating the operation is based on subtraction between the time corresponding to the gravity center stay of the</p><p>truncated density and the truncation time. After that, a statistical set is generated by observing the truncation operations on the densities. The empirical mean and empirical variance are determined for each density, with the confidence interval forming the aim around the truncation times delayed estimations. Since the statistical population number is reduced, we adopt the empirical estimate method in [<xref ref-type="bibr" rid="scirp.127669-ref7">7</xref>] and [<xref ref-type="bibr" rid="scirp.127669-ref75">75</xref>] .</p><p><xref ref-type="table" rid="table9">Table 9</xref> illustrates the prediction results based on our truncation process applied to P<sub>7</sub>, P<sub>17</sub> and P<sub>18</sub> micro-places. Thus, we determine the delay margins for truncated density. To explore the numerical values meaning in <xref ref-type="table" rid="table9">Table 9</xref>, we note:</p><p>&#183; LST: Lower Limit of Stay Interval;</p><p>&#183; TT: Truncated Time or Gravity Center Stay Time;</p><p>&#183; EM: Empirical Mean of Truncated Densities;</p><p>&#183; EMS: Empirical Margin of Stay;</p><p>&#183; EL: Empirical Likelihood;</p><p>&#183; CM: Empirical Confidence Margin.</p><p>The temporal analysis of tokens’ random residence in timed places adopted by our WPTSPN, shows that if we use an exponential density, then the stay-delay tends towards stability. So, <xref ref-type="fig" rid="fig1">Figure 1</xref>0 shows a uniformly distributed truncated stay density on the time horizon. According to <xref ref-type="table" rid="table9">Table 9</xref>, we notice that the stay margin distributed with the log-normal density gratitude is compared to that distributed with the normal one. Also, in the FMS business process evolution, the tr<sub>6</sub> transition favors the end of production because of a maintenance sub-process. The proposed model applies the prediction tool to the micro-places which result from the transitions division mechanism. We note that the prediction process, oriented towards the P-timed context, requires retrospection on the past input transitions firing time, and a future vision (estimation) of the transitions firing time output.</p><table-wrap id="table9" ><label><xref ref-type="table" rid="table9">Table 9</xref></label><caption><title> Three randomly time residence intervals in the places P<sub>7</sub>, P<sub>17</sub>, and P<sub>18</sub> truncated</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Places</th><th align="center" valign="middle" >Densitytype</th><th align="center" valign="middle" >LST</th><th align="center" valign="middle" >TT</th><th align="center" valign="middle" >EM</th><th align="center" valign="middle" >EMS</th><th align="center" valign="middle" >10<sup>2</sup>*EL</th><th align="center" valign="middle" >10<sup>2</sup>*CM</th></tr></thead><tr><td align="center" valign="middle"  rowspan="3"  >P<sub>7</sub></td><td align="center" valign="middle" >Exp</td><td align="center" valign="middle" >17</td><td align="center" valign="middle" >18.65</td><td align="center" valign="middle" >0.60</td><td align="center" valign="middle" >&#177;1.65</td><td align="center" valign="middle" >0.01</td><td align="center" valign="middle" >&#177;0.04</td></tr><tr><td align="center" valign="middle" >N</td><td align="center" valign="middle" >18</td><td align="center" valign="middle" >18.79</td><td align="center" valign="middle" >0.01</td><td align="center" valign="middle" >&#177;0.79</td><td align="center" valign="middle" >0.88</td><td align="center" valign="middle" >&#177;0.33</td></tr><tr><td align="center" valign="middle" >L<sub>N</sub></td><td align="center" valign="middle" >30</td><td align="center" valign="middle" >31.43</td><td align="center" valign="middle" >0.03</td><td align="center" valign="middle" >&#177;1.43</td><td align="center" valign="middle" >1.16</td><td align="center" valign="middle" >&#177;2.23</td></tr><tr><td align="center" valign="middle"  rowspan="3"  >P<sub>17</sub></td><td align="center" valign="middle" >Exp</td><td align="center" valign="middle" >19</td><td align="center" valign="middle" >20.65</td><td align="center" valign="middle" >0.60</td><td align="center" valign="middle" >&#177;1.65</td><td align="center" valign="middle" >0.01</td><td align="center" valign="middle" >&#177;0.04</td></tr><tr><td align="center" valign="middle" >N</td><td align="center" valign="middle" >19</td><td align="center" valign="middle" >19.79</td><td align="center" valign="middle" >0.02</td><td align="center" valign="middle" >&#177;0.79</td><td align="center" valign="middle" >0.09</td><td align="center" valign="middle" >&#177;0.40</td></tr><tr><td align="center" valign="middle" >L<sub>N</sub></td><td align="center" valign="middle" >31</td><td align="center" valign="middle" >32.15</td><td align="center" valign="middle" >0.03</td><td align="center" valign="middle" >&#177;1.15</td><td align="center" valign="middle" >1.18</td><td align="center" valign="middle" >&#177;2.51</td></tr><tr><td align="center" valign="middle"  rowspan="3"  >P<sub>18</sub></td><td align="center" valign="middle" >Exp</td><td align="center" valign="middle" >21</td><td align="center" valign="middle" >22.65</td><td align="center" valign="middle" >0.60</td><td align="center" valign="middle" >&#177;1.65</td><td align="center" valign="middle" >0.01</td><td align="center" valign="middle" >&#177;0.04</td></tr><tr><td align="center" valign="middle" >N</td><td align="center" valign="middle" >20</td><td align="center" valign="middle" >20.79</td><td align="center" valign="middle" >0.02</td><td align="center" valign="middle" >&#177;0.79</td><td align="center" valign="middle" >0.093</td><td align="center" valign="middle" >&#177;0.40</td></tr><tr><td align="center" valign="middle" >L<sub>N</sub></td><td align="center" valign="middle" >32</td><td align="center" valign="middle" >32.75</td><td align="center" valign="middle" >0.03</td><td align="center" valign="middle" >&#177;0.75</td><td align="center" valign="middle" >1.20</td><td align="center" valign="middle" >&#177;2.7</td></tr></tbody></table></table-wrap></sec></sec><sec id="s5"><title>5. Conclusions</title><p>In this article, we propose an extension of stochastic Petri nets [<xref ref-type="bibr" rid="scirp.127669-ref63">63</xref>] named WPTSPN and which combined with Workflow-Nets [<xref ref-type="bibr" rid="scirp.127669-ref6">6</xref>] . This extension endowedwith an orientation P-Timed [<xref ref-type="bibr" rid="scirp.127669-ref30">30</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref58">58</xref>] with (sojoun) residence times of the tokens determined randomly using the centers of gravity assigned to the density functions [<xref ref-type="bibr" rid="scirp.127669-ref31">31</xref>] . We apply their specification and verification approach in the context of the FMS Workflow [<xref ref-type="bibr" rid="scirp.127669-ref76">76</xref>] . In addition, the random residence time of tokens in timed places and the mechanism for triggering transitions are determined not only by the stochastic and deterministic aspects but also by other conditions adapted to the FMS context. The micro-steps are formally represented respectively by micro-places (micro-transitions [<xref ref-type="bibr" rid="scirp.127669-ref7">7</xref>] ) and sequentially concern the consumption, the execution of the task (sub-activity), and the production of tokens. The latter allows us to distinguish and locate, in a precisemanner, any type of execution failure. Our verification process adopted by the WPTSPN can bejustified by a state space based on the state graph, which represents firing sequences to control and localize shared resource conflicts.</p><p>We note that this model is enriched by formal tools based on the elapsed time to predict the remaining time and estimate the residence time (residence) of the tokens in the timed places during a firing sequence of a state. The residence time (stay) of the tokens in each model timed place, representative of an FMS, also indicates the expiration time of the primary or semi-finished material.</p><p>On the one hand, in our future work, we want to expand the expressiveness of the WPTSPN by incorporating the sharing of resource restrictions [<xref ref-type="bibr" rid="scirp.127669-ref76">76</xref>] , the interdependence between the time of activities [<xref ref-type="bibr" rid="scirp.127669-ref77">77</xref>] , and the performance evaluation of synchronous operations [<xref ref-type="bibr" rid="scirp.127669-ref30">30</xref>] [<xref ref-type="bibr" rid="scirp.127669-ref31">31</xref>] . This may be accomplished utilizing model transformation approaches, fluid Stochastic Petri Net models [<xref ref-type="bibr" rid="scirp.127669-ref26">26</xref>] , or RecatNets models [<xref ref-type="bibr" rid="scirp.127669-ref78">78</xref>] , which can be used to drive the tool to automatically change the development of the BPMN model into a WPTSPN like in [<xref ref-type="bibr" rid="scirp.127669-ref74">74</xref>] and [<xref ref-type="bibr" rid="scirp.127669-ref71">71</xref>] .</p><p>The WPTSPN, on the other hand, can be enriched with formal tools to cover a dynamic workflow context, ensuring the dynamic display of real-time performance and checking the dynamic workflow criteria to effectively assess the system’s strengths and weaknesses according to personalized criteria.</p></sec><sec id="s6"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s7"><title>Cite this paper</title><p>Mesmia, W.B., Barkaoui, K. and Escheikh, M. (2023) FMS-Workflow Modeling Based on P-Timed Stochastic Petri Net. Journal of Software Engineering and Applications, 16, 443-482. https://doi.org/10.4236/jsea.2023.169022</p></sec></body><back><ref-list><title>References</title><ref id="scirp.127669-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Alcacer, V. and Cruz-Machado, V. (2019) Scanning the Industry 4.0: A Literature Review on Technologies for Manufacturing Systems. Engineering Science and Technology, an International Journal, 22, 899-919. https://doi.org/10.1016/j.jestch.2019.01.006</mixed-citation></ref><ref id="scirp.127669-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">(2020) CGP Gestion de Production. https://www.cours-gratuit.com/cours-gestion/cours-sur-les-outils-de-la-gestion-de-production</mixed-citation></ref><ref id="scirp.127669-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Courtois, A., Martin-Bonnefous, C. and Pillet, M. (2003) Gestion de production. 4 eme Edition, Editions d’Organization.</mixed-citation></ref><ref id="scirp.127669-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Ballarini, P., Barbot, B., Duflot, M., Haddad, S. and Pekergin, N. (2015) HASL: A New Approach for Performance Evaluation and Model Checking from Concepts to Experimentation. Performance Evaluation, 90, 53-77. https://doi.org/10.1016/j.peva.2015.04.003</mixed-citation></ref><ref id="scirp.127669-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Weske, M. (2019) Business Process Management: Concepts, Languages, Architectures. Springer, Berlin. https://doi.org/10.1007/978-3-662-59432-2_1</mixed-citation></ref><ref id="scirp.127669-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Van der Aalst, W.M.P. and Van Hee, K. (2002) Workflow Management: Models, Methods, and System. The MIL Press, Cambridge.</mixed-citation></ref><ref id="scirp.127669-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Ben Mesmia, W., Escheikh, M. and Barkaoui, K. (2020) DevOps Workflow Verification and Duration Prediction Using Non-Markovian Stochastic Petri Nets. Journal of Software: Evolution and Process, 33, e2329. https://doi.org/10.1002/smr.2329</mixed-citation></ref><ref id="scirp.127669-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Sbai, Z. and Barkaoui, K. (2012) Verification Formelle des Processus Workflow Collaboratifs. Conference francophone sur les Systemes Collaboratifs, (SysCo’12), 5, 197-200.</mixed-citation></ref><ref id="scirp.127669-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">D’Ambrogio, A. and Zacharewicz, G. (2016) Resource-Based Modeling and Simulation of Business Processes. Proceedings of the 2016 Summer Computer Simulation Conference (SCSC 2016), Montreal, 24-27 July 2016, page.</mixed-citation></ref><ref id="scirp.127669-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">(2020) CEDP Chain Event-Driven Process. https://www.wu.ac.at/erp/webtrainer/epc-webtrainer/theory</mixed-citation></ref><ref id="scirp.127669-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">(2020) Object Management Group Business Process Model and Notation. https://www.omg.org/spec/BPMN/2.0</mixed-citation></ref><ref id="scirp.127669-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">(2020) BPMN 1.0 Business Process Model and Notation (BPMN)—Version 1.0 2020 URL. https://www.omg.org/spec/BPMN/1.1/PDF</mixed-citation></ref><ref id="scirp.127669-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Holzmann, G.J. (1997) The model checker SPIN. IEEE Transactions on Software Engineering, 23, 279-295. https://doi.org/10.1109/32.588521</mixed-citation></ref><ref id="scirp.127669-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">(2020) BPMN 2.0 Business Process Modeling Notation.https://www.omg.org/spec/BPMN/2.0/</mixed-citation></ref><ref id="scirp.127669-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Kheldoun, A., Barkaoui, K. and Ioualalen, M. (2017) Formal Verification of Complex Business Processes Based on High-Level Petri Nets. Information Sciences, 385-386, 39-54. https://doi.org/10.1016/j.ins.2016.12.044</mixed-citation></ref><ref id="scirp.127669-ref16"><label>16</label><mixed-citation publication-type="book" xlink:type="simple">Ciardo, G. (1995) Discrete-Time Markovian Stochastic Petri Nets. In: Stewart, W.J., Ed., Computations with Markov Chains, Springer, Boston, 339-358. https://doi.org/10.1007/978-1-4615-2241-6_20</mixed-citation></ref><ref id="scirp.127669-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Bocciarelli, P., D’Ambrogio, A., Giglio, A., Paglia, E. and Gianni, D. (2014) Empowering Business Process Simulation through Automated Model Transformations. 2014 Proceedings of the Symposium on Theory of Modeling and Simulation—DEVS Integrative M&amp;S Symposium, Tampa, 13-16 April 2014, 39-45.</mixed-citation></ref><ref id="scirp.127669-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Boucheneb, H. and Barkaoui, K. (2012) Parametric Verification of Time Workflow Nets. Proceeding of the 24th International Conference on Software Engineering and Knowledge Engineering SEKEC, San Francisco, 1-3 July 2012, 352-361.</mixed-citation></ref><ref id="scirp.127669-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Ben Mesmia, W., Escheikh, M. and Barkaoui, K. (2019) DevOps Workow Specification Based on Non-Markovian Stochastic Petri Nets with Enhanced Expressiveness. COSI’2019, Tizi-Ouzou, 24-26 June 2019, 2-12.</mixed-citation></ref><ref id="scirp.127669-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Yamaguchi, S., Yamaguchi, M. and Tanaka, M. (2008) A Soundness Verification Tool Based on the SPIN Model Checker for Acyclic Workflow Nets. The 23rd International Technical Conference on Circuits/Systems, Computers and Communications (ITC-CSCC 2008), Japan, 6-9 July 2008, 285-288.</mixed-citation></ref><ref id="scirp.127669-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Dumas, M., La Rosa, M., Mendling, J. and Reijers, H.A. (2018) Fundamentals of Business Process Management. Springer, Berlin. https://doi.org/10.1007/978-3-662-56509-4</mixed-citation></ref><ref id="scirp.127669-ref22"><label>22</label><mixed-citation publication-type="book" xlink:type="simple">Favrel, J. and Lee, K.H. (1985) Modelling, Analysing, Scheduling and Control of Flexible Manufacturing Systems. In: Falster, P. and Maxumder, R.B., Eds., Modelling Production Management Systems, Elsevier, Amsterdam, 279-288.</mixed-citation></ref><ref id="scirp.127669-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Cecil, J.A., Srihari, K. and Emerson, C.R. (1992) A Review of Petri-Net Applications in Manufacturing. The International Journal of Advanced Manufacturing Technology, 7, 168-177. https://doi.org/10.1007/BF02601620</mixed-citation></ref><ref id="scirp.127669-ref24"><label>24</label><mixed-citation publication-type="book" xlink:type="simple">Archetti, F. and Sciomachen, A. (1988) Representation, Analysis and Simulation of Manufacturing Systems by Petri-Net Based Models. In: Varaiya, P. and Kurzhanski, A.B., Eds., Discrete Event Systems: Models and Applications, Springer, Berlin, 162-178.</mixed-citation></ref><ref id="scirp.127669-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">Cox, D.R. (1995) The Analysis of Non-Markovian Stochastic Processes by the Inclusion of Supplementary Variables. Mathematical Proceedings of the Cambridge Philosophical Society, 51, 433-440. https://doi.org/10.1017/S0305004100030437</mixed-citation></ref><ref id="scirp.127669-ref26"><label>26</label><mixed-citation publication-type="book" xlink:type="simple">Trivedi, K.S. and Kulkarn, V.G. (1993) FSPNs: Fluid Stochastic Petri Nets. In: Ajmone Marsan, M., Ed., ICATPN 1993: Application and Theory of Petri Nets 1993, Springer, Berlin, 24-31. https://doi.org/10.1007/3-540-56863-8_38</mixed-citation></ref><ref id="scirp.127669-ref27"><label>27</label><mixed-citation publication-type="other" xlink:type="simple">Ciardo, G., German, R. and Lindemann, C. (1994) A Characterization of the Stochastic Process Underlying a Stochastic Petri Net. IEEE Transactions on Software Engineering, 20, 506-515. https://doi.org/10.1109/32.297939</mixed-citation></ref><ref id="scirp.127669-ref28"><label>28</label><mixed-citation publication-type="other" xlink:type="simple">Krogh, B.H. and Srecnivas, R.S. (1987) Essenlially Decision Free Petri Nets for Real-Time Resource Allocation. Proceedings of 1987 IEEE International Conference on Robotics and Automation, Raleigh, 31 March-3 April 1987, 1005-1011.</mixed-citation></ref><ref id="scirp.127669-ref29"><label>29</label><mixed-citation publication-type="other" xlink:type="simple">Colter, S.M., Woodward, A.T., fluck, A.A., Smith, R. and White, D.M. (1986) Extended Petri-Nets: The Language of Factory Automation? Proceedings of ISATA 1986: 15th International Symposium on Advances in Technology Education, Croydon, 1-20.</mixed-citation></ref><ref id="scirp.127669-ref30"><label>30</label><mixed-citation publication-type="other" xlink:type="simple">Khansa, W., Aygalinc, P. and Denat, J.P. (1996) Structural Analysis of P-Time Petri Nets Computational Engineering in Systems Applications. CESA’96 IMACS Multiconference, Computational Engineering in Systems Applications, Lille, 9-12 July 1996, 127-136.</mixed-citation></ref><ref id="scirp.127669-ref31"><label>31</label><mixed-citation publication-type="other" xlink:type="simple">Calvez, S., Aygalinc, P. and Khansa, W. (1997) P-Time Petri Nets for Manufacturing Systems with Staying Times Constraints. IFAC Proceedings Volumes, 30, 1487-1492. https://doi.org/10.1016/S1474-6670(17)43571-3</mixed-citation></ref><ref id="scirp.127669-ref32"><label>32</label><mixed-citation publication-type="other" xlink:type="simple">Capkovic, F. (1995) A Petri Net-Based Approach to Synthesis of Control Systems for Discrete Event Dynamic Systems New Trends in Design of Control Systems 1994. Elsevier, 345-350.</mixed-citation></ref><ref id="scirp.127669-ref33"><label>33</label><mixed-citation publication-type="other" xlink:type="simple">DiLeva, A., Vernadat, F. and Bizier, D. (1987) Information Systems Analysis and Conceptual Database Design on Production Environments with M*. Computers in Industry, 9, 183-217. https://doi.org/10.1016/0166-3615(87)90037-6</mixed-citation></ref><ref id="scirp.127669-ref34"><label>34</label><mixed-citation publication-type="other" xlink:type="simple">Bruno, G. and Biglia, P. (1985) Performance Evaluation and Validation of Tool Handling in Flexible Manufacturing Systems Using Petri Nets. Proceedings of International Workshop on Timed Petri-Nets, Turin, July 1985, 64-71.</mixed-citation></ref><ref id="scirp.127669-ref35"><label>35</label><mixed-citation publication-type="other" xlink:type="simple">Balbo, G., Chiola, G., Franceschinis, G. and Roet, G.M. (1987) Generalised Stochastic Petri Nets for the Performance Evaluation of FMS. Proceedings of IEEE International Conference on Robotics and Automation, Raleigh, 31 March-3 April 1987, 1013-1018.</mixed-citation></ref><ref id="scirp.127669-ref36"><label>36</label><mixed-citation publication-type="other" xlink:type="simple">Narahari, Y. and Viswanadham, N. (1987) Performance Evaluation Using a Class of Petri-Nets with Deterministic and Exponential Firing Times. TENCON 87, 1987 IEEE Region 10 Conference: “Computers and Communications Technology toward 2000”, Seoul, 25-28 August 1987, 482-486.</mixed-citation></ref><ref id="scirp.127669-ref37"><label>37</label><mixed-citation publication-type="other" xlink:type="simple">Wadbwa, S. and Thrownc, J. (1988) Analysis of Collision Avoidance in Multirobot Cells Using Petri Nets. Robotersysteme, 4, 107-115.https://dblp.org/rec/journals/robotersysteme/WadhwaB88.bib</mixed-citation></ref><ref id="scirp.127669-ref38"><label>38</label><mixed-citation publication-type="book" xlink:type="simple">Martincz, J. and Silva, M. (1984) A Language for the Description of Concurrent System Modeled by Colored Petri Nets: Application to the Control of Flexible Manufacturing Systems. In: Chang, S.K., Ed., Languages for Automation, Springer, Boston, 369-388. https://doi.org/10.1007/978-1-4757-1388-6_18</mixed-citation></ref><ref id="scirp.127669-ref39"><label>39</label><mixed-citation publication-type="other" xlink:type="simple">Castelain, E., Corbel, D. and Gentina, J.C. (1985) Comparative Simulations of Control Processes Described by Petri-Nets. Proceedings of COMPINT 1985: Computer Aided Technologies, Quebec, 8-12 September 1985, 215-226.</mixed-citation></ref><ref id="scirp.127669-ref40"><label>40</label><mixed-citation publication-type="other" xlink:type="simple">Ammour, R., Leclercq, E., Sanlaville, E. and Lefebvre, D. (2017) Faults Prognosis Using Partially Observed Stochastic Petri Nets: An Incremental Approach. Discrete Event Dynamic Systems, 28, 247-267. https://doi.org/10.1109/WODES.2016.7497890</mixed-citation></ref><ref id="scirp.127669-ref41"><label>41</label><mixed-citation publication-type="other" xlink:type="simple">Ajmone Marsan, M., Balbo, G. and Conte, G. (1984) A Class of Generalized Stochastic Petri Nets for the Performance Evaluation of Multiprocessor Systems. ACM Transaction Computer Systems, 2, 93-122. https://doi.org/10.1145/190.191</mixed-citation></ref><ref id="scirp.127669-ref42"><label>42</label><mixed-citation publication-type="other" xlink:type="simple">Choi, I., Song, M., Park, C. and Park, N. (2003) An XML-Based Process Definition Language for Integrated Process Management. Computers in Industry, 50, 85-102. https://doi.org/10.1016/S0166-3615(02)00139-2</mixed-citation></ref><ref id="scirp.127669-ref43"><label>43</label><mixed-citation publication-type="other" xlink:type="simple">Lefebvre, D. (2017) Detection of Temporal Anomalies for Partially Observed Timed PNs. Mathematical Problems in Engineering, 2017, Article ID: 2821078. https://doi.org/10.1155/2017/2821078</mixed-citation></ref><ref id="scirp.127669-ref44"><label>44</label><mixed-citation publication-type="other" xlink:type="simple">Lefebvre, D. (2017) Probability of Faults for Partially Observed Timed PNs with Temporal Constraints. 2017 IEEE 14th International Conference on Networking, Sensing and Control (ICNSC), Calabria, 16-18 May 2017, 103-108. https://doi.org/10.1109/ICNSC.2017.8000075</mixed-citation></ref><ref id="scirp.127669-ref45"><label>45</label><mixed-citation publication-type="other" xlink:type="simple">Berthomieu, B. and Diaz, M. (1991) Modeling and Verification of Time Dependent Systems Using Time Petri Nets. IEEE Transactions on Software Engineering, 17, 259-273. https://doi.org/10.1109/32.75415</mixed-citation></ref><ref id="scirp.127669-ref46"><label>46</label><mixed-citation publication-type="other" xlink:type="simple">Choi, H. (1993) Performance and Reliability Modeling Using Markov Regenerative Stochastic Petri Nets. Ph.D. Thesis, Graduate School of Duke University, Durham.</mixed-citation></ref><ref id="scirp.127669-ref47"><label>47</label><mixed-citation publication-type="other" xlink:type="simple">Ciardo, G. and Lindemann, C. (1993) Analysis of Deterministic and Stochastic Petri Nets. Proceedings of 5th International Workshop on Petri Nets and Performance Models, Toulouse, 19-22 October 1993, 160-169.</mixed-citation></ref><ref id="scirp.127669-ref48"><label>48</label><mixed-citation publication-type="other" xlink:type="simple">Rachidi, S. (2019) Diagnostic des défauts dans les systèmes à évènements discrets soumis à des contraintes temporelles. Automatique/Robotique. Thèse de Doctorat, Normandie Université, Normandie, 26-30. https://tel.archives-ouvertes.fr/tel-02441760</mixed-citation></ref><ref id="scirp.127669-ref49"><label>49</label><mixed-citation publication-type="other" xlink:type="simple">Lefebvre, D., Rachidi, S., Leclercq, E. and Pigné, Y. (2018) Diagnosis of Structural and Temporal Faults for k Bounded Non-Markovian Stochastic Petri Nets. IEEE Transactions on Systems, Man, and Cybernetics: Systems, 50, 3369-3381.</mixed-citation></ref><ref id="scirp.127669-ref50"><label>50</label><mixed-citation publication-type="other" xlink:type="simple">Lefebvre, D., Rachidi, S., Leclercq, E. and Pigné, Y. (2018) Temporal Fault Diagnosis for k-Bounded Non-Markovian SPN. 2018 5th International Conference on Control, Decision and Information Technologies (CoDIT), Thessaloniki, 10-13 April 2018, 271-276. https://doi.org/10.1109/CoDIT.2018.8394843</mixed-citation></ref><ref id="scirp.127669-ref51"><label>51</label><mixed-citation publication-type="other" xlink:type="simple">Dugan, J., Trivedi, K., Geist, R. and Nicola, V.F. (1984) Extended Stochastic Petri Nets: Applications and Analysis. Performance’ 84: Proceedings of the Tenth International Symposium on Computer Performance Modeling, Measurement and Evaluation, Paris, 19-21 December 1984, 507-519.</mixed-citation></ref><ref id="scirp.127669-ref52"><label>52</label><mixed-citation publication-type="other" xlink:type="simple">Ajmone Marsan, M., Balbo, G., Bobbio, A., Chiola, G., Conte, G. and Cumani, A. (1989) The Effect of Execution Policies on the Semantics and Analysis of Stochastic Petri Nets. IEEE Transactions on Software Engineering, 15, 832-846. https://doi.org/10.1109/32.29483</mixed-citation></ref><ref id="scirp.127669-ref53"><label>53</label><mixed-citation publication-type="book" xlink:type="simple">Van Dongen, B.F., Crooy, R.A. and Van der Aalst, W.M.P. (2008) Cycle Time Prediction: When Will This Case Finally Be Finished? In: Meersman, R. and Tari, Z., Eds., On the Move to Meaningful Internet Systems: OTM 2008, Springer, Berlin, 319-336. https://doi.org/10.1007/978-3-540-88871-0_22</mixed-citation></ref><ref id="scirp.127669-ref54"><label>54</label><mixed-citation publication-type="other" xlink:type="simple">Andreas Rogge, S. and Mathias, W. (2015) Prediction of Business Process Durations Using Non-Markovian Stochastic Petri Nets. Information Systems, 54, 1-14. https://doi.org/10.1016/j.is.2015.04.004</mixed-citation></ref><ref id="scirp.127669-ref55"><label>55</label><mixed-citation publication-type="other" xlink:type="simple">WFMS (2020) Workflow Management System (WFMS). https://www.igi-global.com/dictionary/workflow-management-system-wfms/32777</mixed-citation></ref><ref id="scirp.127669-ref56"><label>56</label><mixed-citation publication-type="other" xlink:type="simple">MP (2020) Processus-Management. https://www.pyx4.com/blog/3-familles-processus-management-realisation-support/</mixed-citation></ref><ref id="scirp.127669-ref57"><label>57</label><mixed-citation publication-type="other" xlink:type="simple">Petri, C.A. (1962) Kommunikation mit Automaten (Communication with Automata). Ph.D. Thesis, University of Bonn, Bonn.</mixed-citation></ref><ref id="scirp.127669-ref58"><label>58</label><mixed-citation publication-type="other" xlink:type="simple">Muratat, T. (1989) Petri Nets: Properties, Analysis and Application. Proceedings of the IEEE, 77, 541-580. https://doi.org/10.1109/5.24143</mixed-citation></ref><ref id="scirp.127669-ref59"><label>59</label><mixed-citation publication-type="other" xlink:type="simple">Ramamoorthy, C.V. and Ho, G.S. (1980) Performance Evaluation of Asynchronous Concurrent Systems Using Petri Nets. IEEE Transactions on Software Engineering, SE-6, 440-449. https://doi.org/10.1109/TSE.1980.230492</mixed-citation></ref><ref id="scirp.127669-ref60"><label>60</label><mixed-citation publication-type="other" xlink:type="simple">Laftit, S. (1991) Graphes d’événements deterministes et stochastiques: Application aux systemes de production. Thèse de Doctorat, Université de Paris, Paris.</mixed-citation></ref><ref id="scirp.127669-ref61"><label>61</label><mixed-citation publication-type="other" xlink:type="simple">David, R. and Alla, H. (1992) Du grafcet aux reseaux de Petri. Hermes Science Publications, Paris.</mixed-citation></ref><ref id="scirp.127669-ref62"><label>62</label><mixed-citation publication-type="other" xlink:type="simple">Dicesare, F., Harhalakis, G., Proth, J.M., Silva, M. and Vernadat, F.B. (1993) Practice of Petri Nets in Manufacturing. Chapman et Hall, London. https://doi.org/10.1007/978-94-011-6955-4</mixed-citation></ref><ref id="scirp.127669-ref63"><label>63</label><mixed-citation publication-type="book" xlink:type="simple">Balbo, G. (2000) Introduction to Stochastic Petri Nets. In: Brinksma, E., Hermanns, H. and Katoen, J.P., Eds., EEF School 2000: Lectures on Formal Methods and PerformanceAnalysis, Springer, Berlin, 84-155. https://doi.org/10.1007/3-540-44667-2_3</mixed-citation></ref><ref id="scirp.127669-ref64"><label>64</label><mixed-citation publication-type="book" xlink:type="simple">Ballarini, P., Gallet, E., Le Gall, P. and Manceny, M. (2019) Formal Analysis of the Wnt/β-Catenin through Statistical Model Checking. In: Margaria, T. and Steffen, B., Eds., ISoLA 2014: Leveraging Applications of Formal Methods, Verification and Validation. Specialized Techniques and Applications, Springer, Berlin, 193-207. https://doi.org/10.1007/978-3-662-45231-8_14</mixed-citation></ref><ref id="scirp.127669-ref65"><label>65</label><mixed-citation publication-type="other" xlink:type="simple">Thé Workflow Management Coalition Spécification (1999) Workflow Management Coalition Terminology and Glossary. Technical Report WFMC-TC-1011, Workflow Management Coalition, Brussels.</mixed-citation></ref><ref id="scirp.127669-ref66"><label>66</label><mixed-citation publication-type="other" xlink:type="simple">TimeNet (2020). https://timenet.tu-ilmenau.de/</mixed-citation></ref><ref id="scirp.127669-ref67"><label>67</label><mixed-citation publication-type="other" xlink:type="simple">Ballarini, P., Djafri, H., Duflot, M., Haddad, S. and Pekergin, N. (2011) Petri Nets Compositional Modeling and Verification of Flexible Manufacturing Systems. 2011 IEEE International Conference on Automation Science and Engineering, Trieste, 24-27 August 2011, 588-593. https://doi.org/10.1109/CASE.2011.6042488</mixed-citation></ref><ref id="scirp.127669-ref68"><label>68</label><mixed-citation publication-type="other" xlink:type="simple">Narahari, Y. and Viswanadham, N. (1994) Transient Analysis of Manufacturing Systems Performance. IEEE Transactions on Robotics and Automation, 10, 230-244. https://doi.org/10.1109/70.282547</mixed-citation></ref><ref id="scirp.127669-ref69"><label>69</label><mixed-citation publication-type="other" xlink:type="simple">Buzacoott, J.A. and Shantikumar, J.G. (1993) Stochastic Models of Manufacturing Systems. Prentice-Hall, New Jersey.</mixed-citation></ref><ref id="scirp.127669-ref70"><label>70</label><mixed-citation publication-type="other" xlink:type="simple">Bizagi Modeler (2020) http://www.bizagi.com/en/products/bpm-suite/modeler/</mixed-citation></ref><ref id="scirp.127669-ref71"><label>71</label><mixed-citation publication-type="other" xlink:type="simple">Mutarraf, U., Barkaoui, K., Li, Z.W., Wu, N. and Qu, T. (2018) Transformation of Business Process Model and Notation Models Onto Petri Nets and Their Analysis. Advances in Mechanical Engineering, 10, 168781401880817. https://hal.science/hal-02475788</mixed-citation></ref><ref id="scirp.127669-ref72"><label>72</label><mixed-citation publication-type="book" xlink:type="simple">van der Aalst, W.M.P. (1996) Three Good Reasons for Using a Petri-Net-Based Workflow Management System. In: Wakayama, T., Kannapan, S., Khoong, C.M., Navathe, S. and Yates, J., Eds., Information and Process Integration in Enterprises, Springer, Boston, 161-182.</mixed-citation></ref><ref id="scirp.127669-ref73"><label>73</label><mixed-citation publication-type="book" xlink:type="simple">van der Aalst, W.M.P. (1997) Verification of Workflow Nets. In: Azéma, P. and Balbo, G., Eds., ICATPN 1997: Application and Theory of Petri Nets 1997, Springer, Berlin, 407-426. https://doi.org/10.1007/3-540-63139-9_48</mixed-citation></ref><ref id="scirp.127669-ref74"><label>74</label><mixed-citation publication-type="other" xlink:type="simple">Meghzili, S., Chaoui, A., Strecker, M. and Kerkouche, E. (2016) Transformation and Validation of BPMN Models to Petri Nets Models Using GROOVE. 2016 International Conference on Advanced Aspects of Software Engineering (ICAASE), Constantine, 29-30 October 2016, 22-29. https://ieeexplore.ieee.org/abstract/document/7843859/authors</mixed-citation></ref><ref id="scirp.127669-ref75"><label>75</label><mixed-citation publication-type="other" xlink:type="simple">(2020) Statistique: Estimation. https://www.math.u-bordeaux.fr/~mchabano/Agreg/ProbaAgreg1213-COURS2-Stat1.pdf</mixed-citation></ref><ref id="scirp.127669-ref76"><label>76</label><mixed-citation publication-type="book" xlink:type="simple">Barkaoui, K. and Petrucci, L. (1998) Structural Analysis of Workflow Nets with Shared Resources. In: van der Aalst, W.M.P., De Michelis, G. and Ellis, C.A., Eds., Workflow Management: Net-Based Concepts, Models, Techniques, and Tools (WFM’98): Proceedings of the Workshop, June 22, 1998, Lisbon, Portugal: WFM’98, Proceedings of the Workshop on Workflow Management.https://api.semanticscholar.org/CorpusID:60056523</mixed-citation></ref><ref id="scirp.127669-ref77"><label>77</label><mixed-citation publication-type="book" xlink:type="simple">Barkaoui, K., Boucheneb, H. and Hicheur, A. (2009) Modelling and Analysis of Time-Constrained Flexible Workflows with Time Recursive ECATNets. In: Bruni, R. and Wolf, K., Eds., WS-FM 2008: Web Services and Formal Methods, Springer, Berlin, 19-36. https://doi.org/10.1007/978-3-642-01364-5_2</mixed-citation></ref><ref id="scirp.127669-ref78"><label>78</label><mixed-citation publication-type="book" xlink:type="simple">Barkaoui, K. and Hicheur, A. (2012) Towards Analysis of Flexible and Collaborative Workflow Using Recursive ECATNets. In: ter Hofstede, A., Benatallah, B. and Paik, H.Y., Eds., BPM 2007: Business Process Management Workshops, Springer, Berlin, 232-244. https://doi.org/10.1007/978-3-540-78238-4_24</mixed-citation></ref></ref-list></back></article>