Author: Shen, G.
Paper Title Page
MOPPC152 Accelerator Lattice and Model Services 464
 
  • C.P. Chu
    FRIB, East Lansing, Michigan, USA
  • F.Q. Guo, H.H. Lv, C.H. Wang, Z. Zhao
    IHEP, Beijing, People's Republic of China
  • G. Shen
    BNL, Upton, Long Island, New York, USA
 
  Funding: This work is supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC0000661, and the Chinese Spallation Neutron Source Project.
Physics model based beam tuning applications are essential for complex accelerators. Traditionally, such applications acquire lattice data directly from a persistent data source and then carry out model computation within the applications. However, this approach often suffers from poor performance and modeling tool limitation. A better architecture is to offload heavy database query and model computation from the application instances. A database has been designed for hosting lattice and physics modeling data while a set of web based services then provide lattice and model data for the beam tuning applications to consume. Preliminary lattice and model services are based on standard J2EE Glassfish platform with MySQL database as backend data storage. Such lattice and model services can greatly improve the performance and reliability of physics applications.
 
poster icon Poster MOPPC152 [0.312 MB]  
 
MOPPC155 NSLS II Middlelayer Services 467
 
  • G. Shen, Y. Hu, M.R. Kraimer, K. Shroff
    BNL, Upton, Long Island, New York, USA
  • D. Dezman
    Cosylab, Ljubljana, Slovenia
 
  Funding: Work supported under auspices of the U.S. Department of Energy under Contract No. DE-AC02-98CH10886 with Brookhaven Science Associates, LLC, and in part by the DOE Contract DE-AC02-76SF00515
A service oriented architecture has been designed for NSLS II project for its beam commissioning and daily operation. Middle layer services have been actively developing, and some of them have been deployed into NSLS II control network to support our beam commissioning. The services are majorly based on 2 technologies, which are web-service/RESTful and EPICS V4 respectively. The services provides functions to take machine status snapshot, convert magnet setting between different unit system, or serve lattice information and simulation results. This paper presents the latest status of services development at NSLS II project, and our future development plan.
 
poster icon Poster MOPPC155 [2.079 MB]  
 
MOPPC156 Virtual Accelerator at NSLS II Project 471
 
  • G. Shen
    BNL, Upton, Long Island, New York, USA
 
  Funding: Work supported under auspices of the U.S. Department of Energy under Contract No. DE-AC02-98CH10886 with Brookhaven Science Associates, LLC, and in part by the DOE Contract DE-AC02-76SF00515
A virtual accelerator has been developed at NSLS II to support tools development from physics study and beam commissioning to beam operation. The physics results are provided using Tracy simulation code thru EPICS process variables, which was implemented originally by Diamond Light Source. The latest virtual accelerator supports all major accelerator components including all magnets (Dipole, Quadrupole, Sextuple), RF cavity, insertion device, and other diagnostics devices (BPM for example), and works properly for both linear machine and synchrotron ring. Two error mechanisms are implemented, which are random error for each magnet setting, and systematic error to simulate misalignment. Meanwhile, it also provides sort of online model functions including serving beta function, and close orbit data. In NSLS II, there are 5 virtual accelerators deployed, and 3 of them are running simultaneously. Those virtual accelerators have been effectively supporting the tools development such as physics applications, and other services such as Channel Finder. This paper presents the latest status of virtual accelerator, and our plan for its future development and deployment.
 
poster icon Poster MOPPC156 [1.393 MB]  
 
TUPPC130 The Design of NSLS-II High Level Physics Applications 890
 
  • L. Yang, J. Choi, Y. Hidaka, Y. Li, G. Shen, G.M. Wang
    BNL, Upton, Long Island, New York, USA
 
  The NSLS-II high level physics applications are an effort from both controls and accelerator physics group. They are developed with the client-server approach, where the services are mainly provided by controls group in terms of web service or libraries.  
 
TUCOCB04 EPICS Version 4 Progress Report 956
 
  • T. Korhonen
    PSI, Villigen PSI, Switzerland
  • L.R. Dalesio, N. Malitsky, G. Shen
    BNL, Upton, Long Island, New York, USA
  • D.G. Hickin, J. Rowland
    Diamond, Oxfordshire, United Kingdom
  • M.R. Kraimer
    Self Employment, Private address, USA
  • R. Lange
    HZB, Berlin, Germany
  • M. Sekoranja
    Cosylab, Ljubljana, Slovenia
  • G.R. White
    SLAC, Menlo Park, California, USA
 
  EPICS Version 4 is the next major revision of the Experimental Physics and Industrial Control System, a widely used software framework for controls in large facilities, accelerators and telescopes. The primary goal of Version 4 is to improve support for scientific applications by augmenting the control-centered EPICS Version 3 with an architecture that allows building scientific services on top of it. Version 4 provides a new standardized wire protocol, support of structured types, and parametrized queries. The long-term plans also include a revision of the IOC core layer. The first set of services like directory, archive retrieval, and save set services aim to improve the current EPICS architecture and enable interoperability. The first services and applications are now being deployed in running facilities. We present the current status of EPICS V4, the interoperation of EPICS V3 and V4, and how to create services such as accelerator modelling, large database access, etc. These enable operators and physicists to write thin and powerful clients to support commissioning, beam studies and operations, and opens up the possibility of sharing applications between different facilities.  
slides icon Slides TUCOCB04 [1.937 MB]  
 
WECOBA02 Distributed Information Services for Control Systems 1000
 
  • V. Vuppala, E.T. Berryman
    NSCL, East Lansing, Michigan, USA
  • C.P. Chu, D. Liu, S. Peng
    FRIB, East Lansing, Michigan, USA
  • L.R. Dalesio, D. Dohan, G. Shen, K. Shroff
    BNL, Upton, Long Island, New York, USA
  • H.H. Lv, C.H. Wang, Z. Zhao
    IHEP, Beijing, People's Republic of China
  • K. Rathsman, G. Trahern
    ESS, Lund, Sweden
  • M. Vitorovic
    Cosylab, Ljubljana, Slovenia
  • K. Žagar
    COBIK, Solkan, Slovenia
 
  During the design and construction of an experimental physics facility (EPF), a heterogeneous set of engineering disciplines, methods, and tools is used, making subsequent exploitation of data difficult. In this paper, we describe a framework (DISCS) for building high-level applications for commissioning, operation, and maintenance of an EPF that provides programmatic as well as graphical interfaces to its data and services. DISCS is a collaborative effort of BNL, FRIB, Cosylab, IHEP, and ESS. It is comprised of a set of cooperating services and applications, and manages data such as machine configuration, lattice, measurements, alignment, cables, machine state, inventory, operations, calibration, and design parameters. The services/applications include Channel Finder, Logbook, Traveler, Unit Conversion, Online Model, and Save-Restore. Each component of the system has a database, an API, and a set of applications. The services are accessed through REST and EPICS V4. We also discuss the challenges to developing database services in an environment where requirements continue to evolve and developers are distributed among different laboratories with different technology platforms.