Optimization of the ESRF upgrade lattice lifetime and dynamic aperture using genetic algorithms Nicola Carmignani 11/03/2015.

Slides:



Advertisements
Similar presentations
MOEAs University of Missouri - Rolla Dr. T’s Course in Evolutionary Computation Matt D. Johnson November 6, 2006.
Advertisements

Biased Random Key Genetic Algorithm with Hybrid Decoding for Multi-objective Optimization Panwadee Tangpattanakul, Nicolas Jozefowiez, Pierre Lopez LAAS-CNRS.
Elitist Non-dominated Sorting Genetic Algorithm: NSGA-II
1 BROOKHAVEN SCIENCE ASSOCIATES Considerations for Nonlinear Beam Dynamics in NSLS-II lattice design Weiming Guo 05/26/08 Acknowledgement: J. Bengtsson.
BROOKHAVEN SCIENCE ASSOCIATES Abstract Magnetic Specifications and Tolerances Weiming Guo, NSLS-II Project In this presentation I briefly introduced the.
Low Emitt.-Lat.-Design: MBA-Designs, D. Einfeld Barcelona: th April 2015 MBA Designs.
March A. Chancé, J. Payet DAPNIA/SACM / Beta-beam ECFA/BENE Workshop The Decay Ring -First Design- A. Chancé, J.Payet CEA/DSM/DAPNIA/SACM.
Optimization of dynamic aperture by TESLA
On comparison of different approaches to the stability radius calculation Olga Karelkina Department of Mathematics University of Turku MCDM 2011.
Optimization of dynamic aperture for the ESRF upgrade Andrea Franchi on behalf of the ASD Beam Dynamics Group Workshop on Accelerator R&D for Ultimate.
Yichao Jing 11/11/2010. Outline Introduction Linear lattice design and basic parameters Combined function magnets study and feasibility Nonlinear dynamics.
Simulation of direct space charge in Booster by using MAD program Y.Alexahin, N.Kazarinov.
Y. Ohnishi / KEK KEKB-LER for ILC Damping Ring Study Simulation of low emittance lattice includes machine errors and optics corrections. Y. Ohnishi / KEK.
Studies on Lattice Calibration With Frequency Analysis of Betatron Motion R. Bartolini DIAMOND Light Source Ltd FMA workshop, Orsay, LURE, 1 st and 2 nd.
Analytical considerations for Theoretical Minimum Emittance Cell Optics 17 April 2008 F. Antoniou, E. Gazis (NTUA, CERN) and Y. Papaphilippou (CERN)
Simulation of direct space charge in Booster by using MAD program Y.Alexahin, A.Drozhdin, N.Kazarinov.
ELIC Low Beta Optics with Chromatic Corrections Hisham Kamal Sayed 1,2 Alex Bogacz 1 1 Jefferson Lab 2 Old Dominion University.
Dynamic Aperture Study for the Ion Ring Lattice Options Min-Huey Wang, Yuri Nosochkov MEIC Collaboration Meeting Fall 2015 Jefferson Lab, Newport News,
2/29/20121 Optimizing LCLS2 taper profile with genetic algorithms: preliminary results X. Huang, J. Wu, T. Raubenhaimer, Y. Jiao, S. Spampinati, A. Mandlekar,
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Office of Science U.S. Department of Energy Containing a.
Nonlinear Dynamic Study of FCC-ee Pavel Piminov, Budker Institute of Nuclear Physics, Novosibirsk, Russia.
KEKB lattice Taken from LATTICE DESIGN FOR KEKB COLLIDING RINGS By H. Koiso and K. Oide.
ILC Damping Ring Alternative Lattice Design ( Modified FODO ) ** Yi-Peng Sun *,1,2, Jie Gao 1, Zhi-Yu Guo 2 Wei-Shi Wan 3 1 Institute of High Energy Physics,
An ultra-low emittance lattices for Iranian Light Source Facility storage ring Esmaeil Ahmadi On behalf of beam dynamics group Iranian Light Source Facility.
H. Bartosik, Y. Papaphilippou. PS2 meant as potential replacement of existing PS PS2 main characteristics given by LHC requirements – Circumference defined.
Frequency map analysis workshop - Orsay 1 - 2/04/04Mahdia Belgroune 1 Role of the frequency map analysis in the choice of the working point of SOLEIL M.
Non linear studies on ALBA lattice Zeus Martí. CELLS site Alba is a new (in commissioning phase this year) synchrotron light source located in Barcelona,
PEP-X Ultra Low Emittance Storage Ring Design at SLAC Lattice Design and Optimization Min-Huey Wang SLAC National Accelerator Laboratory With contributions.
The Introduction to CSNS Accelerators Oct. 5, 2010 Sheng Wang AP group, Accelerator Centre,IHEP, CAS.
Workshop on Accelerator R&D for Ultimate Storage Rings – Oct Nov.1 – Huairou, Beijing, China A compact low emittance lattice with superbends for.
1 BROOKHAVEN SCIENCE ASSOCIATES 1 NSLS-II Lattice Design 1.TBA-24 Lattice Design - Advantages and shortcomings Low emittance -> high chromaticity -> small.
Optics with Large Momentum Acceptance for Higgs Factory Yunhai Cai SLAC National Accelerator Laboratory Future Circular Collider Kick-off Meeting, February.
Plans for Diamond-II ESLSXX Workshop, Bessy II, 19 November 2012 R. Bartolini Diamond Light Source and John Adams Institute for Accelerator Science University.
Genetic algorithms and SIS multi-turn injection
CLIC Frequency Multiplication System aka Combiner Rings Piotr Skowronski Caterina Biscari Javier Barranco 21 Oct IWLC 2010.
Diamond-II upgrade toward ultra-low emittance T. Pulampong University of Oxford Octoberfest October 2014 Royal Holloway, London.
Off-axis injection lattice design studies of HEPS storage ring
Target insertion matching and standard cell optics optimization
M. Apollonio - Low Emittance Design MAXIV - Lund
Orbit Response Matrix Analysis
LOW EMITTANCE CELL WITH LARGE DYNAMIC APERTURE
Sextupole calibrations via measurements of off-energy orbit response matrix and high order dispersion Nicola Carmignani.
Design study of CEPC Alternating Magnetic Field Booster
NSLS-II Lattice Design Strategies Weiming Guo 07/10/08
Multi-Turn Extraction studies and PTC
Cui Xiaohao, Zhang Chuang,Bian Tianjian January 12,2016
Large Booster and Collider Ring
Non-linear Beam Dynamics Studies for JLEIC Electron Collider Ring
First Look at Nonlinear Dynamics in the Electron Collider Ring
Multiturn extraction for PS2
Laboratoire de L’Accélérateur Linéaire
The new 7BA design of BAPS
R. Bartolini Diamond Light Source Ltd
Progress of SPPC lattice design
Superconducting Ultimate-Storage-Ring Design
Chen-Yu Lee, Jia-Fong Yeh, and Tsung-Che Chiang
SPEAR3 Lower Emittance & Nonlinear Dynamics
Negative Momentum Compaction lattice options for PS2
PEPX-type BAPS Lattice Design and Beam Dynamics Optimization
Some notes on the SuperB Dynamic Aperture
M. E. Biagini, LNF-INFN SuperB IRC Meeting Frascati, Nov , 2007
Negative Momentum Compaction lattice options for PS2
Yuri Nosochkov Yunhai Cai, Fanglei Lin, Vasiliy Morozov
JLEIC Collider Rings’ Geometry Options
Fanglei Lin, Yuri Nosochkov Vasiliy Morozov, Yuhong Zhang, Guohui Wei
Update on MEIC Nonlinear Dynamics Work
JLEIC Collider Rings’ Geometry Options (II)
Status of IR / Nonlinear Dynamics Studies
Fanglei Lin JLEIC R&D Meeting, August 4, 2016
Summary of JLEIC Electron Ring Nonlinear Dynamics Studies
Presentation transcript:

Optimization of the ESRF upgrade lattice lifetime and dynamic aperture using genetic algorithms Nicola Carmignani 11/03/2015

OUTLINE ESRF upgrade Injection efficiency and Touschek lifetime Why a multi-objective optimization A popular multi objective genetic algorithm: NSGA II. How it works. ESRF upgrade lattice optimizations using NSGA II algorithm Other optimization methods Conclusions Page 2 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani

ESRF UPGRADE: NORMAL CELL ESRF upgrade has a 7 bend achromat cell, also called hybrid multi bend achromat (HMBA) cell. The equilibrium emittance will be ~130 pm, from the present 4 nm. Touschek lifetime and injection efficiency are two of the most important challenges for the upgrade lattice. Page 3 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani Dispersion bump for sextupoles Longitudinal gradient dipoles -I transformation Combined gradient dipoles ID

ESRF UPGRADE: INJECTION CELLS Two cells will provide a bump in horizontal beta function, in order to increase the dynamic aperture. Page 4 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani

INJECTION EFFICIENCY AND LIFETIME Injection efficiency depends on the dynamic aperture. Touschek lifetime depends on the momentum aperture: Page 5 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani Stored beam Kicked beam septum Injected beam Injection bump On-energy dynamic aperture and momentum aperture depend on the linear and nonlinear lattice. Dynamic aperture computation is about 1h, momentum acceptance about 2-3h.

MULTI OBJECTIVE OPTIMIZATIONS For accelerator lattice design, we need to maximize the injection efficiency and the beam lifetime. We can have large on-momentum dynamic aperture, but small momentum acceptance. Page 6 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani Large momentum acceptance We want to optimize linear and nonlinear lattice, in order to increase both dynamic aperture and momentum aperture. A multi-objective optimizer could be helpful. Large dynamic aperture

A POPULAR MULTI-OBJECTIVE GENETIC ALGORITHM: NSGA II NSGA II has been developed by K. Deb, A. Pratap, S. Agarwal, and T. Meyarivan in NSGA II means Non-dominated Sorted Genetic Algorithm 2. “A Fast and Elitist Multiobjective Genetic Algorithm: NSGA-II”, IEEE Transactions on evolutionary computation, vol. 6, no. 2, April 2002 NSGA II is used in many different fields, for many different problems. In accelerator physics, it is used in many laboratories. The algorithm is implemented in many codes. Page 7 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani

NSGA II: SORTING WITH MULTIPLE OBJECTIVE FUNCTIONS (1) The sorting is based on non-domination. Page 8 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani Obj 1 Obj 2 A B B and C are dominated by A, because Obj 1 (A) > Obj 1 (B,C) and Obj 2 (A) > Obj 2 (B,C) Obj 1 Obj 2 Green elements are the non-dominated ones. They are called the non-dominated front or the Pareto front. The Pareto front has rank 1. Orange elements are dominated by one or more green elements and they have rank 2. Ranking rank 1 rank 2 C

NSGA II: SORTING WITH MULTIPLE OBJECTIVE FUNCTIONS (2) Crowding distance Page 9 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani Obj 1 Obj 2 Obj 1 Obj 2 Not crowded solutions in the Pareto front are better. A crowding distance (dist) can be defined per each element. It measures the distance between the element and the neighbors with the same rank. Element A is better than B: If (rank(A) < rank(B)) OR (rank(A) = rank(B)) AND (dist(A)>dist(B))

NSGA II: GENETIC OPERATIONS The evolution of the population is made with the genetic operations: From two parents we obtain two children using cross over and mutation Cross over Mutation Once we have the two children, we can compute for them the objective functions and we can sort again. Page 10 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani parent 1 parent 2 var1 var2var3var4var5var6var7var8 var1var2var3var4var5var6var7var8 A fraction of the variables are switched between the two parents After the cross over, some random mutations of some of the variables are added.

IMPLEMENTATIONS OF NSGA II ALGORITHM geneticOptimizer: a script distributed with elegant, written by Michael Borland NGPM: a matlab program availeble on internet, written by Song Lin Page 11 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani

OPTIMIZATIONS USING NSGA II ALGORITHM AT ESRF Possible variables Sextupole magnets: 6 per cell; periodicity can be 1 or more cells. Octupole magnets: 2 per cell; Chromaticities; Tunes; Phase advances between sextupoles; Beta and alpha functions in some locations of the cell. Objective functions On-momentum dynamic aperture Touschek lifetime computed with Piwinski formula All the tracking is done with matlab Accelerator Toolbox Page 12 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani

PERFECT LATTICE OPTIMIZATIONS (1) We saw from a chromaticity scan that high horizontal chromaticity was good for Touschek lifetime. Sextupole and octupole optimization with fixed vertical chromaticity, but free horizontal one. Page 13 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani The Pareto front had very high horizontal chromaticity ξ x ~15

PERFECT LATTICE OPTIMIZATIONS (2) We tested one result with 100 error seeds and we got bad results Page 14 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani Nominal lattice: LT~14h Optimized lattice: LT~9.5h

OPTIMIZATIONS OF LATTICE WITH ERRORS: NONLINEAR LATTICE (1) Page 15 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani We started to do optimizations computing the objective functions on many seeds of errors, usually 10. Each point in the plot is the average on 10 error seeds! A very large computer power is needed. Same optimization, with two free chromaticities. Optimum values have positive chromaticities: To have ~300 different settings, we need to compute 300 times 10 dynamic apertures and 10 Touschek lifetimes: 300x10x(1h+2h)=9000h with a single core, 18h with 500 cores.

ONE RESULT OF THE OPTIMIZATION Sextupole and octupole optimizetion of ESRF upgrade lattice. Page 16 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani Before sextupole optimizationAfter sextupole optimization Momentum acceptance is increased where the beam size is smaller.

OPTIMIZATIONS OF LATTICE WITH ERRORS: NONLINEAR LATTICE (2) We normally use a NSGA II optimization to choose: Sextupole and octupole values The number of sextupole and octupole families The chromaticities The size of the superperiod Linear lattice optimization Page 17 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani

LINEAR LATTICE OPTIMIZATIONS We optimize some linear parameters of the standard cell with NSGA II optimizations. In this case, the variables are linear parameters together with nonlinear magnets. Page 18 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani  x  x  y,  y,  x yy  x,  y M(1,2), M(3,4), -I transformation

SEXTUPOLES OF INJECTION CELL Phase advances between the sextupoles of the injection cell are slightly different than the ones in the other cells. If we put the same sextupole values as the normal cells, we loose in momentum acceptance. We can find the optimum values for the sextupoles of the injection cell with a NSGA II optimization. Page 19 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani

OTHER OPTIMIZATIONS: TUNE SCANS Page 20 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani In this figures: sextupoles optimized at (.23,.34) and no injection cell

OTHER OPTIMIZATIONS: CHROMATICITY SCANS More than one year ago, we saw that high chromaticity was good for lifetime with a 2D chromaticity scan. Page 21 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani

OTHER 2-D SCANS If we use only three sextupole families and one octupole family and we fixed the two chromaticities (6 and 4 in this case), we can scan the two left degrees of freedom in a 2D grid. Page 22 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani

CONCLUSIONS The NSGA-II algorithm is very effective in finding linear and nonlinear lattice parameters, in particular for sextupole and octupole strengths. NGPM is a good implementation of the algorithm and can be used together with the matlab Accelerator Toolbox. It is easily parallelizable. Optimization of perfect lattices are faster, but adding errors you can have bad results. Optimization of lattices with many seeds of errors are better, but you need a big cluster. Many iterations between tune scans, chromaticity scans, other 2-D scans and NSGA-II optimizations are useful to find the best settings. Page 23 l Optimization of the ESRF upgrade lattice using genetic algorithms l 11/03/2015 l Nicola Carmignani

Page 24 Many thanks for your attention