Modeling and Java Code Generation Tool for RDEVS Simulations

Authors

DOI:

https://doi.org/10.24215/15146774e024

Keywords:

context-free grammar, simulation models, code generation, Routed DEVS

Abstract

This paper presents a textual modeling software tool implemented as a plugin for Eclipse that facilitates the definition of routing processes using textual specifications. These processes define a simulation model that supports the generation of Java code for routing situations, in order to execute them in Discrete Event System Specification (DEVS) as Routed DEVS (RDEVS) models. In this way, using a textual specification, a modeler who is not an expert in RDEVS will be able to obtain executable discrete event simulation models. The core of this tool is a context-free grammar that defines the structure of the text. In addition, it includes an editor that allows to create textual specifications based on the grammar, offering writing aids to assist the modeler during the edition. Starting from a tool to create suitable specification files, the tool has a validation option that allows to process and validate the written content, to guarantee the consistency of the models to be  enerated. Finally, the tool generates the Java code for the models’s simulation.

Downloads

Published

2023-06-23

How to Cite

Espertino, C. (2023). Modeling and Java Code Generation Tool for RDEVS Simulations. SADIO Electronic Journal of Informatics and Operations Research, 22(2), e024. https://doi.org/10.24215/15146774e024