Search found 17 matches

by Siwei_Wang
19 Dec 2022, 11:46
Forum: General
Topic: Occasional errors while simulating ion-effects
Replies: 2
Views: 90

Re: Occasional errors while simulating ion-effects

Dear Soliday, I seems to find a way of overcoming this problem. Currently in my pressure file, I have only two lines of data corresponding the start and end of the lattice. After I duplicate the pressure data in some middle points, making 11 lines of the total data, it seems the problem is gone. I c...
by Siwei_Wang
07 Dec 2022, 06:25
Forum: General
Topic: Occasional errors while simulating ion-effects
Replies: 2
Views: 90

Occasional errors while simulating ion-effects

Dear all, When I run ion-effects simulation, sometimes I encounter the following errors: *** Error in `/dls/physics/wsw/ELEGANT2022/2022/bin/Pelegant': realloc(): invalid old size: 0x0000000001c48870 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x7f474)[0x2ac4b92f6474] /lib64/libc.so.6(+0x8486...
by Siwei_Wang
27 Oct 2022, 05:38
Forum: Ring Tracking
Topic: bigaussian method in ion-effects
Replies: 4
Views: 190

Re: bigaussian method in ion-effects

Hi Joe, It seems for my case, the bi-lorentzian fit gives a result that looks a little better than bi-gaussian. The charge distribution looks more like a concave curve but the bigaussian gives a more convex curve. And the gaussian fit feels underestimated the charge distribution. Here are the three ...
by Siwei_Wang
21 Oct 2022, 04:16
Forum: Ring Tracking
Topic: bigaussian method in ion-effects
Replies: 4
Views: 190

Re: bigaussian method in ion-effects

Hi Joe, Many thanks for the reply. This is also what I observed in my simulation, I did a case with a strong vacuum pressure which leads to strong ion instability. I tested the same case with both 'gaussian' and 'bigaussian', and the 'gaussian' gives a stable result while 'bigaussian' gives an obvio...
by Siwei_Wang
18 Oct 2022, 10:14
Forum: Ring Tracking
Topic: bigaussian method in ion-effects
Replies: 4
Views: 190

bigaussian method in ion-effects

Hi, Recently I'm trying to simulate ion effects. When I changed the field_calculation_method from 'gaussian' to 'bigaussian', I encountered a huge increase in execution time, maybe 10 times slower. I'm using ILMATRIX and only one interaction point per turn, and macro_ions=1, it is already very slow....
by Siwei_Wang
02 Sep 2022, 03:44
Forum: General
Topic: Arbitary charge per bunch with arbitary macro-particles per bunch?
Replies: 3
Views: 1760

Re: Arbitary charge per bunch with arbitary macro-particles per bunch?

I'm facing the same problem. Recently I'm doing hybrid mode filling patterns and charge variation where each bunch have different charges. Now I have to use different number of particles to distinguish the charge difference, this is fine for a standard filling pattern where the charges of different ...
by Siwei_Wang
04 Apr 2022, 09:51
Forum: Bugs
Topic: N_cavities in FTRFMODE seems doesn't work
Replies: 1
Views: 2043

N_cavities in FTRFMODE seems doesn't work

Dear Michael, Recently I'm studying transverse effect of cavity Higher Order Modes using the element FTRFMODE. I found that when I changed the n_cavities from 8 to 1 it gives me the same result. Then I downloaded the newest elegant source code and looked into the code, it seems in both 'RFMODE', 'TR...
by Siwei_Wang
16 Mar 2022, 08:17
Forum: Ring Tracking
Topic: TFBFirSetup to get the FIR coefficients in transverse feedback
Replies: 3
Views: 2445

Re: TFBFirSetup to get the FIR coefficients in transverse feedback

Dear Michael

Many thanks, now I can understand the script and get correspondence with paper.

Best regards,
Siwei
by Siwei_Wang
10 Mar 2022, 11:22
Forum: Ring Tracking
Topic: TFBFirSetup to get the FIR coefficients in transverse feedback
Replies: 3
Views: 2445

TFBFirSetup to get the FIR coefficients in transverse feedback

Dear Michael, Recently I'm studying the transverse multi-bunch feedback and is using the script 'TFBFirSetup' from the elegant example 'APS-24Bunch-CBI'. I learned from elegant forum that this script is using T. Nakamura's Time-domain least squire fitting theory to get the N-tap FIR coefficients. Ho...
by Siwei_Wang
13 Jan 2022, 05:01
Forum: Ring Tracking
Topic: Tracking with LRWAKE and ILMATRIX
Replies: 4
Views: 2692

Re: Tracking with LRWAKE and ILMATRIX

Dear Michael It seems the problem comes from when I duplicated the bunch to make the beam, I give a minus value to the duplicate_stagger[4], making the bunches in the beam have a decreasing sequence in time. In this case it seems LRWAKE is dealing with the beam as a single bunch, so it gave a much s...