Debugging Parallel DEVS. (April 2017)
- Record Type:
- Journal Article
- Title:
- Debugging Parallel DEVS. (April 2017)
- Main Title:
- Debugging Parallel DEVS
- Authors:
- Van Mierlo, Simon
Van Tendeloo, Yentl
Vangheluwe, Hans - Abstract:
- To this day, debugging support for the DEVS formalism has been provided, at best, in an ad-hoc way. The intricacies of dealing with the interplay of different notions of (simulated) time, formalism semantics, and user input have not been thoroughly investigated. This paper presents a visual modeling, simulation, and debugging environment for Parallel DEVS, which builds on a theoretical foundation for debugging DEVS models. We take inspiration from both code debugging and the simulation world to model our environment; we transpose a set of useful code debugging concepts onto Parallel DEVS, and combine those with simulation-specific operations, such as as-fast-as-possible simulation and (scaled) real-time execution. Apart from these common debugging operations, we introduce new features to the debugging of Parallel DEVS models, such as "god events, " which can alter the model state during simulation, and reversible debugging, which allows one to go back in time. To achieve this, the PythonPDEVS simulator is deconstructed and reconstructed: the modal part of the simulator–debugger, as well as the debugging operations, are modeled using the Statecharts formalism. These models are combined, resulting in a model of the timed, reactive behavior of a debuggable simulator for Parallel DEVS. The code for the simulator is automatically synthesized from this model. To improve usability, we combine the simulator with a visual modeling environment, allowing for visual and interactive liveTo this day, debugging support for the DEVS formalism has been provided, at best, in an ad-hoc way. The intricacies of dealing with the interplay of different notions of (simulated) time, formalism semantics, and user input have not been thoroughly investigated. This paper presents a visual modeling, simulation, and debugging environment for Parallel DEVS, which builds on a theoretical foundation for debugging DEVS models. We take inspiration from both code debugging and the simulation world to model our environment; we transpose a set of useful code debugging concepts onto Parallel DEVS, and combine those with simulation-specific operations, such as as-fast-as-possible simulation and (scaled) real-time execution. Apart from these common debugging operations, we introduce new features to the debugging of Parallel DEVS models, such as "god events, " which can alter the model state during simulation, and reversible debugging, which allows one to go back in time. To achieve this, the PythonPDEVS simulator is deconstructed and reconstructed: the modal part of the simulator–debugger, as well as the debugging operations, are modeled using the Statecharts formalism. These models are combined, resulting in a model of the timed, reactive behavior of a debuggable simulator for Parallel DEVS. The code for the simulator is automatically synthesized from this model. To improve usability, we combine the simulator with a visual modeling environment, allowing for visual and interactive live debugging. … (more)
- Is Part Of:
- Simulation. Volume 93:Number 4(2017)
- Journal:
- Simulation
- Issue:
- Volume 93:Number 4(2017)
- Issue Display:
- Volume 93, Issue 4 (2017)
- Year:
- 2017
- Volume:
- 93
- Issue:
- 4
- Issue Sort Value:
- 2017-0093-0004-0000
- Page Start:
- 285
- Page End:
- 306
- Publication Date:
- 2017-04
- Subjects:
- Debugging -- Parallel DEVS -- Statecharts
Computer simulation -- Periodicals
003.3 - Journal URLs:
- http://SIM.sagepub.com/ ↗
http://fidelio.ingentaselect.com/vl=3713861/cl=37/nw=1/rpsv/ij/sage/00375497/contp1.htm ↗
http://firstsearch.oclc.org ↗
http://www.uk.sagepub.com/home.nav ↗ - DOI:
- 10.1177/0037549716658360 ↗
- Languages:
- English
- ISSNs:
- 0037-5497
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - BLDSS-3PM
British Library HMNTS - ELD Digital store - Ingest File:
- 7578.xml