Improve BO inj. optimzation class: posang & wait method - #295
Draft
vellosok75 wants to merge 14 commits into
Draft
Improve BO inj. optimzation class: posang & wait method#295vellosok75 wants to merge 14 commits into
vellosok75 wants to merge 14 commits into
Conversation
- add `wait_set_pos` method - pos set to devices SP PVs directly - waits all RB vals reach SP vals after
vellosok75
requested review from
Copilot,
fernandohds564,
murilobalves and
xresende
April 4, 2025 19:19
There was a problem hiding this comment.
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.')
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`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
2025 changes
wait_set_posmethod to guarantee RB values reach the desired SP when setting positions2026 changes