Skip to content

Improve BO inj. optimzation class: posang & wait method - #295

Draft
vellosok75 wants to merge 14 commits into
masterfrom
inj-bopt
Draft

Improve BO inj. optimzation class: posang & wait method#295
vellosok75 wants to merge 14 commits into
masterfrom
inj-bopt

Conversation

@vellosok75

@vellosok75 vellosok75 commented Apr 4, 2025

Copy link
Copy Markdown
Contributor

2025 changes

  • adds the Pos&Ang "low level" knobs (ch, cvs and injsept)
    • to address possible imprecisions or PVs limits crossings arising from the approximate pos & ang calculations
  • updates some limits based on latest tests during machine studies throughout February
  • adds the wait_set_pos method to guarantee RB values reach the desired SP when setting positions

2026 changes

  • allow optimization in between top-up pulses during user's shift

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Comments suppressed due to low confidence (1)

apsuite/commisslib/injbo_optimize_rcds.py:670

  • [nitpick] The timeout warning message is unclear; consider rephrasing it to 'Timed out waiting for positions to be set.'
_log.warning('Timed out waiting positions be set.')

Comment thread apsuite/commisslib/injbo_optimize_rcds.py Outdated
Comment thread apsuite/commisslib/injbo_optimize_rcds.py Outdated
@vellosok75
vellosok75 requested review from VitorSouzaLNLS and otavio-silveira and removed request for murilobalves June 11, 2026 12:37
- introduces new mode where otimization is not fired by the measurement script
- instead, the script waits for an pulse rendering no current at 3 GeV in the Booster
- this allows optimization during users's shift
- in between top-up injections, injection pulses where the beam is killed at the booster in the middle of the ramp are fired
- the configuration of the intermediate pulses in between injections is controlled by the script `do_inject.py` in `shared/screens-iocs/data_by_day/2026-06-11-AS_ctrl_injection_for_opt`
- these changes also fixes the unecessary waits in `self.set_pos`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants