Simulation reproducibility with python and pweave

Kyeong Soo (Joseph) Kim*

*Corresponding author for this work

Research output: Chapter in Book or Report/Conference proceedingChapterpeer-review


As the amount and complexity of model source code, configuration files, and resulting data for simulative experiments are ever increasing, it becomes a real challenge to reliably and efficiently reproduce simulation data and their analysis results published in a scientific paper not only by its readers but also by the authors themselves, which makes the claims and contributions made in the paper questionable. The idea of reproducible research comes as a solution to this problem and suggests that any scientific claims should be published together with relevant experimental data and software code for their analysis so that readers may verify the findings and build upon them; in case of computer simulation, the details of simulation implementation and its configurations should be provided as well. In this chapter, we illustrate the practice of reproducible research for OMNeT++ simulation based on Pweave and Python. We show how to embed simulation configuration files and Python analysis code, import simulation data with automatic updating of simulation results, and analyze data and present the results in a file.

Original languageEnglish
Title of host publicationEAI/Springer Innovations in Communication and Computing
PublisherSpringer Science and Business Media Deutschland GmbH
Number of pages19
Publication statusPublished - 2019

Publication series

NameEAI/Springer Innovations in Communication and Computing
ISSN (Print)2522-8595
ISSN (Electronic)2522-8609

Cite this