1 / 9

Adapting XAL for LCLS

Adapting XAL for LCLS. Paul Chu - SLAC May 1, 2009. What XAL can offer?. A hierarchical view of an accelerator Quick physics modeling tool A common look-and-feel graphical user interface (GUI) Use EPICS CA Oracle database adapter Many other utility packages Re-use as much as possible.

guido
Download Presentation

Adapting XAL for LCLS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Adapting XAL for LCLS Paul Chu - SLAC May 1, 2009

  2. What XAL can offer? • A hierarchical view of an accelerator • Quick physics modeling tool • A common look-and-feel graphical user interface (GUI) • Use EPICS CA • Oracle database adapter • Many other utility packages Re-use as much as possible

  3. What to do before using XAL? • Set up LCLS own XAL repository • Need a database to hold input (configuration) data • Prototype in 1-2 weeks • Get right data to populate the DB take longer • Generate XAL XML input from DB • Still a little hand-edit • Online model modifications • Transfer matrices – all essential device types rewritten in MAD algorithm • Longitudinal coordinate system for electron beam • Fix some physics parameter calculation bugs • Get good design model calculation so far…

  4. More to do… • Live machine model improvement • Chicane dipole bend angle based on field • Handle some magnets in string (can be done at EPICS level) • Back propagate Twiss parameters • Backward compatibility for apps • Existing apps use SLC model system • Set up Oracle database to store XAL model data • Use same AIDA interface to access saved models • Both XAL and SLC models available, default to XAL • Provide better feature than the SLC model system

  5. Online Model QA • Validate XAL model (XAL vs. MAD) • R-matrix • Twiss parameters • Check whenever model code changed

  6. Applications • Save, compare, restore (SCORE) • New columns added • Database configured • Callable API • Orbit display • Beam synchronous acquisition • Orbit fit • Linac Energy Manager (use XAL in Matlab) • Prototype, new version is under way • Virtual accelerator

  7. Applications (cont.) • Online model manager • Run model • View available models – comparison • Tag GOLD model

  8. Set up for LCLS/SLAC Environment • Messaging • E-log • ‘Help’ system – use wiki • GUI framework/layout • Common look-and-feel • Build and release system (ongoing) • Currently, using Ant/Eclipse • Decide to use Ant • Complete build from source for all dependant projects from CVS with specific version • ‘Framework’ is enforced to be the release version

  9. Conclusions • LCLS XAL is working • XAL inline model for quick prototyping • Consideration • Model or no model • Need some training • GUI preference (not quite portable) • To do: • Better database schema • Speed up model run • More applications

More Related