Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 P. Chu 1 Adapting XAL for LCLS EPICS Meeting, Vancouver Adapting XAL for LCLS Paul Chu - SLAC May 1, 2009.

Similar presentations


Presentation on theme: "1 P. Chu 1 Adapting XAL for LCLS EPICS Meeting, Vancouver Adapting XAL for LCLS Paul Chu - SLAC May 1, 2009."— Presentation transcript:

1 1 P. Chu pchu@slac.stanford.edu 1 Adapting XAL for LCLS EPICS Meeting, Vancouver Adapting XAL for LCLS Paul Chu - SLAC May 1, 2009

2 2 P. Chu pchu@slac.stanford.edu 2 Adapting XAL for LCLS EPICS Meeting, Vancouver 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 3 P. Chu pchu@slac.stanford.edu 3 Adapting XAL for LCLS EPICS Meeting, Vancouver 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 4 P. Chu pchu@slac.stanford.edu 4 Adapting XAL for LCLS EPICS Meeting, Vancouver 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 5 P. Chu pchu@slac.stanford.edu 5 Adapting XAL for LCLS EPICS Meeting, Vancouver Online Model QA Validate XAL model (XAL vs. MAD) R-matrix Twiss parameters Check whenever model code changed

6 6 P. Chu pchu@slac.stanford.edu 6 Adapting XAL for LCLS EPICS Meeting, Vancouver 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 7 P. Chu pchu@slac.stanford.edu 7 Adapting XAL for LCLS EPICS Meeting, Vancouver Applications (cont.) Online model manager Run model View available models – comparison Tag GOLD model

8 8 P. Chu pchu@slac.stanford.edu 8 Adapting XAL for LCLS EPICS Meeting, Vancouver 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 9 P. Chu pchu@slac.stanford.edu 9 Adapting XAL for LCLS EPICS Meeting, Vancouver 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


Download ppt "1 P. Chu 1 Adapting XAL for LCLS EPICS Meeting, Vancouver Adapting XAL for LCLS Paul Chu - SLAC May 1, 2009."

Similar presentations


Ads by Google