High Level Physics Applications Outline

advertisement
High Level Physics Applications
LCLS Week / FAC
October 24-28, 2005
Outline
Required High Level Applications
SLC Applications Available to LCLS
XAL Applications Available to LCLS
Concerns and solutions
Infrastructure plans
Task List for the next 12 months
October 24-28, 2005
High Level Applications
Diane Fairley
dfairley@slac.stanford.edu
Required High Level Physics Applications
* see LCLS PRD: Requirements for High Level Software Applications Packages by Patrick Krejcik
Emittance Applications
Emittance measurement
Transverse Slice Emittance
Beta Matching
Energy, energy spread applications
Slice energy spread application
Bunch Length measurement
Orbit Applications
Orbit display
Orbit fitting
Orbit corrections
Bump calculation
Power steering
Energy Management
October 24-28, 2005
High Level Applications
Diane Fairley
dfairley@slac.stanford.edu
Required High Level Physics Applications
Supporting software
Online model; transfer R-matrices and twiss parameters
Buffered acquisition
Correlation plots
Multiknob facility
Configuration management
Golden orbits, user setpoints, constants
October 24-28, 2005
High Level Applications
Diane Fairley
dfairley@slac.stanford.edu
How will we provide these Applications?
SLC Applications, via the SLC-aware IOCs
XAL
Developed by and proven successful at SNS
Java based; platform independent
Has a future with the EPICS community
Includes an online model
Includes many applications already developed at SNS
October 24-28, 2005
High Level Applications
Diane Fairley
dfairley@slac.stanford.edu
SLC Applications Available to LCLS
SLC-aware IOC provides BPM data, data from other gated acquisition devices, and magnet
control to the SLC Control System
An online model of LCLS in the SLC system will provide model data
Injector, linac, BSY only for now
Therefore, the following SCP applications will work for LCLS:
Orbit applications
Orbit display
Orbit fitting
Orbit correction
Bump calculations
Power steering
Energy Management
Support software
Buffered acquisition
Correlation plots
Multiknob facility
SLC CA server (CAMAC device readback)
Configs (configuration management)
October 24-28, 2005
High Level Applications
Diane Fairley
dfairley@slac.stanford.edu
Applications not provided by SLC
Bunch Length Measurements, and
Emittance and Energy Spread Applications
The slc-aware portion of the IOC will not perform wire scans,
does not control the bunch length measurement devices (OTRs,
YAGs, RF deflector), nor does it provide images to the SLC
system.
These measurements will be done by the IOCs in EPICS only.
The control, readback, data PVs are accessible by Channel
Access.
Control of CAMAC devices is not available through
Channel Access.
October 24-28, 2005
High Level Applications
Diane Fairley
dfairley@slac.stanford.edu
XAL applications available to LCLS
*Paul Chu - SNS
Developed at SNS
Online Model
Orbit Difference
Orbit Correction
Transverse Tuning
Energy Manager
Virtual Accelerator
Other tools
Channel Correlator
Scripting interface (Jython, Matlab)
PV Logger (can replace or supplement Channel Archiver)
Math tools
And others…
October 24-28, 2005
High Level Applications
Diane Fairley
dfairley@slac.stanford.edu
Example XAL: Linac Transverse Tuning Apps
Use 3+ wire scanners for emittance measurement.
Perform transverse matching using online model.
Wire profiles
emittances
October 24-28, 2005
High Level Applications
Diane Fairley
dfairley@slac.stanford.edu
High Level Apps within the LCLS network
October 24-28, 2005
High Level Applications
Diane Fairley
dfairley@slac.stanford.edu
Concerns and solutions
Bunch Length Measurement, Energy Spread, Emittance applications not available via SLC
Fully develop these applications in XAL; start with existing SNS applications
Backup: Develop in Matlab for commissioning. Aida provides SLC model data, Channel access or Aida
gets IOC measurements via PVs.
Energy Management
Energy management will not be needed until commissioning beyond BC1 is started
XAL Issues
Configuring the online model to work for LCLS
Adjusting XAL’s SMF device classes to match LCLS devices; add new devices
SNS is a smaller system; we must be mindful of difficulties with ‘scaling up’ for LCLS
LCLS – we want more calculations performed by IOCs; data reduction
LCLS - we want to add more status checking
LCLS – the online model is much larger, more time required to run model
network traffic with Channel Access and files required by XAL apps.
LCLS will have more users running apps
CAMAC device control is not available from the SLC
Slc-aware IOCs will not control CAMAC devices; MCC CA Server is read-only; no control
Magnet control via Aida is under development now; or Change CA Server to read / write
October 24-28, 2005
High Level Applications
Diane Fairley
dfairley@slac.stanford.edu
Infrastructure plans: next 12 months
Target platform
Linux OS
Mac OS may be a freebie
No Windows support
Development tools and environment
IDE : Eclipse
CVS source control
Matlab
Matlab on Linux – licenses
The SSRL Matlab toolbox will not be provided at this time
Files sharing / network security
Network plans to accommodate XAL applications
Access to data and files from the public network
October 24-28, 2005
High Level Applications
Diane Fairley
dfairley@slac.stanford.edu
Task List and Resources: next 12 months
LCLS online model for SLC
Mark Woodley, begins January 2006
Also Mike Zelazny, Nancy Spencer - includes SLC DB work, SCP displays, adding panels, regions…
Complete magnet job in slc-aware IOC
Kristi Luchini, Debbie Rogind - now
Continuous testing of slc-aware IOC as new hardware becomes available
Debbie Rogind, Diane Fairley, Stephanie Allision, Kristi Luchini, Mike Zelazny
XAL for LCLS: working and verified online model, database, ‘device’ classes
Sergei Chevtsov, Diane Fairley, Debbie Rogind, Greg White (advisory)
Emittance, and Bunch Length Measurement applications development in XAL
Debbie Rogind, Diane Fairley, Sergei Chevtsov, Mike Zelazny, Greg White (advisory)
Emittance and Bunch Length Measurement applications development in Matlab (as backup)
Paul Emma
Epics extensions setup
Archiver - Sergei
Channel watcher, backup save/restore, message logging , pv gateway– various Controls Group members
Longer term development
Energy Management in XAL
Moving more capabilities and applications to EPICS / XAL
October 24-28, 2005
High Level Applications
Diane Fairley
dfairley@slac.stanford.edu
Download