English

mmodel: A workflow framework to accelerate the development of experimental simulations

Computational Physics 2023-08-09 v2 Applied Physics

Abstract

Simulation has become an essential component of designing and developing scientific experiments. The conventional procedural approach to coding simulations of complex experiments is often error-prone, hard to interpret, and inflexible, making it hard to incorporate changes such as algorithm updates, experimental protocol modifications, and looping over experimental parameters. We present mmodel, a framework designed to accelerate the writing of experimental simulation packages. mmodel uses a graph-theory approach to represent the experiment steps and can rewrite its own code to implement modifications, such as adding a loop to vary simulation parameters systematically. The framework aims to avoid duplication of effort, increase code readability and testability, and decrease development time.

Keywords

Cite

@article{arxiv.2304.03421,
  title  = {mmodel: A workflow framework to accelerate the development of experimental simulations},
  author = {Peter Sun and John A. Marohn},
  journal= {arXiv preprint arXiv:2304.03421},
  year   = {2023}
}
R2 v1 2026-06-28T09:53:49.610Z