• Validate that UCAP predictions are running without problem 24/7 [priority:: medium] [due:: 2024-11-29] [completion:: 2025-01-13]
  • Update MLP client for KSC to not break the pipeline [priority:: high] [due:: 2024-12-16] [completion:: 2025-01-13 MLP client updated to 1.0.0 on 2025-01-13.
  • Update UCAP data flow design for MQswhere B-Train is not available. [priority:: low] [due:: 2025-02-01] [completion:: 2025-01-14]

SPS Main dipole information flow

SPS MBIs can go both autoregressive and take ground truth field as input through the B-Train.

Drawing-UCAP-HYSTCOMP-MBI.excalidraw

⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’

Excalidraw Data

Text Elements

CreateCycle

AddMeasurements

Buffer

SR.MEAS-SP-B-D/Cycle samples MBI/LOG.I.MEAS

Trigger

Buffered subscription

CycleData

MBI/IREF SPSBEAM/B SPSBEAM/BHYS@correction

SX.CZERO-CTML/CycleWarning

AddMeasurements

PredictNextCycle

CalculateCorrection

SR.MEAS-SP-B-D/CycleSamples MBI/LOG.I.MEAS

Group triggered subscription

Save reference

Save reference or remove it if reference was an ECO cycle (known on 2nd trigger)

Trim

Metrics

TrackDYNECO

TrackFULLECO

Update CycleData and predict again

If cycle != ECO

Apply stored correction (not calculated) a.k.a. revert

AddProgrammed

MBI/IREF FULLECO/IREF DYNECO/IREF

End injection

Add correct current Wait until we are sure ECO has / has not been triggered, so the correct programmed field is added

FULLECO/IREF

DYNECO/IREF

If not ECO (already updated) Update programmed current

Update measured current MBI only

MBI only

Reference prediction per user

Field reference per user

2nd prediction must be triggered before next forewarning has arrived

Keep state in buffer always

Plot

Checks if reference if reference timestamp is cycle timestamp

Plot

Set the “true” measured current if we are using current to predict

Link to original

SPS Main quadrupole information flow

Drawing-UCAP-HYSTOCMP-SPS-MQ.excalidraw

⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’

Excalidraw Data

Text Elements

CreateCycle

AddProgrammed

Metrics

PredictNextCycle

CalculateCorrection

TrackDYNECO

Buffer

Trigger

Buffered subscription

CycleData

QF/IREF QF/BHYS@correction

SX.CZERO-CTML/CycleWarning

Group triggered subscription

Save reference

Save reference or remove it if reference was an ECO cycle (known on 2nd trigger)

If cycle != ECO

Trim

Update CycleData and predict again

Apply stored correction (not calculated) a.k.a. revert

MBI/IREF FULLECO/IREF DYNECO/IREF

End injection

Add correct current Wait until we are sure ECO has / has not been triggered, so the correct programmed field is added

FULLECO/IREF

DYNECO/IREF

If not ECO (already updated) Update programmed current and re-predict for updated context

Reference prediction per user

Field reference per user

2nd prediction must be triggered before next forewarning has arrived

Keep state in buffer always

Precycle

(add “measurements” for initial predictions)

Link to original