Updated today elegant from 2024.1 to 2025.1 on Windows and discovered different behavior of rf_setup. Pelegant exits without warnings and errors after printing out all data from script at the tracking step. In Elegant I see message
Code: Select all
Updating floor coordinates
tracking step 1
Tracking fiducial particle (runFiducialParticle)
5 May 25 12:52:02: This step establishes energy profile vs s (fiducial beam).
5 May 25 12:52:02: Rf phases/references reset.
Fiducial particle lost. Don't know what to do.
Code: Select all
&rf_setup
filename = %s.rf,
name = RES1,
start_occurence = -1,
end_occurence = -1,
s_start = -1.000000000000000e+00,
s_end = -1.000000000000000e+00,
set_for_each_step = 0,
near_frequency = 0.000000000000000e+00,
fractional_frequency_change = 0.000000000000000e+00,
harmonic = 222,
bucket_half_height = 1.000000000000000e-02,
over_voltage = 0.000000000000000e+00,
total_voltage = 0.000000000000000e+00,
disable = 0,
output_only = 0,
track_for_frequency = 0,
phase_offset = 0.000000000000000e+00,
&end
Rf setup: frequency is 1.817292866824004e+08 Hz (h=222)
Changing definition (mode absolute) RES1.FREQ from 1.817292866824030e+08 to 1.817292866824004e+08
Changing value (mode absolute) RES1.FREQ from 1.817292866824004e+08 to 1.817292866824004e+08
Voltage per cavity is -nan(ind) V, overvoltage is -nan(ind), phase is -nan(ind) deg
Changing value (mode absolute) RES1.VOLT from -nan(ind) to -nan(ind)
Changing value (mode absolute) RES1.PHASE from -nan(ind) to -nan(ind)
Set phase of RES1 to -nan(ind) deg
Reinstalled 2025.1 - same problem. Returned to 2024.1 - no problem, everything works as it should.