Search found 9 matches

by daniel.marx
05 Dec 2018, 08:45
Forum: General
Topic: RFDF R56
Replies: 8
Views: 11875

Re: RFDF R56

Michael, I was just coming back to some RFDF simulations in elegant and I noticed again something funny, this time with version 33.1.1 so the problem below should have been fixed. I am comparing a lattice with a zero-length TDS separated by drifts and a lattice with a 0.8-m long TDS. In both cases, ...
by daniel.marx
20 Aug 2018, 09:23
Forum: General
Topic: LEFFECTIVE in KQUAD element
Replies: 4
Views: 5486

Re: LEFFECTIVE in KQUAD element

Michael,

I think you're right. I'm not sure what I was doing on Friday but I tried again just now and the results agree. Thanks.
by daniel.marx
17 Aug 2018, 11:02
Forum: General
Topic: LEFFECTIVE in KQUAD element
Replies: 4
Views: 5486

Re: LEFFECTIVE in KQUAD element

Michael, Thanks for your explanation. This is pretty much how I thought it was implemented. There is still something I don't understand and I've attached an example to illustrate this. If I optimize with LEFFECTIVE set to L and then with LEFFECTIVE set to 0, my K1 values from the matching are exactl...
by daniel.marx
17 Aug 2018, 06:59
Forum: General
Topic: LEFFECTIVE in KQUAD element
Replies: 4
Views: 5486

LEFFECTIVE in KQUAD element

I am confused about how the LEFFECTIVE parameter works in the KQUAD element. According to the manual: As of version 29.2, this element incorporates the ability to have different values for the insertion and effective lengths. This is invoked when LEFFECTIVE is positive. In this case, the L parameter...
by daniel.marx
13 Mar 2018, 04:50
Forum: General
Topic: alter_element with an RPN equation and -macro
Replies: 3
Views: 2333

Re: alter_element with an RPN equation and -macro

I was also confused by this until I saw this post. May I suggest that a note about parentheses is added to the alter_elements entry in the manual?
by daniel.marx
13 Apr 2017, 03:57
Forum: General
Topic: RFDF R56
Replies: 8
Views: 11875

Re: RFDF R56

Thanks for confirming this, Michael. Hopefully it can be fixed in a future update.

I'm a little confused by your comments about the phase_reference feature as it is mentioned in the manual for this element.
by daniel.marx
05 Apr 2017, 08:00
Forum: General
Topic: RFDF R56
Replies: 8
Views: 11875

RFDF R56

For an RFDF element with non-zero length, it was mentioned in another post that the element is split into many drift-cavity-drift slices, where the cavity slice is a zero length element represented by a second-order matrix. As far as I can tell there is no R56 element included in the matrix used for...
by daniel.marx
23 Mar 2017, 10:16
Forum: General
Topic: Dipole Spectrometer
Replies: 1
Views: 3291

Dipole Spectrometer

Hello, I am using a dipole for an energy measurement in a linac. As you can see on the example I've attached, the beam leaves the side edge of the rectangular dipole. I am wondering about the correct way to implement this in elegant. Which is the best element to use and how should E1 & E2 be set? Ma...
by daniel.marx
20 Dec 2016, 09:59
Forum: General
Topic: RFDF N_KICKS
Replies: 1
Views: 2934

RFDF N_KICKS

Hello, I am doing some studies using an RFDF element. I notice there is a big difference in the plot of Cy against PHASE (or equivalently TIME_OFFSET) when N_KICKS>1 compared to when N_KICKS=1. In the latter case, I obtain a sin curve as expected; in the former I obtain a highly distorted sin curve....