lnls-fac / va

Virtual accelerator
GNU General Public License v3.0
3 stars 1 forks source link

VACA - Virtual Accelerator with Channel Access

A virtual accelerator implemented with EPICS channel access, for testing high level machine applications (HLA).

V1.5.0

This version was used until Jan. 2018, when Sirius sunsystems started being integrated and HLA could be tested using real hardware.

V2.0.0

This is a ressurect version of VACA that employs the current state of sirius' python packages, as they are being used in sirius control system.

dependencies (repos):

Installation

To install va python package and vaca-ioc.py script in the system, run ./setup.py develop or ./setup.py install. A web server should be running in order to provide static data files for VACA. Files from control-system-constants repository should be located in the top of the web server public folder.

Running VACA

Virtual machine

Currently timing subsystem is broken. No timing device/PV is available. Consequently the injection process is not working. But fake PVs (for VA-Control devices) were implemented to add beam currents to circular accelerators. Beam position readouts are working, as well as magnet power supplies current settings. '' is the standard PV prefix. It can be overridden with VACA_PREFIX env variable. A '-' is postpended to the prefix so that VACA_PREFIX='VA' with generate PV names that start with VA-. Env variable VACA_PREFIX is overridden by VACA command line option --prefix.

Examples on how to interact with the virtual machine:

Adding beam current to rings:

Injecting: