110 likes | 362 Views
SNS Optics Database. EPICS Collaboration Meeting, November 14-16. N. Malitsky. Optics Database Requirements. Consistency with the control system and simulation environments
E N D
SNS Optics Database EPICS Collaboration Meeting, November 14-16 N. Malitsky
Optics Database Requirements • Consistency with the control system and simulation environments • The Optics Database should be considered as a particular representation of a common (object-oriented) Accelerator Model. • Compatibility with the present accelerator models and descriptions • The Optics Database should be capable to store data described in MAD, ADXF, and other accelerator input formats. • Minimal completeness • “All elements that can influence single particle motion and only those elements are contained” (Iselin - Keil - Talman) • Extensibility • The introduction of new (any) element types and element attributes should be provided. • Flexibility • The Optics Database should be adaptable to different projects and able to support different versions of the same machine.
UAL Accelerator Object Model • Acceleratoris a hierarchical tree of accelerator nodes: elements and sequences of elements. • Accelerator Nodeis a basis class of an accelerator element and sequence ofelements. There are many different types of accelerator nodes (e.g. sbend, quadrupole, etc.). But all of them have the same structure: an open collection of accelerator node buckets. • Accelerator Node Bucketis a set of attributes relevant to the single physical effect or feature (e.g. magnetic field, aperture, offset, rotation, etc.)
UAL Accelerator Object Model (continued) design root Node Bucket type Accelerator Accelerator Node nodes insertions Multipole Field * Sequence Element Aperture Offset Sbend Quadrupole Rotation . . . RfCavity Ancestors: ADXF, UAL/SMF, MAD Applications: SNS, RHIC, LHC, CESR . . .
Accelerator Model Representations Optics Database Accelerator Object Model Java Classes XML file (ADXF)
Accelerator Model Representations (continued) • Initialization and test of the Optics database • Integration of the off-line simulation package with the Optics database • Interface between off-line and online environments Off-line Simulation Package ADXF-based Applications: C++ XML Parser ADXF file Optics Database Java XML Parser JDBC Online Accelerator Model
Links to XML Software (Editors, Browsers, etc.)(www.cetus-links.org/oo_xml.html#oo_xml_other_software)
DXF file with the HEBT and RTBT lattices (in the XML Instance Editor: www.extensibility.com) TM A.Shishlo, J.Beebe-Wang, and J.Weng
Optics Database Tables(in the Forte for Java IDE: www.sun.com/forte/ffj/ce/index.html) TM
Optics Database Tables (continued) tested by HEBT and RTBT data
Summary Status : • schema of the SNS Optics Database is defined. ( N.Malitsky “A Prototype of the SNS Optics Database”, BNL/SNS Tech Note 85); • HEBT and RTBT lattices are inserted into the SNS Optics Database via the XML file. Results : • consolidated physicist’s and engineer’s accelerator descriptions and raised questions about missing data (e.g. assemblies); • improved the Accelerator Object Model and consolidated its different representations; • provided accelerator physicists and developers with the first experience of the XML technology.