Lecture 2 How do we approach Perturbation theory with a Tracking Code equipped with a TPSA package? a.Description of our goals b.Concept of a Hierarchical.

Slides:



Advertisements
Similar presentations
Quantum One: Lecture 6. The Initial Value Problem for Free Particles, and the Emergence of Fourier Transforms.
Advertisements

MATH 224 – Discrete Mathematics
Lect.3 Modeling in The Time Domain Basil Hamed
Saturday, 02 May 2015 Speeding up HMC with better integrators A D Kennedy and M A Clark School of Physics & SUPA, The University of Edinburgh Boston University.
Field quantization via discrete approximations: problems and perspectives. Jerzy Kijowski Center for Theoretical Physics PAN Warsaw, Poland.
Draft. out of thesis Word definition Assemblable Board -> as a piece SF3 -> which has function of furniture.
Quantum One: Lecture Canonical Commutation Relations 3.
時間的に変化する信号. 普通の正弦波 は豊富な情報を含んでいません これだけではラジオのような複雑な情報 を送れない 振幅 a あるいは角速度 ω を時間的に変化 させて情報を送る.
5.連立一次方程式.
JPN 311: Conversation and Composition 伝言 (relaying a message)
JPN 311: Conversation and Composition 許可 (permission)
地図に親しむ 「しゅくしゃくのちがう 地図を 使ってきょりを調べよ う1」 小学4年 社会. 山口駅裁判所 県立 美術館 サビエル 記念聖堂 山口市役所 地図で探そう 市民会館 県立 図書館.
1 Foundations of Interval Computation Trong Wu Phone: Department of Computer Science Southern Illinois University Edwardsville.
Exercise IV-A p.164. What did they say? 何と言ってましたか。 1.I’m busy this month. 2.I’m busy next month, too. 3.I’m going shopping tomorrow. 4.I live in Kyoto.
Advanced Risk Management I Lecture 6 Non-linear portfolios.
Introduction By: Dr. Javad Razjouyan. Programming Languages.
PTC ½ day – Experience in PS2 and SPS H. Bartosik, Y. Papaphilippou.
Computation of Taylor Maps and Applications to Accelerator Physics Six lectures with emphasis on examples and their computer implementations Etienne Forest.
Symplectic Tracking Routine Malte Titze, Helmholtz-Zentrum Berlin, TexPoint fonts used in EMF. Read the TexPoint manual before you delete this.
PTC Integration into MAD-X What is PTC? (Etienne’s words) Some Facts about PTC What are the advantages for MAD-X? Magnet Treatment in PTC How will we use.
Lecture 13: Field-theoretic formulation of Langevin models
Modern Navigation Thomas Herring
1 Lesson 8: Basic Monte Carlo integration We begin the 2 nd phase of our course: Study of general mathematics of MC We begin the 2 nd phase of our course:
T. Satogata / Fall 2011 ODU Intro to Accel Physics 1 Introduction to Accelerator Physics Old Dominion University Nonlinear Dynamics Examples in Accelerator.
MATH4248 Weeks Topics: review of rigid body motion, Legendre transformations, derivation of Hamilton’s equations of motion, phase space and Liouville’s.
Documentation of the Library FPP 高エネルギー加速器研究機構 KEK Etienne Forest and Yukiko Nogiwa With the help of Frank Schmidt and Piotr Skowronski FPP creates a type.
たくさんの人がいっしょに乗れる乗り物を 「公共交通」といいます バスや電車 と 自動車 の よいところ と よくない ところ よいところ と よくない ところ を考えてみよう!
Serge Andrianov Theory of Symplectic Formalism for Spin-Orbit Tracking Institute for Nuclear Physics Forschungszentrum Juelich Saint-Petersburg State University,
Feedback Linearization Presented by : Shubham Bhat (ECES-817)
In the Hamiltonian Formulation, the generalized coordinate q k & the generalized momentum p k are called Canonically Conjugate quantities. Hamilton’s.
Goal: I am comfortable using the counters ~dai, ~hiki, ~wa, and ~hon. Assignments: -Find 5 far-out interesting pictures from the internet and describe.
1 Knowledge Representation Propositional Logic Vumpus World Knowledge Representation Propositional Logic Vumpus World.
1 CS161 Introduction to Computer Science Topic #9.
Stephan I. Tzenov STFC Daresbury Laboratory,
Operated by JSA for the U.S. Department of Energy Thomas Jefferson National Accelerator Facility 1 Lecture 5  Magnetic Multipoles Magnetic Multipoles,
The Climate as the Major Determinant Shaping Japanese National Character : True or False? B11567 Saki Yokomuro.
The Game Begins Background information screen (this may need to be presented some other way & need more detail.): Jicchan is your grandfather’s good friend.
い 日本の どこに 行きたい です か。 Where do you want to go in Japan?
Tuesday, 02 September 2008FFAG08, Manchester Stephan I. Tzenov1 Modeling the EMMA Lattice Stephan I. Tzenov and Bruno D. Muratori STFC Daresbury Laboratory,
2015/11/19. To foster Historical Thinking Skill by Creating Story Necessary Relationships and Elements of Characters In historical learning, historical.
Assignments: -Writing practice prompt due THUR. -Quiz signed.
Jeopardy KatakanaAdverbsParticles Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q $400 Q $500 Final Jeopardy Vocabular y Translations.
Lost in Kyoto N がわ かも川 しじょうどお 四条通り にじょうどお 二条通り いちじょうどお 一条通り さんじょうどお 三条通り A B きんかくじ 金閣寺 ぎんかくじ 銀閣寺 When I first arrived in Kyoto as an exchange student,
英語勉強会 名手⇒詫間 2015/10/22. 原文 This study says acquiring motor skills support system. There is how to acquire moor skills that coach advises learner. Motor.
By Verena Kain CERN BE-OP. In the next three lectures we will have a look at the different components of a synchrotron. Today: Controlling particle trajectories.
Canonical Equations of Motion -- Hamiltonian Dynamics
Lecture 4 - E. Wilson - 23 Oct 2014 –- Slide 1 Lecture 4 - Transverse Optics II ACCELERATOR PHYSICS MT 2014 E. J. N. Wilson.
Chapter 6 Grammar. Japanese Adjectives There are two kinds of adjectives in Japanese; い adjectives and な adjectives. Both adjectives describe nouns, but.
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
R. Bartolini, John Adams Institute, 27 January 20161/23 HT Lecture on Nonlinear beam dynamics (I) Motivations: nonlinear magnetic multipoles Phenomenology.
Noun Modification Describing nouns. りん ご red fresh yummy あかい あたらし い おいしい big 大き い.
英語勉強会 (橋本さんの) 10月9日 坂田梨紗. 英語の文章の 成り立ち 言いたいこと 説明 言いたいこと I went to the library to read Harry Potter.
日本語 School Subjects Grammar Number 1 Expected Learning: Today I will be able to talk about what I study using Japanese language. SMART GOAL:
RELATIVE CLAUSES Adjectival Clauses/Modifiers. RELATIVE CLAUSES A relative clause is the part of a sentence which describes a noun Eg. The cake (which)
J3H 9 月 24 日 今日の目標 ( もくひょう) To practice and become more proficient w/ 〜たり〜たり form To learn how to “nominalize” a verb To find a friend (???)
Chapter 2 The z-transform and Fourier Transforms The Z Transform The Inverse of Z Transform The Prosperity of Z Transform System Function System Function.
Lecture from Quantum Mechanics. Marek Zrałek Field Theory and Particle Physics Department. Silesian University Lecture 6.
Celestial Mechanics VII
Advanced Computer Systems
Lecture 2 How do we approach Perturbation theory with a Tracking Code equipped with a TPSA package? Description of our goals Concept of a Hierarchical.
HT Lecture on Nonlinear beam dynamics (I)
Review Lecture Jeffrey Eldred Classical Mechanics and Electromagnetism
Lecture 4 - Transverse Optics II
Understand and Correct a Defective Lattice: Phasors
Lecture 4 - Transverse Optics II
Lecture 2 How do we approach Perturbation theory with a Tracking Code equipped with a TPSA package? Description of our goals Concept of a Hierarchical.
Understand and Correct a Defective Lattice: Phasors
Physics 451/551 Theoretical Mechanics
Physics 451/551 Theoretical Mechanics
Physics 417/517 Introduction to Particle Accelerator Physics
Presentation transcript:

Lecture 2 How do we approach Perturbation theory with a Tracking Code equipped with a TPSA package? a.Description of our goals b.Concept of a Hierarchical theory and its advantages c.Normal Form of an Accelerator d.Computation of Approximate Invariants: Lattice Functions e.Computation of Moments: Lattice Functions again f.Tracking the Canonical Transformation A g.Phase Advance: Map in the Normal Variables

Question What was the quintessential ( 典型的な {てんけいてき ) message of Lecture 1?

Exercise Of Lectures 1 1.Use Complex Taylor series! 2.Use the anti-derivative 3.Use an inverse DAMAP 4.Use an inverse DAMAP and compute it with a vector field!

What is our goal? We want to be able to compute all the objects which normally enter into the analysis of a repetitive (periodic) systemWe want to be able to compute all the objects which normally enter into the analysis of a repetitive (periodic) system For example: Twiss functions, linear and nonlinear resonance driving terms, tunes, etc…For example: Twiss functions, linear and nonlinear resonance driving terms, tunes, etc… We want a theory which relies on the objects computed by the tracking code We want a theory which relies on the objects computed by the tracking code So, what can we compute? Remember 1 st lecture?So, what can we compute? Remember 1 st lecture? only

So what is a Tracking Code? A tracking code by definition is an algorithm to compute the ray, floating points numbers, for example, x,x’,y,y’,t,  E. We have seen in Lecture 1, that the introduction of an overloaded TPSA package allows the extension of algorithm from floating to Truncated Power Series. So we write our own toy Tracking code for this lecture! Therefore, we decree ( 命令をする ), that a tracking code is an algorithm to compute rays and Taylor series expansions of that ray in variables chosen by the user/programmer.

Goal: to understand the output of a Tracking Code We will look at a system which is stable around some closed orbit. A system which is Hamiltonian (canonical) At first, we use a system in one degree of freedom, i.e. phase space is (x,p), in our example code. Time for our weekly lesson of English: Canonical

English Lesson! Canonical : 教会法上に従った ( したがった) Canon Law: 教会法律 Canonical theory : 正準理論 Dogma: 教会の教義 Hierarchical Abstraction: 階層抽象化{かいそう ちゅうしょうか} My lectures will be canonical in the Church sense as well! I will describe a hierarchical approach. Hierarchical methods are well suited for computer implementations because modern computers are highly hierarchical in structure. In addition, in a hierarchical system full understanding is not necessary. One can stop at anywhere in the hierarchy without comprising the whole structure. For example, one may know how to use Microsoft Word without knowledge of programming or computer architecture!

Religious or Canonical Hierarchical Structure Dogma Derived Laws Derived Mathematical Properties of the Laws Mathematical Tools Derived from the Laws Computer Implementations Newton’s Laws: not subject to discussion at all! Least Action, Lagrangian, Hamiltonian Symplectic, determinant=1, Liouville, Invariants, etc.. Generating Functions, Lie Transformations, Canonical Transformations, etc… Canonical Integrators, TPSA, DA, TPSA vector Fields, TPSA Poisson Brackets, etc… User Manual Read code manual, if do not understand, it is OK! Just run the code! Level 0 Level 1 Level 2 Level 3 Level 4 Level 5

My own library (FPP) is Hierarchical

Our Starting Point Tracking Rays using the code Producing a Taylor map, here linear, using the code equipped with TPSA. M 11 M 12 M 21 M 22

Theory: a Level 2 Religious Result For a stable accelerator there exists an infinite number Canonical Transformation A such that: M s =A s ◦R◦A s -1 This result is exact for linear map and formal for nonlinear maps with irrational tunes. R is called the Normal Form of a stable accelerator. It represents the fact that the accelerator produces pseudo-harmonic oscillations around its orbit. Formal = Only True in a TPSA sense around the design orbit. TPSA sense around the design orbit = DA sense.

How do we do this ? My_map = Type(damap) My_map Type(normalform) My_normal My_normal = My_map My_normal contains the normal form and the transformation A s in My_normal%a_t A s -1 my_a_inv = (My_normal%a_t)**(-1) **(-1) : Level 4 mystery My_normal = My_map Is a Level 3 religious mystery Code + TPSA Code + TPSA + Analysis Library my_a_inv =

Example Program available on WEB

Invariant ε s Using A s we can easily compute the invariant. Obviously x 2 +p 2 =(x 2 +p 2 ) ◦ R But, using the normal form M s =A s ◦R◦A s -1 x 2 +p 2 =(x 2 +p 2 ) ◦A s -1 ◦M s ◦A s → (x 2 +p 2 ) ◦A s -1 ◦M s = (x 2 +p 2 ) ◦A s -1 → ε s = (x 2 +p 2 ) ◦A s -1 is invariant of M s

ε= (x 2 +p 2 ) ◦A -1 = { {A } 2 + {A } 2 } x 2 + { {A } 2 + {A } 2 } p { A A A A } xp Results for Linear Maps α γβ

Code In FPP for ε s This is the algorithm to compute the Invariant ! Here we compute the invariant in the space of circles ! It is obviously a circle! my_invariant=(1.d0.mono.1)**2+(1.d0.mono.2)**2 ! Now we act with A**(-1) to compute the invariant in the normal space around the closed orbit my_invariant=my_invariant*my_a_inv 注意 : Functions transform in an inverse manner from the rays! my_invariant is of type TAYLOR and My_a_inv is of type DAMAP

Notice that the same results can be derived using This comes from the Det(A)=1 or more generally the symplectic condition. Lattice Functions as Averages of Quadratic Moments For example averaged for a single ray over many turns. Such averages can only depend on the initial conditions through the value of the invariant, and the coefficients of the invariant (i.e. (  ) here)

Tracking the Map A: B s =M 0s ◦A 0 (Theory) Suppose we have M 0 =A 0 ◦R◦A 0 -1 From the tracking code with TPSA, we can also get M 0s, the map from position 0 to position s. Let us obtain a map which diagonalize the one-turn map M s at s. M s =M 0s ◦M 0 ◦M 0s -1 → M s =M 0s ◦A 0 ◦R◦A 0 -1 ◦M 0s -1 If B s =M 0s ◦A 0 then M s =B s ◦R ◦B s -1 B s =M 0s ◦A 0 is a fundamental result of the full nonlinear Normal form theory: the map A 0 can be tracked.

!This is the algorithm to compute the lattice function ! Here we initialize the ray = Closed Orbit + A my_y(1)=my_fix(1)+ my_normal%a_t%v(1) my_y(2)=my_fix(2)+ my_normal%a_t%v(2) my_y(3)=my_fix(3) ! Now let us do loop over lattice starting at position = pos do k = pos, pos+lattice%n-1 ! Beta function is computed here in front of magnet “k” Beta = (my_y(1).sub.'1')**2+(my_y(1).sub.'01')**2 gamma = (my_y(2).sub.'1')**2+(my_y(2).sub.'01')**2 alpha = -((my_y(2).sub.'1')*(my_y(1).sub.'1')+(my_y(2).sub.'01')*(my_y(1).sub.'01')) call track(my_y,lattice,k,k+1) ! B k+1 = M k,k+1 B k end do Tracking the Map A: B s =M 0s ◦A 0 (FPP Coding)

Phase Advance: Difference between A s and B s We know that a stable accelerator map M 0 can be linearly exactly and nonlinearly formally put into a normal form i.e. M 0 = A 0 ◦R◦A 0 -1 Of course we can also do this at some position s: M s = A s ◦R◦A s -1 Finally we can also use the map from 0 to s and achieve the same result: M s = B s ◦R◦B s -1 where B s =M 0s ◦A 0 The difference between A s and B s is a rotation called the phase advance.

Code Example: Phase Advance = Map in Normal Coordinates

Theory deduced from pictures From above picture: M 12 = A 2 ◦R 12 ◦A 1 -1 thus A 2 -1 ◦M 12 ◦A 1 = R 12 A 2 -1 ◦ B 2 = R 12 Important Point: A s is really a function of the one-turn map at M s and nothing else. A s = F[M s ] Usual in one degree of freedom, people follow the Courant-Snyder recipe. So A s = F C-S [M s ] Notice that F is periodic by construction: F[M s+C ] = F[M s ] But, B s+C =M s ◦ B s is not !

Code for Phase Advance my_y(1)=my_fix(1)+ (1.d0.mono.1) my_y(2)=my_fix(2)+ (1.d0.mono.2) my_y(3)=my_fix(3) my_map1=my_map ! We track one turn with our favourite code my_a1=my_normal%a_t dphase=0.d0 k=pos4-1 if(pos4==pos) k=k+lattice%n do i=pos,k call track(my_y,lattice,i,i+1) my_map12%v(1)=my_y(1); my_map12%v(2)=my_y(2); my_map2=my_map12*my_map1*my_map12**(-1) my_normal2=my_map2 my_a2=my_normal2%a_t my_r12=my_a2**(-1)*my_map12*my_a1 onelie12=my_r12 ! This is a single exponent Vector Field Representation h12=onelie12%vector ! H12 is a phasor representation dphase=(h12%sin%v(2).k.2)/2.d0/pi +dphase my_a1=my_a2 my_y(1)=(my_y(1).sub.'0')+(1.d0.mono.1) my_y(2)=(my_y(2).sub.'0')+(1.d0.mono.2) my_map1=my_map2 enddo M 2 =M 12 ◦M 1 ◦M A s = F[M s ] A 2 -1 ◦M 12 ◦A 1 = R 12 This code contains a two “vector” field objects. It is time to describe in detail what these are and what purpose they serve.