WATTS.
WATTS (Workflow and Template Toolkit for Simulation) is a small MIT-licensed Python library from Argonne for driving simulation codes from a script: it fills Jinja placeholders in a code's text input from a parameters mapping, runs the code in an isolated temporary directory, and files inputs, outputs and parameters into a local results database. Code-specific plugins add unit conversion and light post-processing.
- How does a result change when sweeping a geometry or material parameter across many runs without hand-editing input files?
- How can temperatures from a systems code be handed to a Monte Carlo neutronics model and iterated in plain Python?
- How can one physical quantity be kept in a single unit and converted correctly for codes that expect SI or CGS inputs?
- Workflow orchestration around external codes (no physics of its own)
- Jinja-templated input generation with strict undefined checking
- Unit conversion to SI or CGS with astropy
- Local results database of per-run inputs, outputs and parameters
- Plugins for OpenMC, MCNP, Serpent, MOOSE applications, SAS, RELAP5, PyARC, Dakota and techno-economic tools
Limitations
Workflow logic is ordinary Python written by the user; there is no DAG engine, scheduler, remote execution or exit-code checking. The database is a directory of pickled Python objects rather than a shared store, several plugins target restricted codes, and the package is marked alpha with infrequent releases.
Not fusion-specific: bundled plugins and examples target fission systems. The OpenMC, MCNP and Serpent plugins and the generic text-template plugin can drive the transport codes used for fusion neutronics, and its unit handling and results database are code-agnostic.
No reference workflow documents this tool yet. Its evidence status is “Listed”: A reviewed catalog entry with upstream links.
First and corresponding author of the 2022 Journal of Open Source Software paper describing WATTS.
Inferred from activity rather than a stated title: top committer, publisher of the v0.5.2 release (April 2025) and the account that merged the most recent change (July 2026). No official page names a maintainer.
- Awesome Nuclear — Curated by Paul Romano and contributors
This entry was written by Morton Labs from public sources and last checked on 2026-10-10. Spotted an error, or want something changed or removed? Email zach@mortonlabs.ai with the page address.
Sources checked for this page (4)
- WATTS LICENSE — MIT, copyright UChicago Argonne, LLC
- JOSS paper page — Authors and publication details
- WATTS v0.5.2 — Latest release and date
- WATTS available plugins — Plugin list