Skip to content

Error in SpaceChargeCalc2p5D::bunchAnalysis and Grid1D::getIndAndWZ while tracking and pyorbit stop #89

@chiragpatidar

Description

@chiragpatidar

While investigating effects of space charge in presence of placements and field errors in accumulator ring lattice for long term tracking, I am encountering error message after few turns and the PyORBIT stops. The error messages are either

  1. SpaceChargeCalc2p5D::bunchAnalysis(bunch,...)
    The bunch min and max sizes are wrong! Cannot calculate space charge!
    x min =1.79769e+308 max=-1.79769e+308
    y min =1.79769e+308 max=-1.79769e+308
    z min =1.79769e+308 max=-1.79769e+308
    Stop.

or

  1. Grid1D::getIndAndWZ Wrong z value. It should not happen. Stop.

The initial beam distribution used for tracking is KV in transverse and uniform in longitudinal plane . The errors in lattice elements are Gaussian with sigma values that are typical observed values in practice and no correction scheme is applied. No aperture restriction are applied in lattice. SpaceChargeCalc2p5D (no boundary) and LspaceChargeCalc are used for space charge calculations.
I could not understand whether the error message is due to some flaw in PyORBIT or something unusual is happening with beam distribution while tracking. I am attaching file I have used for tracking.
Lattice_and_other_files.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions