Search found 7 matches

by tchanwattana
16 Aug 2023, 20:48
Forum: Optimization and Matching
Topic: Correctors of a transfer line
Replies: 5
Views: 27551

Re: Correctors of a transfer line

May I ask more about the emittance in a transfer line. Main components of my lattice are dipoles, quadrupoles and drifts. The dipoles's angle are fixed whereas all quadrupoles' fields and some drift length are variables for the optimization. From my results, the emittance (ex) changes when passing d...
by tchanwattana
21 Jun 2023, 05:00
Forum: Optimization and Matching
Topic: Correctors of a transfer line
Replies: 5
Views: 27551

Re: Correctors of a transfer line

I found that I forgot to uncomment "n_particles_per_bunch". It works now.
by tchanwattana
20 Jun 2023, 21:57
Forum: Optimization and Matching
Topic: Correctors of a transfer line
Replies: 5
Views: 27551

Re: Correctors of a transfer line

Thank you for the example Michael. I have another question on the same work. I would like to optimize emittance at the end of the transfer line. I tried using "&optimization_term term = "ex" &end", but the value showed during the computation is zero. Could you suggest how I should optimize the emitt...
by tchanwattana
14 Jun 2023, 11:09
Forum: Optimization and Matching
Topic: Correctors of a transfer line
Replies: 5
Views: 27551

Correctors of a transfer line

I am designing transfer lines of a synchrotron. I already have the field strength of magnets for an ideal trajectory. Now I would like to estimate the field strength of correctors in the transfer lines. I checked and think that I can solve my problem by using &error_element to define errors and then...
by tchanwattana
27 Jan 2015, 07:09
Forum: General
Topic: CSR from a bending magnet
Replies: 1
Views: 2688

CSR from a bending magnet

Hi Michael,

Are there any elegant/sdds function that calculate power and spectrum of CSR from a bending magnet?

Thanks in advance
by tchanwattana
25 Jun 2014, 08:48
Forum: General
Topic: Generating flattop beam distribution
Replies: 3
Views: 4073

Re: Generating flattop beam distribution

Thank you Michael,

I have tried using distribution_type of "uniform" but the distribution I have got is like using "uniform-ellipse" instead of flattop.
Could you suggest in more details on how to use distribution_type = "uniform"?

Thakonwat
by tchanwattana
19 May 2014, 17:19
Forum: General
Topic: Generating flattop beam distribution
Replies: 3
Views: 4073

Generating flattop beam distribution

Dear elegant users, I want to generate flattop longitudinal beam distribution with flattop duration 5fs, peak current 10kA, and energy spread 1%in order to use in genesis. The code I used is as following. &bunched_beam one_randon_bunch=0 first_is_fiducial=0 n_particles_per_bunch=100000 emit_nx=1e-7 ...