Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page describes the process of running an XAL model of the LCLS accelerator, and uploading that model to Oracle, from where it can be accessed by Matlab and Java applications through AIDA.

Run a model

  • from lclshome -> User Dev Displays panel.
  • run one of the matlab scripts xalRunModel or xalGetModel.
    • xalRunModel
      • Select a beamline:
  • eg Cathode to Dump. This runs the LCLS "Full Machine" model, from the LCLS Cathode to the main Dump.
      • Select whether to " Run extant machine or design model? (x/d) d: ". Running the "design" model (choice "d") causes the XAL model to be run with the element setpoint values in the model input files. Those design setpoint values are, to the extent possible, identical to the MAD design. Running the "extant" model (choice "x") will cause the model execution to first replace the design values of beamline devices, with the actual readback values, as acquired through EPICS, prior to running the envelope tracker. That is, "extant" is equivalent to what was called "DATABASE" in the SLC modelling system, it describes the extant machine at the time the model is run.
    • xalGetModel

Differences between XAL and MAD models.

Which devices are not modelled.
What is not modelled as it is in MAD.

Copy the file to the following directory. It's necessary to copy it to here because it has to be in a directory that can be accessed by the web browser used in the following step. Note, this directory name starts /u1, but when we do the file upload from lcls-prod02 it will start /mccfs2, that's because on lcls-prod02 the directory is accessed through an NFS server mount.

...