2026-03-04 15:28:18 +01:00
2026-03-04 15:28:18 +01:00
2026-03-04 11:24:52 +01:00
2026-03-04 11:24:52 +01:00
2026-03-04 11:53:04 +01:00

SwissFEL-Reference-Files

Repository to have access to references files for SwissFEL for various codes

Elegant

Preparing a new input deck for SwissFEL

Step 1 - Preparing the input distribution

Starting with an Asta-output distribution, several adjustments can be applied.

  1. Converting Astra output to SDDS format for the import in Elegant
  2. Apply missing wakefields for SINSB01 and SINSB02
  3. Optional - Cutting the tail to avoid particles with a strong longitudinal offsets, which can render the space charge calculation in Elegant difficult.
  4. Analyse projected and slice parameters to generate a reference report
  5. Optional - Increase or decrease particle number based on the beam slice parameters

Step 2 - Configure Longitudinal Compression

Run Longitudinal Tracker to configure R56 and RF phases. For the tracking import the generated distribution from Step 1. Export the settings for the RF settings.

Step 3 - Configure Optics

Run OpticsTool for a given beamline. Import the beam report from Step 1 and the RF settings from Step 2. Match the lattice and save the settings.

Step 4 - Geenrate Elegant Files

Run ElegantTool to import distribution and optics settings to generate the elegant input file and lattice.

Description
Collection of References Files to model SwissFEL
Readme GPL-3.0 59 KiB
Languages
Python 100%