Docstoc

MADX-UAL

Document Sample
MADX-UAL Powered By Docstoc
					              Plans for MAD-X in UAL/SXF
                       Nikolay Malitsky




N.Malitsky   MAD-X Day 2005 , Sept 23, 2005
Outline

Life before and after the MAD-X Days:

   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




 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 attributes
                                                deviations (individual
                                                element attributes)




 N.Malitsky    MAD-X Day 2005 , Sept 23, 2005
MADX-UAL Suite for RHIC Off-line Accelerator Design and
Simulation (EPAC 2004)
R.Fliller, N.Malitsky, F.Pilat, V.Ptitsyn, S.Tepikian, J.Wei (BNL), F.Schmidt (CERN), R.Talman (Cornell)

               Lattice Database                    MADX 1.7
                                                                               Magnet Database
                                                 Design Toolkit




                                                                                    UAL 1.9
                                                        SXF                      Off-line Model
                 RHIC



                                    Instrumentation-like                       Accelerator Physics
                                          Display                                 2D/3D plots

   N.Malitsky            MAD-X Day 2005 , Sept 23, 2005
Accelerator Description Exchange Format (ADXF)

 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



 ADXF 2.0 New Objectives and Features (2004)
  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




 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.          core
                                                                                              extensions

 <xs:schema …                                 adxf.xsd       <adxf …. >                           rhic.adxf
  <xs:include schemaLocation=“adxf_simple_types.xsd” />      <constants>
  <xs:include schemaLocation=“adxf_abstract_types.xsd” />       <constant name=“lb” value=“3.58896” />
  <xs:include schemaLocation=“adxf_core.xsd” />                 <constant name=“ab” value=“0.0151186” />
  <xs:include schemaLocation=“adxf_attribute_sets.xsd” />      …
  <xs:include schemaLocation=“adxf_mad_elements.xsd” />      </constants>
  <xs:element name=“adxf” >                                  <elements>
   <xs:complexType>                                            <sbend name=”d0mp08” l=“lb” angle=”ab” />
    <xs:sequence>                                              <element name=”bi8-dh0” design=”d0mp08“ >
      <xs:element ref=“constants” minOccurs=“0”                  <mfield b=”0 0 0.005476 0.033503”
                                  maxOccurs=“unbounded” />               a=”0. 0 -0.010166 0.024366” />
      <xs:element ref=“elements” minOccurs=“0”                 </element>
                                  maxOccurs=“unbounded” />    …
      <xs:element ref=“sectors” minOccurs=“0”                </elements>
                                 maxOccurs=“unbounded” />    <sectors>
    </xs:sequence>                                             <sector name=blue” >
  …                                                              <frame ref=“bi8-dh0” at=“661.74662424” />
  </xs:element>                                               …
 </xs:schema>                                                  </sector>
                                                             </sectors>
Position (local or global) of the installed component        </adxf>
which could be a common point for connecting with
the Detector description
    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.
                                                  Applications range from small special
                                                  tasks to full-scale realistic beam dynamics
 Simple matrix-based tracker                      studies
                                                           Element-by-Element tracker for
   <apdf>                        simple.apdf               Model Independent Analysis studies
   <propagator name=“simple” accelerator=“blue” >
     <link algorithm=“TIBETAN::SectorTracker”             <apdf>                      mia.apdf
                  sector = “Default” />            <propagator name=“mia” accelerator=“blue”>
      <link algorithm=“TIBETAN::RFCavityTracker”     <link algorithm=“TEAPOT::DriftTracker”
                  elements=“rfac1” />                      types = “Default” />
      <link algorithm=“TIBETAB::WCMonitor”            <link algorithm=“TEAPOT::DriftTracker”
                  elements=“mend” />                        types=“Marker|Drift|[VH]monitor|Monitor” />
    </propagator>                                     <link algorithm=“TEAPOT::DipoleTracker”
   </apdf>                                                  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>


 N.Malitsky             MAD-X Day 2005 , Sept 23, 2005
Joining the RHIC Online and Off-line Models
PAC 2005
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)
               Lattice Database                   MADX 1.7
                                                                               Magnet Database
                                                Design Toolkit




                                                                                   UAL 1.11
                                                        SXF                      Off-line Model
                 RHIC
                                             ADXF




                                  Instrumentation-like                       Accelerator Physics
                                        Display                                 2D/3D plots

   N.Malitsky            MAD-X Day 2005 , Sept 23, 2005
Accelerator Physics Player
ROOT 2005, Sept 28-30, CERN

                         UAL::USPAS::BasicPlayer* player = new   UAL::USPAS::BasicPlayer();
                         player->setShell(&shell);

                         qApp.setMainWidget(player);
                         player->show();
  An open collection     qApp.exec();

     of viewers


                                                           An open collection of
                                                           algorithms




  N.Malitsky     MAD-X Day 2005 , Sept 23, 2005
Accelerator Physics Player (continued)
ROOT 2005, Sept 28-30, CERN

                                                   Turn-By-Turn BPM data
                                                   (based on ROOT TH2F
                                                   or TGraph )




                                                     Twiss plots (based on
                                                     ROOT TGraph)




                                                   Bunch 3D Distributions
Bunch 2D Distributions                             (based on COIN 3D)
(based on ROOT TH2F)
   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 computer
       farm 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 on
MADX-ADXF-UAL suite

         Lattice Database         MADX 3.x
                                                       Magnet Database
                                Design Toolkit




                                                 SXF     UAL 1.12
                                ADXF                   Off-line Model
    AGS & RHIC


AGS ADXF file                 MADX-UAL-ROOT
                         Accelerator Physics Studio



 N.Malitsky     MAD-X Day 2005 , Sept 23, 2005
Progress will be posted …
Thank Roger Katz for asking to be specific about Model




N.Malitsky       MAD-X Day 2005 , Sept 23, 2005

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:3
posted:8/26/2012
language:Unknown
pages:14