mmodel: A workflow framework to accelerate the development of experimental simulations
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 Python 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.
- Publication:
-
Journal of Chemical Physics
- Pub Date:
- July 2023
- DOI:
- arXiv:
- arXiv:2304.03421
- Bibcode:
- 2023JChPh.159d4801S
- Keywords:
-
- Physics - Computational Physics;
- Physics - Applied Physics
- E-Print:
- doi:10.1063/5.0155617