Patrick Krejcik LCLS June 16-18, 2008 High Level Applications Facility Advisory Committee Meeting June 17, 2008 Applications Team.

Slides:



Advertisements
Similar presentations
Control System Studio (CSS)
Advertisements

LCLS Control System Overview Mike Zelazny SLAC ICD Software Department Accelerator Directorate.
XAL Recent Development
Model Server for Physics Applications Paul Chu SLAC National Accelerator Laboratory October 15, 2010.
Workload Management Workpackage Massimo Sgaravatto INFN Padova.
Patrick Krejcik LCLS April 16-17, 2007 Breakout Session: Controls Controls Commissioning Experience.
Hamid Shoaee High Level Physics 20 April 2006 High Level Physics Applications Update on Plans, New Directions Fairley,
June 17, 2008 LCLS FAC D. Fairley MATLAB Feedback Phase II Commissioning.
Diane Fairley High Level October 24-28, 2005 High Level Physics Applications LCLS Week / FAC October 24-28, 2005.
Debbie Rogind & Greg White High Level Applications October High Level Applications.
Hamid Shoaee LCLS FAC Controls June 17, LCLS Control System Personnel Linac & BC2 Controls progress LTU, Dump Controls.
November 12, 2008 Controls Software D. Fairley LCLS Feedback.
Henrik Loos High Level 17 June 2008 High Level Physics Applications for LCLS Commissioning Henrik Loos.
Diane Fairley High Level October High Level Applications FAC Review October 12, 2006 High Level Applications.
Patrick Krejcik LCLS November 11-12, 2008 SLAC National Accelerator Laboratory 1 Post-commissioning Controls Enhancements.
–Streamline / organize Improve readability of code Decrease code volume/line count Simplify mechanisms Improve maintainability & clarity Decrease development.
System Design/Implementation and Support for Build 2 PDS Management Council Face-to-Face Mountain View, CA Nov 30 - Dec 1, 2011 Sean Hardman.
Students: Nadia Goshmir, Yulia Koretsky Supervisor: Shai Rozenrauch Industrial Project Advanced Tool for Automatic Testing Final Presentation.
8/21/2015J-PARC1 Data Management Machine / Application State Data.
JCE A Java-based Commissioning Environment tool Hiroyuki Sako, JAEA Hiroshi Ikeda, Visible Information Center Inc. SAD Workshop.
1 Shawlands Academy Higher Computing Software Development Unit.
GLAST Science Support CenterAugust 9, 2004 Implementation of the Standard Analysis Environment (SAE) James Peachey (HEASARC/GLAST SSC—GSFC/L3)
SNS Integrated Control System EPICS Collaboration Meeting SNS Machine Protection System SNS Timing System Coles Sibley xxxx/vlb.
© 2012 IBM Corporation Rational Insight | Back to Basis Series Chao Zhang Unit Testing.
Capture and Replay Often used for regression test development –Tool used to capture interactions with the system under test. –Inputs must be captured;
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
A Brief History of XAL at SNS - What went right / wrong J. Galambos XAL Workshop at the 2007 EPICS / ICALEPS meeting Knoxville TN.
BROOKHAVEN SCIENCE ASSOCIATES High level applications and EPICS control GUOBAO SHEN NSLS-II, Control Group May 4 th, 2009.
Testing Workflow In the Unified Process and Agile/Scrum processes.
1 Advanced topics in OpenCIM 1.CIM: The need and the solution.CIM: The need and the solution. 2.Architecture overview.Architecture overview. 3.How Open.
© 2006 IBM Corporation Agile Planning Web UI. © 2006 IBM Corporation Agenda  Overview of APT Web UI  Current Issues  Required Infrastructure  API.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio, CSS Overview.
ATF Control System and Interface to sub-systems Nobuhiro Terunuma, KEK 21/Nov/2007.
Henrik Loos LCLS 6 February 2009 SLAC National Accelerator Laboratory High Level Physics Applications for LCLS Commissioning.
Michael Borland Advanced Photon Source Using SDDS for Accelerator Commissioning and Operation Michael Borland Operations Analysis Group Advanced Photon.
The Software Development Process
1 BROOKHAVEN SCIENCE ASSOCIATES Control System Overview Bob Dalesio, Control Group HLA Review for NSLS-II Project April
Paul Chu SLAC App. 10/14/ SLAC (LCLS) Application Plans P. Chu for SLAC High-Level Application Team.
Workforce Scheduling Release 5.0 for Windows Implementation Overview OWS Development Team.
1 Henrik Loos 1 13 Sep 2011 APE Meeting Recent Activities H. Loos 09/13/2011.
The principles of an object oriented software development process Week 04 1.
Project Management. Introduction  Project management process goes alongside the system development process Process management process made up of three.
1 P. Chu 1 Adapting XAL for LCLS EPICS Meeting, Vancouver Adapting XAL for LCLS Paul Chu - SLAC May 1, 2009.
MICE CM28 Oct 2010Jean-Sebastien GraulichSlide 1 Detector DAQ o Achievements Since CM27 o DAQ Upgrade o CAM/DAQ integration o Online Software o Trigger.
1 BROOKHAVEN SCIENCE ASSOCIATES High Level Applications Infrastructure and Current Status Guobao Shen, Lingyun Yang* Controls Group & Accelerator Physics.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
Paul Chu XAL for 10/14/ XAL for SLAC/LCLS Paul Chu.
Unit 17: SDLC. Systems Development Life Cycle Five Major Phases Plus Documentation throughout Plus Evaluation…
IBM Global Services © 2005 IBM Corporation SAP Legacy System Migration Workbench| March-2005 ALE (Application Link Enabling)
1 The Software Development Process ► Systems analysis ► Systems design ► Implementation ► Testing ► Documentation ► Evaluation ► Maintenance.
1 September 2007 – Tango Meeting – A.Buteau ICALEPS 2005 Status report SOLEIL September 2007.
1 BEAM COMMISSIONING SOFTWARE AND DATABASE FOR J-PARC LINAC Hiroyuki Sako G. Shen, H. Sakaki, H. Takahashi, H. Yoshikawa, JAEA H. Ikeda, VIC C. K. Allen,
Experience with LCLS Sergei Chevtsov, EPICS Argonne.
TRIUMF HLA Development High Level Applications Perform tasks of accelerator and beam control at control- room level, directly interfacing with operators.
Debbie Rogind LCLS Magnet June 15, 2006 LCLS Magnet Control Challenging Design Issues “How to integrate the legacy system.
Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 SLC Aware IOC BSAC* Facility Requirements Review *Beam Synchronous.
Debbie Rogind LCLS Magnet June 15, 2006 LCLS Magnet Control Challenging Design Issues Subsystem architecture, or… “How.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks GOCDB4 Gilles Mathieu, RAL-STFC, UK An introduction.
+ SwissFEL Matlab Toolbox ADAQA used for Emittance Measurements Bolko Beutner, Rasmus Ischebeck PSI / DESY / KIT Mini-Workshop on Longitudinal Diagnostics.
Fermilab Scientific Computing Division Fermi National Accelerator Laboratory, Batavia, Illinois, USA. Off-the-Shelf Hardware and Software DAQ Performance.
Control System Tools for Beam Commissioning Timo Korhonen Controls Division Chief Engineer April 8, 2014.
SOFTWARE TESTING TRAINING TOOLS SUPPORT FOR SOFTWARE TESTING Chapter 6 immaculateres 1.
LCLS Commissioning & Operations High Level Software
LCLS Commissioning & Operations High Level Software
Object Oriented Analysis and Design
Course: Module: Lesson # & Name Instructional Material 1 of 32 Lesson Delivery Mode: Lesson Duration: Document Name: 1. Professional Diploma in ERP Systems.
High Level Physics Applications for LCLS Commissioning
High Level Physics Applications Lehman Review February 7 - 9, 2006
Presentation transcript:

Patrick Krejcik LCLS June 16-18, 2008 High Level Applications Facility Advisory Committee Meeting June 17, 2008 Applications Team Current Development Plan for 2008 Commissioning Project Management

Patrick Krejcik LCLS June 16-18, 2008 High Level Applications Team D. Fairley Technical Leads D. Rogind (and Developers) S. Chevtsov P. Chu G. White Software Developers M. Woodley M. Zelazny P. Krejcik Supervisor

Patrick Krejcik LCLS June 16-18, 2008 Overview Since the last review The HLA Group has been restructured The schedule and priorities has been revised A design methodology has been adopted We will concentrate on delivering a core suite of applications to replace those on the SCP Use of the ECLIPSE RCP deferred Applications will be written in Java, Swing Working applications: SCORE, bunch length, feedbacks, Matlab applications

Patrick Krejcik LCLS June 16-18, 2008 Current Development Formalized Requirements and Design and Review process Phase 1 Software Architecture Roll out working prototypes early on Infrastructure and Utilities Oracle Data provider (Prototyped) Save To Matlab, Save to SCORE, Textual Display, To Logbook.. (In test) Beam Synchronous Acq – Event API (In Progress) Core applications Design started

Patrick Krejcik LCLS June 16-18, 2008 Formal Documentation and Review Summary: Application Req Doc Req Rev Design Doc Des Rev Online Model Complete Yes LEM PRELIM Partial Profile Monitor Complete Yes Yes Yes Wire Scan Complete Yes Emittance Complete Yes Beta Matching Complete Scheduled Correlation Complete Scheduled Orbit Data Complete Yes Yes Beam Synch Acq PRD Yes Yes Orbit Correction Complete Yes Next Multiknob Complete Yes Bumps PRELIM Scheduled Klys Man In Progress No

Patrick Krejcik LCLS June 16-18, 2008 Development Status Application Status Online Model testing vs MAD in progress (Chu, Woodley) LEM design requirements Profile Monitor Java prototype Wire Scan design requirements complete Emittance design requirements complete Beta Matching design requirements Correlation design requirements Orbit Data started design and coding Beam Synch Acq coding and testing Orbit Correction design requirements complete Multiknob design requirements complete Bumps design requirements Klys Man design requirements Start-to-End Sim stalled, needs physicist and software resources

Patrick Krejcik LCLS June 16-18, 2008 Choice of Framework Matlab has been successfully used to develop many applications for commissioning, so why is it not enough? 1. In general, we want to take a longer term view to HLA support (see next slide) 2. Specifically, we need to provide an online model that is database driven and linked to EPICS PVs 3. Feedback software has reached its limit of complexity in Matlab. Further development needs to be done in Java and C

Patrick Krejcik LCLS June 16-18, 2008 Software Architecture for HLAs Well developed Application Programming Interfaces (APIs) so that Code duplication is minimized. Code maintainability is optimized. Applications can integrate with other HLAs. Higher level applications can be built hierarchically from other smaller applications. HLAs can be executed from a script so that whole procedures can be written. Exception handling, no crashing when unexpected events occur. Multi-threaded for higher performance Central message logging that archives system events Database aware Similar look and feel for applications, intuitive interface. Choose beamline “sections” (no hard coding to one part of the beamline) unified framework for the application software share common features such as restoring setups, data saving and access to various software tools on the Operator Interface workstation screens (OPIs) Matlab can access the APIs so that new applications can be rapidly prototyped by physicist programmers when new physics needs arise.

Patrick Krejcik LCLS June 16-18, 2008 Evolution of the Architecture New architecture is not a direct copy of XAL from SNS We are sharing some of XAL’s features Java based applications, uses JCA, SMF from the online model, database driven XAL had many hard-coded instances to specific SNS devices XAL applications did not meet LCLS requirements exactly

Patrick Krejcik LCLS June 16-18, 2008 New LCLS HLA architecture Suite of modular applications Java, Swing based APIs so applications work in concert Still use Matlab for rapid prototyping of applications

Patrick Krejcik LCLS June 16-18, 2008 Example of Interface between core Applications Next slide

Patrick Krejcik LCLS June 16-18, 2008 Work Plan for the first application Teaming up on Orbit Data Application Requirements and Designs complete Java Swing GUI mock ups Utility APIs (coded and in test) - to matlab, to Score, to Logbook, textual display Event API (coded and in test) Oracle database provider (coded and in test) Plotting (in evaluation) allows us to develop the infrastructure for the next applications

Patrick Krejcik LCLS June 16-18, 2008 Orbit Data Team Development

Patrick Krejcik LCLS June 16-18, 2008 Orbit Data – first customer of Event API

Patrick Krejcik LCLS June 16-18, 2008 Event API Sequence Diagram

Patrick Krejcik LCLS June 16-18, 2008 Orbit Data Swing GUI mockup Orbit z-plotBPM buffered data

Patrick Krejcik LCLS June 16-18, 2008 Working GUI for the Profile Monitor “Live View” (simulated data)

Patrick Krejcik LCLS June 16-18, 2008 OnLine Model XAL model installed Beamline generated from the Oracle RDB In turn generated from the MAD beamline file “live” machine settings are read through EPICS Channel Access Model output is written back to the RDB Accessible to all programs, including Matlab A Matlab script is currently being used to compare the XAL design model output with the MAD design output. Inconsistencies are being removed (debugging)

Patrick Krejcik LCLS June 16-18, 2008 Start to End Simulations provide a software script to transfer the multiparticle results from one code to the next use the Standard Machine Format description of the accelerator developed for the XAL online model and the database logging tools to supply the “live” machine settings to the input files for each of the simulation codes capture the simulated particle distributions at each of the monitor points of interest along the beamline, such as at profile monitor and wire scanner locations, as well as the undulator output. provide a tool for displaying the simulation results alongside the measured beam profiles analyze the execution time for complete and partial simulations of the machine evaluate whether the simulation can be displayed in real time alongside the measured machine data using an advanced computing farm. optimize the code to run on the superfast computers or, develop tools whereby snapshots of the machine settings can be easily saved at the time real beam data is recorded so that the snapshots can be used as input for the machine simulations for offline comparison with measured data.

Patrick Krejcik LCLS June 16-18, 2008 Schedule for delivering Phase I Applications* Application Date Orbit Data Plots August 2008 Online Model available to Matlab in August 08 LEM January 2009 Profile Monitor November 08 Multiknob November 2008 Bumps December 2008 Wire Scan March 09 Emittance April 09 Beta Matching May 09 Correlation August 09 Orbit Correction January 2009 Klys Man May 09 Start-to-End Sim stalled, needs both physics and software resources * Subject to physicist priorities