NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Expressing and Computing Passage Time Measures of GSPN Models with HASL

Elvio Gilberto Amparore, Paolo Ballarini, Marco Beccuti, Susanna Donatelli, Giuliana FranceschinisPetri Nets 2013

TL;DR

This paper introduces the Hybrid Automata Stochastic Logic (HASL) as a powerful language for specifying and computing passage time measures in Generalized Stochastic Petri Net (GSPN) models. By integrating HASL with the COSMOS statistical model checker, the authors demonstrate a flexible and expressive approach to analyze complex performance metrics, particularly for systems with non-exponential transition firing times and large state spaces.

What Problem Does This Paper Address?

Analyzing the performance of complex systems often requires understanding not just average behavior but also the distribution of time it takes for specific events or sequences of events to occur. For systems modeled as Generalized Stochastic Petri Nets (GSPNs), a common challenge is to precisely define and efficiently compute these "passage time measures." Traditional methods often struggle with:

  • Specifying complex conditions: Defining precisely which paths or sequences of events are of interest, especially when these conditions depend on accumulated time or other performance metrics.
  • Handling non-exponential firing times: Many real-world systems have service or event durations that don't follow simple exponential distributions, making analytical solutions difficult.
  • Scalability: Models with many states and transitions can become computationally intractable for exact analysis.

This paper aims to bridge this gap by proposing HASL, a language that allows for rich specification of passage time measures, and demonstrating its use with the COSMOS statistical model checker, which leverages simulation to handle complex models and non-exponential distributions.

Methods

The core contribution of this paper lies in the combination of the Hybrid Automata Stochastic Logic (HASL) and the COSMOS statistical model checker.

  • HASL: This is an automata-based formalism designed for statistical model checking of Discrete Event Stochastic Processes (DESPs), which include GSPNs. HASL offers a unified approach that blends temporal reasoning with reward-based analysis. Its key features for this work are:
  • Expressiveness: It can specify complex conditions on paths, including those based on accumulated discrete and continuous measures (like timers).
  • Timers: HASL allows for the use of timers that can be suspended, reactivated, and have their rates changed along a path, enabling detailed temporal constraints.
  • Formalism: HASL formulas consist of a Linear Hybrid Automaton (LHA) and a target expression (Z). The LHA defines the automaton that synchronizes with the GSPN, while Z specifies the measure to be computed (e.g., CDF, probability).
  • COSMOS: This is a statistical model checker that implements HASL. It uses stochastic discrete-event simulation to estimate the desired measures. COSMOS synchronizes a GSPN model with an LHA and generates a statistically significant sample of GSPN paths that conform to the HASL specification. It then estimates the measures from this sample, providing confidence intervals. This simulation-based approach is crucial for handling models with non-exponential firing times and large state spaces.

The paper demonstrates how to translate specific passage time requirements into HASL formulas, which are then fed into COSMOS for computation.

Datasets

Not discussed in the paper. The paper uses example models (a business workflow and a Flexible Manufacturing System) to illustrate its methodology, rather than relying on pre-existing datasets.

Key Insights and Ideas

  • HASL as a unified language: HASL effectively combines the expressiveness of temporal logics (like CSL) with timed automata and reward-based analysis, offering a powerful single formalism for complex system properties.
  • Timers for fine-grained temporal control: The ability to define and manipulate timers within HASL specifications is crucial for precisely capturing passage time measures that depend on the duration of specific activities or phases within a system's execution.
  • Statistical model checking for scalability: Using COSMOS with HASL allows for the analysis of models that would be intractable for exact methods, especially those with non-exponential distributions and large state spaces.
  • Beyond simple passage times: HASL enables the specification of passage time measures that are conditioned not just on states or transitions, but also on accumulated performance indices (e.g., total delay for checking availability).

Key Results

The paper successfully demonstrates the application of HASL and COSMOS to model and analyze passage time measures for two example systems: a business workflow and a Flexible Manufacturing System (FMS).

  • Passage Time CDFs: The authors present several passage time Cumulative Distribution Functions (CDFs) for different properties of the business workflow model (w1-w4). These plots visually show how different constraints (e.g., avoiding reorders, limiting checking/shipping delays) affect the passage time distributions.
  • Performance of COSMOS: Table 1 provides insights into the performance of the COSMOS tool, showing how runtime varies with confidence level, interval width, and parallelization. It highlights that achieving higher accuracy requires more simulation time.
  • Comparison with other formalisms: The paper discusses how HASL's expressiveness compares to other formalisms like Probe Automata (PrA) and Tagged GSPNs (TGSPN), suggesting HASL can define more complex measures, though the LHA structure might be more complex than PrA for some specific passage time definitions.

Limitations and Future Work

  • LHA complexity: While HASL is expressive, the corresponding Linear Hybrid Automaton (LHA) structure can sometimes be more complex than specialized formalisms like PrA, especially when translating PrA specifications.
  • Simulation-based estimation: As a statistical model checker, COSMOS provides estimates with confidence intervals, not exact analytical results. The accuracy depends on the number of simulation runs.
  • Future Work: The authors mention ongoing work on extending COSMOS for Symmetric Stochastic Nets (colored Petri nets), which would further broaden its applicability.

Summary updated

BibTeX
@inproceedings{amparore2013expressing,
  author = {Elvio Gilberto Amparore and Paolo Ballarini and Marco Beccuti and Susanna Donatelli and Giuliana Franceschinis},
  title = {{Expressing and Computing Passage Time Measures of GSPN Models with HASL}},
  booktitle = {Petri Nets},
  year = {2013},
  doi = {10.1007/978-3-642-38697-8\_7},
}
Figure