1 / 18

Operations Machine Simulator . Adrian Johnson Senior Operations Technician Diamond Light Source

Operations Machine Simulator . Adrian Johnson Senior Operations Technician Diamond Light Source. Overview of Diamond. 3 rd Generation Light Source. Opened for Users in 2007. Currently 26 operational Beamlines. 4 Beamlines currently under construction.

santosg
Download Presentation

Operations Machine Simulator . Adrian Johnson Senior Operations Technician Diamond Light Source

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Operations Machine Simulator. Adrian Johnson Senior Operations Technician Diamond Light Source

  2. Overview of Diamond • 3rd Generation Light Source. • Opened for Users in 2007. • Currently 26 operational Beamlines. • 4 Beamlines currently under construction. • Total of 32 Beamlines by 2017.

  3. Overview of Diamond Accelerators 100MeV Linac 3GeV Booster 3GeV Storage Ring • 561.6m Circumference. • 300mA stored beam. • Running in Top up (10min cycles).

  4. Why create a simulator? • The actual machine is rarely available for Training purposes. • When providing beam for Users aiming for Stability and reliability. • Machine development time is in high demand. • So a simulator would be useful for: • Training New Operators. • Refreshing Existing Operators knowledge. • Demonstration purposes. • Work Experience students. • Tours / Visits.

  5. Aims of the Operations Simulator • Software simulation of accelerator operation. • Not an Accelerator Physics Model. • Real time emulation of the machine sub systems. • Look, feel and behave realistic. • User interfaces that mimic the real machine • But not look too realistic – avoid confusion. • Relatively simple to create and maintain. • Empirical data taken from the machine used to create behavior. • Modular build to make it easy to add more complexity / realism.

  6. Simulator Architecture • Process Variable (PV) Store. • To store: States, Set points, Waveforms etc. • Process Script. • Reads States, Set points etc. • Mimics machine behavior, • Writes new States, etc. • User Interfaces. • Controls, On/Off, Start/Stop, Set points etc. • Displays of States, Plots, Set points, etc.

  7. Simulator Architecture • Process Variable (PV) Store. • Originally tried a PostGreSQL Database to hold ‘fake pv’s’. • Communication via Python was too slow, abandoned. • EPICS Soft IOC with Real PVs • IOC : Input / Output Controller • Runs in a terminal on a PC in the Control Room. • No hardware connected. • Currently about 200 PVs in Simulator. • Only acts as a PV store, doesn’t contribute to behavior.

  8. Simulator Architecture • Process Scripts. • Written in Python. • Small simple scripts to mimic the behavior of parts of the machine. • Easy to update, easy to add more complexity and realism. • Run independently in terminals on same PC as the IOC. • Processes Written So Far. • GUN, • Gun RF, Gun Charge. • LINAC, • Linac RF, Linac Charge and Linac to Booster Efficiency, . • BOOSTER • Booster RF, BR Charge / Current, Booster to Storage Ring Efficiency. • STORAGE RING RF, • Cavity Volts and Phase, Forward Power. • BEAM, • Beam Injection, Beam Lifetime, Fill Pattern, Power Demand. • STORAGE RING MPS, • Interlocks for Temperatures, Flows, Vacuum, Beam Position.

  9. Simulator Architecture • Gun Process as an example.

  10. Gun Process Behaviour • GUN Bias adjustments vs GUN Charge. Multi-Bunch Single-Bunch Striptool plots of Simulator pvs

  11. Simulator Architecture • Simulation Schematic.

  12. Behaviour Examples Lifetime vs Cavity Volts Effect of Linac Volts on Charge and Currents Striptool plots of Simulator pvs

  13. Simulator User Interfaces • User Interfaces. • Behave like real machine with multiple operators. • Mostly Written in Python, • EDM being phased out at Diamond, • Made Obvious which is Simulator and which is Real. • Tried to retain some realism. Real Machine GUI Simulator GUI

  14. Simulator User Interface examples Real GUI Simulator GUI

  15. Trip Simulator • Trip Editor to create / edit trips. • Defines the states for a single or set of PVs to initiate a trip. • Creates a saved set. • Trip Simulator • Select a pre-defined trip, • Select a Random trip.

  16. Trip Simulator • Effect of Cell12 Gauge Controller trip.

  17. Where Next • Power Supplies • Most are On / Off effects. • Transfer line Steering impacts Injection • Pulsed magnets (amplitude and timing) impact Injection. • Beam Properties • Orbit, • Tunes, • Coupling, • Top up. • PSS • Mostly On / Off effects. • Radiation monitors. • Vacuum. • Insertion Devices. • Front Ends.

  18. Summary • Turned out to be surprisingly simple to create an Operations machine simulator. • It works well, feels and behaves realistic. • Worth doing, • So far only used by Work experience students. • It’s now available to any new Operators for training. • Expanding all the time. • Long term project to keep it growing and up to date.

More Related