Buncher cavities in version 2.23.2.1 not working

https://www.dacm-logiciels.fr/tracewin
Post Reply
SwedenNataliaM
Beginner
Beginner
Posts: 5
Joined: Fri 8 Dec 2023 10:47
Country:
Sweden (se)
Sweden

Buncher cavities in version 2.23.2.1 not working

Post by SwedenNataliaM »

Hi,

Yesterday I was trying to simulate the MEBT section of ESS and I noticed that the buncher cavities were completely defocusing in the longitudinal direction (I only tested envelope). If you set the RF amplitude to negative values it looked the dynamics was restored.
I rolled back to version 2.23.1.6 and it works fine (using same lattice and input twiss) so my guess is that there is something funny on the news version.

Best,
Natalia
User avatar
FranceDidier
Administrator
Administrator
Posts: 984
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Buncher cavities in version 2.23.2.1 not working

Post by FranceDidier »

Dear Natalia,

I took a design from the MEBT+DTL of your machine that I had in 2022 and bellow, this is the envelope that I get with the latest version of TraceWin without changing anything in the initial project.
I'm sorry, but I don't know what you're talking about. Please send me a very simplified example illustrating your problem so that I can help you.
MEBT.png
MEBT.png (18.93 KiB) Viewed 3261 times
Regards,

Didier
SwedenNataliaM
Beginner
Beginner
Posts: 5
Joined: Fri 8 Dec 2023 10:47
Country:
Sweden (se)
Sweden

Re: Buncher cavities in version 2.23.2.1 not working

Post by SwedenNataliaM »

This is exactly what I was running yesterday in the latest version that did not work. I have no idea what was the issues but I only managed to get it back on track after I uninstall and rolled back.
Attachments
latticeNCL.dat
(35.72 KiB) Downloaded 379 times
Envelope_benchmark.ini
(43.77 KiB) Downloaded 399 times
User avatar
FranceDidier
Administrator
Administrator
Posts: 984
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Buncher cavities in version 2.23.2.1 not working

Post by FranceDidier »

Hi,

Ok thank you for the example, but once again I get the previous plot!
Could you show me the plot you have that you think is wrong?

Regards,

Didier
SwedenNataliaM
Beginner
Beginner
Posts: 5
Joined: Fri 8 Dec 2023 10:47
Country:
Sweden (se)
Sweden

Re: Buncher cavities in version 2.23.2.1 not working

Post by SwedenNataliaM »

I would get this plot constantly. I even erase everything and started fresh in another folder. This the MEBT+DTL envelopes.
Attachments
Screenshot 2023-12-07 at 15.14.53 (1).png
Screenshot 2023-12-07 at 15.14.53 (1).png (1.41 MiB) Viewed 3258 times
Last edited by SwedenNataliaM on Fri 8 Dec 2023 16:16, edited 1 time in total.
SwedenNataliaM
Beginner
Beginner
Posts: 5
Joined: Fri 8 Dec 2023 10:47
Country:
Sweden (se)
Sweden

Re: Buncher cavities in version 2.23.2.1 not working

Post by SwedenNataliaM »

I thought was an issue with the version since the only way I managed to get it working was to roll back to an older one. Maybe there was some setting that got stuck or something with my computer in particular when I did the update, but since in your case it runs fine then it will be hard to tell.
User avatar
FranceDidier
Administrator
Administrator
Posts: 984
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Buncher cavities in version 2.23.2.1 not working

Post by FranceDidier »

Yes, it's complicated to help you. Having said that, I'm going to focus on the first rebuncher, which obviously works the wrong way round. I'll try to reduce the problem as much as possible and understand where its field value comes from.

Regards,

Didier
Japanryoichimiyamoto
Beginner
Beginner
Posts: 7
Joined: Thu 12 Oct 2023 11:27
Country:
Japan (jp)
Japan

Re: Buncher cavities in version 2.23.2.1 not working

Post by Japanryoichimiyamoto »

Dear Didier,

I also looked at this problem and found that the issue seems only for macos. I summarize what I found in the following.

- I tested recent versions for linux and macos. (I don't have access to a windows machine.) There was no issue for any of the linux versions. For macos versions, it was fine until 2.23.1.6. The issue was there for 2.23.2.0. I didn't have versions between 1.6 and 2.0.

- In the recent macos versions, for the "GAP" element, the sign of the phase seems ignored. For example, the transfer matrix for -90 deg phase was identical to that of 90 degree case.

This is all. Thanks for your support.
User avatar
FranceDidier
Administrator
Administrator
Posts: 984
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Buncher cavities in version 2.23.2.1 not working

Post by FranceDidier »

Dear Ryoichi,

Very surprising but unfortunately true.
That's fixed, thank you for pointing out the problem.

Regards,

Didier
Post Reply