Non-equilibrium chemistry is a key process in the study of the interstellar medium (ISM), in particular the formation of molecular clouds and thus stars. However, computationally, it is among the most difficult tasks to include in astrophysical simulations, because of the typically high (>40) number of reactions, the short evolutionary time-scales (about 104 times less than the ISM dynamical time), and the characteristic non-linearity and stiffness of the associated ordinary differential equations system (ODEs). In this proof of concept work, we show that Physics Informed Neural Networks (PINN) are a viable alternative to traditional ODE time integrators for stiff thermochemical systems, i.e. up to molecular hydrogen formation (9 species and 46 reactions). Testing different chemical networks in a wide range of densities (−2 < log n/cm−3 < 3) and temperatures (1 < log T/K < 5), we find that a basic architecture can give a comfortable convergence only for simplified chemical systems: to properly capture the sudden chemical and thermal variations, a Deep Galerkin Method is needed. Once trained (∼103 GPUhr), the PINN well reproduces the strong non-linear nature of the solutions (errors ≲10 per cent⁠) and can give speed-ups up to a factor of ∼200 with respect to traditional ODE solvers. Further, the latter have completion times that vary by about ∼30 per cent for different initial n and T, while the PINN method gives negligible variations. Both the speed-up and the potential improvement in load balancing imply that PINN-powered simulations are a very palatable way to solve complex chemical calculation in astrophysical and cosmological problems.

Neural networks : solving the chemistry of the interstellar medium

Branca, Lorenzo
;
Pallottini, Andrea
2023

Abstract

Non-equilibrium chemistry is a key process in the study of the interstellar medium (ISM), in particular the formation of molecular clouds and thus stars. However, computationally, it is among the most difficult tasks to include in astrophysical simulations, because of the typically high (>40) number of reactions, the short evolutionary time-scales (about 104 times less than the ISM dynamical time), and the characteristic non-linearity and stiffness of the associated ordinary differential equations system (ODEs). In this proof of concept work, we show that Physics Informed Neural Networks (PINN) are a viable alternative to traditional ODE time integrators for stiff thermochemical systems, i.e. up to molecular hydrogen formation (9 species and 46 reactions). Testing different chemical networks in a wide range of densities (−2 < log n/cm−3 < 3) and temperatures (1 < log T/K < 5), we find that a basic architecture can give a comfortable convergence only for simplified chemical systems: to properly capture the sudden chemical and thermal variations, a Deep Galerkin Method is needed. Once trained (∼103 GPUhr), the PINN well reproduces the strong non-linear nature of the solutions (errors ≲10 per cent⁠) and can give speed-ups up to a factor of ∼200 with respect to traditional ODE solvers. Further, the latter have completion times that vary by about ∼30 per cent for different initial n and T, while the PINN method gives negligible variations. Both the speed-up and the potential improvement in load balancing imply that PINN-powered simulations are a very palatable way to solve complex chemical calculation in astrophysical and cosmological problems.
2023
Settore FIS/05 - Astronomia e Astrofisica
methods: numerical; ISM: evolution; ISM: molecules
   Horizon 2020
File in questo prodotto:
File Dimensione Formato  
stac3512.pdf

accesso aperto

Tipologia: Accepted version (post-print)
Licenza: Solo Lettura
Dimensione 2.32 MB
Formato Adobe PDF
2.32 MB Adobe PDF
stac3512.pdf

accesso aperto

Tipologia: Published version
Licenza: Solo Lettura
Dimensione 2.08 MB
Formato Adobe PDF
2.08 MB Adobe PDF

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/11384/125703
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 4
  • ???jsp.display-item.citation.isi??? 3
social impact