kdb klystron database robert steele klystron department stanford linear accelerator center (slac)...

14
KDB Klystron Database Robert Steele Klystron Department Stanford Linear Accelerator Center (SLAC) November 2007

Upload: whitney-scott

Post on 23-Dec-2015

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: KDB Klystron Database Robert Steele Klystron Department Stanford Linear Accelerator Center (SLAC) November 2007

KDB

Klystron Database

Robert Steele

Klystron Department

Stanford Linear Accelerator Center (SLAC)

November 2007

Page 2: KDB Klystron Database Robert Steele Klystron Department Stanford Linear Accelerator Center (SLAC) November 2007

KDB

● Based on Ajdisk, a 1.5D Klystron specific simulation● C++ implementation of a Japanese Fortran application

from long ago.● Modified for sheetbeam klystron models● Inputs are tube characteristics (e.g. M, R/Q, q0, qe, etc.)

instead of geometry with the minor exception of the axis location (Z).

● There are a limited number of fixed inputs (roughly 100) and a limited number of outputs (roughly 30).

Page 3: KDB Klystron Database Robert Steele Klystron Department Stanford Linear Accelerator Center (SLAC) November 2007

KDB

● The basic concept of KDB is to store a large number of Ajdisk runs by building permutations of existing runs quickly with a purpose built GUI and reviewing the results with the same GUI.

● Permutations are entered into the database and subsequently run with the results returned to the database.

● GUI based permutation selection and arbitrary axis plotting allow the user to evaluate the results quickly.

Page 4: KDB Klystron Database Robert Steele Klystron Department Stanford Linear Accelerator Center (SLAC) November 2007

KDB

● No matter how fast the simulation is, a database query is likely much faster, usually instant.

● Tens of thousands of runs can be stored without any significant slowdown.

Page 5: KDB Klystron Database Robert Steele Klystron Department Stanford Linear Accelerator Center (SLAC) November 2007

KDB GUI● Name/Value pairs are in the column on the left● Plots are on the right● NV pairs can specify

– an exact value– match any value– match only a range of values– can specify a set of permutations to be run (implying

a range).

Page 6: KDB Klystron Database Robert Steele Klystron Department Stanford Linear Accelerator Center (SLAC) November 2007

KDB GUI● Arbitrary plots axis are controlled explicitly by

the user.● Plot points that vary only by the two axis chosen

are plotted with connecting lines. This helps the user understand the impact of the parameterization.

Page 7: KDB Klystron Database Robert Steele Klystron Department Stanford Linear Accelerator Center (SLAC) November 2007

KDB GUI

Page 8: KDB Klystron Database Robert Steele Klystron Department Stanford Linear Accelerator Center (SLAC) November 2007

KDB GUI

Page 9: KDB Klystron Database Robert Steele Klystron Department Stanford Linear Accelerator Center (SLAC) November 2007

KDB GUI

Page 10: KDB Klystron Database Robert Steele Klystron Department Stanford Linear Accelerator Center (SLAC) November 2007

KDB GUI

Page 11: KDB Klystron Database Robert Steele Klystron Department Stanford Linear Accelerator Center (SLAC) November 2007

KDB GUI

Page 12: KDB Klystron Database Robert Steele Klystron Department Stanford Linear Accelerator Center (SLAC) November 2007

KDB GUI

Page 13: KDB Klystron Database Robert Steele Klystron Department Stanford Linear Accelerator Center (SLAC) November 2007

KDB Details

● Implemented in Java using JDBC.● Runs on Linux and Windows.● Database can be local or remote.● Ajdisk jobs can be run from a server daemon.● KDB setups are often started from Ajdisk .dsk files.● KDB setups are stored in XML.● On Windows, Ajdisk can be invoked directly from the

GUI for more simulation detail.

Page 14: KDB Klystron Database Robert Steele Klystron Department Stanford Linear Accelerator Center (SLAC) November 2007

KDB