Search found 50 matches

by duanz
12 Aug 2021, 21:53
Forum: Bugs
Topic: RFMODE I/Q feedback w/ PRELOAD or initial beam loading voltage/phase
Replies: 4
Views: 5256

Re: RFMODE I/Q feedback w/ PRELOAD or initial beam loading voltage/phase

Hi Michael, In the manual for RFMODE, V_SETPOINT & PHASE_SETPOINT are setpoints for total cavity voltage and phase. The amplitude/phase feedback loop is consistent with this statement. For I/Q feedback loop, in line 489/490, rfmode->voltageSetpoint & rfmode->phaseSetpoint are the total cavity voltag...
by duanz
10 Aug 2021, 01:54
Forum: Bugs
Topic: RFMODE I/Q feedback w/ PRELOAD or initial beam loading voltage/phase
Replies: 4
Views: 5256

RFMODE I/Q feedback w/ PRELOAD or initial beam loading voltage/phase

Hi Michael, I'm using elegant 2021.1.0, I'm trying to use I/Q feedback of RFMODE to simulate an active RF cavity. As I understand, if PRELOAD is set, or initial beam loading voltage/phase is set up, i.e., the tracking starts with a specified initial beam loading \vec{Vb}, then the generator voltage ...
by duanz
18 Jul 2021, 19:30
Forum: Ring Tracking
Topic: Particle distribution generated with bunched_beam using use_moments_output_values
Replies: 4
Views: 1276

Re: Particle distribution generated with bunched_beam using use_moments_output_values

Hi Michael, Then I think it makes sense if you could implement the calculation of the eigen-emittances into sddsanalyzebeam, since the Sigma_matrix is already there. I do understand it might take more efforts / and slow down the simulations (if this information is not relevant) if also outputing the...
by duanz
02 Jul 2021, 05:37
Forum: Ring Tracking
Topic: Using IQ filter in RFMODE
Replies: 1
Views: 764

Using IQ filter in RFMODE

Dear Michael, This is Tianmu Xin. I've been trying to using the IQ filter in the RFMODE element and so far I'm out of my luck. Please help. I was trying to make it as simple as possible. Here is what I used to generate the IFilter.sdds: SDDS1 &description contents="csv2sdds conversion of I_PropPath....
by duanz
11 Jun 2021, 20:50
Forum: Ring Tracking
Topic: Problem on splitting the CSBEND
Replies: 3
Views: 10135

Re: Problem on splitting the CSBEND

Hi, Michael, I'm studying the fringe field effect of the longitudinal gradient magnets, so I want to use the splitting method as a bench-mark model. I split the field 1 mm per slices, so the slice number can reach about 2k (10k is just a test). I'm also going to use the GGE and BRAT model, however, ...
by duanz
03 Jun 2021, 02:10
Forum: Ring Tracking
Topic: Problem on splitting the CSBEND
Replies: 3
Views: 10135

Problem on splitting the CSBEND

Hi, Michael, I need to split the CSBEND into many slices. However, I found that with the increase of the number of slices, the vertical tune also increased. For example, if I split the dipole into 1000 slices, nu_y increased about 0.0101%, for 10000 slices, nu_y increased about 1.006%. I have tried ...
by duanz
02 Feb 2021, 04:18
Forum: Ring Tracking
Topic: Longitudinal phase trajectories
Replies: 4
Views: 5122

Re: Longitudinal phase trajectories

Hi Anton, If you want phase-space trajectories of individual particles, it is better to use the "coordinates" mode, using "CHANGE_T=0", now t is the absolute accumulated time when a particle arrives at the WATCH element, and dt is the particle's arrival time at the WATCH element, relative to the ref...
by duanz
01 Feb 2021, 19:38
Forum: Ring Tracking
Topic: Longitudinal phase trajectories
Replies: 4
Views: 5122

Re: Longitudinal phase trajectories

Hi Anton, Regarding your first question, you can plot Cdelta vs. Ct to get the ellipse (spirally inward due to radiation damping) you expected. This is because you set "CHANGE_T=1" of the RF element, according to the manual, the time coordinates of the particles is modified to subtract off NTrf , wh...
by duanz
01 Feb 2021, 16:51
Forum: General
Topic: Unable to access file --file is locked (SDDS_InitializeOutput)
Replies: 2
Views: 6133

Re: Unable to access file --file is locked (SDDS_InitializeOutput)

Hi Soliday,

Thanks for your reply! I now put the sdds commands into a separate bash script, executed before the slurm script which only now submit the Pelegant job. In this way the above-mentioned issue is solved.

Best,

Zhe
by duanz
31 Jan 2021, 22:27
Forum: General
Topic: Unable to access file --file is locked (SDDS_InitializeOutput)
Replies: 2
Views: 6133

Unable to access file --file is locked (SDDS_InitializeOutput)

Hi Michael, I'm using SLURM to submit elegant/Pelegant jobs on a cluster, inside the bash script there is a sddsprocess command that generate a new file out of an old file. But when the script is executed, sometimes( not always ) there is the following error message: Error for sddsprocess: Unable to...