320 likes | 445 Views
LHC Applications Software A shared AB/CO and AB/OP Viewpoint and Effort. 21 / 09 / 2005 CO Review Lionel Mestre on behalf of LSA Team and CO/AP. Overview. Strategy JAPC LSA Core On Track for LHC Target for 2006. Strategy & Approach. Huge Challenge Rational & Pragmatic Share & Reuse
E N D
LHC Applications SoftwareA shared AB/CO and AB/OP Viewpoint and Effort 21 / 09 / 2005 CO Review Lionel Mestre on behalf of LSA Team and CO/AP
Overview • Strategy • JAPC • LSA Core • On Track for LHC • Target for 2006 LHC Applications Software – CO Review - Lionel Mestre
Strategy & Approach • Huge Challenge • Rational & Pragmatic • Share & Reuse • Simplicity • Implement once & Iterate • Modern OO development method • Define & use CO standards LHC Applications Software – CO Review - Lionel Mestre
Common Infrastructure • We have a common infrastructure in place upon which LHC Controls can be built • JAPC • LSA Core • Reuse for several accelerators Transfer Lines/SPS/LEIR/LHC LHC Applications Software – CO Review - Lionel Mestre
JAPC • One API for all equipments access • Based on parameter (device/property) • Unified access • Hardware, Timing, Directory Service • SDDS, Simulation, Virtual Parameters • Extended services • Metadata, descriptions • Groups, Caching, Transactions LHC Applications Software – CO Review - Lionel Mestre
JAPC Stack Applications AscBeans Fixed Displays SDDS Logging Applications JAPC Context JAPC Viewers JAPC Monitoring JAPC (get/set/monitor, descriptors, groups) JAPC CMW-RDA (CMW) JAPC SPS2001 (DIM) JAPC Remote (JMS) JAPC LSA JAPC SDDS JAPC Simulation JAPC Directory Service JAPC Code Gen FGC Code Gen Devices Middle Tier Files / Datastore LHC Applications Software – CO Review - Lionel Mestre
Viewer Components Knobs Working Set Plot LHC Applications Software – CO Review - Lionel Mestre
LSA Core • Analysis of the requirements of accelerator operations • Set of software modules for accelerator controls • Reference architecture LHC Applications Software – CO Review - Lionel Mestre
LSA Core • Optics • Characteristics of the machine, layout, twiss • Settings Management • Functions or values for all parameters (physics to hardware) • Settings Generation • Generation of the functions based on the optics • Trim • Coherent modification of functions, revert • Hardware Exploitation • Equipment Control, Measurements • Operational Exploitation • Sequencing, Super Cycle changes LHC Applications Software – CO Review - Lionel Mestre
LSA Core Stack Applications JAPC API LSA Client API JAPC CMW/RDA JAPC Remote (JMS) JAPC LSA LSA Client implementation (2-tier / 3-tier) Concentration LSA CORE (Settings, Trim, Trim History, Generation, Optics, Exploitation, Reference) JAPC Data Access Object (DAO) JAPC CMW/RDA Hibernate / Spring JDBC Devices Datastore LHC Applications Software – CO Review - Lionel Mestre
Use of the infrastructure and applications ? • TT40 test in 2003 • TI8/TT40 test in 2004 • Test on SPS in 2004 • HWC in 2005 • LEIR in 2005 • Work started to model LHC • Parameter model defined • Settings generation done LHC Applications Software – CO Review - Lionel Mestre
Applications in place LHC Applications Software – CO Review - Lionel Mestre
On track for LHC • Data model • Settings and Trim • Orbit Steering • HWC Sequencer • Fixed Displays • SbS Logging • SDDS Logging • Post-Mortem & Alarms LHC Applications Software – CO Review - Lionel Mestre
Data model • Well defined data model • Same for TL, SPS, LEIR and LHC • Optics • Parameter Model • Settings • Controls is data driven and data is the masterpiece LHC Applications Software – CO Review - Lionel Mestre
Settings and Trim LSS4_EXT_BUMP/KNOB MPLH.41994/K MPSH.42198/K MPLH.41994/I MPSH.42198/I MPLH4199/IREF MPSH4219/IREF • LSA Core provides complete Settings Management and Trim facility • Defines parameters and their relationships • Defines setting per context (Cycle) LHC Applications Software – CO Review - Lionel Mestre
Orbit Steering • Based on LSA Core • Used for TI8 test • Tested on SPS • About to be used for LEIR • Will be used for SPS and PS • Will be used for LHC LHC Applications Software – CO Review - Lionel Mestre
Orbit Steering LHC Applications Software – CO Review - Lionel Mestre
HWC Sequencer • Heavy interaction with LHC Power Converters • Procedures for 8h/24h heat runs • Battery tests • Parallel ramp monitoring, PC state summaries, sequencer sheets,… • Abort • Logging of results in SDDS • Connection to MTF • First use last July, next use this week LHC Applications Software – CO Review - Lionel Mestre
HWC Sequencer LHC Applications Software – CO Review - Lionel Mestre
Fixed Displays • Evolution and extension of the fixed displays used for TT40/TI8 tests • Based on JAPC-Monitoring • Fulfill new requirements from HWC • Will cover SPS (Page 1) • Will cover LHC LHC Applications Software – CO Review - Lionel Mestre
Shot by Shot Logging • Used for TT40/TI8 tests • Used for TI2 commissioning (06/05) • Refactored to use JAPC-Monitoring and the new Measurement DB • High frequency of logging • Conditioning of Logging • To be used for LHC-HWC SCT and TI2 commissioning (09/05) • Validation ongoing • Will be used for LHC Commissioning LHC Applications Software – CO Review - Lionel Mestre
SDDS Logging • On disk logging of measurements • Ease of use, fast browsing, trending • Complementary of SbS Logging • Based on JAPC Monitoring • First use during TI8 test • Used from HWC Sequencer • Will be used in LEIR LHC Applications Software – CO Review - Lionel Mestre
SDDS Logging LHC Applications Software – CO Review - Lionel Mestre
New developments 2006 (1) • Normalize data model • Interface with timing • Interface to MAD (Offline Machine Model) • Interface to RMS (Reference Magnet System) • BLMs, BPMs Concentration • Collimator control in SPS (2006) LHC Applications Software – CO Review - Lionel Mestre
New developments 2006 (2) • LHC Sequencer (small language) • Extraction sequencing TI2/TI8 (2006) • Orbit Steering for LHC • Sliding Bump & Aperture Scans • Measurement procedures • Polarity Checks • Injection Septa & Kickers • TDI control LHC Applications Software – CO Review - Lionel Mestre
Conclusion • Targets for 2006 are pretty clear • Consolidate and extends existing infrastructure • Numerous dedicated applications to be done • All the work presented here is exemplary of the successful collaboration between OP and CO LHC Applications Software – CO Review - Lionel Mestre