MontePy: a Python library for reading, editing, and writing MCNP input files.

The Monte Carlo N-Particle (MCNP) radiation transport code is a highly capable and accurate code with a long legacy.MCNP uses the Monte Carlo simulation process to simulate the path of particles (e.g., neutrons, photons, charged particles, etc.), and their interaction with materials.It is widely used in nuclear engineering, high-energy physics, and other fields.Its origins in the mid-twentieth century predate many modern software conventions.MCNP users provide an input file to MCNP, which it then uses to create an internal representation of the simulation problem.These input files originally had to be stored as punchcard decks, and the user manual still uses the terminology of cards and decks, despite moving beyond punchcards.MCNP predates nearly all modern human readable markup or data serialization languages, such as the extensible Markup Language (XML), the Standard Generalized Markup Language (SGML), YAML (YAML Ain't Markup Language), and Javascript Object Notation (JSON).Due to this, MCNP uses an entirely custom defined syntax language for its input, making off-the-shelf libraries for XML, YAML, and JSON impossible to use for scripting various operations on MCNP input files (Kulesza et al., 2022).

Authors

Institutions

Publication Details

Journal
The Journal of Open Source Software
Published
2025-04-09
DOI
https://doi.org/10.21105/joss.07951
Citations
1
Primary Topic
Nuclear reactor physics and engineering
Type
article
Field-Weighted Citation Impact
4.99

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

MontePy: a Python library for reading, editing, and writing MCNP input files.

Micah Gale, Travis J Labossiere-Hickman, Brenna Anne Carbno, Andrew J. Bascom
1 citations
The Journal of Open Source Software
Nuclear reactor physics and engineering
4.99
article

MontePy: a Python library for reading, editing, and writing MCNP input files.

Micah Gale, Travis J Labossiere-Hickman, Brenna Anne Carbno, Andrew J. Bascom
article en
1 citations

Abstract

The Monte Carlo N-Particle (MCNP) radiation transport code is a highly capable and accurate code with a long legacy.MCNP uses the Monte Carlo simulation process to simulate the path of particles (e.g., neutrons, photons, charged particles, etc.), and their interaction with materials.It is widely used in nuclear engineering, high-energy physics, and other fields.Its origins in the mid-twentieth century predate many modern software conventions.MCNP users provide an input file to MCNP, which it then uses to create an internal representation of the simulation problem.These input files originally had to be stored as punchcard decks, and the user manual still uses the terminology of cards and decks, despite moving beyond punchcards.MCNP predates nearly all modern human readable markup or data serialization languages, such as the extensible Markup Language (XML), the Standard Generalized Markup Language (SGML), YAML (YAML Ain't Markup Language), and Javascript Object Notation (JSON).Due to this, MCNP uses an entirely custom defined syntax language for its input, making off-the-shelf libraries for XML, YAML, and JSON impossible to use for scripting various operations on MCNP input files (Kulesza et al., 2022).

The Journal of Open Source SoftwareVol. 10(108)
Idaho National Laboratory (US)
U.S. Department of Energy, Office of Nuclear Energy, Idaho Operations Office, U.S. Department of Energy
Quality Education
Openalex Percentile: Top 7%
Nuclear reactor physics and engineering
4.99
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.