
will then be able to represent a system and simulate its
internal structure changes over time. To address this,
we are exploring a graph tool called GMTE (Han-
nachi et al., 2013) that is able to automatically gener-
ate new system structures according to specified rules.
7 CONCLUSION AND FUTURE
WORKS
This paper presents a formal approach to build sim-
ulators and models for DAE-based systems. Our ap-
proach proposes a methodology as well as building
blocks that can be used to address simulation in var-
ious domains. The proposed methodology is built
upon three layers: context-free framework, domain-
specific abstraction and system specification.
To demonstrate the practical application of this ap-
proach, we implemented a simulator for LFA, mod-
eled power systems with a graph-based DSML. We
built the domain-specific abstraction based on LFA
methodology, developed transformation rules, and
specified the simulator for the domain.
In summary, this work presents a flexible frame-
work for building models and simulators for DAE-
based systems. The layered structure is thought with
adaptability of the framework to various domains and
applications in mind.
Future work will focus on the integration of dy-
namic structure systems, which is still an ongoing
process. Another major work to come is to apply the
approach depicted in this article to other domains. Po-
tential candidate domains include power electronics
and electric vehicle charging, which represent differ-
ent scales of power systems.
REFERENCES
Akram, S. and Ann, Q. U. (2015). Newton raphson method.
International Journal of Scientific & Engineering Re-
search, 6(7):1748–1752.
Albadi, M. and Volkov, K. (2020). Power flow analysis.
Computational Models in Engineering, pages 67–88.
Attia, A. (2025). Approach to model simulate load
flow analysis. https://gitlab.laas.fr/aattia/load flow
analysis simulator.
Bickle, A. (2020). Fundamentals of graph theory, vol-
ume 43. American Mathematical Soc.
Blas, M. J., Gonnet, S., Kim, D., and Zeigler, B. P. (2023).
A context-free grammar for generating full classic
devs models. In 2023 Winter Simulation Conference
(WSC), pages 2579–2590. IEEE.
Bouassida Rodriguez, I., Drira, K., Chassot, C., Guennoun,
K., and Jmaiel, M. (2010). A rule-driven approach for
architectural self adaptation in collaborative activities
using graph grammars. International Journal of Auto-
nomic Computing, 1(3):226–245.
Brandes, U., Eiglsperger, M., Lerner, J., and Pich, C.
(2010). Graph markup language (graphml).
Buchberger, B. (1996). Symbolic computation: Computer
algebra and logic. In Frontiers of Combining Systems:
First International Workshop, Munich, March 1996,
pages 193–219. Springer.
Caravantes, J., Sendra, J. R., and Sendra, J. (2019). A maple
package for the symbolic computation of drazin in-
verse matrices with multivariate transcendental func-
tions entries. In Maple Conference, pages 156–170.
Springer.
Chaturvedi, D. K. (2017). Modeling and simulation of sys-
tems using MATLAB and Simulink. CRC press.
Chomsky, N. (1956). Three models for the description of
language. IRE Transactions on information theory,
2(3):113–124.
Chow, A. C. H. and Zeigler, B. P. (1994). Parallel devs:
A parallel, hierarchical, modular modeling formal-
ism. In Proceedings of Winter Simulation Conference,
pages 716–722. IEEE.
de Durana, J. M. G., Barambones, O., Kremers, E., and
Varga, L. (2014). Agent based modeling of en-
ergy networks. Energy Conversion and Management,
82:308–319.
Energy, H. (1993). Homer energy: Hybrid optimization of
multiple energy resources. Accessed: 2025-01-23.
Hannachi, M. A., Bouassida Rodriguez, I., Drira, K., and
Pomares Hernandez, S. E. (2013). Gmte: A tool for
graph transformation and exact/inexact graph match-
ing. In International Workshop on Graph-Based
Representations in Pattern Recognition, pages 71–80.
Springer.
Meurer, A., Smith, C. P., Paprocki, M.,
ˇ
Cert
´
ık, O., Kir-
pichev, S. B., Rocklin, M., Kumar, A., Ivanov, S.,
Moore, J. K., Singh, S., et al. (2017). Sympy: sym-
bolic computing in python. PeerJ Computer Science,
3:e103.
P
¨
ochacker, M. and Elmenreich, W. (2014). Rapsim: A sim-
ulation tool for microgrids. Accessed: 2025-01-23.
Sadnan, R. and Dubey, A. (2021). Learning optimal power
flow solutions using linearized models in power distri-
bution systems. In 2021 IEEE 48th Photovoltaic Spe-
cialists Conference (PVSC), pages 1586–1590. IEEE.
Trott, M. (2007). The Mathematica guidebook for symbol-
ics. Springer Science & Business Media.
Van Tendeloo, Y. and Vangheluwe, H. (2015). Python-
PDEVS: a distributed parallel devs simulator. In Pro-
ceedings of the Symposium on Theory of Modeling
& Simulation: DEVS Integrative M&S Symposium,
pages 91–98.
Weedy, B. M., Cory, B. J., Jenkins, N., Ekanayake, J. B.,
and Strbac, G. (2012). Electric power systems. John
Wiley & Sons.
Xu, J. (2013). Theory and application of graphs, volume 10.
Springer Science & Business Media.
Zeigler, B., Muzy, A., and Kofman, E. (2018). Theory of
Modeling and Simulation: Discrete Event & Iterative
System Computational Foundations. Academic press.
Modular Simulator for DAE-Based Systems Using DEVS Formalism
277