Software For Accelerators

Slides:



Advertisements
Similar presentations
Tevatron Beam Diagnostics: Boosting Collider Performance Vladimir Shiltsev, Ron Moore, Andreas Jansson FNAL/Accelerator Division.
Advertisements

Current Status of Virtual Accelerator at J-PARC 3 GeV Rapid Cycling Synchrotron H. Harada*, K. Shigaki (Hiroshima University in Japan), H. Hotchi, F. Noda,
FNAL Emittance Devices Flying Wires (FW) Sync Lite Ion Profile Monitors (IPM) aah,6/20/2000.
Henrik Loos High Level 17 June 2008 High Level Physics Applications for LCLS Commissioning Henrik Loos.
F Tevatron Software Digital Receiver Beam Line Tuner Vic Scarpine Instrumentation Instrumentation Meeting July 13, 2005.
Introduction Status of SC simulations at CERN
F UEC - 6 Oct 06 Recent FNAL Collider Operations Ron Moore Fermilab – Tevatron Dept.
Vaia Papadimitriou The Supertable (Introducing Supertable II) Run II meeting September 2, 2004 Timofei Bolshakov and Vaia Papadimitriou.
Automated Beam Steering Software at FNAL Keith Engell Accelerator Controls.
F Shot Engineering Accelerator Advisory Committee Elvin Harms Fermilab Beams Division 13 May 2002.
SDA- Shot Data Acquisition and Analysis Example of major applications that use the Java DAE framework Jean Slaughter Controls Review Feb 4, 2004 A success.
Virtual Accelerator at J-PARC 3 GeV Rapid Cycling Synchrotron H. Harada*, K. Shigaki (Hiroshima University in Japan), H. Hotchi, F. Noda, H. Sako, H. Suzuki,
INTRODUCTION  RECYCLER BPM – Original system not adequate to measure beam position precisely. It is being upgraded to meet the required physics precision.
Tevatron BPM System Upgrade Technical Update Bob Webber Run II Luminosity Upgrade Review February 2004.
Recycler Status and Plans Shekhar Mishra MID/Beams Division Fermilab AAC Review 2/4/03 Introduction to the Recycler Ring Recycler Improvements and status.
Overview Run-6 - RHIC Vadim Ptitsyn C-AD, BNL. V.Ptitsyn RHIC Spin Workshop 2006 RHIC Run-6 Timeline  1 Feb – Start of the Run-6. Start of the cooldown.
Basic BPM Hardware Theory Jim Steimel. Wall Current Charge in a cylindrical perfectly conducting pipe produces an equal and opposite image charge at the.
Details of space charge calculations for J-PARC rings.
October 4-5, Electron Lens Beam Physics Overview Yun Luo for RHIC e-lens team October 4-5, 2010 Electron Lens.
Simulation of direct space charge in Booster by using MAD program Y.Alexahin, A.Drozhdin, N.Kazarinov.
Jean Slaughter -Feb 24, 2004 Shot Data Responsible for physics analysis of shot data Oversees the development of shot data analysis tools Responsible for.
1 BROOKHAVEN SCIENCE ASSOCIATES Storage Ring Commissioning Samuel Krinsky-Accelerator Physics Group Leader NSLS-II ASAC Meeting October 14-15, 2010.
 Advanced Accelerator Simulation Panagiotis Spentzouris Fermilab Computing Division (member of the SciDAC AST project)
The Main Injector Beam Position Monitor Front-End Software Luciano Piccoli, Stephen Foulkes, Margaret Votava and Charles Briegel Fermi National Accelerator.
Jean Slaughter –April 5, 2004 – all experimenters’ meeting Purposes of SDA Store to store monitoring of performance Long term trends Analysis of specific.
Check lists to mouse clicks Automation Session : WAO The Fermi National Accelerator Laboratory is a U.S. Department of Energy (DOE) research laboratory,
January Tevatron Lifetimes - P. Lebrun1 f On Tevatron Proton Lifetime at 150 December 3 Study vs Store data. Paul Lebrun Fermilab January-December.
Proposal for LHC Microwave Schottky Pickups Ralph J. Pasquinelli 3/9/2005.
F Beam Line Tuners Vic Scarpine Instrumentation DoE Review Oct 28-31, 2002.
Jan Tune fitters - P. Lebrun1 f Tune Fitters Status, mid-January 2004 P. Lebrun, Fermilab January
October 2002 Jean Slaughter SDA – Shot Data Analysis Outline Description of SDA Examples Plans for 2003 SDA is a system for acquiring and analyzing data.
April Tevatron Lifetimes - P. Lebrun1 f On Tevatron Lifetimes, Beams, Luminosity & Spot size Paul Lebrun Fermilab April
Vertical Emittance Tuning at the Australian Synchrotron Light Source Rohan Dowd Presented by Eugene Tan.
F All Experimenters' Mtg - 2 Jun 03 Weeks in Review: 05/19/03 –06/02/03 Keith Gollwitzer – FNAL Stores and Operations Summary Standard Plots.
Updated Overview of Run II Upgrade Plan Beam Instrumentation Bob Webber Run II Luminosity Upgrade Review February 2004.
Run II PMG 1/19/06 Pushpa Bhat 1 Run II Upgrades Status January 2006 Pushpa Bhat.
By Verena Kain CERN BE-OP. In the next three lectures we will have a look at the different components of a synchrotron. Today: Controlling particle trajectories.
Main Injector Beam Position Monitor Upgrade: Status and Plans Rob Kutschke All Experimenters’ Meeting April 3, 2006 Beams-doc-2217-v3.
9/2/2003Tev BPM requirements1 Tevatron BPM and BLM requirements Mike Martens.
A Monte Carlo Model of Tevatron Collider Operations Elliott McCrory, BD/(Linac & Integration) 4, 5 December 2003 A phenomenological model of Tevatron Collider.
Robert R. Wilson Prize Talk John Peoples April APS Meeting: February 14,
Vladimir Sirotenko, Feb FPD: Runs & hisDB Oracle Databases Goal: access information about FPD experimental setup and accelerator conditions which.
12/16/03Tev BPM requirements1 Tevatron BPM requirements Mike Martens.
LER Workshop, Oct 11, 2006Intensity Increase in the LER – T. Sen1 LHC Accelerator Research Program bnl-fnal-lbnl-slac  Motivation  Slip stacking in the.
Projects, Tools and Engineering Patricia McBride Computing Division Fermilab March 17, 2004.
Pushing the space charge limit in the CERN LHC injectors H. Bartosik for the CERN space charge team with contributions from S. Gilardoni, A. Huschauer,
Tevatron Beam Position Monitor Upgrade Stephen Wolbers (for the Tevatron BPM Upgrade Project) PAC05, Knoxville, TN May 16-20, 2005.
11/3/2010 CM15 Controls for LARP and LAFS - 1 Terri Lahey LARP/LAFS/CERN and SLAC.
Beam Diagnostics Seminar, Nov.05, 2009 Das Tune-Meßverfahren für das neue POSI am SIS-18 U. Rauch GSI - Strahldiagnose.
Aug On Pbar Losses - P. Lebrun1 f On Pbar Losses up the TeV Ramp Paul Lebrun Aug
Fermilab Control System Jim Patrick - AD/Controls MaRIE Meeting March 9, 2016.
A Survey of the Capabilities of the Upgraded TeV BPMs Rob Kutschke, CD/EXP Run II Meeting March 24, 2005 Beams-doc-1752-v2.
Ultra-low Emittance Coupling, method and results from the Australian Synchrotron Light Source Rohan Dowd Accelerator Physicist Australian Synchrotron.
Pre-Meeting Meeting Brian Drendel Accelerator Shift Plot.
SDA- Shot Data Analysis Jean Slaughter DOE Review July 21, 2003.
LCLS Commissioning & Operations High Level Software
A monitoring system for the beam-based feedbacks in the LHC
Orbit Response Matrix Analysis
Automatic emittance measurement in the CERN 1.4 GeV Booster
Chapter 18 Maintaining Information Systems
Electron Cooling Simulation For JLEIC
Multi-Turn Extraction studies and PTC
Summary of experience with Tevatron synchrotron light diagnostics
Coupling Correction at the Australian Synchrotron
LHC Emittance Measurements and Preservation
LCLS Commissioning & Operations High Level Software
Electron Rings Eduard Pozdeyev.
High Level Physics Applications for LCLS Commissioning
Linac Diagnostics Commissioning Experience
Physics 417/517 Introduction to Particle Accelerator Physics
Presentation transcript:

Software For Accelerators Paul Lebrun Accelerator Activity Coordination Meeting August, 2004

Software- Paul Lebrun – Accel. Activ. Coord. Meet Topics… SDA: Making Accelerator data available to physicists, engineers and managers.. (S. Panacek, K. Genser, P. Lebrun) BLASTMAN: Magnet Database Project (D. Box, M. Fischler) Tevatron Instrumentation Projects ( excluding BPM) Real-time longitudinal emittance calculation for SBD ( A. Para) Tevatron Tune Fitter - 1.7 GHz, 21.4 MHz (P. Lebrun) Tevatron Orbit Cusp Finder and Beam Orbit Smoothing Tools Input to VAX-VMS migration project and improvement to Control System (R. Rechenmaker, S. Panacek, P. Lebrun) Outlook : what’s next ? Software- Paul Lebrun – Accel. Activ. Coord. Meet

SDA is a system for acquiring, archiving and SDA : Introduction SDA is a system for acquiring, archiving and analyzing data from stores. Slides borrowed from talk presented at ICAP04, summarized. Objectives & Scope Data Acquisition and Archiving Aspect. (Skip!..) Analysis (SDA = Shot Data Analysis, for us) Tools & computing aspects Output Web based Summary table Detailed information Application Interfaces Analysis results: Tevatron complex performance assessment via SDA Software- Paul Lebrun – Accel. Activ. Coord. Meet

Software- Paul Lebrun – Accel. Activ. Coord. Meet The Team SDA Group in Integration Department K. Gounder, E. McCrory, V. Papadimitriou, J. Slaughter Coordination, monitoring, analysis Controls Department T. Bolshakov, M. McCusker, K. Cahill, B. Hendricks, J. Patrick and others Infrastructure and applications Computing Division K. Genser, P. Lebrun, S. Panacek Analysis and applications A collaboration between A/D Controls, Computing Division, A/D physicist, CDF/D0. The coordination is the responsibility of the Accelerator Integration Department Software- Paul Lebrun – Accel. Activ. Coord. Meet

Scope of SDA : “Store” Performance analysis Ultimate Goal: More integrated luminosity usable by the experiments Allows correlation of information from multiple sources at specific times during the stores Information for day to day monitoring of stores Specialized studies Long term trends Investigate correlations Luminosity vs. emittances, number of protons and anti-protons Accelerator physics questions Pbar Burn rate / total loss rate during HEP Orbit changes Unknow issues, hurdles yet to be discovered! The Tevatron complex includes the proton and antiproton sources, the Main Injector and the Recycler. Software- Paul Lebrun – Accel. Activ. Coord. Meet

Software- Paul Lebrun – Accel. Activ. Coord. Meet SDA – Computing Programming language : Java! … for data acquisition and analysis. Extensive use of high-level communication protocols, such as R.M.I. Multi-tier architecture: use of “servlets” applications to extract data Simple and straightforward use of relational database (SYBASE and MSQL) to hold the data. We rely on the Web for distribution of summary plots and tables (Excel or HTML), and API code distributions Coherent data access for both “sequenced” (triggered) and “periodic” (1 Hz -> 5 min) data. Software- Paul Lebrun – Accel. Activ. Coord. Meet

Software- Paul Lebrun – Accel. Activ. Coord. Meet SDA: Analysis Tools Data Browser on the web or standalone Java (SDAViewer) Report Writer for quick studies Tables built automatically every store Supertable and EXCEL package Derived tables and associated plotting tools Short summary tables Tables use corrected values Shots scrapbook OSDA (Offline Shot Data Analysis) - Suite of Java classes for user programs to directly access the data, apply corrections and calculate generally useful quantities like lifetimes (mostly S. Panacek ) OSDAPhysics : Suite of Java class for beam physics studies (K. Genser, P. Lebrun,…. ) Software- Paul Lebrun – Accel. Activ. Coord. Meet

Software- Paul Lebrun – Accel. Activ. Coord. Meet Supertable One line per store Built automatically every store 130+ quantities of general interest Dates, time on helix, length of store How store ended Luminosities, intensities at collision Efficiencies at each stage from p, pbar sources to HEP Emittances at each stage Peak, average losses Lifetimes, etc. Averages over all bunches, for each quantity Web Accessible – HTML, EXCEL analysis with plots, tables also on Web Software- Paul Lebrun – Accel. Activ. Coord. Meet

SDA Edited Excerpt from Super Table 0 Store # 1 Date started shot set up 7 store length (hours) 8 how store ended 10 start stack 11 unstacking fraction 12 amount unstacked 3228 2/12/2004 0.22 Not Completed 135.19 0.88 119.2 3226 2/10/2004 33.31 Normal 160.39 0.86 138.6 3224 2/8/2004 36.92 149.39 0.87 129.6 3222 2/7/2004 40.18 177.19 0.81 144.2 3219 2/5/2004 31.09 173.79 0.85 147.6 3217 2/3/2004 27.98 204.19 0.8 163.4 3214 2/2/2004 33.89 208.19 0.75 156.4 3212 1/31/2004 31.37 175.19 0.78 136 3210 1/30/2004 14.65 189.39 0.62 118 3206 1/29/2004 15.1 TevQuench 80.59 0.94 75.4 3197 1/27/2004 32.38 120.39 0.9 108.6 3195 1/26/2004 2.68 Abort 145.39 0.91 131.6 3191 1/25/2004 17.9 103.79 0.93 96.2 3189 1/23/2004 35.76 142.39 125.2 3185 1/22/2004 26.41 133.19 120.4 3183 1/21/2004 23.59 102.6 3179 1/19/2004 27.76 163.19 140.4 3177 1/17/2004 22.27 172.39 140 3175 1/16/2004 25.07 176.39 0.7 123.6 3172 1/15/2004 21.48 159.99 0.51 81.2 Software- Paul Lebrun – Accel. Activ. Coord. Meet

SDA Derived Tables- Bunch by Bunch Information Table per store – built automatically All 6 emittances Intensities Average and bunch by bunch information Use best algorithms to get physics quantities Not always available directly from front-end. Interactive plotting interface Software- Paul Lebrun – Accel. Activ. Coord. Meet

Software- Paul Lebrun – Accel. Activ. Coord. Meet SDA Store Checker Purpose Monitor instrumentation and DAQ Monitor accelerator performance Checks SDA data for specified cases/sets Min < device value < max Min < ( difference in time of 2 devices ) < max Min < ( difference in value of 2 devices) < max Jobs run automatically every store “Standard” and “private” lists Results on WWW for “standard” list Lists on WWW Used to give email notification of initial luminosities Software- Paul Lebrun – Accel. Activ. Coord. Meet

Integrated Luminosity Table and Plot A good week ! 5 stores.. Most terminated intentionally Except the last, on lighting strike. Design goal : ~ 9.5 inv pb/week. A Main Injector magnet failure prevented us from stacking antiproton at the end of the week… Software- Paul Lebrun – Accel. Activ. Coord. Meet

FY04 Integrated Luminosity Software- Paul Lebrun – Accel. Activ. Coord. Meet

SDA Examples of Detailed Analysis These two plots described our overall performance. Improving performance requires meticulous analysis based on many data sources.. Is data acquisition reliable? Is the instrumentation adequate? Relative calibrations between devices and same devices in different machines Systematic and statistical errors Let us go through a few examples of detailed analysis based on SDA tools and data sets: Bunch by bunch Luminosity expectation (Skip) Tevatron Transverse Emittances. (K. Genser) Software- Paul Lebrun – Accel. Activ. Coord. Meet

SDA - Example of Analyses Software- Paul Lebrun – Accel. Activ. Coord. Meet

SDA : Tevatron Flying Wires and SyncLite Compare area of FW profile to FBI intensity Very linear Qualitative agreement given differences in gain and acceptance of the paddles Compare horizontal emittance as measured at E11 with E17 emittance, using SBD for dp/p Anti-protons – ratio has slope of .97 and intercept of 1.25 – after fixing saturation Protons – poor agreement, slope .41, intercept 14.5 Compare area of SyncLite profile with FBI intensity Better for anti-protons than for protons Compare flying wire emittances with SyncLite emittances Very sensitive to lattice parameters and dp/p Store to store variations …. Software- Paul Lebrun – Accel. Activ. Coord. Meet

Compare FW Signal Intensity with FBI Intensity anti-protons anti-protons FW E17 Horizontal Signal Int. FW E11 horizontal Signal Int. Software- Paul Lebrun – Accel. Activ. Coord. Meet

Compare E11 to E17 FW Horizontal Emittances This quantity is a fixed combination of the beta and dispersion function. Store 3424 lattice change is seen by horizontal Flying Wires; Proton detectors indicate another smaller change before store 3528 (due to RF change?) – we need to know the momentum spread to extract horizontal emittance Software- Paul Lebrun – Accel. Activ. Coord. Meet

SDA : Compare SyncLite to FW – Vertical FW vertical emittance FW vertical emittance anti-protons protons SyncLite vertical Emittance SyncLite vertical Emittance Software- Paul Lebrun – Accel. Activ. Coord. Meet

Outlook: The SDA meets new challenges. Mixed Source Mode operation: The Main Injector takes antiproton from both the antiproton source and the Recycler. => SuperTable has recently been expanded. Further checks needed. Keep doing beam physics analysis. The machines have a life of their own!.. Formalize standard Analysis, place them in ScrapBook… Better organization and maintenance of the software. The osda/osdaphysics set of class grew without pre-conceived, “proper” OO design, originally. First phase of re-desing done, but could do better Should be made easer to use.. Enhanced reliability of the D.A. and Analysis tools Integrated Calibration Databases (?) Data Schema Evolution for basic ACNET Variable (?) Software- Paul Lebrun – Accel. Activ. Coord. Meet

Other Software projects… Magnet Database Project (D. Box, M. Fischler) Tevatron Instrumentation Projects ( excluding BPM) Real-time longitudinal emittance calculation for SBD ( A. Para) Tevatron Tune Fitter - 1.7 GHz, 21.4 MHz (P. Lebrun) Tevatron Orbit Cusp Finder and Beam Orbit Smoothing Tools Input to VAX-VMS migration project and improvement to Control System (R. Rechenmaker, S. Panacek, P. Lebrun) Outlook : what’s next ? Software- Paul Lebrun – Accel. Activ. Coord. Meet

Magnet DB BLASTMAN: From docDB (beams) 956 “Magnet properties and alignment data are used for modeling and tuning Tevatron performance….. For accelerator physicists who need to model and understand beam-magnet interactions, we propose to develop the Beams Lattice Alignment Survey Tracker for Modeling Accelerators Numerically (BLASTMAN) database. BLASTMAN will be a database of magnet locations, field strengths, calibrations and other magnet data that facilitate repeatable generation of lattices for modeling purposes…… “ Key Point: Critical Machine Data was kept by “experts” And not easily shared..  Create a proper database Software- Paul Lebrun – Accel. Activ. Coord. Meet

BLASTMAN: Status report from D. Box Equipment Inventory from M.E. /TeV (D. Augustine) into -> BLASTMAN. New Survey data from Alignment Management Group. Preliminary ER diagram for better integration of raw survey data N. Gelfand satisfied the BLASTMAN phase 1 is acceptable replacement for VAX MAGFIN db.. -> one old d.b. on the way to retirement..Need to finish maintenance tools. Software- Paul Lebrun – Accel. Activ. Coord. Meet

Tevatron Instrumentation Support (I) Sample Bunch Display (A. Para) Alvin Tollestrup came up with an algorithm to compute momentum spread and long. Emittance from pulse shape (time-wise) measurements, assuming constant phase space density along synchrotron motion. and implemented it… in Mathematica.. Not suitable for Front-ends.. Rewritten in C and Lab-View, now integrated We will need to re-commission this in the new SBD ( better scope and front-end computer.) Software- Paul Lebrun – Accel. Activ. Coord. Meet

Tevatron Instrumentation (II) : Tune Fitter Tune Fitters (P. Lebrun. … mostly.. Two years ago, ihad a bit of help from J Marraffino to get started with data conversion. ) Motivation: Keep track of the betatron tunes while beams are circulating... Front-end consist of VSA or digitizer cards + online computers running Fast Fourrier Transforms => freq spectra. Must fit, “reliably” and often, such spectra, to extract “Tunes” and publish to ACNET. Two of them, we have to type of Schottky devices (resonators) .. 21.4 MHz and 1.7 GZ => different tune fitters. Details are http://www-ad.fnal.gov/tevtune/ Software- Paul Lebrun – Accel. Activ. Coord. Meet

Tevatron Tune Fitter : example of use Tuning at the beginning of the store. During stores.. When things go wrong.. Studies.. Lattice studies .. Beam-Beam studies…. In use.. Software- Paul Lebrun – Accel. Activ. Coord. Meet

Store 3678: Flaky Sextupole Circuit…. Proton tune very stable until.. ? (Pbar tune changing because I kept changing the bunch gate every minute.. ) Proton losses responded! Tev expert looked at circuit.. SDB2 turned on! Software- Paul Lebrun – Accel. Activ. Coord. Meet

Vertical Proton Tune affected by Pbars: Software- Paul Lebrun – Accel. Activ. Coord. Meet

Software- Paul Lebrun – Accel. Activ. Coord. Meet Tevatron Cusp Fitter: Team : Mark Fischler and John Marraffino Goal : Better (smoother) Tevatron beam orbit to maximize dynamic aperture. Input: BPM Readings, DFG settings, old orbit data as a control system application Deduce the most likely combinations of magnetic field distortions (which cause "cusps" in the orbit) that would explain these readings. Useful in Beam orbit smoothing Understanding magnet changes Software- Paul Lebrun – Accel. Activ. Coord. Meet

Tevatron Beam Orbit Smoother Goal : Same, additional utilities will be needed. Input: Existing orbit (BPM readings); target orbit Compute good DFG settings to smooth to the target orbit Enhancements over existing DFG applications: Respecting the limitations on the DFG currects. Avoiding two competing DFG's. Minimizing current slew up the ramp in individual DFG's. Software- Paul Lebrun – Accel. Activ. Coord. Meet

Controls & VAX VMS migration Three of us (Ron R., Suzanne P. and Paul L.) attend regularly the meeting of the task force on Controls & VAX VMS migration… Participate in the write-up on Java strategy. (Report will be out “soon”) Wrote a nice tutorial for Java Application. (S. Panacek) After consulting with AD/Controls Presented to ~4 to 6 AD “students”. Has been used by a few newcomers.. Software- Paul Lebrun – Accel. Activ. Coord. Meet

Controls & VAX VMS migration Java is not the only answer… Current implementation has some deficiencies. Move (Vax-C -> ANSI C) of the core infrastructure to Linux has started, progressing well… The plans calls for starting to migrate end-users applications beginning FY05. Existing Java applications will be maintained and upgraded. New Applications? Well.. To be decided on a case by case basis. Need to integrate the C/(C++ ? ) and the Java !! A difficult project (we deal with a running machine!) …. with real luminosity pay-off if successful !!! Software- Paul Lebrun – Accel. Activ. Coord. Meet

Software- Paul Lebrun – Accel. Activ. Coord. Meet Summary and Outlook Computing Division has delivered software to Accelerator Division. Quite a bit of it is in use. SDA is a working system, but it could be improved upon. We (AD + CD!) most definitely could do better in terms of D.A & Controls. Plenty of opportunities there. Integrated Luminosity = time * Luminosity. Better Control, less time wasted! Software- Paul Lebrun – Accel. Activ. Coord. Meet