1. Introduction
Intelligent Transportation Systems (ITSs) rely on well-developed infrastructure such as roads, ports, airports, and communication networks. By integrating advanced information technologies—including data communication and transmission, electronic sensing and monitoring, electronic control, and computer processing—ITS supports the development of a real-time, accurate, and efficient transportation management framework with comprehensive operational coverage [
1,
2] ITS also transforms the traditional interaction model among the three core elements of transportation systems: people, vehicles, and roads. With the deployment of ITS, road utilization can be improved, vehicle energy consumption can be reduced, traffic congestion can be alleviated, short-distance mobility efficiency can be enhanced, and the capacity of existing road networks can be strengthened [
3]. After more than a decade of promotion, testing, and development, ITS has been widely implemented in both urban and highway networks across developed and developing countries. Practical experience has demonstrated that ITS provides an effective response to the transportation pressures driven by rapid economic growth [
4]. Intelligent traffic early warning systems play an important role in accident prevention, rapid response, and the efficient use of road resources, and therefore remain a central research topic within Intelligent Transportation Systems (ITSs). To support early warning and safety management in transportation infrastructures, several studies have explored the integration of sensing, monitoring, and simulation technologies. For example, Wu Xianguo et al. [
5] developed an IoT-based structural health monitoring framework for subways using BIM technology, which enabled the visualization of structural monitoring data. Gaofeng and colleagues [
6] combined BIM with GIS to examine its application in safety forecasting and early warning for subway tunnels. Zhang Jianqing [
7] designed a temperature monitoring and warning system for high-speed railway ballastless tracks, capable of computing and predicting temperature distributions. In a different context, Quan Xiongwei and Zuo Gaoshan [
8] investigated NIMBY conflicts associated with waste-to-energy plants by constructing an evolutionary model based on Stochastic Petri Nets (SPN). Drawing on grounded theory and multiple real-world cases, they identified eleven categories of influencing factors, including risk perception, government trust, and experiential cognition. Their study established the SPN structure and its isomorphic Markov chain, and derived the steady-state probability distribution to characterize the long-term evolution of residents’ collective behavioral states. Sensitivity simulations on key transition rates (e.g., λ
2, λ
7, λ
12) further revealed how government decision-making, information dissemination, and opinion-leader mobilization affect protest dynamics and conflict escalation. This work highlights the capability of SPN models to capture the evolution of social group behaviors and provides quantitative insights for conflict prevention and policy intervention. An efficient crisis early warning mechanism is essential for managerial decision-making, effective governance, and improved resource utilization [
9]. Existing research on early warning systems can generally be categorized into three areas. The first area is early warning identification, which applies methods such as convolutional neural networks, bipartite and relational networks, graph embedding techniques, and graph2vec algorithms to extract risk features from raw data, identify risk propagation paths, and detect critical targets. These approaches significantly enhance the accuracy of early warning processes.
The second area is early warning monitoring. Techniques such as scan statistics and conditional random field-based risk classification models are used to detect the onset of crisis events and support the dynamic monitoring of public opinion-related risks The third area is early warning assessment, in which big data analytics and computational experiments are employed to strengthen data-driven decision-making and improve the evaluation of crisis risk levels.
The core of a crisis early warning mechanism lies in the selection of warning indicators and the design of appropriate forecasting methods. In terms of indicator development, Yang Xiaoxi et al. [
10], drawing on information ecology theory, mapped the relationships among information ontology, information environment, information agents, and public opinion onto constructs such as information niche breadth, information proliferation state, and competition–cooperation dynamics. This mapping provided a systematic basis for building an early warning indicator system. Huang Wei [
11] examined the causes, development, and consequences of online terrorist incidents, proposing a corresponding indicator framework and identifying early-stage online popularity and influence as the most critical predictive factors. In terms of predictive methods, Tian Shihai [
12] developed crisis early warning indicators based on the information attributes of online public opinion during emergencies and constructed a three-level risk index system (Levels I–III). He further designed a “stepwise-parallel” early warning mechanism by embedding these indices into a structured decision framework and applied it to the “Beijing Xinfadi COVID-19 outbreak,” where the mechanism was simulated using the isomorphism between Stochastic Petri Nets (SPN) and Markov chains. Additionally, Huang Jing [
13] analyzed agricultural drought emergency management using the OODA loop model, established a multi-department collaborative response process, and constructed an SPN-based simulation model. Performance analysis of the corresponding Markov chain revealed key process stages and opportunities for optimizing processing times. Although these studies provide valuable methodological insights, they fall short in offering a clear and intuitive representation of the operational dynamics underlying crisis early warning systems.
With the increasing complexity and dynamism of modern urban transportation systems, research attention has increasingly shifted toward modeling and analyzing their stochasticity, concurrency, and real-time responsiveness. Traditional modeling approaches [
12,
13,
14,
15], such as differential equations and Markov chains, can describe certain dynamic behaviors but are limited in capturing concurrent events, resource competition, and system-level uncertainties. Stochastic Petri Nets (SPNs), which combine probability theory with parallel computation, offer a more expressive modeling framework for performance evaluation and optimization. In an SPN, places represent local system states, transitions represent state-changing events, and arcs define their relationships through input and output connections [
16]. Leveraging the dynamic descriptive capabilities of SPNs, researchers have quantified state transition probabilities in complex evolutionary processes, identified system bottlenecks, and optimized resource allocation to enhance operational performance. In an SPN model, places may contain any number of tokens that represent the evolving state of the system. As events occur, tokens move among places according to the direction of arcs, thereby capturing real-time state transitions. The dynamic behavior of an SPN is governed by its firing rules. Each transition has a set of input places and output places. A transition becomes enabled when all its input places contain at least the required number of tokens specified on the input arcs. Once enabled, the transition fires after a stochastic delay. The firing process removes tokens from input places and simultaneously generates tokens in the output places, forming an atomic, indivisible update step. The time-varying distribution of tokens across places is known as the marking, which represents the current system state [
16]. The concept of the Petri Net was first introduced by Carl Adam Petri in 1962. Since the first international workshop in 1980, the theoretical foundations and applications of Petri Nets have undergone significant development. Various extensions have been proposed to address the growing complexity of modern systems. For example, the Generalized Stochastic Petri Net (GSPN) simplifies state-space structures; the Extended Stochastic Petri Net (ESPN) supports non-exponential firing distributions; the Deterministic and Stochastic Petri Net (DSPN) combines deterministic delays with discrete-time Markov chains; the Stochastic Reward Net (SRN) incorporates reward structures for performance evaluation; and the Stochastic High-Level Petri Net (SHLPN) integrates exponentially distributed timing into high-level constructs [
16]. Due to its adaptability in modeling complex systems, the SPN framework has been widely applied to simulate the evolution of group events, infectious disease transmission, and network information propagation. These studies often emphasize sensitivity analysis of critical transition parameters. In the field of intelligent transportation, SPN research has also made substantial progress. For instance, Zhong Xianxin [
17] extended the ROAD meta-architecture into the ROADS framework to overcome the limitations of traditional IDEF0-based activity models in representing complex triggers and information-exchange scenarios. Huang Fenglan [
18] further proposed a method for generating executable Colored Petri Net (CPN) models from TOGAF business architectures by mapping the four categories defined in the ACF meta-model—Rule Model (RM), Organization Model (OM), Activity Model (AM), and Data Model (DM)—to CPN constructs and formulating a five-stage modeling process. While prior works such as Zhong et al. and Huang et al. have advanced executable and architecture-oriented Petri net modeling for business and data-flow mapping, these approaches primarily focus on automated model generation and architecture-to-CPN translations rather than on targeted subprocess-level sensitivity analysis. In contrast, this study explicitly constructs a modular SPN organized around the perception–decision–response loop, where each transition rate (λ) is mapped to a clearly identifiable operational subprocess (e.g., data-cleaning, early-warning evaluation). Yan Zhe [
19] incorporated the four elements of game theory into Logical Petri Nets and applied a Logical Game Probabilistic Petri Net to model subway emergency decision-making processes. Li Jingyu et al. [
20] provided theoretical support for traffic signal coordination control. Huang Fenglan [
21] also introduced a Hierarchical Colored Petri Net (HCPN) with arc weights to formalize data flow representation while modeling multi-instance and sub-process structures. Sun Qipeng [
22] employed the Visual Object Net++ simulation platform to construct and simulate an SPN model of the intercity passenger travel service process, further transforming it into an isomorphic Markov chain to analyze urban subway travel as a sub-process, thereby optimizing intercity passenger services. In related research on human–robot collaboration (HRC) for complex task allocation, Xiao et al. [
23] proposed a multi-scenario digital twin-driven HRC multi-task disassembly process planning framework, based on dynamic Time Petri Net (TPN) models and a heterogeneous multi-agent double deep Q-learning network. Their approach integrates TPN models to represent real-time disassembly information and relationships, while the multi-agent learning algorithm determines optimal disassembly sequences and task allocations. Similarly, Xiao [
24] developed an improved HRC disassembly method combining Q-learning with Particle Swarm Optimization (PSO) to optimize multi-agent disassembly task sequences for electric vehicle battery recycling. This method further integrates Q-learning with a variable neighborhood search (VNS) algorithm to enhance local search capabilities and improve task allocation efficiency. Case studies on battery disassembly demonstrate that these approaches significantly improve the efficiency and flexibility of HRC task planning under dynamic operational conditions. Together, these studies illustrate the potential of Petri net-based and reinforcement learning-enhanced frameworks to optimize complex, uncertain, and multi-agent systems, providing a conceptual parallel to SPN-based performance modeling in intelligent traffic systems. In addition to stochastic Petri nets, fuzzy logic-based approaches have been widely investigated for adaptive urban traffic control. Jafari (2021) [
25] proposed a Takagi–Sugeno (TS) fuzzy controller that adjusts traffic signals based on queue lengths and vehicle flow at intersections, using state-space modeling to capture waiting times and queue dynamics. Stability was verified through Lyapunov analysis, and simulations showed improvements over conventional fuzzy and fixed-time controllers. Similarly, Tunc (2021) [
26] implemented a fuzzy logic controller for a four-legged junction, where the inputs included queue length and vehicle location state. Using the Simulation of Urban Mobility (SUMO) platform, the authors demonstrated that adaptive signal timing reduces waiting times and queue lengths compared with static approaches. While fuzzy logic controllers excel at handling uncertainty and providing flexible local control, stochastic Petri nets (SPNs) offer a complementary system-level perspective. SPNs explicitly represent discrete events, concurrent processes, and probabilistic behaviors, which allow for performance evaluation, reliability analysis, and the identification of system bottlenecks in complex, multi-layered intelligent transportation scenarios. Building on the development of fuzzy logic and reinforcement learning approaches, agent-based modeling (ABM) has also emerged as a powerful alternative for simulating complex transportation systems. Chen Gao (2023) [
27] surveyed the integration of large language models into ABM, highlighting their potential to enhance environment perception, agent decision-making, and scenario evaluation. Furthermore, Bastarianto (2023) [
28] proposed an adaptive traffic signal control framework using ABM to model heterogeneous vehicle behaviors and dynamic interactions at intersections, demonstrating the method’s effectiveness in reducing congestion and improving traffic flow. While ABM focuses on modeling individual agents and their interactions to capture emergent behaviors, stochastic Petri nets (SPNs) provide a complementary system-level perspective, explicitly representing concurrent events, probabilistic behaviors, and state transitions. Combining insights from both approaches can offer a more comprehensive understanding of adaptive traffic control and system performance under uncertainty.
The main contributions of this work are as follows: (1) it proposes a modular SPN representation of the intelligent traffic warning process, explicitly structured around the perception–decision–response loop. This design enables clear separation and interaction modeling of acquisition, judgment, and response subprocesses. (2) It develops a mapping scheme that links SPN transition rates to domain-specific performance metrics, making sensitivity analysis directly applicable to resource allocation and workflow redesign. (3) It integrates steady-state probabilities with additional operational indicators—average token counts and transition utilization rates—to more precisely identify bottlenecks. (4) It introduces a state-reduction procedure that preserves functional semantics while mitigating state-space explosion, ensuring tractable steady-state analysis for applied scenarios.
4. Dynamic Performance Analysis
4.1. Mean Token Count with 95% Confidence Interval
The average token count is an important dynamic performance metric. It reflects the workload and utilization of a particular place by measuring the average number of tokens it holds. Over long-term operation, a higher token count indicates that the state is occupied more frequently. The 95% confidence interval represents the variability observed during the simulation: a narrower interval indicates that the simulation results are stable and reliable, while a wider interval suggests that the outcomes are more sensitive to initial conditions or the simulation duration.
Table 4 presents the average token counts for the SPN model along with their corresponding 95% confidence intervals, as obtained from simulations performed using the PIPE software.
Based on the analysis of the average token counts and their corresponding 95% confidence intervals for each place, it is observed that places P0–P6 generally exhibit higher average token counts compared to the others, indicating that these places are persistently occupied and constitute critical components of the overall system. In contrast, places P8–P11 show relatively lower average token counts, suggesting either a high throughput of tokens or slower firing rates in preceding transitions, which limit token accumulation. Notably, the narrower confidence intervals observed for P8 and P10 indicate that these places are unstable and highly sensitive to fluctuations in transition rates. Based on these findings, P5 (available data set), P8 (red alert determination), P9 (entry into orange alert system), P10 (orange alert determination), and P11 (traffic management verification) are identified as key places. The transition rates associated with these places and their adjacent transitions are subsequently targeted for rate control, enabling a more focused sensitivity analysis of the system’s dynamic behavior.
4.2. Sensitivity Analysis
Chapter 2 mapped the intelligent traffic warning system into the SPN and constructed a steady-state probability equation. This section explores the impact of the average implementation rate of transition t on the evolutionary risk.
Table 5 below shows the mapping relationship between transitions T
i and λ
i in the SPN.
To ensure reproducibility and transparency of the experiments, all simulation settings, initial conditions, and parameter assumptions are explicitly defined. At the start of each simulation run, every place in the SPN model was initialized with one token, representing an active traffic information flow or processing entity. The network topology, firing logic, and transition connections followed the structure described in
Section 3.
The transition rates (λ
0–λ
13) were determined according to official technical standards and specifications, including the Smart City Platform Specifications, Urban Intelligent Transportation Specification (GA/T 928–2011) [
29], Technical Requirements for Urban Traffic Operation Monitoring and Early Warning (GA/T 1400–2017) [
30], and Urban Traffic Incident Response and Feedback Specifications (GA/T 1301–2016) [
31].
Table 6 summarizes the classification, values, and sources of the transition rates. For example, λ
0 and λ
13 are set to 10 s based on platform specifications; λ
1 is set according to GPS/camera/sensor sampling frequency (0.5–1 Hz); λ
2–λ
12 are set according to real-time data fusion, system analysis, and the aforementioned standards. These values approximate the operational response speeds of intelligent traffic management systems in typical Chinese cities.
Three simplifying assumptions were made to facilitate the modeling process: the communication network is assumed to be stable during data transmission, without packet loss. The processing time of each transition follows an exponential distribution, consistent with the stochastic Petri net framework. The system processes one alert event at a time, while allowing concurrent data inputs.
A sensitivity analysis was further conducted by varying key transition rates (e.g., λ2, λ9, and λ11) within their practical operational ranges to evaluate how the system performance responds to fluctuations in data-cleaning and decision-making efficiency.
According to 3.1, five key locations are identified: P
5 (available data set), P
8 (determination of red alert), P
9 (whether to enter the orange alert system), P
10 (determination of orange alert), and P
11 (traffic management team review). The transition rates involved before and after these five locations are λ2, λ3, λ6, λ7, λ8, λ9, λ
10, λ
11, and λ
12. Using the control variable method, the remaining transition rates are kept constant, and P(M
i) is calculated using Python (version 3.11). For visual clarity, a line graph is plotted with the transition rate as the horizontal axis and the stability probability as the vertical axis. A sensitivity analysis of the key locations is further performed. Since the initial values of the transition rates in
Table 6, λ
6, λ
7, λ
8, and λ
9, are all the rates at which the system determines an alert, only one of these transition rates is selected for analysis, leaving only λ
9.
The steady-state probability trends shown in
Figure 4 are consistent with the Markov chain depicted in
Figure 4. By comparing the individual subplots, the effects of different transition rates on system performance and state probabilities can be analyzed as follows: in the figure, λ
2 represents the data cleansing rate. As λ
2 increases, the steady-state probability of P(M
2) decreases significantly, while the probabilities of preceding states such as P(M
1) and P(M
3) gradually increase. This indicates that accelerating data cleansing reduces the number of tasks in subsequent processing stages. If downstream processing capacity does not scale accordingly, a backlog may occur. Therefore, it is recommended to optimize downstream paths while increasing the cleansing rate. λ
10 corresponds to the red alert processing rate. The figure shows that when λ
10 varies between 240 and 300, the state probabilities remain almost unchanged. This suggests that the red alert handling speed has a limited impact on the overall state distribution, indicating that the current red alert response mechanism is already highly adaptive. λ
3 denotes the rate at which data enters the alert evaluation system. As λ
3 increases, P(M
3) remains stable while P(M
6) shows a slight increase, indicating that increasing the input rate to the evaluation system helps activate the alert processing workflow and effectively drives the system along the alert assessment path. λ
11 represents the orange alert processing rate. The figure shows that increasing λ
11 significantly raises the probability of P(M
9) while P(M
10) gradually decreases. This reflects that faster orange alert processing helps alleviate system bottlenecks. It is therefore recommended to allocate additional resources to orange alert-related workflows, as improving processing capacity can effectively reduce the residence time of high-risk states. λ
9 corresponds to the rate at which the system identifies a “no alert” state. The figure shows that increasing λ
9 significantly increases P(M
5) while leaving other states largely unchanged. This demonstrates that improving the efficiency of no-alert determination directly enhances the probability of the system being in a normal state, highlighting the importance of both the accuracy and speed of alert classification for stable system operation. λ
12 denotes the alert information verification rate. While the probabilities of individual states do not change significantly, improving the verification mechanism can accelerate the alert closure process, reduce the residence time in the “alert processing completed” state, and enhance the overall efficiency of the response loop.
The simulation results reveal that different transition rates exert markedly distinct effects on the steady-state probability distribution. Among them, λ2, λ11, and λ9 are identified as the most sensitive parameters influencing system performance. As λ2 (data preprocessing rate) increases, the steady-state probability of intermediate backlog states decreases significantly. This indicates smoother data flow and reduced congestion within the simulated framework, suggesting that enhancing preprocessing efficiency can effectively mitigate potential delays in the model. In contrast, variations in λ11 (orange-alert handling rate) induce substantial fluctuations across several critical states, signifying that this stage represents a major operational bottleneck under the simulated conditions. A lower λ11 tends to cause task accumulation and alert delays, ultimately reducing system throughput. Meanwhile, λ9 (no-alert decision rate) exhibits relatively moderate changes but plays a stabilizing role by balancing the probabilities between the alert and non-alert branches, maintaining a more even distribution of processing resources. Overall, these three rates form a core sensitivity region within the model, providing insights into the internal dynamic behavior of the intelligent traffic warning system under varying transition conditions.
Based on the analysis, optimization should focus on the processes associated with λ2, λ11, and λ9. Enhancing λ2 can be achieved by improving data preprocessing efficiency through algorithmic parallelism and lightweight feature extraction to reduce system delay. For λ11, which represents the orange-alert handling stage, implementing priority-based scheduling and adaptive resource allocation could alleviate bottlenecks in alert processing. Regarding λ9, introducing an adaptive thresholding mechanism may help maintain system balance between alert and non-alert branches. These strategies collectively aim to enhance overall responsiveness and coordination efficiency. It should be noted, however, that these proposed improvements are not implemented or tested within the current SPN model. They are presented as conceptual directions for future work, where integrating data-driven rate adjustment and real-time adaptation mechanisms will be essential to transform the present static framework into a dynamic, self-optimizing intelligent traffic warning system.
5. Conclusions
This study constructs an evolutionary model of an intelligent traffic crisis early-warning system based on Stochastic Petri Nets (SPNs), providing an in-depth investigation of the interactions among multiple performance indicators within the system. Leveraging the theoretical foundations of SPNs, the research achieves significant progress in reliability modeling for fault-tolerant systems. The system’s operational states are elucidated in detail through analyses of average token counts and by observing the evolution of P(Mi) as the transition rates λi are varied. By exploiting the isomorphic properties between SPNs and Markov processes, the study further computes the steady-state probabilities of the intelligent traffic early-warning system, offering theoretical support for improving system efficiency.
While the proposed SPN-based modeling framework provides a structured and quantitative approach to analyze intelligent traffic early-warning systems, several limitations should be acknowledged. First, the model assumes that transition rates and initial conditions are well-defined and static, which may not fully capture the dynamic variability of real-world traffic flows. Second, the model primarily considers isolated intersections or limited network segments, and scaling it to larger urban networks may encounter state-space explosion or computational complexity. Third, extreme traffic conditions, unexpected driver behaviors, and sensor inaccuracies are not explicitly represented, which may affect the accuracy of system predictions.
In terms of real-world applicability, the model offers valuable insights for traffic management decision-making and early-warning system optimization, but its deployment requires integration with real-time traffic data and adaptive control strategies. Future work should focus on extending the SPN framework to handle heterogeneous traffic data, incorporate real-time feedback, and validate the model through field experiments to enhance its practical relevance.
Future research should focus on constructing multi-scenario, multi-level models of intelligent traffic systems, further exploring dynamic evolution and optimization methods under real-time data-driven conditions. In addition, integrating artificial intelligence and big data analytics can enhance the application of SPNs in intelligent traffic systems, improving both response speed and early-warning capability. Through continuous refinement and expansion, the proposed model will better equip intelligent traffic early-warning systems to cope with complex and rapidly changing traffic environments, providing robust support for the development of smart cities.