720
Views
18
CrossRef citations to date
0
Altmetric
TECHNICAL PAPERS

serpentTools: A Python Package for Expediting Analysis with Serpent

ORCID Icon, ORCID Icon, ORCID Icon & ORCID Icon
Pages 1016-1024 | Received 15 Nov 2019, Accepted 28 Jan 2020, Published online: 06 Mar 2020
 

Abstract

The serpentTools Python package is presented as a useful and efficient alternative for processing Serpent results. One positive attribute of Serpent is that many output files are exported directly in a MATLAB format, allowing for results to be loaded with minimal to no effort. However, some files for larger analyses may require immense amounts of memory to load and store all the data, leading to long wait times. To expedite the process of data handling and ease common analyses, the Computational Reactor Engineering lab at the Georgia Institute of Technology has released and is maintaining the serpentTools Python package: a set of data parsers and containers intended to streamline analysis with Serpent outputs. The parsers are capable of processing large outputs with ease, and yield all data to the user in a simple object-oriented framework. Data can be read into Python in comparable or better times than MATLAB, with the option to store only data needed for a specific purpose. Furthermore, common analyses are implemented directly into the package to expedite frequent analysis, including plotting meshed data and flux specta. serpentTools is designed to be a useful and practical manner by which the Serpent community can load and analyze data inside a Python environment. This paper presents the Python package, highlighting some basic features, and compares capabilities to similar platforms.

Acknowledgments

This work was partially funded through the U.S. Regulatory Commission, project number HQ-84-14-G-0058. The authors would also like to thank contributors Paul Romano and Anton Travleev. Serpent is developed and maintained by the VTT Technical Research Centre of Finland, LTD, which does not endorse nor financially support serpentTools nor the content of this paper.

Notes

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.