Skip to content

tprebiba/psb-xsuite-tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Realistic Proton Synchrotron Booster (PSB) Beam Dynamics Simulation with Xsuite

This repository provides a full simulation pipeline for realistic modeling of beam dynamics in CERN’s Proton Synchrotron Booster (PSB) using Xsuite.

It includes tools for:

  • Lattice generation
  • Multi-turn injection and transverse painting modeling
  • Foil scattering
  • Acceleration
  • Time-dependent settings (e.g. tune ramps)
  • Machine imperfections
  • Space charge effects
  • Tracking and output analysis
  • Scripts for submittion to HTCondor (CPU or GPU)

Contact for corrections & suggestions: [email protected]
With inputs from: F. Asvesta, H. Bartosik, G. Iadarola, K. Paraschou


Structure

The simulation is organized in two main parts:

Part I: Preparing the Simulation

  • Generate the desired lattice and particle distribution (lattice setup, beam transverse and longitudinal characteristics, ...).
  • All settings are controlled via simulation_parameters.py.
  • Execution:
    . 000_prepare_simulation.sh 
    
  • Will generate the lattice and machine settings in psb/ and the initial particle distribution in input/

Part II: Tracking

  • Perform beam tracking (configured also via simulation_parameters.py).
  • Local execution:
    python -m runPSB.py 
    
    or execution in HTCondor with GPU
    condor_submit htcondor_submission_gpu.sub
    
  • All the outputs (turn-by-turn beam data, beam profiles, ...) are saved in output/.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published