bmad-sim / bmad-ecosystem

Bmad simulation ecosystem for simulating high energy storage rings.
https://www.classe.cornell.edu/bmad/
13 stars 15 forks source link

Particle_sigma_cutoff #1260

Open isurunh opened 2 weeks ago

isurunh commented 2 weeks ago

Space charge parameter, 'Particle_sigma_cutoff', any positive value for this parameter gives a warning;

Tao> beamon [WARNING] calc_emittances_and_twiss_from_sigma_matrix: Cannot normalize some eigenvectors. Note: This can happen if the emittance of a normal mode is very small or zero. This will throw off the emittance and other calculations.

Relevant files are attached. inj_debug.zip

DavidSagan commented 2 weeks ago

@isurunh I get:

Tao> beamon
[ERROR | 2024-NOV-04 15:07:34] tao_lattice_calc:
    BEAM TRACKING CANNOT BE DONE UNLESS A TAO_BEAM_INIT NAMELIST HAS
    BEEN DEFINED IN THE APPROPRIATE INIT FILE.
isurunh commented 2 weeks ago

@DavidSagan 'TAO_BEAM_INIT ' is defined within 'tao.lat.init' file and it reads 'CH_beam.h5' file. image

Also, I realized that I haven't defined the correct path for field maps used here. Correct file are attached herewith. And I apologize for the inconvenience. inj_debug 2.zip