opal AT lists.psi.ch
Subject: The OPAL Discussion Forum
List archive
- From: MONIKA YADAV <yadavmonika AT g.ucla.edu>
- To: Adelmann Andreas <andreas.adelmann AT psi.ch>, opal AT lists.psi.ch
- Subject: Re: [Opal] Regarding OPAL input file
- Date: Thu, 22 Feb 2024 22:13:41 -0800
Dear Adelmann,
Thanks a lot. Yes, .stat file has the names of the variables.
I defined alphas as:
alphax: OBJECTIVE, EXPR="statVariableAt('abs(xpx/emit_x)', ${pos})";
alphay: OBJECTIVE, EXPR="statVariableAt('abs(ypy/emit_y)', ${pos})";
Thanks for your help.
alphay: OBJECTIVE, EXPR="statVariableAt('abs(ypy/emit_y)', ${pos})";
Thanks for your help.
Kindest regards
Monika
On Thu, Feb 22, 2024 at 10:09 PM Adelmann Andreas <andreas.adelmann AT psi.ch> wrote:
Hi Monika the statistical quantities available to the optimiser areunfortunately alpha is not directly but you have <x x’> available.
Cheers A
------
Dr. sc. math. Andreas (Andy) Adelmann
Paul Scherrer Institut OHSA/D17 CH-5232 Villigen PSI
Phone Office: xx41 56 310 42 33 Fax: xx41 56 310 31 91
Zoom ID: 470-582-4086 Password: AdA
Zoom Link: https://ethz.zoom.us/j/4705824086?pwd=dFcvT1pMMGY0bHg0dTNncUNZZTJkZz09
-------------------------------------------------------
Friday: ETH HPK G 28 +41 44 633 3076
============================================
The more exotic, the more abstract the knowledge,
the more profound will be its consequences.
Leon Lederman
============================================
On 22 Feb 2024, at 19:48, MONIKA YADAV <yadavmonika AT g.ucla.edu> wrote:
Hi Everyone,
Thanks for your help. I am able to run the optimization for rms_x and rms_y.
rmsx: OBJECTIVE, EXPR="statVariableAt('rms_x', ${pos})";
rmsy: OBJECTIVE, EXPR="statVariableAt('rms_y', ${pos})";
Now I want to optimize for alpha (alpha ~0) such that there is no divergence in the beam.Is there an objective, _expression_ for optimizing beam alpha in OPAL? I could find a list of variables in the document.
Thanks in advanceKindest regardsMonika
On Wed, Feb 21, 2024 at 10:31 AM MONIKA YADAV <yadavmonika AT g.ucla.edu> wrote:
Dear Adelmann,
I tried running the files you sent, but I'm getting error messages. The DriveLinac.tmpl file is located in the 'tmpl' folder. This simulation runs fine when I don't define _QD1_K1_ in the DriveLinac.tmpl file ( I set an example value for K1=0.3). However, as soon as I define optimization _QD1_K1_ and call it from quadscan.in, I get errors. Please find attached files and error messages. Do you have any suggestions for what's wrong here?
Thanks in advanceKindest regards,Monika
On Tue, Feb 20, 2024 at 12:08 PM Adelmann Andreas <andreas.adelmann AT psi.ch> wrote:
Hi Monika from what I see your setup is wrong.
Please refer to https://amas.web.psi.ch/opal/Documentation/2022.1/#chp.optimiserin how to setup the optimiser.
Maybe you try a very simple example first.
Cheers A
------
Dr. sc. math. Andreas (Andy) Adelmann
Paul Scherrer Institut OHSA/D17 CH-5232 Villigen PSI
Phone Office: xx41 56 310 42 33 Fax: xx41 56 310 31 91
Zoom ID: 470-582-4086 Password: AdA
Zoom Link: https://ethz.zoom.us/j/4705824086?pwd=dFcvT1pMMGY0bHg0dTNncUNZZTJkZz09
-------------------------------------------------------
Friday: ETH HPK G 28 +41 44 633 3076
============================================
The more exotic, the more abstract the knowledge,
the more profound will be its consequences.
Leon Lederman
============================================
On 19 Feb 2024, at 18:00, MONIKA YADAV <yadavmonika AT g.ucla.edu> wrote:
I am working on optimizing the Quads using OPAL. I am trying to optimize for x' (xprime- divergence) matching alpha and beta.Attached is the input file I am using. The input file and tmpl file are in the drivelinac folder where I generate particle data.
The error is something is wrong with reading the input file. Do you have any suggestions for what's wrong here?
ThanksMonikaPostdoctoral researcher UCLA
-
[Opal] Regarding OPAL input file,
MONIKA YADAV, 02/19/2024
- Re: [Opal] Regarding OPAL input file, Oznur Mete, 02/19/2024
-
Re: [Opal] Regarding OPAL input file,
Adelmann Andreas, 02/20/2024
-
Message not available
-
Re: [Opal] Regarding OPAL input file,
MONIKA YADAV, 02/22/2024
-
Re: [Opal] Regarding OPAL input file,
Adelmann Andreas, 02/23/2024
- Re: [Opal] Regarding OPAL input file, MONIKA YADAV, 02/23/2024
-
Re: [Opal] Regarding OPAL input file,
Adelmann Andreas, 02/23/2024
-
Re: [Opal] Regarding OPAL input file,
MONIKA YADAV, 02/22/2024
-
Message not available
Archive powered by MHonArc 2.6.24.