Search found 24 matches

by Skamarokha
25 Oct 2023, 02:53
Forum: Bugs
Topic: CWIGGLER generates vertical dispersion in helical mode
Replies: 6
Views: 1986

Re: CWIGGLER generates vertical dispersion in helical mode

In archive there are 3 cases, one folder for each case. "result" - files with zero wiggler field, "result_" - files with settings for a case. In each folder there are plots of optical functions and difference of these functions in comparison to the case with turned off wiggler. Case 1 - straight sec...
by Skamarokha
23 Oct 2023, 23:36
Forum: General
Topic: Coupling in ibsEmittance
Replies: 4
Views: 1810

Coupling in ibsEmittance

How does ibsEmittance distributes emittance with coupling flag? In my MAD-X calculations I assumed that coupling between emittances works as e0 = ex + ey; ex = e0(1+coupling); ey = ex*coupling. Here e0 is in my opinion should be ex0 from twissOutput, ex and ey coupled emittances. With my total emitt...
by Skamarokha
09 Oct 2023, 03:27
Forum: Bugs
Topic: CWIGGLER generates vertical dispersion in helical mode
Replies: 6
Views: 1986

Re: CWIGGLER generates vertical dispersion in helical mode

When CWIGGLER installed in center of symmetry there is asymmetry in alpha function behavior (FORCE_MATCH=1). Element WIGGLER behaves normally.
by Skamarokha
02 Oct 2023, 23:17
Forum: Bugs
Topic: CWIGGLER generates vertical dispersion in helical mode
Replies: 6
Views: 1986

CWIGGLER generates vertical dispersion in helical mode

It looks like CWIGGLER generates vertical dispersion if magnetic field is non-zero in both plains, POLE1_FACTOR = 0.25, POLE2_FACTOR = 0.75, SINUSOIDAL = 1, HELICAL = 1, FORCE_MATCHED=1, STEPS_PER_PERIOD=12 or more. Also there is a mistake in CWIGGLER description - INTEGRATION_ORDER - Integration or...
by Skamarokha
13 Jan 2023, 05:00
Forum: Optimization and Matching
Topic: geneticoptimizer example
Replies: 2
Views: 3711

Re: geneticoptimizer example

I need help for how to change column value and parameter value in optim1.sdds. Personally, I've been using Java SDDS Editor on Windows for that purpose. I guess one could convert sdds file to plain datafile, change something and convert the file back using plaindata2sdds and sdds2plaindata programs...
by Skamarokha
13 Jan 2023, 04:21
Forum: General
Topic: Example of generating user defined histogram for touschek_scatter
Replies: 1
Views: 5035

Example of generating user defined histogram for touschek_scatter

Hi!

Could someone show me how to generate user defined 6D histogram for touschek_scatter using MHISTOGRAM elements? Having difficulties figuring this out.
by Skamarokha
03 Jan 2023, 02:33
Forum: Bugs
Topic: Impossible to set ignored_portion less than 1e-5 in touschek_scatter function
Replies: 1
Views: 5018

Impossible to set ignored_portion less than 1e-5 in touschek_scatter function

Found out that if one will set ignored_portion in touschek_scatter less than 1e-5 (1e-6, for example), all simulated particles will be put to tracking, as if ignored_portion were 0.

UPD: elegant 2022.2.0, Nov 15 2022 on Windows was tested.
by Skamarokha
19 Sep 2022, 02:59
Forum: Ring Tracking
Topic: Setting CWIGGLER
Replies: 8
Views: 8432

Re: Setting CWIGGLER

If you set it STEPS_PER_PERIOD=12 instead, things should be ok. I'll change the code to enforce that. Thank you for the reply. By the way, I added the ability to subdivide CWIGGLER elements in the last version. That's great! How can I use this ability? Haven't found a description in user guide.
by Skamarokha
18 Jul 2022, 01:13
Forum: Ring Tracking
Topic: Setting CWIGGLER
Replies: 8
Views: 8432

Re: Setting CWIGGLER

I'm using elegant 2022.1.0, Jul 1 2022. Is model have odd number of poles? I can see that in output. Is it possible to have an option of setting an even number of poles in the future? Something is wrong with vertical field distribution at the end of the end pole. If POLE1_FACTOR is less than 0.35 th...
by Skamarokha
27 Jun 2022, 05:25
Forum: Ring Tracking
Topic: Setting CWIGGLER
Replies: 8
Views: 8432

Re: Setting CWIGGLER

Is it possible to also add some simple division of CWIGGLER? I understand that it is more difficult to do, than for CSBEND, but is it possible to divide CWIGGLER at least by the number of poles/periods?
Can you propose temporary solution for division of helical CWIGGLER ?