A. Latina LCWS11 – September 26-30, 2011 – Granada, Spain 1 New features in PLACET Andrea Latina (CERN) Slides prepared with the help of J. Snuverink (CERN)

Slides:



Advertisements
Similar presentations
CLIC TeamMAD-X Day, September 4, 2003 MAD-X for CLIC H. Braun, R. Corsini, T.d’Amico, A. Faus-Golfe, M. Korostelev, S. Redaelli, T. Risselada, D. Schulte,
Advertisements

Beam Delivery Simulation Development & BDS / MDI Applications L. Nevay, S. Boogert, H. Garcia-Morales, S. Gibson, J. Snuverink, L. Deacon Royal Holloway,
Tests of DFS and WFS at ATF2 Andrea Latina (CERN), Jochem Snuverink (RHUL), Nuria Fuster (IFIC) 18 th ATF2 Project Meeting – Feb – LAPP, Annecy.
ILC BDS Collimation Optimisation and PLACET simulations Adina Toader School of Physics and Astronomy, University of Manchester & Cockcroft Institute, Daresbury.
ILC BDS Collimation Optimisation and PLACET simulations Adina Toader School of Physics and Astronomy, University of Manchester & Cockcroft Institute, Daresbury.
July 22, 2005Modeling1 Modeling CESR-c D. Rubin. July 22, 2005Modeling2 Simulation Comparison of simulation results with measurements Simulated Dependence.
NLC - The Next Linear Collider Project “Slow” Feedback Requirements: Deflections and Luminosity Linda Hendrickson IPBI Meeting, SLAC June 26, 2002.
Luminosity Stability and Stabilisation Hardware D. Schulte for the CLIC team Special thanks to J. Pfingstner and J. Snuverink 1CLIC-ACE, February 2nd,
Searching for Quantum LOVE at the Australian Synchrotron Light Source Eugene Tan On behalf of Rohan Dowd 120/10/2010Eugene Tan – IWLC 2010, Genega ASLS.
Update on ILC ML Lattice Design Alexander Valishev, for the FNAL LET group FNAL AP Dept. Meeting March 7, 2007.
GRD - Collimation Simulation with SIXTRACK - MIB WG - October 2005 LHC COLLIMATION SYSTEM STUDIES USING SIXTRACK Ralph Assmann, Stefano Redaelli, Guillaume.
CLIC programme at FACET Update on CERN-BBA A. Latina, J. Pfingstner, G. De Michele, D. Schulte (CERN) E. Adli (Univ. of Oslo), J. Resta Lopez (IFIC) In.
Tests of Dispersion-Free Steering at FACET (CERN-BBA) A. Latina, J. Pfingstner, D. Schulte (CERN) E. Adli (Univ. of Oslo/SLAC) In collaboration with: F.J.
Spin Tracking Using the Bmad Software Library David Sagan Cornell Laboratory for Accelerator-Based Sciences and Education.
27-Nov-2007 SLAC-ILC- AP Meeting Global Design Effort 1 Lucretia Developments PT SLAC.
Ground Motion + Vibration Transfer Function for Final QD0/SD0 Cryomodule System at ILC Glen White, SLAC ALCPG11, Eugene March 21, 2011.
PTC ½ day – Experience in PS2 and SPS H. Bartosik, Y. Papaphilippou.
CLIC main detector solenoid and anti-solenoid impact B. Dalena, A. Bartalesi, R. Appleby, H. Gerwig, D. Swoboda, M. Modena, D. Schulte, R. Tomás.
CERN, BE-ABP (Accelerators and Beam Physics group) Jürgen Pfingstner Orbit feedback design for the CLIC ML and BDS Orbit feedback design for the CLIC ML.
Parallelisation of Random Number Generation in PLACET Approaches of parallelisation in PLACET Martin Blaha University of Vienna AT CERN
Spectrometer Optics John J. LeRose. The Basics Charged particles moving through static magnetic fields.  Magnetic Rigidity Local radius of curvature.
New Progress of the Nonlinear Collimation System for A. Faus-Golfe J. Resta López D. Schulte F. Zimmermann.
European Organization for Nuclear Research International Linear Collider INTERNATIONAL WORKSHOP ON FUTURE LINEAR COLLIDERS ЛЦВС14 Vinča Institute of Nuclear.
Orbit Control For Diamond Light Source Ian Martin Joint Accelerator Workshop Rutherford Appleton Laboratory28 th -29 th April 2004.
Matching recipe and tracking for the final focus T. Asaka †, J. Resta López ‡ and F. Zimmermann † CERN, Geneve / SPring-8, Japan ‡ CERN, Geneve / University.
Summary of WG1 K. Kubo, D. Schulte, P. Tenenbaum.
S.J. Brooks RAL, Chilton, OX11 0QX, UK Extending FETS with a Ring Electron models are not sufficient for simulating the beam.
ILC BDS Static Beam-Based Alignment and Tuning Glen White SLAC 1.Aims. 2.Error parameters and other assumptions. 3.Overview of alignment and tuning procedure.
Simulation of direct space charge in Booster by using MAD program Y.Alexahin, A.Drozhdin, N.Kazarinov.
Report of 2 nd ILC Workshop (Snowmass) Working Group Kiyoshi KUBO references: Slides of the plenary talks in the workshop by P.Tenembaum and.
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.
Design of the Turnaround Loops for the Drive Beam Decelerators R. Apsimon, J. Esberg CERN, Switzerland.
Vertical Emittance Tuning at the Australian Synchrotron Light Source Rohan Dowd Presented by Eugene Tan.
B. Caron, G. Balik, L. Brunetti LAViSta Team LAPP-IN2P3-CNRS, Université de Savoie, Annecy, France & SYMME-POLYTECH Annecy-Chambéry, Université de Savoie,
Beam Dynamics WG Summary N.Solyak, K.Kubo, A.Latina LCWS 2014 – Oct 6-10, 2014 – Belgrade, Serbia.
1 O. Napoly ECFA-DESY Amsterdam, April 2003 Machine – Detector Interface : what is new since the TDR ? O. Napoly CEA/Saclay.
Collimation for the Linear Collider, Daresbury.1 Adam Mercer, German Kurevlev, Roger Barlow Simulation of Halo Collimation in BDS.
ILC luminosity optimization in the presence of the detector solenoid and anti-DID Reine Versteegen PhD Student CEA Saclay, Irfu/SACM International Workshop.
J. Pfingstner Imperfections tolerances for on-line DFS Improved imperfection tolerances for an on-line dispersion free steering algorithm Jürgen Pfingstner.
Low Emittance Generation and Preservation K. Yokoya, D. Schulte.
Emittance Tuning Simulations in the ILC Damping Rings James Jones ASTeC, Daresbury Laboratory.
Main Linac Tolerances What do they mean? ILC-GDE meeting Beijing Kiyoshi Kubo 1.Introduction, review of old studies 2.Assumed “static” errors.
Orbits, Optics and Beam Dynamics in PEP-II Yunhai Cai Beam Physics Department SLAC March 6, 2007 ILC damping ring meeting at Frascati, Italy.
Introdcution to Workpackage/Activity Reflection D. Schulte.
… Work in progress at CTF3 … Davide Gamba 01 July 2013 Study and Implementation of L INEAR F EEDBACK T OOLS for machine study and operation.
Update on the Status of BDSIM Steve Malton On behalf of: Grahame Blair (RHUL) Ilya Agapov (CERN) Andrea Latina (CERN) Olivier Dadoun (LAL) Anyone else.
Simulations - Beam dynamics in low emittance transport (LET: From the exit of Damping Ring) K. Kubo
PLACET User experiences with PLACET and examples of use for the Drive Beam CLIC Workshop 2008 Erik Adli, CERN/University of Oslo, October 16 th 2008 Lots.
Main and Drive Beam Dynamics Working Group Caterina Biscari, Daniel Schulte Attending people ~ 20 ± 5 Presentations ~ 18 (7 from CERN) CL IC 07.
BDS, Start to End Simulation, Simulation Codes Summary D. Schulte.
Vacuum specifications in Linacs J-B. Jeanneret, G. Rumolo, D. Schulte in CLIC Workshop 09, 15 October 2009 Fast Ion Instability in Linacs and the simulation.
J. Snuverink and J. Pfingstner LinSim LinSim Linear Accelerator Simulation Framework with PLACET an GUINEA-PIG Jochem Snuverink Jürgen Pfingstner 16 th.
Ultra-low Emittance Coupling, method and results from the Australian Synchrotron Light Source Rohan Dowd Accelerator Physicist Australian Synchrotron.
The Cockroft Institute
Frank Stulle, ILC LET Beam Dynamics Meeting CLIC Main Beam RTML - Overview - Comparison to ILC RTML - Status / Outlook.
A. Aksoy Beam Dynamics Studies for the CLIC Drive Beam Accelerator A. AKSOY CONTENS ● Basic Lattice Sketches ● Accelerating structure ● Short and long.
Halo and Tail Generation Studies and Application to the CLIC Drive Beam Presented by: Miriam Fitterer Acknowledgements: Erik Adli, Ijaz Ahmed,
RF-kick in the CLIC accelerating structures
Speaker: Andrea Latina
In collaboration with P. N. Burrows, A. Latina and D. Schulte
Benchmarking MAD, SAD and PLACET Characterization and performance of the CLIC Beam Delivery System with MAD, SAD and PLACET T. Asaka† and J. Resta López‡
For Discussion Possible Beam Dynamics Issues in ILC downstream of Damping Ring LCWS2015 K. Kubo.
Wake field limitations in a low gradient main linac of CLIC
New algorithms for tuning the CLIC beam delivery system
Multi-Turn Extraction studies and PTC
Coupling Correction at the Australian Synchrotron
Beam-Based Alignment Results
Electron Rings Eduard Pozdeyev.
CLIC damping rings working plan towards the CDR
Start-to-End Simulations for the TESLA LC
Presentation transcript:

A. Latina LCWS11 – September 26-30, 2011 – Granada, Spain 1 New features in PLACET Andrea Latina (CERN) Slides prepared with the help of J. Snuverink (CERN)

A. Latina LCWS11 – September 26-30, 2011 – Granada, Spain 2 Outline of this talk PLACET is a tracking code that simulates linear colliders, originally written by Daniel Schulte PLACET has significantly evolved during the last years, thanks to the contribution of several people: myself, Jochem Snuverink, Barbara Dalena, Erik Adli, Peder Eliasson, … In this talk we present some of these improvements and outline the plans for future developments 1.PLACET overview 2.Tracking improvements 1.New commands 1.Code fixes 2.Future plans

A. Latina LCWS11 – September 26-30, 2011 – Granada, Spain 3 PLACET Overview PLACET simulates beam transport and orbit correction in electron/positron linear colliders, from the damping rings exit to the interaction point, and also the CLIC drive-beam It implements 4d and 6d tracking using multiple beam models It can simulate static and dynamic imperfections, such as element misalignment, ground motion, arbitrary failures and provides several counteracting schemes It simulates many single-particle, collective, single-bunch and multi-bunch effects: ISR, CSR, short-range wakefields, long-range wakefields, collimator wakefields, RF-kicks, HALO generation and beam-gas scattering Pros: It’s easily programmable (Tcl/Tk – Octave) It can be greatly customized, at the user level (no messing up with the C++ required!) It’s fast It’s open-source, and it relies only on open-source components Cons: Somehow steep learning curve (but great productivity when you get started)

A. Latina LCWS11 – September 26-30, 2011 – Granada, Spain 4 Improved Multipoles New command syntax and functionality The strength can be a complex number, in order to consider normal and skew components at the same time. For example: Multipole –type 3 –strength (2,3) creates a sextupole with normal component 2 and skew component 3 Multiple multipole strengths can be specified at the same time: Multipole –strength_list “(1,1) (2,2) (3,3)” implements an element that gives simultaneously a dipole, a skew quadrupole and a sextupole kicks (normal and skew components) It can be used to simulate higher order modes contamination in magnets Multipole –type 3 –strength (2,3) Multipole –strength_list “(1,0) (0,2) (3,0)”

A. Latina LCWS11 – September 26-30, 2011 – Granada, Spain 5 Tracking through thin-lenses An abstraction for tracking through thin lenses has been created It is sufficient for each element to provide a “kick” at a specific location (leap-frog integration) It implements single-particle tracking and sliced-beam tracking Each element just need to provide “a kick” which depends on the particle parameters and its longitudinal location within the element It takes into account synchrotron radiation emission Statistical process for single-particle beams Average energy loss for sliced beams So far was mostly an hidden feature of each basic elements (but it is used in the multipoles)  It will allow to create mixed elements (QUAD+SOLENOID for instance)

A. Latina LCWS11 – September 26-30, 2011 – Granada, Spain 6 1-particle tracking with SR In some cases it can be useful to track 1 single particle representing the entire bunch (for instance when computing a response matrix) In such a case, energy loss due to synchrotron radiation cannot be applied as a statistical process, and it must applied ad an average energy loss  This has been implemented

A. Latina LCWS11 – September 26-30, 2011 – Granada, Spain 7 (2 nd –order) transfer matrix calculation The possibility to retrieve the first-order transfer matrix has been added to each element  For a beamline, the transfer matrix from i -> j, can be calculated in two ways: 1.Ordinary matrix multiplication T = placet_get_transfer_matrix(“beamline”, i, j); 1.Tracks a bunch and performs a polynomial fit to minimize the following chi 2 where l and m are the indexes 1 to 6 : (x,x’,y,y’,z,δ) [T, U] = placet_get_transfer_matrix_fit(“beamline”, “beam”, i, j); This procedure returns also the second-order transfer matrix U ijk

A. Latina LCWS11 – September 26-30, 2011 – Granada, Spain 8 Response matrix calculation Traditionally, the response matrix was calculated using an “experimental” approach, i.e. by exciting each corrector and measuring the induced orbit distortion  Two new methods have been implemented: 1.Response matrix calculation from the optics [ Rxx, Ryy ] = = placet_get_response_matrix_optics(“beamline”, B, C); 2.Tracking one single bunch and fitting the polynomial to find R ij (and also R ikj ) [Rxx, Rxy, Ryx, Ryy, Rxxx, Rxxy, Rxyy, Ryxx, Ryyx, Ryyy] = = placet_get_response_matrix_fit(“beamline”, “beam”, B, C);

A. Latina LCWS11 – September 26-30, 2011 – Granada, Spain 9 Ground motion Based on models from A. Seryi 1 Standalone program integrated Possibility to add stabilisation to each individual girder or element Pre-isolator for QF1 and QD0 implemented realistically [1] A. Seryi, “Ground Motion Models for Future Linear Colliders”, EPAC2000, Vienna

A. Latina LCWS11 – September 26-30, 2011 – Granada, Spain 10 Simulation Frameworks Simulation frameworks for CLIC ML and BDS –Goal: simulate as realistically as possible –Including all feedback systems and dynamic imp. –One settings file: easy to switch on and off features –Scripts to analyse results Similar framework for CLIC decelerator. See: – 52https://indico.cern.ch/conferenceOtherViews.py?confId= All in PLACET repository Modular setup: more will/can be added easily

A. Latina LCWS11 – September 26-30, 2011 – Granada, Spain 11 Code. Memory consumption Beamline consumes most memory (situation 2010) –ELEMENT: 408B + ~30 ‘attributes’ * 96B = 3kB –90k elements per main linac for CLIC –Each cavity (50% of ML) has an additional BPM element –One ML+BDS simulation takes about 800MB About ok for one job, but two start to slow down desktop/laptop significantly Attribute class scrutinized (96B->48B) BPM in Cavity changed to simple struct About 50% memory reduction achieved More reduction possible (if needed)

A. Latina LCWS11 – September 26-30, 2011 – Granada, Spain 12 Coverity Coverity is a computer security company, with in-depth experience of static analysis. They have conducted many open source scans, on complex and critical software (such as the Linux kernel), and were able to detect numerous bugs. Their static analysis tool is thorough and boasts 100% path analysis. Coverity has kindly donated a license of Coverity Static Analysis tool to CERN - which means that all CERN users can use the tool.

A. Latina LCWS11 – September 26-30, 2011 – Granada, Spain 13 Coverity Checking PLACET since March issues found (cf. ROOT 5274) –151 ‘high impact’ (mem. leaks, mem. corruption, use of uninitialised variables) –79 fixed + 45 ignored (27 high impact outstanding)

A. Latina LCWS11 – September 26-30, 2011 – Granada, Spain 14 Conclusions and future plans PLACET is more stable, and mature New features open new simulation / orbit correction capabilities Still it can be improved in terms of modularity (adding new features is somehow complicated) the interface toward Octave must be made more flexible (decouple the embedding?) code must be parallelized documentation must be beefed