Database and Simulation Codes

Database and Simulation Codes

Simple thoughts
Around Information Repository
and Around Simulation Codes
K. Furukawa, KEK<kazuro.furukawa@kek.jp>
Nov. 14. 2004.

K.Furukawa, Nov.14.2004.

1

Database and Simulation Codes

Information Repository
uInformation is Valuable"However, easily Lost (if Lifespan > 10years)
and repeatedly Re-produceduCentral Repository is Necessary"Project-wideLifespan from Design to Maintenance Phase"Preferably any Kinds of Data at Center
At least Pointers to Real Data#Central (as Much as Possible)$Different versions of Beamline Geometry, Component Design,
Electronics, Scheduling, Simulation Codes#Distributed (Possibly)$Drawings, Budget, Purchase History, Personnel
K.Furukawa, Nov.14.2004.

2

Database and Simulation Codes

Repository; FeaturesuEasy Access"Otherwise, not Stored and Lost
$Becomes a Dead Resource"Requires Web based Human Interface$Easily Accessible by Anyone

Accessibility

Security"As well as API for Simulation Codes, etc$Multiple Language API to Repository$Such as Oracle, Postgres or MySQL, etc"Should be easily tested

Repository$Open Source Solution is Preferable for wide acceptance$There are many projects successful with Open Source DB

uSome extent of Security Level"Automatic e-Mail based AccountReplication#We cannot manage all the Accounts Manually

uReplication between Continents"In case of Network Trouble#But the Technology is not Mature yet…
K.Furukawa, Nov.14.2004.

3

Database and Simulation Codes

Repository; InternaluRelational Database Construction"If one group of Information is small; no problem"If Large; Relational Information Management is
indispensable#However, if it is Complicated No one would updateuRealization"Large Labs utilize Information Infrastructure withOracle"Many Projects Start to Utilizing Open Source Solutions#Postgres or MySQL + Java or Python#Anyone Can Test the Resource Usage Easily

K.Furukawa, Nov.14.2004.

4

Database and Simulation Codes

Document Repository
uDocument Repository is another Important Issue"For example,#Hi, in the video conference tomorrow, we use the material, “Nov15/DRKicker.pdf”, which refers to “John/Schematics.pdf”.

"The same Document should be referred by Date, Author, Category"Version Tracking Capability

uServices like CERN Document Server (CDS) or ePrint/arXiv may be utilized#Self-archiving#Open Archives Initiative (OAI) Compliant#Possibly Available as Freeware"May start with a Front-end server to These Services"or Employ the Server Softwareand Establish our own Server
K.Furukawa, Nov.14.2004.

5

Database and Simulation Codes

Beam Optics DatabaseuRepository of Inputs to Simulation Codes?
uXSIF Extended Standard Input Format"Many Simulation Codes utilize it"SAD does not"Currently a Conversion Tool is Used to for These Input Formats"XSIF (LIBXSIF) inclusion in SAD?

uYet another Generalized Input Format?
"Separation between Beamline Geometry (relatively static) andBeam Optics (more varying)"Could be structured into XML

uRelational information to each Hardware Components"We do not prefer complicated relations
by OideK.Furukawa, Nov.14.2004.

6

Database and Simulation Codes

Simulation CodesuSimulation for"6D Optics Matching, Tracking, Space Charge, Coherent Radiation, BeamSlices, Polarization, eClouds, etc.

uCross-check"Between Codes is always ImportantuScripting is preferable"Conditional behavior descriptions"Scanning for Parameter Optimization

uData manipulations"All-in-one like SAD#FFT, Non-linear Fitting, Plots, etc$Code that does everything except dig the tunnel (from SLAC/NLC web)"Combined with Tools like Matlab

uGraphical User Interface"Interactive Design Development
K.Furukawa, Nov.14.2004.

7

Database and Simulation Codes

Virtual Accelerator
uFull-simulation"Is Preferable from B.C to IP, or from Gun to Dump after IP

uFor Easy Access"Simulator and Evaluator SeparationuVirtual Accelerator Realization"Some kind of Proxy in front of Simulator Input

Full Simulator

ProxyFuture Real Hardware

Evaluator"SAD can do both Simulator and Evaluator

uProxy"EPICS has such stub and Some Projects utilize it

uField Value Exchanges"Link with rf-Cavity/Magnet Simulation Codes is also Preferable
K.Furukawa, Nov.14.2004.

8

Database and Simulation Codes

V.A. in KEKB
uFor Example in KEKB
"most Beam Optics Condition is
maintained in the Optics Panel"Other Panels Manipulate Parameters
Communicating with the Optics Panel(Oide, Koiso, Ohnishi et al)===>

Tune Measurement/Changer

Optics Panel
K.Furukawa, Nov.14.2004.

9

Database and Simulation Codes

SummaryuCommon Database"We are in the Process of merging distributed
Ideas on the Linear Collider to form ILC"Eventually we Need Common Repository
to Accelerate Research and Development"The Repository should Cover the wide range ofMaterials and May be Utilized in the Real MachineuSimulation Code"We should share Codes, Beam Optics, Ideas, etc
to Optimize the ILC design process"Virtual Accelerator Construction
may Help accelerating the process
may Enhance the Global Accelerator Network Idea
K.Furukawa, Nov.14.2004.

10