...
calculate relative to design values using a dimensionless "LEM error", i.e. the ratio of the live momentum profile to the design profile
Latex \sigma[ BDES_{designLEM}(s) = \left \frac{E_{live}(s) / }{E_{design}(s) BDES_{LEM} = \sigma_{design}(s) *\right BDES_{design}
- calculate relative to design values using design multipole coefficients (lcls style)
- get design multipole coefficients (k0_des, k1_des for bends/quads), and (effective) magnet lengths l_eff from the model
calculate the rigidity like so live magnetic rigidity & required field strength (where E_live is in GeV)
Latex \[ B\rho(s) = \frac{E_{live}(s)}{299.792458*10^4} \[ BDES_{LEM} = B\rho * k_{design} * l_{eff}
calculate
new magnet BDESesrelative to extant settings
B\rho * k_{design} * l_{eff}Latex \[ BDES_{LEM} =
by default, matching quads should scale relative to their extant values, since they are correcting the optics for variations from design
Latex \sigma_{extant}(s) = \left \frac{E_{live}(s) / }{E_{live, previousold}(s) BDES_{LEM} = \sigma_{extant}(s)\right * BDES_{extant}
- note: requires a previously implemented BLEM
- matching quads should always scale from extant values
F2 Live Model Server
The live model server runs its own BmadLiveModel
, and periodically writes live model data for NTTables accessible on the controls system via EPICS PVAccess. The code for the live model itself is relatively simple, and is derived from the lcls_live_model server.
...