Cryogun Example - Emittance/Bunch Charge



Beamline Setup

Cryocooled Dcgun followed by two Solenoids and a NCRF buncher cavity

Field Map:

Cryogun Fields.JPG

Input Files

Electric Field Map (gdf) : dcgun_analytic_5_20mm_2D.gdf

Buncher Field Map (gdf) : eindhoven_rf_4mm_center.gdf

Solenoid Field Map: GPT Analytical Solenoid

GPT .in file: gpt.in

Parameters- 0 meV Optimization

Optimizing

cgun objectives.JPG

objectives.enxy.qb

Constraints

cgun constraints.JPG

constraints.bin

Decisions

cgun decisions.JPG

decisions.enxy.qb

Number of Generations

500

Parameters- 150 meV Optimization

Optimizing

cgun objectives.JPG

objectives.enxy.qb

Constraints

cgun constraints.JPG

constraints.bin

Decisions

cgun decisions 150.JPG

150_decisions.enxy.qb

Number of Generations

500

Running the Optimizer

1) Go to /inopt/examples/ued.cgun. Start the optimization by running the command:

./how_to_run.txt

You should see the following output:

nohup: appending output to 'nohup.out'

2) If you want to see the progress of the optimization, run the command:

tail -f var_diag.log

3) If you want to visualize the results as they happen, run gnuplot. When prompted by the line "gnuplot>", enter the line:

p [0:160] [0:15] "ued.cgun.out.txt" u (-1*$18):19

The reason the last two input parameters of the above line reads 18 and 19 is evident when one ones the ued.cgun.out.txt file. On the top of the file, it says " # variables (17) objectives (2) constraints (3) ".

Therefore, column 18 and 19 are the two competing objectives that we are trying to optimize.This will plot the emittance as a function of bunch charge in [fC] and [nm] respectively.

Results

30kFront.png

Pareto Front GIF

0 meV:

Front Final.gif

150meV:

Front 30k Final.gif

Output files

0 meV: ued.cgun.out_0MTE.txt

150 meV: ued.cgun.out.txt

Other Results

Effective Emittance

Eff Emit.JPG


Injector Optimization Home

Topic attachments
I Attachment Action Size DateSorted descending Who Comment
ued.cgun.out_0MTE.txttxt ued.cgun.out_0MTE.txt manage 8 K 14 May 2019 - 18:40 UnknownUser  
Front_30k_Final.gifgif Front_30k_Final.gif manage 3 MB 14 May 2019 - 18:38 UnknownUser  
ued.cgun.out.txttxt ued.cgun.out.txt manage 8 K 14 May 2019 - 18:38 UnknownUser  
30kFront.pngpng 30kFront.png manage 45 K 14 May 2019 - 18:35 UnknownUser  
Eff_Emit.JPGJPG Eff_Emit.JPG manage 43 K 14 May 2019 - 18:35 UnknownUser  
150_decisions.enxy.qbqb 150_decisions.enxy.qb manage 883 bytes 08 May 2019 - 00:39 UnknownUser  
constraints.binbin constraints.bin manage 117 bytes 08 May 2019 - 00:36 UnknownUser  
decisions.enxy.qbqb decisions.enxy.qb manage 881 bytes 08 May 2019 - 00:36 UnknownUser  
objectives.enxy.qbqb objectives.enxy.qb manage 64 bytes 08 May 2019 - 00:36 UnknownUser  
EffEmit0meV.pngpng EffEmit0meV.png manage 38 K 07 May 2019 - 22:43 UnknownUser  
Front_Final.gifgif Front_Final.gif manage 2 MB 07 May 2019 - 22:37 UnknownUser  
cgun objectives.JPGJPG cgun objectives.JPG manage 9 K 05 May 2019 - 18:03 UnknownUser  
cgun constraints.JPGJPG cgun constraints.JPG manage 11 K 05 May 2019 - 18:00 UnknownUser  
cgun decisions.JPGJPG cgun decisions.JPG manage 30 K 05 May 2019 - 18:00 UnknownUser  
cgun decisions_150.JPGJPG cgun decisions_150.JPG manage 27 K 05 May 2019 - 18:00 UnknownUser  
Cryogun Fields.JPGJPG Cryogun Fields.JPG manage 51 K 05 May 2019 - 17:53 UnknownUser  
dcgun_analytic_5_20mm_2D.gdfgdf dcgun_analytic_5_20mm_2D.gdf manage 644 K 26 Feb 2019 - 15:13 UnknownUser  
eindhoven_rf_4mm_center.gdfgdf eindhoven_rf_4mm_center.gdf manage 2 MB 26 Feb 2019 - 15:13 UnknownUser  
gpt.inin gpt.in manage 9 K 26 Feb 2019 - 15:13 UnknownUser  
This topic: PhotocathodeBrightBeams/Private > WebHome > InjectorOptimization > ColdGun
Topic revision: 14 May 2019, el535
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding CLASSE Wiki? Send feedback