The propagation of Galactic Cosmic Rays (GCRs) within the heliosphere is governed by the Parker Transport Equation (PTE), which can be efficiently solved using a Stochastic Differential Equation (SDE)–Monte Carlo formulation. Building upon the first part of this work, where the GPU-based COSMICA code was introduced and optimized for high-performance computing, we here present its validation against a benchmark heliospheric model. COSMICA implements a three-dimensional SDE solver in CUDA/C++ optimized for multi-GPU execution, enabling the simulation of billions of quasi-particle trajectories with unprecedented efficiency. Benchmarking against the closed-source HelMod-4/CUDA model demonstrates that COSMICA achieves runtime reductions exceeding an order of magnitude while maintaining full consistency with reference fluxes. Statistical tests confirm that the distributions of output spectra from COSMICA and HelMod-4/CUDA are indistinguishable within numerical uncertainties. Furthermore, COSMICA enables the analysis of stochastic path properties – such as exit-point distributions, propagation times, and residence times – thereby providing new insights into the modulation process across varying solar activity scenarios. These results establish COSMICA as both computationally superior and scientifically reliable, making it a powerful open-source framework for heliospheric transport studies and a versatile platform for future extensions to more complex physical models.

Della Torre, S., Bacciu, L., Grazioso, M., Cavallotto, G., Gervasi, M., La Vacca, G., et al. (2026). Validation of COSMICA code for massive stochastic simulation of cosmic rays propagation in the heliosphere. ASTRONOMY AND COMPUTING, 55(April 2026) [10.1016/j.ascom.2026.101089].

Validation of COSMICA code for massive stochastic simulation of cosmic rays propagation in the heliosphere

Della Torre, Stefano;Cavallotto, Giovanni;Gervasi, Massimo;La Vacca, Giuseppe;
2026

Abstract

The propagation of Galactic Cosmic Rays (GCRs) within the heliosphere is governed by the Parker Transport Equation (PTE), which can be efficiently solved using a Stochastic Differential Equation (SDE)–Monte Carlo formulation. Building upon the first part of this work, where the GPU-based COSMICA code was introduced and optimized for high-performance computing, we here present its validation against a benchmark heliospheric model. COSMICA implements a three-dimensional SDE solver in CUDA/C++ optimized for multi-GPU execution, enabling the simulation of billions of quasi-particle trajectories with unprecedented efficiency. Benchmarking against the closed-source HelMod-4/CUDA model demonstrates that COSMICA achieves runtime reductions exceeding an order of magnitude while maintaining full consistency with reference fluxes. Statistical tests confirm that the distributions of output spectra from COSMICA and HelMod-4/CUDA are indistinguishable within numerical uncertainties. Furthermore, COSMICA enables the analysis of stochastic path properties – such as exit-point distributions, propagation times, and residence times – thereby providing new insights into the modulation process across varying solar activity scenarios. These results establish COSMICA as both computationally superior and scientifically reliable, making it a powerful open-source framework for heliospheric transport studies and a versatile platform for future extensions to more complex physical models.
Articolo in rivista - Articolo scientifico
Galactic Cosmic Rays, Heliosphere, SDE, GPU, Parallel computing, Cuda, Solar modulation, Parker Transport Equation, Multi-GPU scalability, CUDA/C++, High-performance computing (HPC), Space radiation environment
English
25-feb-2026
2026
55
April 2026
101089
open
Della Torre, S., Bacciu, L., Grazioso, M., Cavallotto, G., Gervasi, M., La Vacca, G., et al. (2026). Validation of COSMICA code for massive stochastic simulation of cosmic rays propagation in the heliosphere. ASTRONOMY AND COMPUTING, 55(April 2026) [10.1016/j.ascom.2026.101089].
File in questo prodotto:
File Dimensione Formato  
Della Torre et al-2026-Astronomy and Computing-VoR.pdf

accesso aperto

Tipologia di allegato: Publisher’s Version (Version of Record, VoR)
Licenza: Creative Commons
Dimensione 3.9 MB
Formato Adobe PDF
3.9 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/594023
Citazioni
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
Social impact