Plans for MAD-X in UAL/SXF
description
Transcript of Plans for MAD-X in UAL/SXF
N.Malitsky MAD-X Day 2005 , Sept 23, 2005
Plans for MAD-X in UAL/SXF
Nikolay Malitsky
N.Malitsky MAD-X Day 2005 , Sept 23, 2005
Outline
1998-2003: Standard eXchange Format After the First MAD-X Day: MADX-SXF-UAL suite 2004-2005: Accelerator Description eXchange Format 2.0 Since 2005: Joining the RHIC online and offline models After the Second MAD-X Day: MADX-ADXF-UAL suite
Life before and after the MAD-X Days:
N.Malitsky MAD-X Day 2005 , Sept 23, 2005
SXF: Standard eXchange Format http://www.ual.bnl.gov/ref/sxf/index.html
N.Malitsky MAD-X Day 2005 , Sept 23, 2005
rhic_injection.sxf
unique element name
MAD element type
design element name
design element attributesdeviations (individualelement attributes)
N.Malitsky MAD-X Day 2005 , Sept 23, 2005
MADX-UAL Suite for RHIC Off-line Accelerator Design and Simulation (EPAC 2004)
Accelerator Physics 2D/3D plots
Instrumentation-like Display
UAL 1.9 Off-line Model
MADX 1.7Design Toolkit
Lattice Database
RHIC
Magnet Database
SXF
R.Fliller, N.Malitsky, F.Pilat, V.Ptitsyn, S.Tepikian, J.Wei (BNL), F.Schmidt (CERN), R.Talman (Cornell)
N.Malitsky MAD-X Day 2005 , Sept 23, 2005
Accelerator Description Exchange Format (ADXF)
Inspired by E.Forest’s “fibre bundles” and ROOT Detector geometry description. Adds a new concept, “installed” element. Addresses several issues:
sharing of common “real” elements by several sectors; supporting of design and operational accelerator descriptions; connecting of accelerator and detector models; TBD
ADXF 2.0 New Objectives and Features (2004)
ADXF 1.0 (1998)
Response to the Iselin-Keil-Talman Accelerator Description Standard (ADS) request Based on the XML technology Integrated the MAD sequence and UAL element attribute sets
N.Malitsky MAD-X Day 2005 , Sept 23, 2005
Accelerator Description Exchange Format (ADXF 2.x)USPAS 2005
• ADXF file is a XML representation of the accelerator state (The Element Concept)• Its schema has been mapped from the SMF 2.x object model.
<xs:schema … <xs:include schemaLocation=“adxf_simple_types.xsd” /> <xs:include schemaLocation=“adxf_abstract_types.xsd” /> <xs:include schemaLocation=“adxf_core.xsd” /> <xs:include schemaLocation=“adxf_attribute_sets.xsd” /> <xs:include schemaLocation=“adxf_mad_elements.xsd” /> <xs:element name=“adxf” > <xs:complexType> <xs:sequence> <xs:element ref=“constants” minOccurs=“0” maxOccurs=“unbounded” /> <xs:element ref=“elements” minOccurs=“0” maxOccurs=“unbounded” /> <xs:element ref=“sectors” minOccurs=“0” maxOccurs=“unbounded” /> </xs:sequence> … </xs:element></xs:schema>
adxf.xsd <adxf …. > <constants> <constant name=“lb” value=“3.58896” /> <constant name=“ab” value=“0.0151186” /> … </constants> <elements> <sbend name=”d0mp08” l=“lb” angle=”ab” /> <element name=”bi8-dh0” design=”d0mp08“ > <mfield b=”0 0 0.005476 0.033503” a=”0. 0 -0.010166 0.024366” /> </element> … </elements> <sectors> <sector name=blue” > <frame ref=“bi8-dh0” at=“661.74662424” /> … </sector> </sectors></adxf>
rhic.adxf
Position (local or global) of the installed componentwhich could be a common point for connecting with the Detector description
coreextensions
N.Malitsky MAD-X Day 2005 , Sept 23, 2005
Accelerator Propagator Description Format (APDF) PAC 2003
• APDF file is a XML representation of the accelerator propagator (The Algorithm Concept)• Its schema is under development.
<apdf> <propagator name=“simple” accelerator=“blue” > <link algorithm=“TIBETAN::SectorTracker”
sector = “Default” /> <link algorithm=“TIBETAN::RFCavityTracker” elements=“rfac1” /> <link algorithm=“TIBETAB::WCMonitor”
elements=“mend” /> </propagator></apdf>
Simple matrix-based tracker
simple.apdf
<apdf> <propagator name=“mia” accelerator=“blue”> <link algorithm=“TEAPOT::DriftTracker” types = “Default” /> <link algorithm=“TEAPOT::DriftTracker” types=“Marker|Drift|[VH]monitor|Monitor” /> <link algorithm=“TEAPOT::DipoleTracker” types=“SBend” /> <link algorithm=“TEAPOT::MltTracker” types=“Quadrupole|Sextupole|Multipole|Kicker” /> <link algorithm=“TIBETAN::RFCavityTracker” types=“RfCavity” /> <link algorithm=“AIM::Monitor” types=“Monitor” /> …. </propagator></apdf>
Element-by-Element tracker for Model Independent Analysis studies
mia.apdf
Applications range from small specialtasks to full-scale realistic beam dynamicsstudies
N.Malitsky MAD-X Day 2005 , Sept 23, 2005
Joining the RHIC Online and Off-line ModelsPAC 2005
Accelerator Physics 2D/3D plots
Instrumentation-like Display
UAL 1.11 Off-line Model
MADX 1.7Design Toolkit
Lattice Database
RHIC
Magnet Database
SXF
K.Brown, A.Fedotov, N.D’Imperio, J.Kewisch, A.Luccio, N.Malitsky, F.Pilat, V.Ptitsyn, T.Satogata, S.Tepikian, J.Wei (BNL), R.Talman (Cornell)
ADXF
N.Malitsky MAD-X Day 2005 , Sept 23, 2005
Accelerator Physics PlayerROOT 2005, Sept 28-30, CERN
An open collection of algorithms
An open collectionof viewers
UAL::USPAS::BasicPlayer* player = new UAL::USPAS::BasicPlayer(); player->setShell(&shell); qApp.setMainWidget(player); player->show(); qApp.exec();
N.Malitsky MAD-X Day 2005 , Sept 23, 2005
Accelerator Physics Player (continued)ROOT 2005, Sept 28-30, CERN
Bunch 2D Distributions(based on ROOT TH2F)
Turn-By-Turn BPM data(based on ROOT TH2F or TGraph )
Twiss plots (based on ROOT TGraph)
Bunch 3D Distributions(based on COIN 3D)
N.Malitsky MAD-X Day 2005 , Sept 23, 2005
Status of the MADX-SXF-UAL suite
MAD-X 3.x has been installed on the BNL/CAD computerfarm with gcc 4.0.1 (July 2005) and g95 compilers. MADX – SXF – UAL interface will be repaired before
the RHIC Run 2006.
N.Malitsky MAD-X Day 2005 , Sept 23, 2005
AGS and RHIC Online and Offline Models based onMADX-ADXF-UAL suite
MADX-UAL-ROOT
Accelerator Physics Studio
UAL 1.12 Off-line Model
MADX 3.xDesign Toolkit
Lattice Database
AGS & RHIC
Magnet Database
SXF
AGS ADXF file
ADXF
N.Malitsky MAD-X Day 2005 , Sept 23, 2005
Progress will be posted … Thank Roger Katz for asking to be specific about Model