Beam Process Simulation

A beam process may be simulated using JMAD in conjnction with settings extraction.

For the beam process preparation:

  • Generate to 0: coupling, octupoles, B3, B4, B5, B2 (only the B2 variable), injection and dump septa. IP SPECTROMETERS, Skew sextupoles.
  • Generate normally systems CHROMATICITY, ORBIT-H//V, TUNE, TUNE-TRIM, TRIPLET (+CORRECTION), SEPARATION DIPOLES, MATCHING and WARM QUADS
  • Do not include any tune, chroma, orbit etc corrections obtained from beam measurements !!

The extactionn is performe from the KSMOOTH level such that the roundings can also be studied.

The settings extraction tool is best used from eclipse. The product is named accsoft-om-app-bpscan and the simplest is to edit the default beam process name directly.

Then the main should be launched with will open the following window. Click on 'Use TFS' to produce TFS files and then simply click on 'Run and Get via JMAD'. The programm will then block for the long duration of the simualtion (seems to run in the Swing thread !!!). You can follow progress on the eclipse console (see below) :

Console output of eclipse while the program runs...

ControlsController::actionPerformed
runSimlation(Controls.DOJMADSIMULATION)
Simulation started
BeamProcessScannerImpl::doCreateModels
Extraction 1/178, RAMP-DESQUEEZE-6.5TeV-67m-HighB-2018_V1_TestSim--B1--0.0--0
Trying to write extracted values to /tmp/jwenning/bpscan-tmp/0000.0000000000
R2016a_A11mC11mA10mL10m_INJ
Extraction 1/178, RAMP-DESQUEEZE-6.5TeV-67m-HighB-2018_V1_TestSim--B1--0.0--0 DONE
Extraction 2/178, RAMP-DESQUEEZE-6.5TeV-67m-HighB-2018_V1_TestSim--B1--0.0--0--NOMINAL
Trying to write extracted values to /tmp/jwenning/bpscan-tmp/0000.0000000000
Extraction 2/178, RAMP-DESQUEEZE-6.5TeV-67m-HighB-2018_V1_TestSim--B1--0.0--0--NOMINAL DONE
Extraction 3/178, RAMP-DESQUEEZE-6.5TeV-67m-HighB-2018_V1_TestSim--B1--3.5--0
Trying to write extracted values to /tmp/jwenning/bpscan-tmp/0003.5000000000
Extraction 3/178, RAMP-DESQUEEZE-6.5TeV-67m-HighB-2018_V1_TestSim--B1--3.5--0 DONE
Extraction 4/178, RAMP-DESQUEEZE-6.5TeV-67m-HighB-2018_V1_TestSim--B1--7.0--0
Trying to write extracted values to /tmp/jwenning/bpscan-tmp/0007.0000000000
Extraction 4/178, RAMP-DESQUEEZE-6.5TeV-67m-HighB-2018_V1_TestSim--B1--7.0--0 DONE
Extraction 5/178, RAMP-DESQUEEZE-6.5TeV-67m-HighB-2018_V1_TestSim--B1--10.5--0
Trying to write extracted values to /tmp/jwenning/bpscan-tmp/0010.5000000000

....

Once the simulation is finished it is possible to produce plots directly with this program by selecting a variable and clicking on 'Add Plot'

 

You are here