stored in the percentage variable used in the query.
UPPAAL SMC used 118 runs with a wall clock time
(
WCT) of about 15 min, and suggested a CI for the
event of [0.870781,0.970278] with 95% of CD.
As another property, it was studied the event E3
“What is the probability of 4 consecutive clients
exiting the system with the sojourn time of each
client being not greater than D=50 tu?”.
In this case model decoration was adapted so as
to increment the counter
NCCSTlteD when the
current client exits the system (iTransition(25) fires)
within the deadline and the immediately preceding
one did the same. If current client does not fulfill the
deadline the counter is reset. The following query
was issued:
Pr[<=100000](<>now>=30000 && NCCSTlteD==4)
which generated, with 36 runs, a CI of [0.902606,1]
with 95% CD, and a WCT of 3.5 min.
The following query was used to estimate the
maximum value of the
NCCSTlteD counter using 20
simulation runs.
E[<=100000;20] ( max:NCCSTlteD )
Proposed answer was 13.55±0.93 (WCT of 6.45
min).
Experiments were carried out using a Win 8,
Intel Core i5 CPU @ 2.67 Gz, 8 GB RAM.
5 CONCLUSIONS
In this paper UPPAAL SMC (David et al., 2015) is
exploited for modelling and analysis of Generalized
Stochastic Petri Net (GSPN) models which, besides
working with an arbitrary number of
undistinguishable tokens, can be decorated to work
with tagged tokens.
An original structural translation from GSPN to
stochastic timed automata was developed which
enables a thorough assessment of the temporal
behavior of a modelled system. Practical usefulness
and flexibility of the achieved implementation is
demonstrated by a case study. The example testifies
that a proper decoration of a translated model
enables queries to be designed to check not obvious
system properties. On the other hand, since the state
graph of the model is not generated, added variables
do not constitute a memory penalty for the stochastic
analysis of the model.
Prosecution of the research is geared at:
Automating the generation of the U
PPAAL SMC
code of a GSPN model using the TPN Designer
toolbox (Carullo et al., 2003).
Specializing the approach to support modeling
and quantitative evaluation of stochastic Time
Petri Nets (Vicario et al., 2009).
Experimenting with the use of U
PPAAL SMC in
the modelling and schedulability analysis of
real-time systems.
REFERENCES
Vicario, E., Sassoli, L., Carnevali, L., 2009. Using
Stochastic State Classes in Quantitative Evaluation of
Dense-Time Reactive Systems, IEEE Transactions on
Software Engineering., 35(5):703-719.
Carullo, L., Furfaro, A., Nigro, L., Pupo, F., 2003.
Modelling and Simulation of Complex Systems using
TPN Designer. Simulation Modelling Practice and
Theory. 11/7-8, pp. 503-532.
Chiola, G., Marsan, M. A., Balbo, G., Conte, G., 1993.
Generalized Stochastic Petri Nets: A Definition at the
Net Level and its Implications. IEEE Transactions on
Software Engineering, 19(2):89-107.
Cicirelli, F., Furfaro, A., Nigro, L., 2012. Model Checking Time-
Dependent System Specifications Using Time Stream Petri
Nets and U
PPAAL, Applied Mathematics and Computation,
218(16):8160-8186.
Cicirelli F., Nigro, L., 2015. Control Aspects in Multi-
Agent Systems, Chapter of forthcoming Springer book
Intelligent Agents in Data Intensive Computing, Ed. J.
Kolodziej, L. Correia, and J.M. Molina.
David A., Larsen, K. G., Legay, A., Mikucionis, M.,
Poulsen, D. B., 2015. U
PPAAL SMS Tutorial, Int. J. on
Software Tools for Technology Transfer, Springer,
17:1-19, 06.01.2015, DOI 10.1007/s10009-014-0361-
y.
Jacobsen L., Jacobsen, M., Moller, M. H., Srba, J., 2011.
Verification of Timed-Arc Petri Nets. SOFSEM 2011,
LNCS 6542, pp. 46-72.
Marsan, M. A., Balbo, G., Conte, G., Donatelli, S.,
Franceschinis, G., 2004. Modelling With Generalized
Stochastic Petri Nets. John Wiley and Sons.
Younes, H. L. S., 2005. Verification and Planning for
Stochastic Processes with Asynchronous Events, PhD
Thesis, Carneige Mellon.
SIMULTECH2015-5thInternationalConferenceonSimulationandModelingMethodologies,Technologiesand
Applications
76