The Cockroft Institute

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

Online Data Analysis and Simulation Sven Reiche UCLA - 09/22/04 Sven Reiche UCLA - 09/22/04.
Proprietary and Confidential 1. College Registration 2. College as Receiver 3. College as Sender Postsecondary Demonstrations.
CASE Tools And Their Effect On Software Quality Peter Geddis – pxg07u.
Introduction Status of SC simulations at CERN
JCE A Java-based Commissioning Environment tool Hiroyuki Sako, JAEA Hiroshi Ikeda, Visible Information Center Inc. SAD Workshop.
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.
SciDAC Accelerator Simulation project: FNAL Booster modeling, status and plans Robert D. Ryne, P. Spentzouris.
Homeland Security System Danny Butler EKU, Dept. of Technology.
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.
Fermilab GDE Simulation Kickoff meeting: Information for Simulations Wakefields Roger Barlow.
Parallelisation of Random Number Generation in PLACET Approaches of parallelisation in PLACET Martin Blaha University of Vienna AT CERN
Summary of WG1 K. Kubo, D. Schulte, P. Tenenbaum.
Enabling Grids for E-sciencE EGEE-III INFSO-RI Using DIANE for astrophysics applications Ladislav Hluchy, Viet Tran Institute of Informatics Slovak.
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.
The CLIC decelerator Instrumentation issues – a first look E. Adli, CERN AB/ABP / UiO October 17, 2007.
CLIC Beam Physics Working Group CLIC pre-alignment simulations Thomas Touzé BE/ABP-SU Update on the simulations of the CLIC pre-alignment.
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.
Low Emittance Generation and Preservation K. Yokoya, D. Schulte.
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.
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.
1 CTF3 CLEX day July 2006 CLEX day 2006 Introduction G.Geschonke CERN.
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)
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.
SLAC LET Meeting Global Design Effort 1 CHEF: Recent Activity + Observations about Dispersion in Linacs Jean-Francois Ostiguy FNAL.
ATF2 Software tasks: - EXT Bunch-Bunch FB - IP Bunch-Bunch FB - FB Integration Status and plans Javier Resta-Lopez JAI, Oxford University ATF2 commissioning.
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)
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.
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,
CALIFES A proposed electron beam test facility at CERN
The language focusses on ease of use
Arun Saini, N. Solyak Fermi National Accelerator Laboratory
Flight Simulator for ATF2
RF-kick in the CLIC accelerating structures
ICE SECTION The coolest place to be! Elias Métral
Speaker: Andrea Latina
Orbit Response Matrix Analysis
Done By: Ashlee Lizarraga Ricky Usher Jacinto Roches Eli Gomez
GIT AND GITHUB WORKSHOP
Steering algorithm experience at CTF3
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‡
Planned Oslo work in the XbFEL collaboration
Wake field limitations in a low gradient main linac of CLIC
C++ coding standard suggestion… Separate reasoning from action, in every block. Hi, this talk is to suggest a rule (or guideline) to simplify C++ code.
New algorithms for tuning the CLIC beam delivery system
Status of the CLIC main beam injectors
Introduction This seminar is intended to give people an overall view of the capabilities of the Scientific Programme Management System (SPMS), to explain.
Status and needs of dynamic aperture calculations
Haritha Dasari Josue Balandrano Coronel -
The CLIC Decelerator Beam Dynamics
Instrumentation CALIFES ideal for tests and development that requires frequent access to test setup. CERN BI members already using CALIFES and want to.
Accelerator Physics Technical System Group Review
Fast Action Links extension A love letter to CiviCRM
Where Do We Stand With Start-End Simulations
Use of Mathematics using Technology (Maltlab)
SPPC General Progress Tang Jingyu 4th CEPC-SPPC Collaboration Meeting
Martin Rajman, EPFL Switzerland & Martin Vesely, CERN Switzerland
Employee Change Process
Experience with the process automation at SORS
Physics 417/517 Introduction to Particle Accelerator Physics
Games Development 2 Entity / Architecture Review
Presentation transcript:

The Cockroft Institute PLACET User experiences with PLACET and examples of use for the Drive Beam International Workshop on X-Band Structures and Beam Dynamics, The Cockroft Institute Erik Adli, University of Oslo and CERN, December 3rd 2008

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

What is PLACET? General tracking code for non-circular machines 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 and fast support for wake fields in accelerating and decelerating structures tracking through entire CLIC linac: takes few seconds with baseline setup 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 + collaborators around the world 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) https://savannah.cern.ch/projects/placet/ Current code keeper B. Dalena (CERN) 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)

Personal start-up experiences 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) Documentation: was too poor to start working alone, good examples and/or help from experts needed Recently: documentation has improved a lot 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

Placet-octave 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 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 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

Example script Example shows: typical use of PLACET using both Tcl interpreter and Octave interpreter, by using a TBL-like lattice Sliced Drive Beam beam 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) "Interactive part“ using placet-octave Beam-based alignment / dispersion calculations http://isscvs.cern.ch/cgi-bin/viewcvs-all.cgi/placet-development/examples/clic/decelerator.tcl?root=placet&view=co

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 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) Some many purposes: only the Tcl interface will be of needed For code modification: C and basic C++ skills 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

Some examples to get started I recommend the following examples for people who wants to start using PLACET : For a minimal generic beam generation and tracking example w/o wake fields : http://isscvs.cern.ch/cgi-bin/viewcvs-all.cgi/placet-development/examples/Placet_BC2_Example/ Tracking through full CLIC linac (30 GHz), including wake fields : http://isscvs.cern.ch/cgi-bin/viewcvs-all.cgi/placet-development/examples/clic/example1.tcl For example of Octave-interface and Beam-Based Alignment : http://isscvs.cern.ch/cgi-bin/viewcvs-all.cgi/placet-development/examples/clic/decelerator.tcl

PLACET contact point PLACET download: https://savannah.cern.ch/projects/placet/ The current PLACET code keeper (from July 2008): Barbara Dalena (CERN) Barbara.Dalena@cern.ch - general questions about PLACET (installation etc.) can be sent here For questions about the example shown and related issues please feel free to also contact me: Erik.Adli@cern.ch