SearcharxivSearch

arXiv subjects

Alexey Petrenko

Publications and source records attributed to Alexey Petrenko.

10 recordsLinked to original sources

RL-ABC: Reinforcement Learning for Accelerator Beamline Control

Particle accelerator beamline optimization is a high-dimensional control problem traditionally requiring significant expert intervention. We present RLABC (Reinforcement Learning for Accelerator Beamline Control), an open-source Python framework that automatically transforms standard Elegant beamline configurations into reinforcement learning environments. RLABC integrates with the widely-used Elegant beam dynamics simulation code via SDDS-based interfaces, enabling researchers to apply modern RL algorithms to beamline optimization with minimal RL-specific development. The main contribution is a general methodology for formulating beamline tuning as a Markov decision process: RLABC automatically preprocesses lattice files to insert diagnostic watch points before each tunable element, constructs a 57-dimensional state representation from beam statistics, covariance information, and aperture constraints, and provides a configurable reward function for transmission optimization. The framework supports multiple RL algorithms through Stable-Baselines3 compatibility and implements stage learning strategies for improved training efficiency. Validation on a test beamline derived from the VEPP-5 injection complex (37 control parameters across 11 quadrupoles and 4 dipoles) demonstrates that the framework successfully enables RL-based optimization, with a Deep Deterministic Policy Gradient agent achieving 70.3\% particle transmission -- performance matching established methods such as differential evolution. The framework's stage learning capability allows decomposition of complex optimization problems into manageable subproblems, improving training efficiency. The complete framework, including configuration files and example notebooks, is available as open-source software to facilitate adoption and further research.

cs.LG

Reinforcement Learning for Accelerator Beamline Control: a simulation-based approach

Particle accelerators play a pivotal role in advancing scientific research, yet optimizing beamline configurations to maximize particle transmission remains a labor-intensive task requiring expert intervention. In this work, we introduce RLABC (Reinforcement Learning for Accelerator Beamline Control), a Python-based library that reframes beamline optimization as a reinforcement learning (RL) problem. Leveraging the Elegant simulation framework, RLABC automates the creation of an RL environment from standard lattice and element input files, enabling sequential tuning of magnets to minimize particle losses. We define a comprehensive state representation capturing beam statistics, actions for adjusting magnet parameters, and a reward function focused on transmission efficiency. Employing the Deep Deterministic Policy Gradient (DDPG) algorithm, we demonstrate RLABC's efficacy on two beamlines, achieving transmission rates of 94% and 91%, comparable to expert manual optimizations. This approach bridges accelerator physics and machine learning, offering a versatile tool for physicists and RL researchers alike to streamline beamline tuning.

physics.acc-ph

Optimisation of the Accelerator Control by Reinforcement Learning: A Simulation-Based Approach

Optimizing accelerator control is a critical challenge in experimental particle physics, requiring significant manual effort and resource expenditure. Traditional tuning methods are often time-consuming and reliant on expert input, highlighting the need for more efficient approaches. This study aims to create a simulation-based framework integrated with Reinforcement Learning (RL) to address these challenges. Using \texttt{Elegant} as the simulation backend, we developed a Python wrapper that simplifies the interaction between RL algorithms and accelerator simulations, enabling seamless input management, simulation execution, and output analysis. The proposed RL framework acts as a co-pilot for physicists, offering intelligent suggestions to enhance beamline performance, reduce tuning time, and improve operational efficiency. As a proof of concept, we demonstrate the application of our RL approach to an accelerator control problem and highlight the improvements in efficiency and performance achieved through our methodology. We discuss how the integration of simulation tools with a Python-based RL framework provides a powerful resource for the accelerator physics community, showcasing the potential of machine learning in optimizing complex physical systems.

physics.acc-ph

Expanding Nuclear Physics Horizons with the Gamma Factory

The Gamma Factory (GF) is an ambitious proposal, currently explored within the CERN Physics Beyond Colliders program, for a source of photons with energies up to $\approx 400\,$MeV and photon fluxes (up to $\approx 10^{17}$ photons per second) exceeding those of the currently available gamma sources by orders of magnitude. The high-energy (secondary) photons are produced via resonant scattering of the primary laser photons by highly relativistic partially-stripped ions circulating in the accelerator. The secondary photons are emitted in a narrow cone and the energy of the beam can be monochromatized, eventually down to the $\approx1$ ppm level, via collimation, at the expense of the photon flux. This paper surveys the new opportunities that may be afforded by the GF in nuclear physics and related fields.

nucl-ex

High-luminosity Large Hadron Collider with laser-cooled isoscalar ion beams

This paper presents one of the case studies of the Gamma Factory initiative -- a proposal of a new operation scheme of ion beams in the CERN accelerator complex. Its goal is to extend the scope and precision of the LHC-based research by complementing the proton-proton collision programme with the high-luminosity nucleus-nucleus one. Its numerous physics highlights include studies of the exclusive Higgs-boson production in photon-photon collisions and precision measurements of the electroweak (EW) parameters. There are two principal ways to increase the LHC luminosity which do not require an upgrade of the CERN injectors: (1) modification of the beam-collision optics and (2) reduction of the transverse emittance of the colliding beams. The former scheme is employed by the ongoing high-luminosity (HL-LHC) project. The latter one, applicable only to ion beams, is proposed in this paper. It is based on laser cooling of bunches of partially stripped ions at the SPS flat-top energy. For isoscalar calcium beams, which fulfil the present beam-operation constrains and which are particularly attractive for the EW physics, the transverse beam emittance can be reduced by a factor of $5$ within the $8$ seconds long cooling phase. The predicted nucleon-nucleon luminosity of $L_{NN}= 4.2 \times 10^{34}\,$s$^{-1}$cm$^{-2}$ for collisions of the cooled calcium beams at the LHC top energy is comparable to the levelled luminosity for the HL-LHC proton-proton collisions, but with reduced pile-up background. The scheme proposed in this paper, if confirmed by the future Gamma Factory proof-of-principle experiment, could be implemented at CERN with minor infrastructure investments.

physics.acc-ph

Atomic physics studies at the Gamma Factory at CERN

The Gamma Factory initiative proposes to develop novel research tools at CERN by producing, accelerating and storing highly relativistic, partially stripped ion beams in the SPS and LHC storage rings. By exciting the electronic degrees of freedom of the stored ions with lasers, high-energy narrow-band photon beams will be produced by properly collimating the secondary radiation that is peaked in the direction of ions' propagation. Their intensities, up to $10^{17}$ photons per second, will be several orders of magnitude higher than those of the presently operating light sources in the particularly interesting $γ$--ray energy domain reaching up to 400 MeV. This article reviews opportunities that may be afforded by utilizing the primary beams for spectroscopy of partially stripped ions circulating in the storage ring, as well as the atomic-physics opportunities afforded by the use of the secondary high-energy photon beams. The Gamma Factory will enable ground breaking experiments in spectroscopy and novel ways of testing fundamental symmetries of nature.

physics.atom-ph

A Rubidium Vapor Source for a Plasma Source for AWAKE

We present the scheme for a rubidium vapor source that is used as a plasma source in the AWAKE plasma wakefield acceleration experiment. The plasma wakefield acceleration process requires a number of stringent parameters for the plasma: electron density adjustable in the (1-10)$\times$10$^{14}$cm$^{-3}$ range, 0.25% relative density uniformity, sharp ($<$10cm) density ramps at each end, density gradient adjustable from -3 to +10% over 10m, and %-level density step near the beginning the plasma column. We show with analytical and direct Simulation Monte Carlo results that the rubidium density in the proposed source should meet these requirements. Laser ionization then transfers the above neutral vapor parameters to the plasma.

physics.plasm-ph

Proton Beam Defocusing as a Result of Self-Modulation in Plasma

The AWAKE experiment will use a \SI{400}{GeV/c} proton beam with a longitudinal bunch length of $σ_z = 12\,\rm{cm}$ to create and sustain GV/m plasma wakefields over 10 meters . A 12 cm long bunch can only drive strong wakefields in a plasma with $n_{pe} = 7 \times 10^{14}\,\rm{electrons/cm}^3$ after the self-modulation instability (SMI) developed and microbunches formed, spaced at the plasma wavelength. The fields present during SMI focus and defocus the protons in the transverse plane \cite{SMI}. We show that by inserting two imaging screens downstream the plasma, we can measure the maximum defocusing angle of the defocused protons for plasma densities above $n_{pe} = 5 \times 10^{14}\,\rm{electrons/cm}^{-3}$. Measuring maximum defocusing angles around 1 mrad indirectly proves that SMI developed successfully and that GV/m plasma wakefields were created. In this paper we present numerical studies on how and when the wakefields defocus protons in plasma, the expected measurement results of the two screen diagnostics and the physics we can deduce from it.

physics.acc-ph

Numerical Studies of Electron Acceleration Behind Self-Modulating Proton Beam in Plasma with a Density Gradient

Presently available high-energy proton beams in circular accelerators carry enough momentum to accelerate high-intensity electron and positron beams to the TeV energy scale over several hundred meters of the plasma with a density of about 1e15 1/cm^3. However, the plasma wavelength at this density is 100-1000 times shorter than the typical longitudinal size of the high-energy proton beam. Therefore the self-modulation instability (SMI) of a long (~10 cm) proton beam in the plasma should be used to create the train of micro-bunches which would then drive the plasma wake resonantly. Changing the plasma density profile offers a simple way to control the development of the SMI and the acceleration of particles during this process. We present simulations of the possible use of a plasma density gradient as a way to control the acceleration of the electron beam during the development of the SMI of a 400 GeV proton beam in a 10 m long plasma. This work is done in the context of the AWAKE project --- the proof-of-principle experiment on proton driven plasma wakefield acceleration at CERN.

physics.plasm-ph

Long-term evolution of broken wakefields in finite radius plasmas

A novel effect of fast heating and charging a finite-radius plasma is discovered in the context of plasma wakefield acceleration. As the plasma wave breaks, the most of its energy is transferred to plasma electrons which create strong charge-separation electric field and azimuthal magnetic field around the plasma. The slowly varying field structure is preserved for hundreds of wakefield periods and contains (together with hot electrons) up to 80% of the initial wakefield energy.

physics.plasm-ph