11
EPICS Collaboration Meeting, November 14- 16 SNS Optics Database N. Malitsky

EPICS Collaboration Meeting, November 14-16 SNS Optics Database N. Malitsky

Embed Size (px)

Citation preview

Page 1: EPICS Collaboration Meeting, November 14-16 SNS Optics Database N. Malitsky

EPICS Collaboration Meeting, November 14-16

SNS Optics Database

N. Malitsky

Page 2: EPICS Collaboration Meeting, November 14-16 SNS Optics Database N. Malitsky

EPICS Collaboration Meeting, ORNL, November 14-16

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.

Page 3: EPICS Collaboration Meeting, November 14-16 SNS Optics Database N. Malitsky

EPICS Collaboration Meeting, ORNL, November 14-16

UAL Accelerator Object Model

• Accelerator is a hierarchical tree of accelerator nodes: elements and sequences of elements.

• Accelerator Node is a basis class of an accelerator element and sequence of elements. 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 Bucket is a set of attributes relevant to the single physical effect or feature (e.g. magnetic field, aperture, offset, rotation, etc.)

Page 4: EPICS Collaboration Meeting, November 14-16 SNS Optics Database N. Malitsky

EPICS Collaboration Meeting, ORNL, November 14-16

UAL Accelerator Object Model (continued)

Accelerator Accelerator Node Node Bucket

Multipole Field

Aperture

Offset

. . .

ElementSequence

design

Sbend

Quadrupole

RfCavity

. . .

insertions*

nodes

roottype

Ancestors: ADXF, UAL/SMF, MADApplications: SNS, RHIC, LHC, CESR

Rotation

Page 5: EPICS Collaboration Meeting, November 14-16 SNS Optics Database N. Malitsky

EPICS Collaboration Meeting, ORNL, November 14-16

Accelerator Model Representations

Java Classes

XML file (ADXF)

Optics Database

Accelerator Object Model

Page 6: EPICS Collaboration Meeting, November 14-16 SNS Optics Database N. Malitsky

EPICS Collaboration Meeting, ORNL, November 14-16

Accelerator Model Representations (continued)

Off-line Simulation Package

Online Accelerator Model

Optics DatabaseADXF file

• 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

ADXF-based Applications:

JDBCJavaXML Parser

C++XML Parser

Page 7: EPICS Collaboration Meeting, November 14-16 SNS Optics Database N. Malitsky

EPICS Collaboration Meeting, ORNL, November 14-16

Links to XML Software (Editors, Browsers, etc.)(www.cetus-links.org/oo_xml.html#oo_xml_other_software)

Page 8: EPICS Collaboration Meeting, November 14-16 SNS Optics Database N. Malitsky

EPICS Collaboration Meeting, ORNL, November 14-16

DXF file with the HEBT and RTBT lattices (in the XML Instance Editor: www.extensibility.com)

A.Shishlo, J.Beebe-Wang, and J.Weng

TM

Page 9: EPICS Collaboration Meeting, November 14-16 SNS Optics Database N. Malitsky

EPICS Collaboration Meeting, ORNL, November 14-16

Optics Database Tables (in the Forte for Java IDE:

www.sun.com/forte/ffj/ce/index.html) TM

Page 10: EPICS Collaboration Meeting, November 14-16 SNS Optics Database N. Malitsky

EPICS Collaboration Meeting, ORNL, November 14-16

Optics Database Tables (continued)

Table name ContentAcceleratorSystems names & versions of complex accelerator systems (HEBT + Ring)Accelerators accelerator names (HEBT, Ring, RTBT)AcceleratorLattices version names associated with different accelerator structuresAcceleratorStates version names associated with different node structuresAcceleratorSources version names associated with different data sources (actual, expected)AcceleratorNodes names & lengths of elements and assemblies of elementsAcceleratorNodeTypes element types (sbend, quadrupole, rfcavity, etc.)AcceleratorSequences structure of assemblies and acceleratorsAcceleratorNodeBuckets structure of accelerator nodesAcceleratorBucketTypes bucket types (bend, mfield, rffield, alignment, aperture)BendBuckets bend attributes (horizontal and vertical angles)MFieldBuckets multipole harmonics (normal and skew components)RFFieldBuckets rf attributes (voltage, phase, etc.)AlignmentBuckets offsets and rotations of elements and assembliesApertureBuckets aperture attributes (shape, horizontal and vertical sizes)

tested by HEBT and RTBT data

Page 11: EPICS Collaboration Meeting, November 14-16 SNS Optics Database N. Malitsky

EPICS Collaboration Meeting, ORNL, November 14-16

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.