1 BROOKHAVEN SCIENCE ASSOCIATES High Level Applications Infrastructure and Current Status Guobao Shen, Lingyun Yang* Controls Group & Accelerator Physics.

Slides:



Advertisements
Similar presentations
Control and IT Systems status and strategy ALBA, Piotr Goryl on behalf of Michał Ostoja-Gajewski, Krzysztof Wawrzyniak, Łukasz Żytniak, Tadeusz.
Advertisements

1 BROOKHAVEN SCIENCE ASSOCIATES EPICS V4 Support to Physics Application, Data Acquisition, and Data Analysis L. Dalesio, Gabriele Carcassi, Martin Richard.
PvData,pvAccess,pvIOC,pvService Status EPICS Meeting June 2011 NSRRC,Hsinchu, Taiwan Marty Kraimer, Guobao Shen, and Matej Sekoranja.
EPICS Architecture Version 3 Channel Access Client (CAC) Connection Data Transfers WAN/LAN/Local Connection Data Transfers Channel Access Server (CAS)
PCaPAC Satellite Workshop ~ High Level Applications Development and the Matlab Middlelayer ~ Sponsored by the Canadian Light Source Saskatoon, Canada October.
Current Status of MATLAB-based Accelerator Physics Application Programs for the TPS Commissioning and Operation at NSRRC Fan-Hsin Tseng ( 曾繁信 ) Beam Dynamics.
0 BROOKHAVEN SCIENCE ASSOCIATES NSLS II Physics Application and its Open Architecture Guobao Shen Controls Group, Photon Sciences Brookhaven National Laboratory.
PvData,pvAccess,javaIOC,pvService Status EPICS Meeting Aix-en-Provence, France Marty Kraimer, Guobao Shen, and Matej Sekoranja.
T-FLEX DOCs PLM, Document and Workflow Management.
Model Server for Physics Applications Paul Chu SLAC National Accelerator Laboratory October 15, 2010.
Network Management Overview IACT 918 July 2004 Gene Awyzio SITACS University of Wollongong.
ARCS Data Analysis Software An overview of the ARCS software management plan Michael Aivazis California Institute of Technology ARCS Baseline Review March.
Hamid Shoaee High Level Physics 20 April 2006 High Level Physics Applications Update on Plans, New Directions Fairley,
Patrick Krejcik LCLS June 16-18, 2008 High Level Applications Facility Advisory Committee Meeting June 17, 2008 Applications Team.
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.
Runtime alignment system SOFTWARE DESIGN IDEAS Wed 4 th May 2005 P Coe.
Henrik Loos High Level 17 June 2008 High Level Physics Applications for LCLS Commissioning Henrik Loos.
Hamid Shoaee Accelerator Readiness Dec. 2, ‘08 SLAC National Accelerator Laboratory Controls Department LCLS Maintenance.
–Streamline / organize Improve readability of code Decrease code volume/line count Simplify mechanisms Improve maintainability & clarity Decrease development.
Agenda Adaptation of existing open-source control systems from compact accelerators to large scale facilities.
JCE A Java-based Commissioning Environment tool Hiroyuki Sako, JAEA Hiroshi Ikeda, Visible Information Center Inc. SAD Workshop.
1 BROOKHAVEN SCIENCE ASSOCIATES Commissioning Plans F. Willeke 9 th ASAC Meeting for NSLS-II Project February 1-2, 2012.
1 BROOKHAVEN SCIENCE ASSOCIATES Preparations for Linac Commissioning Ray Fliller, Associate Physicist 8 th ASAC meeting for NSLS-II Project May 10-11,
Pohang Accelerator Laboratory POSTECH EPICS Collaboration Meeting RICOTTI, Tokai, JAPAN The status of PLS EPICS application EPICS collaboration.
INFORMATION SYSTEMS Overview
Understand Application Lifecycle Management
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Core (and other development efforts) L. Dalesio. EPICS April 25, 2013.
Database structure for the European Integrated Tokamak Modelling Task Force F. Imbeaux On behalf of the Data Coordination Project.
1 BROOKHAVEN SCIENCE ASSOCIATES NSLSII Physics Applications – Applying V4 The Control Group – presented by Bob Dalesio Taiwan EPICS Meeting, June 2011.
BROOKHAVEN SCIENCE ASSOCIATES High level applications and EPICS control GUOBAO SHEN NSLS-II, Control Group May 4 th, 2009.
1 Kenneth Osborne, 9/14/07 Inter Group communications at the Advanced Light Source. Overview of the different methods of communication between different.
Control & Monitoring System Update Contributors: Brian Martlew - Daresbury Laboratory - STFC James Leaver - Imperial College Pierrick Hanlet - Fermilab.
IRMIS Status EPICS 2009 Vancouver D. A. Dohan. Outline IRMIS hardware model cable/cable run channel list Equipment Inventory System RDB Domain separation.
SimArch: Work in Progress Multimedia Teaching Tool Faculty of Electronic Engineering University of Nis Serbia.
MASAR Service Guobao Shen Photon Sciences Department Brookhaven National Laboratory EPICS Collaboration Workshop Oct 05, 2013.
The european ITM Task Force data structure F. Imbeaux.
MASAR Server & Application Guobao Shen Photon Sciences Department Brookhaven National Laboratory Collaboration Working Group Oct 02, 2013.
ATF Control System and Interface to sub-systems Nobuhiro Terunuma, KEK 21/Nov/2007.
Ulrich RaichAnnual Report Preparation Meeting GSI January 2006 Progress report for Task SIS100_5 Digital Signal-Analysis Electronics for Beam Position.
K.Furukawa, Nov Database and Simulation Codes 1 Simple thoughts Around Information Repository and Around Simulation Codes K. Furukawa, KEK Nov.
March 2008EPICS Meeting in Shanghai1 KEKB Control System Status Mar Tatsuro NAKAMURA KEKB Control Group, KEK.
Project Management Mark Palmer Cornell Laboratory for Accelerator-Based Sciences and Education.
1 BROOKHAVEN SCIENCE ASSOCIATES Storage Ring Commissioning Samuel Krinsky-Accelerator Physics Group Leader NSLS-II ASAC Meeting October 14-15, 2010.
Michael Borland Advanced Photon Source Using SDDS for Accelerator Commissioning and Operation Michael Borland Operations Analysis Group Advanced Photon.
1 BROOKHAVEN SCIENCE ASSOCIATES Control System Overview Bob Dalesio, Control Group HLA Review for NSLS-II Project April
EPICS EPICS Limitations Bob Dalesio Marty Kraimer.
Project Database Handler The Project Database Handler is a brokering application that mediates interactions between the project database and the external.
5-Oct-051 Tango collaboration status ICALEPCS 2005 Geneva (October 2005)
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Version 4 – Development Plan V4 Team – presented by Bob Dalesio EPICS Meeting October 12, 2010.
NICA control system, beam diagnostics V.Andreev, E.Gorbachev, A.Kirichenko, D. Monakhov, S. Romanov, G.Sedykh, T. Rukoyatkina, V.Volkov VBLHEP, JINR, Dubna.
Controls & Monitoring Overview J. Leaver 03/06/2009.
Automatic Machine Review Dec 2015 MAX IV Storage Rings Automation Pedro F. Tavares.
MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov /21.
T. Fleck, GSI, Darmstadt, Germany ICALEPCS Status of the Control System for HICAT at an advanced stage of Commissioning Functions, Restrictions.
ESS Integrated Control System Software Core Components S.Gysin
Software tools for digital LLRF system integration at CERN 04/11/2015 LLRF15, Software tools2 Andy Butterworth Tom Levens, Andrey Pashnin, Anthony Rey.
JLab Accelerator Controls Matt Bickley MaRIE discussion April 26, 2016.
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Version 4 – Normative V4 Team – presented by Bob Dalesio EPICS Meeting October 7, 2011.
Control System Tools for Beam Commissioning Timo Korhonen Controls Division Chief Engineer April 8, 2014.
GUI Post-Processing Package for Beam-Beam Simulation of Ring Accelerators AYOMIDE ODUNSI JACKSON STATE UNIVERSITY SUPERVISOR: TANAJI SEN Dr. ACCELERATOR.
LCLS Commissioning & Operations High Level Software
Presented by Li Gang Accelerator Control Group
PLM, Document and Workflow Management
ATF/ATF2 Control System
LCLS Commissioning & Operations High Level Software
CLIC damping rings working plan towards the CDR
High Level applications development status
ThomX – Commissioning Meeting – 25/01/2018
Presentation transcript:

1 BROOKHAVEN SCIENCE ASSOCIATES High Level Applications Infrastructure and Current Status Guobao Shen, Lingyun Yang* Controls Group & Accelerator Physics Group ASAC October 14 th 2010

2 BROOKHAVEN SCIENCE ASSOCIATES Outline Software requirement overview Specifications of High level applications (HLA) HLA System infrastructure Applications/APIs Implementation and progress APIs for further applications Conclusions Acknowledgement: Accelerator Physics Group, Controls Group, Diagnostics & Instrumentation Group, Injection System. G. Portman(ALS), M. Borland, Marty Kraimer (APS)

3 BROOKHAVEN SCIENCE ASSOCIATES Requirement: Who, What and by When Controls + AP group, with support from other members when needed: diagnostics, RF, ID, network, database, … Requirement was defined in Common use cases for high level controls are listed. (J. Bengtsson etc. 2008) Assumptions and plan for commissioning defined the over all tasks for high level applications. (F. Willeke 2009, S. Krinsky 2010) These provide a full list of functionalities/features (concise). We focus on high level controls part (mainly physics related). Other discussions with experts from ALS/SLAC/APS ( EPICS meeting) Deadline is set for LINAC, Booster and Storage ring. All are summarized in a HLA user guide and API reference manual

4 BROOKHAVEN SCIENCE ASSOCIATES Control Software Requirement Overview of commissioning software General monitoring: orbit, magnet, RF, vacuum, temperature, alarm, logbook, … Orbit control and feedback Beam diagnostics: DCCT, size, emittance, … Other major subsystem: Safety, RF, Injection, … Accelerator physics toolkit : beam measurement, manipulation, lattice modeling, … HLA will be applications plus toolkit. Special applications for injection, first turn orbit AP tools with mature algorithm: BBA, LOCO Toolkit, APIs for scripting, easy to expand. (evolve to app later)

5 BROOKHAVEN SCIENCE ASSOCIATES Application Manual and Spec Requirements in references Defined in a “one line” form, very brief. Reorganize them as a complete and orthogonal set of functions. Application user guide and API ref manual Compile from references Examples and usage Algorithm description Data structure API definition and formalize Help doc will be available in control terminal. “Divide” work for AP and control group, keep the interface clear. Packaging and distribution

6 BROOKHAVEN SCIENCE ASSOCIATES HLA System Infrastructure

7 BROOKHAVEN SCIENCE ASSOCIATES HLA System Infrastructure Service provide data with a meaningful name: CH1YSP01 or CH1[0] instead of “SR:C01-MG:G03A.SP” In a meaningful manner: Synchronized reading of BPMs ? parameter scanned ? equilibrium data ? Integrated information : Log, archive, magnet measurement, … Maintenance is easier. Hardware is changed, removed, temporary disabled, … Port to another facility. “Chef and the customer: make sure the menu/order is placed correctly”

8 BROOKHAVEN SCIENCE ASSOCIATES Current Infrastructure Status Combining 2 services MySQL RDB Channel Finder Service Gather Service Channel Access v3 BPM Network Vacuum Power Supply PVAccess client Client API Library Orbit display SR:C04-MG:G06A Fld:SP, SR:C05-MG:G03A Fld:SP, SR:C06-MG:G02B Fld:SP, Local bump

9 BROOKHAVEN SCIENCE ASSOCIATES Tools developed and to be provided MATLAB Middle Layer (LOCO included) New development Python language interactive environment, visualization, full set of numerical routines, scripting, glue FORTRAN and C/C++ easily, flexible ordering of parameter, … API set comparable to MATLAB Middle Layer User guide for HLA applications, example scripts Reference Manual for all APIs. Integrated data management magnet measurement, ID field, magnet relations.

10 BROOKHAVEN SCIENCE ASSOCIATES Tools developed and to be provided Virtual accelerator based on Tracy-II and EPICS. Application Programming Interface is defined. Version control system is established (used since June 2010) Applications: Beam based alignment is prototyped. Orbit correction: flexible data/bpm/corrector Linear lattice reconstruction (LOCO) Data flow and structure between services/clients is partially defined. Data management is in coding stage lattice layout, organization, dependence, measured data, history data, revision history. Backend modeling capabilities is planned, elegant/Tracy-II.

11 BROOKHAVEN SCIENCE ASSOCIATES About HLA and Python the Pseudo-script looks like … #!/usr/bin/env python import nsls2hla as sr import matplotlib.pylab as plt import numpy as np import time dat=np.zeros((180,5), ‘d’) for ik,k in enumerate(np.linspace(-0.5, 0.5, 5): sr.setKicker(“CH2G6C01A”, k) s, orbit1 = sr.getOrbit(group=“CELL30”) sr.step(“QH1”) s, orbit2 = sr.getOrbit(group=“CELL30”) dat[:, ik] = orbit2 – orbit1 plt.plot(np.linspace(-0.5, 0.5, 5), dat[4,:], ‘o’) plt.savefig(“orbit-var.png”)

12 BROOKHAVEN SCIENCE ASSOCIATES About HLA and Python Visualization …

13 BROOKHAVEN SCIENCE ASSOCIATES About HLA and Python Interactive …

14 BROOKHAVEN SCIENCE ASSOCIATES Expanding for Further Applications Collect physics algorithms: both general and NSLS-II specific Code and documentation: Be prepared for new requirements Terminology definition in a unified form, easy to read/understand. Manual and spec document under development Code development, functions or algorithms: For “getOrbit”, “getTune”, “measureChromaticity”, … Development policy First implement those functions with an algorithm we know Review on those implementations.

15 BROOKHAVEN SCIENCE ASSOCIATES Conclusions HLA manual and spec are developed Initial revision of user guide and APIs are finished Work (coding, document) divided between AP and controls are clear. Infrastructure to support HLA development Coding/testing environment is set up. Some physics routines are prototyped and demoed. Basic services are ready, e.g. orbit, current. Working on more services: Lattice management, Magnetic-Current conversion, logscore, … Plan on tools development are clear, design stage is almost done, and the rest are mainly coding and parameter tuning