the bags at each transition. This allows better man-
agement of threads throughout the simulation.
If the models were fully synchronous as in the
case of a cellular automaton, the issue of balanc-
ing would be easy to solve if all models have the
same computational load. In this case, we observe
no change in the number of transitions to be made be-
tween two time steps. The partitioning becomes use-
less. In contrast, if the models are completely asyn-
chronous, the IMM sets have a single model. Paral-
lelization is completely useless in a pessimistic con-
text. In this case, it was essential to work on algo-
rithms optimistic parallel simulation.
5 CONCLUSION AND
PROSPECTS
In this paper, we have shown that in some cases,
we improve the simulation time by using a partition-
ing based solely on the model structure. These sim-
ulations are performed using an implementation of
PDEVS algorithms in a risk-free mode. However, we
have shown that it is also necessary to consider the
dynamic of models for have a better models balance.
We have shown that the measure of the theoretical
speedup (see equation 4) based on the IMM set gives
us accurate information. We can generalize this mea-
sure so that it becomes an parallelization ability indi-
cator of a model. This indicator can vary from 1 to P
where P is the parts number of the graph. The mini-
mum value is obtained for fully asynchronous model
and the maximum value for fully synchronous model.
In our case, the indicator takes values close to the
maximum value. This means that a coupling between
a partitioning method and risk-free simulation is an
excellent approach. However, it is necessary to go fur-
ther if the indicator is close to 1. May be introduce a
conservative or optimistic simulation engine coupled
with partitioning methods. The model structure must
be consider, but also his dynamics and the conser-
vative algorithms with look-head properties (Chandy
and Misra, 1979; Chandy and Misra, 1981) or opti-
mistic (Time-Wrap (Jefferson, 1985), for example).
Look-head is the ability of a model to predict that it
will not have output for a certain period in future. The
complexity of the optimization algorithm will be in-
creased. It will be necessary to understand the interac-
tions between look-head, for example, dynamics and
the models graph.
Furthermore, our strategy of optimized hierarchy
building has the overall objective to integrate dis-
tributed hardware architecture where the communica-
tion time between processes are not negligible.
ACKNOWLEDGEMENTS
This work is carried out in research project named Es-
capade (Assessing scenarios on the nitrogen cascade
in rural landscapes and territorial modeling - ANR-
12-AGRO-0003) funded by French National Agency
for Research (ANR).
REFERENCES
Chandy, K. M. and Misra, J. (1979). Distributed simulation:
A case study in design and verification of distributed
programs. IEEE Trans. Software Eng., 5(5):440–452.
Chandy, K. M. and Misra, J. (1981). Asynchronous dis-
tributed simulation via a sequence of parallel compu-
tations. Commun. ACM, 24(4):198–206.
Chow, A. C.-H. (1996). Parallel devs: A parallel, hierarchi-
cal, modular modeling formalism and its distributed
simulator. Trans. Soc. Comput. Simul. Int., 13(2):55–
67.
Chow, A. C. H. and Zeigler, B. P. (1994). Parallel devs: A
parallel, hierarchical, modular, modeling formalism.
In Proceedings of the 26th Conference on Winter Sim-
ulation, WSC ’94, pages 716–722, San Diego, CA,
USA. Society for Computer Simulation International.
Herbez, C., Quesnel, G., and Ramat, E. (2015). Building
partitioning graphs in parallel-devs context for paral-
lel simulations. In Proceedings of the 2015 Spring
Simulation Conference.
Jefferson, D. R. (1985). Virtual time. ACM Trans. Program.
Lang. Syst., 7(3):404–425.
Karypis, G. and Kumar, V. (1998). A fast and high qual-
ity multilevel scheme for partitioning irregular graphs.
SIAM J. Sci. Comput., 20(1):359–392.
Kernighan, B. W. and Lin, S. (1970). An efficient heuristic
procedure for partitioning graphs. Bell System Techni-
cal Journal, 49(2):291–307.
Quesnel, G., Duboz, R., and Ramat, E. (2009). The Virtual
Laboratory Environment – An operational framework
for multi-modelling, simulation and analysis of com-
plex dynamical systems. Simulation Modelling Prac-
tice and Theory, 17:641–653.
Wei, Y.-C. and Cheng, C.-K. (1989). Towards efficient
hierarchical designs by ratio cut partitioning. In
Computer-Aided Design, 1989. ICCAD-89. Digest of
Technical Papers., 1989 IEEE International Confer-
ence on, pages 298–301.
Zeigler, B. P., Kim, D., and Praehofer, H. (2000). Theory of
modeling and simulation: Integrating Discrete Event
and Continuous Complex Dynamic Systems. Aca-
demic Press, 2nd edition.
SIMULTECH2015-5thInternationalConferenceonSimulationandModelingMethodologies,Technologiesand
Applications
296