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.

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

Gaussian Beam Propagation Code
Model Server for Physics Applications Paul Chu SLAC National Accelerator Laboratory October 15, 2010.
Online Data Analysis and Simulation Sven Reiche UCLA - 09/22/04 Sven Reiche UCLA - 09/22/04.
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.
CASE Tools And Their Effect On Software Quality Peter Geddis – pxg07u.
What is R By: Wase Siddiqui. Introduction R is a programming language which is used for statistical computing and graphics. “R is a language and environment.
JCE A Java-based Commissioning Environment tool Hiroyuki Sako, JAEA Hiroshi Ikeda, Visible Information Center Inc. SAD Workshop.
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.
Drive Beam and CTF 3 International Workshop on Linear Colliders 2010 October 22, 2010 Erik Adli, Department of Physics, University of Oslo and CERN Bernard.
PTC ½ day – Experience in PS2 and SPS H. Bartosik, Y. Papaphilippou.
Computation of Taylor Maps and Applications to Accelerator Physics Six lectures with emphasis on examples and their computer implementations Etienne Forest.
25-26 June, 2009 CesrTA Workshop CTA09 Electron Cloud Single-Bunch Instability Modeling using CMAD M. Pivi CesrTA CTA09 Workshop June 2009.
Parallelisation of Random Number Generation in PLACET Approaches of parallelisation in PLACET Martin Blaha University of Vienna AT CERN
Astra A Space Charge Tracking Algorithm
Summary of WG1 K. Kubo, D. Schulte, P. Tenenbaum.
Status of Space-Charge Simulations with MADX Valery KAPIN ITEP & MEPhI, Moscow GSI, 19-Feb-2009
240-Current Research Easily Extensible Systems, Octave, Input Formats, SOA.
CLIC Beam Physics Working Group D. Schulte
The Software Development Process
The CLIC decelerator Instrumentation issues – a first look E. Adli, CERN AB/ABP / UiO October 17, 2007.
Intermediate 2 Computing Unit 2 - Software Development.
A Data/Detector Characterization Pipeline (What is it and why we need one) Soumya D. Mohanty AEI January 18, 2001 Outline of the talk Functions of a Pipeline.
Beam Dynamics WG K. Kubo, N. Solyak, D. Schulte. Presentations –N. Solyak Coupler kick simulations update –N. Solyak CLIC BPM –A. Latina: Update on the.
JavaScript 101 Introduction to Programming. Topics What is programming? The common elements found in most programming languages Introduction to JavaScript.
University of Oslo and CLIC Short overview for first “NorduCLIC” meeting Erik Adli and Steinar Stapnes, University of Oslo May 19, 2008.
Status of BDSIM Simulation L. Nevay, S. Boogert, H. Garcia-Morales, S. Gibson, R. Kwee-Hinzmann, J. Snuverink Royal Holloway, University of London 17 th.
Low Emittance Generation and Preservation K. Yokoya, D. Schulte.
Introdcution to Workpackage/Activity Reflection D. Schulte.
Single Seed Run of PLACET in the CLIC FFS Code From Jochem Snuverink Ryan Bodenstein FONT Meeting 2015/08/21.
… 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.
Introduction D. Schulte for K. Kubo and P. Tenenbaum.
CERN CLIC Machine Protection Studies Lutz Matthias Hein CERN, TE-MPE-PE 08/10/20141 LCWS14.
Interface between TAC SR and SASE FEL Possibility for testing CLIC structure Avni AKSOY Ankara University.
Summary of XFEL uses for CALIFES Erik Adli (University of Oslo, Norway)
Main and Drive Beam Dynamics Working Group Caterina Biscari, Daniel Schulte Attending people ~ 20 ± 5 Presentations ~ 18 (7 from CERN) CL IC 07.
2 February 8th - 10th, 2016 TWIICE 2 Workshop Instability studies in the CLIC Damping Rings including radiation damping A.Passarelli, H.Bartosik, O.Boine-Fankenheim,
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.
Beam Physics News D. S. for the beam physics team June 1 rst, 2011.
SLAC LET Meeting Global Design Effort 1 CHEF: Recent Activity + Observations about Dispersion in Linacs Jean-Francois Ostiguy FNAL.
Fast Ion Instability Study G. Rumolo and D. Schulte CLIC Workshop 2007, General introduction to the physics of the fast ion instability Fastion.
ATF2 Software tasks: - EXT Bunch-Bunch FB - IP Bunch-Bunch FB - FB Integration Status and plans Javier Resta-Lopez JAI, Oxford University ATF2 commissioning.
Aa Scripting SPM analyses using aa Rhodri Cusack.
J. Snuverink and J. Pfingstner LinSim LinSim Linear Accelerator Simulation Framework with PLACET an GUINEA-PIG Jochem Snuverink Jürgen Pfingstner 16 th.
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)
Progress in CLIC DFS studies Juergen Pfingstner University of Oslo CLIC Workshop January.
Design for usability E6: Human Factors Design IB Technology.
CIRP Annals - Manufacturing Technology 60 (2011) 1–4 Augmented assembly technologies based on 3D bare-hand interaction S.K. Ong (2)*, Z.B. Wang Mechanical.
Lucretia2AML Steve Molloy 3 rd April, 2008 ( Updated 19 th June, 2008)
The Cockroft Institute
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,
FACET Tests Update A. Latina, J. Pfingstner, D. Schulte,
CALIFES A proposed electron beam test facility at CERN
Arun Saini, N. Solyak Fermi National Accelerator Laboratory
RF-kick in the CLIC accelerating structures
Speaker: Andrea Latina
Orbit Response Matrix Analysis
GIT AND GITHUB WORKSHOP
Wake field limitations in a low gradient main linac of CLIC
Status of the CLIC main beam injectors
Status and needs of dynamic aperture calculations
CLIC BDS tuning and luminosity signal
Pretzel scheme of CEPC H. Geng, G. Xu, Y. Zhang, Q. Qin, J. Gao, W. Chou, Y. Guo, N. Wang, Y. Peng, X. Cui, T. Yue, Z. Duan, Y. Wang, D. Wang, S. Bai,
Accelerator Physics Technical System Group Review
Where Do We Stand With Start-End Simulations
SPPC General Progress Tang Jingyu 4th CEPC-SPPC Collaboration Meeting
Martin Rajman, EPFL Switzerland & Martin Vesely, CERN Switzerland
Experience with the process automation at SORS
Presentation transcript:

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 of input by A. Latina is gratefully acknowledged

Outline What is PLACET? What is PLACET? Personal experiences with the Drive Beam work Personal experiences with the Drive Beam work Example script [put on CVS for future reference]: Example script [put on CVS for future reference]: TCL: Create a sliced beam for a FODO lattice with PETS TCL: Create a sliced beam for a FODO lattice with PETS Octave: lattice manipulation and beam-based alignment using PLACET octave Octave: lattice manipulation and beam-based alignment using PLACET octave

What is PLACET? General tracking code for non-periodic machines General tracking code for non-periodic machines Supports fast tracking of particle beams or sliced beams (realistic beams with large number of particles can be created and simulated easy) Supports fast tracking of particle beams or sliced beams (realistic beams with large number of particles can be created and simulated easy) Can be used for practically all parts of the CLIC machine with the exception of the damping rings and injectors (no space-charge,v=c). Especially strong support for wake fields in accelerating and decelerating structures Can be used for practically all parts of the CLIC machine with the exception of the damping rings and injectors (no space-charge,v=c). Especially strong support for wake fields in accelerating and decelerating structures Powerful build-in features for analyzing effects of misalignment and alignment/feedback schemes, automating simulation and generation of statistics for a large number of random machines Powerful build-in features for analyzing effects of misalignment and alignment/feedback schemes, automating simulation and generation of statistics for a large number of random machines Code used by a large part of CLIC beam dynamics team Code used by a large part of CLIC beam dynamics team Command interpreter is Tcl/Tk-based + additional Octave interface Command interpreter is Tcl/Tk-based + additional Octave interface

Code and development Written by D. Schulte (CERN) + major update by code keeper up to April 2008: A. Latina (FNAL) Written by D. Schulte (CERN) + major update by code keeper up to April 2008: A. Latina (FNAL) Current code keeper B. Dalena (CERN) Current code keeper B. Dalena (CERN) However, all interested collaborators are welcome to join as co-developers and contribute directly to the cvs- repository However, all interested collaborators are welcome to join as co-developers and contribute directly to the cvs- repository Typically: if you have implemented a nice PLACET update, element or algorithm you think could be of general use, please consider adding it to the repository (ask to be added to "placet- developers" mailing list) Typically: if you have implemented a nice PLACET update, element or algorithm you think could be of general use, please consider adding it to the repository (ask to be added to "placet- developers" mailing list)

Personal start-up experiences Interpreter: TCL Interpreter: TCL I was almost blank to TCL, but much better to start with than an own-defined language like in MADX (TCL: powerful language, lot’s of online help) I was almost blank to TCL, but much better to start with than an own-defined language like in MADX (TCL: powerful language, lot’s of online help) Documentation: was too poor to start working alone, good examples and/or help from experts needed Documentation: was too poor to start working alone, good examples and/or help from experts needed Recently: documentation has improved a lot Recently: documentation has improved a lot And: a lot of good example scripts are now in CVS And: a lot of good example scripts are now in CVS However, once I did get my hands on the interpreter and the basics: found the code very efficient However, once I did get my hands on the interpreter and the basics: found the code very efficient

Placet-octave Last year a new interface added to PLACET: Octave interface, created by A. Latina (now at FNAL) Last year a new interface added to PLACET: Octave interface, created by A. Latina (now at FNAL) Octave: “open source MATLAB clone”  if you know MATLAB you also know Octave Octave: “open source MATLAB clone”  if you know MATLAB you also know Octave Lattice and beam can be manipulated directly with Octave commands [O.M. more compact code than C for e.g. matrix-operations] Lattice and beam can be manipulated directly with Octave commands [O.M. more compact code than C for e.g. matrix-operations] E.g. anywhere in your lattice definition you can insert Octave parts E.g. anywhere in your lattice definition you can insert Octave parts I find the Octave interface both extremely clean and powerful [I was a hard-core MATLAB user before], and it allows new and intuitive ways to perform lattice manipulation – a GREAT addition to PLACET I find the Octave interface both extremely clean and powerful [I was a hard-core MATLAB user before], and it allows new and intuitive ways to perform lattice manipulation – a GREAT addition to PLACET Placet-octave seems to have reached a mature stage (very well working and robust) – however, it covers only a subset of Tcl commands Placet-octave seems to have reached a mature stage (very well working and robust) – however, it covers only a subset of Tcl commands

Example script Example shows: typical use of PLACET using both Tcl interpreter and Octave interpreter, by using a TBL-like lattice Example shows: typical use of PLACET using both Tcl interpreter and Octave interpreter, by using a TBL-like lattice Sliced Drive Beam beam Sliced Drive Beam beam FODO cell with PETS FODO cell with PETS NB: if main linac structures shall be used, please refer to examples with Main Linac please see “example1.tcl” etc. in the same directory and this example (beams and wake fields defined in a different way for Main Linac structures) NB: if main linac structures shall be used, please refer to examples with Main Linac please see “example1.tcl” etc. in the same directory and this example (beams and wake fields defined in a different way for Main Linac structures) "Interactive part“ using placet-octave "Interactive part“ using placet-octave Beam-based alignment / dispersion calculations Beam-based alignment / dispersion calculations

Example script Example script: minimal self-consistent Drive Beam decelerator (code is divided into parts and well-commented for your reference) Tcl-interface : Part 1: Define the beam Part 2: Define lattice component parameters (e.g. Cavities) Part 3: Define the lattice Part 4: Track Part 5: Data processing Octave-interface : Part 6: Beam-based alignment and lattice manipulation This last part will be shown “interactively” – to show the ease of use of the Octave interface. For the rest: please download and read the (well-commented) example

( max 5. minutes demo session )

Conclusions My opinion: PLACET has classical “power versus learning curve” issue My opinion: PLACET has classical “power versus learning curve” issue For using PLACET most efficiently one need to know two languages (TCL and Octave) For using PLACET most efficiently one need to know two languages (TCL and Octave) But: BIG advantage that languages are main stream computer languages, with well-defined behaviour and lot’s of online help (unlike e.g. MAD scripting language) But: BIG advantage that languages are main stream computer languages, with well-defined behaviour and lot’s of online help (unlike e.g. MAD scripting language) Some many purposes: only the Tcl interface will be of needed Some many purposes: only the Tcl interface will be of needed To get started with PLACET: I would advice to start with a simple example from the example folder, understand it, and build-on from there To get started with PLACET: I would advice to start with a simple example from the example folder, understand it, and build-on from there

PLACET contact point PLACET download: PLACET download: The current PLACET code keeper (from July 2008): Barbara Dalena (CERN) The current PLACET code keeper (from July 2008): Barbara Dalena (CERN) - general questions about PLACET can be sent here - general questions about PLACET can be sent here For questions about this example and related issues please feel free to also contact me: For questions about this example and related issues please feel free to also contact me: