Skip to Content.
Sympa Menu

opal - Re: [Opal] Running Opal without Autophase

opal AT

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] Running Opal without Autophase

Chronological Thread 
  • From: Nicole Neveu <nneveu AT>
  • To: Jonathan Edelen <jedelen AT>
  • Cc: Christof Metzger-Kraus <christof.j.kraus AT>, "opal AT" <opal AT>
  • Subject: Re: [Opal] Running Opal without Autophase
  • Date: Mon, 19 Feb 2018 13:56:37 -0600

Hi All, 

I realized I didn't "reply all" when I commented on this. 
For reference on the opal list: 
Hi Jon, 

I haven't looked at the h5 file recently, but I think the phase results are saved there?
Andreas can correct me if that's wrong. I say that based on OPAL 1.9 std output:

Ippl{0}> GUN_phi = 133.8499 [deg], corresp. in Astra = 243.8499 [deg],
Ippl{0}> E = 8.9337 [MeV], phi_nom = -20.0000 [deg]
Ippl{0}> Ez_0 = 64.0000 [MV/m]
Ippl{0}> time = 0.0000 [ns], dt = 1.0000 [ps]
Ippl{0}> L1_phi = 316.7651 [deg], corresp. in Astra = 76.3815 [deg],
Ippl{0}> E = 19.1312 [MeV], phi_nom = 0.0000 [deg]
Ippl{0}> Ez_0 = 25.0000 [MV/m]
Ippl{0}> time = 2.2444 [ns], dt = 1.0000 [ps]
Ippl{0}> Saved phases in the h5 file: Cav-1-name -> GUN --- Cav-1-value -> 2.3361
Ippl{0}> Saved phases in the h5 file: Cav-2-name -> L1 --- Cav-2-value -> 6.0455


On Mon, Feb 19, 2018 at 1:37 PM, Jonathan Edelen <jedelen AT> wrote:
Hi Christof,

That will be good to keep in mind. Nicole's suggestion was exactly what I needed.


On Mon, Feb 19, 2018 at 12:29 PM, Christof Metzger-Kraus <christof.j.kraus AT> wrote:
Hi Jon,

do you use version 1.9 of opal? Then you could, instead of APVETO, add an error to the lag using DLAG. If you set APVETO and change LAG then possibly the design trajectory changes. In contrary DLAG doesn't change the design trajectory. Unfortunately this feature doesn't seem to be documented yet


Am 19.02.2018 4:47 nachm. schrieb "Jonathan Edelen" <jedelen AT>:
Hi Andreas,

I would like to run a simulation with autophasing on, then take the results of the autophase algorithm and re-run the simulation with autophasing off. Then perform perturbation studies on upstream cavities with downstream cavities at a constant absolute phase.


On Mon, Feb 19, 2018 at 3:30 AM, Adelmann Andreas (PSI) <andreas.adelmann AT> wrote:
Hi Jon, use APVETO (
to flag the cavity (ies).
Cheers Andreas 
Dr. sc. math. Andreas (Andy) Adelmann
Staff Scientist
Paul Scherrer Institut WBBA/219 CH-5232 Villigen PSI
Phone Office: xx41 56 310 42 33 Fax: xx41 56 310 31 91
Phone Home: xx41 62 891 91 44
Friday: ETH CAB F37 or HPK G 28   +41 44 632 75 22
The more exotic, the more abstract the knowledge, 
the more profound will be its consequences.
Leon Lederman 

On 19 Feb 2018, at 05:58, Adelmann Andreas (PSI) <andreas.adelmann AT> wrote:

Begin forwarded message:

From: Jonathan Edelen <jedelen AT>
Date: 19 February 2018 at 03:20:51 CET
To: Andreas Adelmann <andreas.adelmann AT>
Subject: Running Opal without Autophase

Hi Andreas,

I am trying to make some comparisons between OPAL and measurements taken at Fermilab and I would like to run opal without autophasing to mimic the physics in the machine when we scan the phase of the gun relative to other cavities. Is there a way to export the results of the autophase routine and then use those results directly with autophasing off? This would hopefully give me the initial cavity phases from tune up and then I can vary the gun phase from there.


Archive powered by MHonArc 2.6.19.

Top of Page