A Virtual Implementation of VELA (CLARA)

Slides:



Advertisements
Similar presentations
Getting started Starting the Virtual Machines, utilities, intro to workflows using Trident ADD BUSINESS UNIT/FLAGSHIP NAME Nick Murray| March 2013.
Advertisements

ICS Test Environment Alexander Söderqvist Dec 9, 2014.
Current Status of Virtual Accelerator at J-PARC 3 GeV Rapid Cycling Synchrotron H. Harada*, K. Shigaki (Hiroshima University in Japan), H. Hotchi, F. Noda,
Online Data Analysis and Simulation Sven Reiche UCLA - 09/22/04 Sven Reiche UCLA - 09/22/04.
ACSC 155 System Analysis and Design 5. Input/Output Design
Henrik Loos High Level 17 June 2008 High Level Physics Applications for LCLS Commissioning Henrik Loos.
Database Infrastructure for Application Development Designing tables and relations (Oracle Designer) Creating and maintaining database tables d0om - ORACLE.
ATF2 Q-BPM System 19 Dec Fifth ATF2 Project Meeting J. May, D. McCormick, T. Smith (SLAC) S. Boogert (RH) B. Meller (Cornell) Y. Honda (KEK)
ALICE Data Acquisition Ben Shepherd MaRS Group ASTeC STFC Daresbury Laboratory.
JCE A Java-based Commissioning Environment tool Hiroyuki Sako, JAEA Hiroshi Ikeda, Visible Information Center Inc. SAD Workshop.
Scan System Kay Kasemir, Xihui Chen Jan Managed by UT-Battelle for the U.S. Department of Energy Automated Experiment Control “Scan” should be.
Scan System: Experiment Automation Kay Kasemir, Xihui Chen RAL EPICS Meeting, May 2013.
CAA/CFA Review | Andrea Laruelo | ESTEC | May CFA Development Status CAA/CFA Review ESTEC, May 19 th 2011 European Space AgencyAndrea Laruelo.
11.10 Human Computer Interface www. ICT-Teacher.com.
BROOKHAVEN SCIENCE ASSOCIATES High level applications and EPICS control GUOBAO SHEN NSLS-II, Control Group May 4 th, 2009.
10/5/ InstantHMI Designed for Watlow Beam the Palm at your Watlow SD controller and voila!, you have a low cost HMI for Configuration, Diagnosis,
LCLS Undulator Positioning Control System Shifu Xu, Joseph Xu, Josh Stein Control Group, AES/APS, ANL June 15, 2006.
Making a great Project 2 OCR 1994/2360. Design Some candidates dive in, make a database or spreadsheet, then try and make a design afterwards. This won’t.
ATF Control System and Interface to sub-systems Nobuhiro Terunuma, KEK 21/Nov/2007.
 Virtual machine systems: simulators for multiple copies of a machine on itself.  Virtual machine (VM): the simulated machine.  Virtual machine monitor.
Online Software 8-July-98 Commissioning Working Group DØ Workshop S. Fuess Objective: Define for you, the customers of the Online system, the products.
LHC online modeling Mark IV LHC online modeling Mark IV Piotr Skowroński Tobias Persson Agnieszka Szczotka Jaime Coello de Portugal Lukas Malina Mattias.
Accelerator Science and Technology Centre Extended ALICE Injector J.W. McKenzie, B.D. Muratori, Y.M. Saveliev STFC Daresbury Laboratory,
1 Virtual Accelerator plan and status at RCS Hiroshima University, Graduate School of Science Experimental Quark Physics Lab ( & JAEA Accelerator Development.
1 P. Chu 1 Adapting XAL for LCLS EPICS Meeting, Vancouver Adapting XAL for LCLS Paul Chu - SLAC May 1, 2009.
TDAQ Experience in the BNL Liquid Argon Calorimeter Test Facility Denis Oliveira Damazio (BNL), George Redlinger (BNL).
Preparation for production phase Web – New web with HV pigtail qualified (?) – Installed on 2 views in Technical run Very little effect on noise; detector.
TRIUMF HLA Development High Level Applications Perform tasks of accelerator and beam control at control- room level, directly interfacing with operators.
Examples of Matlab Controls Software on ALICE Andy Wolski 24 September 2014 Multiknobs: simultaneous control of a set of magnets Undulator Gap Scan ALICE.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
Chapter 6 Testing and running a solution. Errors X Three types Syntax Logic Run-time.
Scalable Readout System Data Acquisition using LabVIEW Riccardo de Asmundis INFN Napoli [Certified LabVIEW Developer]
Fermilab Scientific Computing Division Fermi National Accelerator Laboratory, Batavia, Illinois, USA. Off-the-Shelf Hardware and Software DAQ Performance.
ESS Timing System Plans Timo Korhonen Chief Engineer, Integrated Control System Division Nov.27, 2014.
LCLS Commissioning & Operations High Level Software
Operations Machine Simulator.
Momentum and Momentum Spread Measurements
Beam Commissioning Adam Bartnik.
Charge Measurements on VELA
Flight Simulator for ATF2
Orbit Response Matrix Analysis
Online RadFET reader for beam loss monitoring system
Laboratorio per dottorandi 2017 Particle Accelerators Control System
11.10 Human Computer Interface
Experience & Status of the LIGO Slow Controls System(s)
ATF/ATF2 Control System
Slice Parameter Measurements at the SwissFEL Injector Test Facility
SLS Timing Master Timo Korhonen, PSI.
Ch 1. A Python Q&A Session Bernard Chen 2007.
P. Forck, P. Kowina, M. Schwickert, R. Singh
The computer work station
HAPS Controls Glen White ATF2 Software Review Workshop, LAL, June 2008
Longitudinal Diagnostics for start-up
5 SYSTEM SOFTWARE CHAPTER
LCLS Commissioning & Operations High Level Software
Systems Design, Implementation, and Operation
5 SYSTEM SOFTWARE CHAPTER
Report on ATF2 Third Project Meeting ATF2 Magnet Movers ATF2 Q-BPM Electronics Is SLAC ILC Instrumentation Group a good name?
High Level applications development status
VELA BPMs Alex Brynes.
VELA TDC: Bunch Length and Longitudinal Phasespace Measurements Update
PLCs integration into the ICS
VELA – CLARA AP (Draft) Goals Software Goals
High Level Physics Applications for LCLS Commissioning
Overview of My Experience With C++
VELA Charge Measurements – Update
FPGA Vinyl to Digital Converter (VDC)
Linac Diagnostics Commissioning Experience
Operational Experience with LCLS RF systems
Commissioning the European XFEL cryogenic system and best practice
Presentation transcript:

A Virtual Implementation of VELA (CLARA) Duncan Scott, Tim Price, Rory Clarke

Design Goals / Specification A virtual implementation of all the parts of VELA (CLARA) required for Physics simulations Self-contained ‘out-of-the-box’ package, that ‘just works’ Individual Local Copies Seamless integration with existing tools Hardware Controllers, VELA EPICS PVs

Example Uses Prototyping Control Room Applications High Level Software Development from your office / living room etc. on machine you can’t break and is always available Online machine set-up Moving from one machine state to another Virtual Experiments Finding user required set-ups ANY OTHERS?

Current Status / Open Questions VELA Hardware Controller Mainly exist, Python / c++ modules Is it a priority to extend the source to other languages? hopefully not… ;-) Data saving? Online Model (Bruno’s ASTRA simulation) Finding the correct ASTRA parameters Integrate and continue Model Validation project How do we ‘chunk’ it? Speed: gun simulations are slow… Implement Pre-computed set-ups (especially gun) Future integration with other codes / Magical Project Data-bases? Incorporate latest ‘real-word’ data, lattice decs etc.

Current Status / Open Questions Virtual Environment Virtual Linux containing a version of EPICS with all relevant process variables What do we need? Magnets, RF phase / amp, BPMs screens … ? All accessible though same Hardware Controllers as real machine ASTRA model sits in virtual environment A ‘Manager’ interface handles the EPICS / ASTRA interface,

EPICS provides a common control interface and interlocks between the hardware and the user. Its communication layer is via Process Variables (PVs). The user can set and read to these PVs of which there may be thousands. VELA’s magnets and interlocks have been taken as a model and converted into a simulation. This EPICS simulation is running on a virtual machine. We have to be careful to follow a naming convention with the simulation PVs that follows a different syntax than the real machine’s PVs to avoid clashes. EPICS VM example:BSOL @ 5A Noise and ramping current have been added to the simulation of the virtual magnets. Noise is adjustable. Here it is about 5% Amps Time

Structure for ‘Real’ VELA epics VELA IOCs that exit on real machine Hardware components Machine Hardware Controllers Hardware Controllers User GUI 1 User GUI 2

Structure for Virtual VELA epics manager model IOCs (mimic real VELA) Python script ASTRA Virtual Linux Hardware Controllers User Computer (desktop PC) User GUI

(EPICS) RF Amp. to ASTRA Gun Gradient: Manager Conversions (EPICS) RF Amp. to ASTRA Gun Gradient: beam_momentum [MeV/c] = 0.0644 * gun_gradient [MV/m] + 0.505 (on crest) (Some work Frank did, see wiki ‘Gun’ page) Gradient = Amp÷29.016 For example: 1800 ÷ 29.016 ~ 62 MV / m gives 4.5 MeV / c This is rough as record beam setup in the past has not been sufficient to get a strong relationship. Current to K Value: I = Current of magnet [A] (Set to and read from epics) p = momentum [MeV][c]-1 (calculated before simulating path through quads) L = Magnetic Length [mm] a = Intercept [T] predefined values from excel spreadsheet (value contained in python script) m = Gradient [T][A]-1 (http://projects.astec.ac.uk/EBTFManual/index.php/Category:Magnets)

Current VM Functionality Set QUAD currents Monitor QUAD currents Run ASTRA from ‘outside’ Virtual Machine Convert ASTRA distributions into ‘x’ and ‘y’ signal for BPMs Example GUIs monitoring EPICS PVs

Future: Plan for VM More EPICS parameters in VM Screens: Magnet polarity switches, cameras, BPMS, etc. Screens: ability to output ASTRA distribution as EPICs PV moments, or ‘fake’ images using the moments Use predefined distributions instead of run simulation through Gun each time. ASTA simulation database Dipoles? Include more sections of VELA ?

Future: Plan for your applications Area Leaders Plan their own Applications on paper. E.g. GUI layout Procedures (set-up, what to scan, what DAQ etc) Analysis Data saving Discuss application with TP / DJS etc (maybe in this meeting) Decide who will be responsible for which parts Prototyping and development Requires toolset installed: Python, VM, Hardware Controllers, Go through some worked examples of GUI building etc.