Information Flow for Storage Ring Commissioning · Information Flow for Storage Ring Commissioning...

18
1 of 18 BROOKHAVEN SCIENCE ASSOCIATES BROOKHAVEN SCIENCE ASSOCIATES Information Flow for Storage Ring Commissioning Johan Bengtsson, Physicist 8 th ASAC meeting for NSLS-II Project May 10-11, 2011

Transcript of Information Flow for Storage Ring Commissioning · Information Flow for Storage Ring Commissioning...

Johan Bengtsson, Physicist

8th ASAC meeting for NSLS-II ProjectMay 10-11, 2011

Information Flow for Storage Ring Commissioning

1 of 18BROOKHAVEN SCIENCE ASSOCIATESBROOKHAVEN SCIENCE ASSOCIATES

1. Background: Relational Databases, Industry, and Accelerators.

2. A “Paradigm Shift”: Demo I - VI.

3. EPICS-4: A proactive approach (Equipment Ctrl + Middle Layer for HLA).

4. Conclusion: The Project is now at Cross Roads.

5. Status.

Outline

2 of 18BROOKHAVEN SCIENCE ASSOCIATESBROOKHAVEN SCIENCE ASSOCIATES

Background: Relational Databases for Accelerators

3 of 18BROOKHAVEN SCIENCE ASSOCIATESBROOKHAVEN SCIENCE ASSOCIATES

Examples include (CERN, APS):

1. “The LEAR Control System - Phase II”, 1986, proactive (Mgmt decision).

2. “From MAD to CAD: Automatic Production of Accelerator Layouts”, 1989 (Oracle), reactive (crisis -> Mgmt decision).

3. “LEP Accelerator Logging System Using On-Line Database”, 1994 (Oracle), proactive.

4. “The CERN Engineering Data Management System: A Status Report”, 2000, reactive -> proactive.

5. “Integrated Relational Modeling of Software, Hardware, and Cable Data-bases at the APS”, 2003, reactive (-> IRMIS, open source).

• IRMIS has been adopted by NSLS-II => proactive.

• My own perspective is 5 years of systems engineering for telecom in Silicon Valley (for a phase II start-up).

Related Challenges

4 of 18BROOKHAVEN SCIENCE ASSOCIATESBROOKHAVEN SCIENCE ASSOCIATES

• A “paradigm shift” in mature organizations. While the staff is typically com-fortable with spreadsheets (and paper trails), the use of a (relational) data-base as an integral part of a (streamlined) process is something “new/unknown” in this context. Hence, the “cost” for not considering this up-front, as part of the decision making when outlining admin processes, is missed. Often, a set of well defined spreadsheets (instead of a paper trail, e.g. Survey & Alignment, CEBAF, J-Lab, 1990s) can serve the purpose. Besides, these can be loaded into a database, if such technology is pursued further down the road (e.g. CEBAF, 2003).

• For a perspective, relational databases were pioneered in the private sector (IBM in the 70s).

• Systems Engineering (pioneered at Bell Telephone labs in the 40s) crosses group boundaries. So, to be effective, it needs (active) “top-down” support, i.e., at times, prompt, proactive strategic decisions by the Proj. Mgmt. In par-ticular, since by definition, related issues are: “Not my problem.”, “Not on my desk.”, etc. by the various groups/individuals in an organization.

Acc. Phy. Web Page: Preliminary Considerations

5 of 18BROOKHAVEN SCIENCE ASSOCIATESBROOKHAVEN SCIENCE ASSOCIATES

• Web: provides connectivity for info sharing but no (explicit) hierarchy.

• SQL (aka relational) databases do not support recursion (like: Algol, Pascal, Lisp, C, C++, Java, etc.) => no explicit hierarchy.

• Hence the enterprises that provides (effective) search engines (aka enabling technology).

• Use (colored) graphs (i.e., diagrams) with hyperlinks for basic overviews.

• Use WYSIWIG (What-You-See-Is-What-You-Get) tools (e.g. MS Visio) for rapid prototyping and quick turnaround time for making changes; which otherwise becomes a bottleneck. Bottom line: Do-It-Yourself; with local expert support.

• SharePoint (choice by Proj. Mgmt.): a software tool for generating Web pages, and to provide access- and version control, based on a SQL database.

• Systems Engineering: Create a Wiki to capture (systems) requirements for the Control Systems group by a “Use Case” approach (pioneered at Eriks-son’s in the mid-60s).

Accelerator Division 

Insertion Devices

RF

Accelerator Physics

Injector

Instrumentation

Mechanical Engineering

Electrical Engineering

Controls

VacuumAccelerator Safety Systems

Magnet Group

Survey & Alignment

Accelerator Interface

Photon Division

Photon Sciences Directorate

Business Division

Quality Assurance

Org Chart

Project Schedule

Project Overview

CDR PDR

Group Sites

SharePoint Directory

Construction Webcams

Document Center

Staff Publications

Information Technology Project 

Management

Tech Notes

Acc PhyFile Srv

Acc PhyFile Srv

NSLS2Srv

NSLS2Srv

AccFile Srv

AccFile Srv

InjFile Srv

InjFile Srv

DesignRoom

NavisWorks

NavisWorksDownload

Task Forces

ReleasedDrawings

ES&H

����������������������� ������������������ ������� ������������� ���������������� ����� ��� ��! �"�������#���#���� ��������������������������� �!��������$�������%������� ����%���% ����������������#�"�� ������������ �����&���'����

((((((((((((((((((((((((((((((((((((((((�)� � * � &���� �+,�-.+.

����/���#�0 ��1�"���2�������� ��������� ,����

������������������������������������

1��&��1%3��1�&41%&45� �43�%&4�6&4�#7&%&�����3��3�

3#�%5�6&4��&��%4��%�&� ������� 3#�%5�6&4�#4&841�� ������� ���7�36�&#341%��8�&66��34 ����������7�36���63����3�%��% !����� �"� ��

61����%�3�� �9���&�#��$�����

�9���&�� �43�%&4

��%3461�3��1�1834��������������������������%

�����3��� �9���&�����������

�9���&�� �43�%&4

3#�%5� �9���&�� �43�%&4 $���������

1��&�)� �9)� �43�%&4

&��#����

4)�#� ��

��34�1 ������%41%�&�

����� ���1�1834

'��� "��)�� ':)�����

�)�;����

</415�1��&4#%�&���#3�%4&��&#5

&��#�����(�)8����� �

�)�3�$����)�:�$��

�&;/3�3485��#3�%4&��&#5

&������8����� �

=/5)� ���4)�������)���"���*�3)�9 ���"�

714 �</415��1�&#4&�3

*����+8����� �

�)����$� �7)�5�

�����,���� � )�3�� )�:���

���/���43�&)�</415��#3�)

������-�8����� �

9)� �1��� #)�����������4)�%�� �

�&��%4��%�&���1�183�3�%

�����."�1����%1�%� �43�%&4

3��8���1�183�3�%

�������%1����%1�%� �43�%&4

������ ��"�$!������$�� ��

3����

��������%3$ ����$�� ��3����

���'� -��� �����$�� ��3����

�7;�#�1�%

�����/�����(�)�7;�#�0 ������

���&��� �(�)3)�;)�7�� $$����)�7;��������

������� ���(�)8��� $�� �����1!3�������$$ ��;� �#$��

���������%�(�)�)�� �����$�3����

7 4� �����1!3

�����+� �(�)#�0 ���3> ����"

$��#���-����(�)7 4�6� $��4 �)

0��1��"��(�)����1'�� ���(�)0��� �"��� �(�)

�+%�� �(�)'���(�)

��������$����

������ "��(�)%����,����)

4�������$������������

����-� �(#)6��$��2� 2�������� $����?�

1�$2���

���#�����(�)���3$ ��������)3$ ���������������

�������

'�����-���(�)7 �����?�#���������)���$$ ��;� �#������

�������

6�3� �&66��3

#�����-�� ������������3����

����� ������ �����$����� ���

�������� �����$����� ���

��������"��(�)��"�$�������$�������������

���� ���

�����-����"�$!1������� ���

���������(�)��"�$�������$����� ���

���2�""��3$ ����$����� ���

#4&��43�3�%���'+� �%��(#)�1�1834

�����3�%���(#) 3#�%5��1�1834

�)�1$ >�� �����)���$��/&$�������

4)��$$��� ����6)���$����� ����6)�� � �������)����$��*����8)�;��������

#4&�3�%��&�%4&������&�3�����1�1834

�)�1� $����3)�8�$�����

#)�7�$$��������1)�� ������)�&@�����#)�� $��

3�%34#4��3��&�#�%��8

���&�3���1�1834

4)�6 $� �����)����

���'�� 8)�����2

�)�9��7��� ����%�

7��1��43�&�4�3���������(#)�1�1834

%)����*�����)������

#)�3������������)�6����������� )���� ����

=�1��%5�1���41��3�������������1�1834

3)��� ����*#)�8 �����

�)�7��$��/&$� ����:)�4��������)�; �$� �� �)�A���

1 �����%41%�93���##&4%&��#�����1�1834

�)��������)����$ �

���#������1)����� ��)�7����:)���" ��)����$$�)�� ���:)�4���

&����%�� 4)�4��������)�����$$��%�

�������%)�� ���$ 2�)���8 �)����

���#��4� #)��$$ 0�/�2��

�)�7 ���

�����3���1 ���$����������1�1834

���#� ���#4&�3�%���&�

�)�6��*�)�4 �����7)�%�����

����+"����1)�� �

��������&#341%�&����&�

�)� ����4)�8���;)�����1)��� �

#4%�#34�&��3��)�� �� ���)�6 �1)��������

�����3����5�%3��� 393�&#�3�%

����� ����1�1834

���'�� ����)��������

�����-�%��)��������

46����� ��

84&�#��31 34

46��&��%4��%�&��)�7�$��

5)�:�����7)��

�)�5 ���$$

���������)�����$��)�&$�"

46���##&4%�&#341%�&��

6)�8�1)�8� $

'����-��,#)� "�$ )� ��

�)�6�$* ���:)��� ��$��)�#��

:)�# � � ��)��� �����

���34%�&�� 39��3��������4�

84&�#��31 34'������. ��� 3#�%5

%)������ )�7� #)�7 �����)�:�� ���)�� � �*�)�4�*�)�4� ��

9)�4������*2

�&�%4&��&������ ��

84&�#��31 342��*� 3#�%5

8)������ )�������)� ����*��)� "���" �)� ����� )� ��� )� ��$ 2:)�75)�7�

&)��"��* "2���)�:�� �����

4)���� ;)�� ����)��

�)��$���*2�)�# �������4)�# �*���)���

�)�� *��0������)����8)��� �:)������5/�)�%���)�% ��5)�%��7)�<�

1��3�341%&4�#75���������� ��

84&�#��31 34

8)������)�� �������1)��$ ��2*�;)��� ���)�����;)�8��#)��$���*��)�:� 5)���6)����

�)�#��2 "�)�5���)�5�

����� �4� �35)�7��*�)�����2�)�� $ ��*�2<)�5��

91�������� �+�

84&�#��31 34

�)�6 ��)�7 �' $�/#)�7��)�� ��

#)�� �� ���:)�;�$��� )�A�����

91������&��%4��%�&������������)� ���#:)� �* �)�8��2

3)�:�0��*���)3)���'*#)�#$ � *�)����$���)���$$�"�9)����*

91�������##&4%�&#341%�&��!���������#)� �%�$$

4)�6 �� �� ��)�����

���%4��3�%1%�&������%�

84&�#��31 34

�����"��1)��� $$�#)��� ��

1)� $$�# ����)�)�����������)�� �����1)�����'

)�#�'���):)�9 ��

&#341%�&�����##&4%�������%4��3�%1%�&�

�������"�//�!����-4��)� �� �$�)��� $��� )�#���*�)�%$$ ����)

���3�%&4���������

84&�#��31 34

4)�6$�$$ �)�#* ����#)������8)�;��

1��3�341%&4�&#341%�&��

���2�3�%���84&�#��31 34

����5�� �"��31 �%3�7����1�

�&�%4&��4&&��1� �6�&&4��&&4 ��1%�&�

�����+�"��)�8�� 8)���� �;)�� ��)�:$��#)�����

%)���� ��$��)�#�4)�4�� #)�4�'* 4)�42����)�����8)�; �� 3)�A ��$

3�3�%4��1��3�8��334��8

'��'���� 84&�#��31 34���2+�� �6���� 3#�%5

#��84&�#!��&�+� )�� ����)��� ���

�)�����*������)�3��$$� �)�:$

�)�:��$�*��)�4����� $$�

1��3�341%&4��163%5��5�%3������+ �

�)�8$$�� 3)�&

1)�������

3�3�%4��1�� ��%4���%�&�����������

;)�4����� �

#&;34���##�5���##&4%

���2+�� �����1)������$���

�)��$2

3�3�%4��1����##&4%��&��%4��%�&�

����4�+ ��)�� $$7)� �'

�)� ���������;)�6� $��'�)�8��$ 2

)�&$�������4)������������)��� '

3)�; ��������

3�3�%4��1�� 3��8��4&&����#�����

�)����� �����1)�����������)�8����

�)��'�*���*�1)����������)�&��������)�4����������������)�7��� ��)�#� ��

�3�71���1��3�8��334��8

�������-�84&�#��31 34

83�341���3���##&4%4)�1$��B� 6)� #�$#)����'"�

9)�4"�������)��*��*�����)�����

�18�3%�84&�#�&�����-�����)�1� $$����1)��������

3�8��334��8���##&4%����� "+�7)�6 ��� ��)�7������)�����

$��&�"��� )� "��

;)�%� ���

�%���%�3�/�&��%4��%�&�

5)�8�;)�&@�� �

�%���%�3�/&#341%�&��4)�� ���

�45&83����3)�=����2����

��4935$�������(#);)������4)�7������)�)��$�������)�#���)�� �$ �)�5�

�3�71���1����##&4%�&#341%�&������"��+����;)�� �����8)�#����)�4��$ ����)�;$��

�����""�����)������ $��)�����'

�3�71���1����##&4%��&��%4��%�&�

�����%���)�������������6)����������

�)� ���4)����� ��

�)������� 2��)1)��� �$����� )���$$�"�����6)�% �������

3��8��4&&�

#��&��+ �)�1����

�)�1����� ������1)� �����������4)�3����������)�6��0��������4)�6�� �� ;)�8��

�)��������������)������4)��2���

�)�� 2 ������)���$$�2�)�4 ���:)�4�2;)�;�$��

����7���31)�1$��24)�8�� $$%)�:��1)�:���5)�:��

�)��� $���

3�9�4&��3�%,��163%5�1� �731�%7��3�?7�

��������1�1834

3�?7/ �&��%4��%�&�%)�1������';)��� 2�)�8��

�)�7 � " $�#):)����:)�:��

3�?7/&#341%�&������"���-�� )��� ����6)�6$��������

:)�:$��6)�:�� �2�����)���� �$

�)�; �$���������6)�A���� ���������-��%)���� ��$�#���+"�����)��� $���

�&������1%�&��#����.��(#)�1�1834

�)��������������:)���2� ����

#7&%&�� �9���&��8������

�9���&�� �43�%&4

��%3461�3�?��31����3��1�1834��� ������� 4���

1��3�341%&4� �9���&�$��!�����

�9���&�� �43�%&4

3#�%5� �9���&�� �43�%&4������%3461�3��1�1834������������������������������� ����1��&��3�8��334 '��$��

�%4��%�41����&�&85&��#�����(�)

84&�#��31 34

�)�1$$� �)��*�����:)�=��

9)����0����

���3�%�6����&�#�%��8�?��&�%4&�������/� "+�(�)�1�1834

�/:)�6 ���/�)���

� ������� ��(�)

84&�#��31 34

5)��� �<)�;��

������-���(�)��4�!8�$��

������������#�� ���

���#�� 3��� �������� "���

61����%�3����#�� �,�1�1834

4)�:���

�� �@�3> ����" �������� ���&��,����6����

��� �� 1�"���2�������� ����� % ��,����

1�� $ ����2�� ��1�"���2�������� ���'���� �,����

���" �����$�6��$��� �1�"���2�������� �����������,����

��&������� ��

�����2� � ����

�&6%��1%%34���1%%34��8������ ���(�)

84&�#��31 34

3)� �����)�5��

1��&�)� �9)� �43�%&4����� ��

�)��)�� �)�#��

�� ��%4�1��#8����)�;��

714 ��1%%34���1%%34��8������ ���(�)

84&�#��31 34

:)�3"��/���� ����)����)�� $���

��������#)�;���*

��3�1�%���</415���1%%34��8�

*����84&�#��31 34

1)������$��)�: ���

�)��)�:������**� )�� "2�����5)��� ��*������

�&7343�%�714 �</415���1%%34��8�

���$�+��� +84&�#��31 34

�)�;� ��

</415�#&; 34� �6641�%�&������������

84&�#��31 34

�)�3���)�8��� <)����

1��&�)� �9)� �43�%&4����+�4���

4)�4 �����

�31����3� 393�&#�3�%

&�����-��8����� �

�)� "�*3)����

&)�%����A)�A����

�31����3�3�8��334��8������� 4����(�)84&�#��31 34

)��� ����)�� $$"�����

�)��$����/ 2����)������3)�7�

;)�� ����������)�&@7�)�4 �*5)�5�

&#%����61�4��1%�&�

���������8����� �

�)��������)���� �

:)��� ���%�;)�����$

&#%�����3%4&�&85#��� �

8����� �

:)�:'���� "�����

3%3�%&4�4? ���� �� 8����� �

8)�����1)�:��' ��*�4)�������)�����1)�4���'

�31����3�%3�7���1����##&4%

���&����� �)��� ���4)�8 �

'�����,�� )��$����)�����

�&7343�%��&6%�</415��31����3

������"��,1������84&�#��31 34

)������

A traditional Org Chart, vs. a colored graph with links to the SharePoint sites and File Servers.

Bootstrap: Address Void of Context (overview)

6 of 18BROOKHAVEN SCIENCE ASSOCIATESBROOKHAVEN SCIENCE ASSOCIATES

Demo I: An Acc. Phy. Interface to Engineering

7 of 18BROOKHAVEN SCIENCE ASSOCIATESBROOKHAVEN SCIENCE ASSOCIATES

Accelerator Physics: Reference Data

Storage Ring Lattice

Engineering Requirements

Diagnostics,RF,

Physical  Apertures

Specifications Tolerances Guidelines

Working Lattice

Single Particle Dynamics

Linear Optics

Non‐Linear Dynamics

Insertion Devices

Benchmarks Benchmarks Benchmarks

Collective Effects

Impedance & Wake Fields

Collective Dynamics

Feedback Systems

Benchmarks Benchmarks

Accelerator Safety Systems

Synctrotron RadiationProtection

Top‐OffLoss Control &Monitoring

ActiveInterlock

Bending Magnets

Insertion Devices

Damping Wigglers

Control System

Model Server

Project Parameters

Nomenclature Names

Systems Integration

High Level Applications

IRMIS

SRP Task Force

Maps

EquipmentProtection System

PLC FPGA

ES&H

Vaccum

Booster Lattice

Transport Line Lattice

Demo II:A Process for the Official Lattice

8 of 18BROOKHAVEN SCIENCE ASSOCIATESBROOKHAVEN SCIENCE ASSOCIATES

• Turns out that, even though SharePoint is based on a SQL database, it is not straightforward to interface to it from other platforms (e.g. Linux/IRMIS); due to non-compliance with accessibility standards.

• As added value, we diagnosed a data integrity problem (promptly addressed); a 6 micron error in the total circumference.

Accelerator Physics This Site: Accelerator Physics

Accelerator Physics > Systems Engineer ing Wiki > Home

Home

Systems Engineering Wiki

"When you can measure what you are speaking about, and express it in numbers, you know something about it; but when you cannot measure it, when you cannot express it in numbers, your knowledge is of a meagre and unsatisfactory kind; it may be the beginning of knowledge, but you have scarcely in your thoughts advanced to the state of Science, whatever the matter may be."

W. T. Kelvin (1883)

1st pass:

1. Diagnostics2. Electrical Engineering3. Injection Straight4. Injector5. Insertion Devices (Acc Phy)6. Insertion Devices (Users)7. Magnets8. Model & Services9. RF10. Survey & Alignment11. Synchrotron Radiation Protection

� Top-Off Safety� Vacuum

Pending:

1. Accelerator Interface2. Accelerator Physics3. Accelerator Safety Envelope (ASE)4. Control System5. Design Room6. Equipment Protection System (EPS, PLC based)7. Equipment Protection System (EPS, FPGA based)8. Facilities9. Injector Project Engineering10. Loss Control & Monitoring (LCM)11. Mechanical Engineering12. Global Considerations Originating from Finite Element Analysis13. Personnel Protecion System (PPS): Accelerator (Storage Ring), Booster, Linac14. QA15. Cryo

Related documents:

1. NSLS-II Safety Assessment Document (SAD)2. Example: NSLS SAD

Page 1 of 4Accelerator Physics - Home

4/28/2011http://groups.nsls2.bnl.gov/acceleratorsystems/AcceleratorPhysics/Systems%20Integration...

• “Use Cases”: focus on “what”; not “how”.

• “Spiral approach”: capture systems requirements (elusive, “moving targets”) by a recur-sive approach.

• “First pass”: completed for the major systems by the stake holders.

• “Lessons Learnt”: from cur-rent NSLS operations are being captured as “Use Cases” for NSLS-II.

• “Second pass”: to be pursued with the Controls group for machine protection and orbit control.

Demo III: A Systems Engineering Wiki

9 of 18BROOKHAVEN SCIENCE ASSOCIATESBROOKHAVEN SCIENCE ASSOCIATES

• For any software infrastructure, the scope, architecture, modeling of the data, internal data structures, etc. must be well defined, up-front (since com-puters are dumb). So, “Do it right the first time.”.

• It is (well) known (at least in the software industry), that the later a defect, scope change, feature creep, etc. is discovered/required, the more costly and limited the options are to address it.

Bottom line, spreadsheets, if well defined, can be used to load data into IRMIS. In particular:

• Magnet data: has been defined and test data (spreadsheets) is being gener-ated by the Magnet Measurement group.

• Survey & Alignment data: has been defined and test data (spreadsheets) is being generated by the Survey & Alignment group.

Demo IV: “Engineering Data” Requirements

10 of 18BROOKHAVEN SCIENCE ASSOCIATESBROOKHAVEN SCIENCE ASSOCIATES

IRMIS 101 (D. Dohan)

11 of 18BROOKHAVEN SCIENCE ASSOCIATESBROOKHAVEN SCIENCE ASSOCIATES

IRMIS: Process/Data Flow Design (D. Dohan)

12 of 18BROOKHAVEN SCIENCE ASSOCIATESBROOKHAVEN SCIENCE ASSOCIATES

Demo V: Use Sys. Eng. Wiki for Schema Design1

13 of 18BROOKHAVEN SCIENCE ASSOCIATESBROOKHAVEN SCIENCE ASSOCIATES

Phys ics Domain schema

Inventory Domain schema Installation Domain schema

• Magnets.

• Survey & Alignment.

• Prototype/test infrastructure with simu-lated data from the Equipment Experts.

1 D. Dohan

Gap Analysis: “Second Pass”

14 of 18BROOKHAVEN SCIENCE ASSOCIATESBROOKHAVEN SCIENCE ASSOCIATES

Template:

Examples:

• Use cases: machine protection, orbit control, BPM “health check”, injection, RF monitoring, transient capture, trending, correlation analysis, etc.

• Data sources: BPMs, power supplies, survey & alignment, beam based align-ment, ion pumps, grid voltage, etc.

Use Case Data Location(Control System) Data Source (local)

System/application Data DeviceTitle/owner Title/owner Title/owner

Brief description Brief description Brief description(accuracy, long term stability)

Data needed Storage/location(RDB, IRMIS, etc.) Information provided

Rate

Demo VI: Leverage (by J. Skaritka & F. Lincoln)

15 of 18BROOKHAVEN SCIENCE ASSOCIATESBROOKHAVEN SCIENCE ASSOCIATES

Despite the “travelers” (for vendor compliance) being by paper, the following information will be captured from the vendors’ “pre-shipment check list” and loaded into IRMIS:

The IRMIS data base for the NSLS2 storage ring magnets shall comprise of the following magnet 

data:

magnetic field measurements originated  from either the vendor or BNL, reviewed and 

authorized by Animesh Jain will be submitted, only one set of final field harmonic  results will be included,

Magnet mechanical and electrical data from  the Vendor will be transferred  from the magnet’s 

pre‐shipment  check list.

 Incoming electrical, hydraulic, and survey inspection data will be captured from the BNL magnet inspection travelers

This electrical and mechanical data shall be submitted for entry into IRMIS in a single spread sheet format with the noted lattice location for each magnet in the storage ring.

EPICS-4: A Proactive Approach (by B. Dalesio et al)

16 of 18BROOKHAVEN SCIENCE ASSOCIATESBROOKHAVEN SCIENCE ASSOCIATES

Client-Server Architecture for HLA

Distributed Front-Ends

MMLT Client

Middle Layer Servers

Physical Device

Ethernet

PVAccessModel Server

Production HLA Client

PVAccess/CAC PVAccess/CAC

Control System Studio

PVAccess / CAC

DiagnosticsCASPVA

Tracy-3

PVAccessChannel

Finder Svr

SQL

RDB

PVAccess/CAC

Multi-Channel

Arrays Svr

Physical Device

Power SuppliesCASPVA

Physical Device

RFCASPVA

Physical Device

VacuumCASPVA

Physical Device

Utilities etc..,CASPVA

PVAccess/CAC

Save/Compare Restore Svr

SQL

Scripting HLA Client

PVAccess/CAC

IRMIS

PVAccess

Lattice Server

SQL

IRMIS

PVAccess/CACMagnet Conv,

Response Matrix,

Dispersion, etc….

Serves orbit, magnets, any array of channels

CompletedEarly DevelopmentBeing Extended

LS2 Simulation(Tracy-3)

Diag & PSCASPVA

• The infrastructure for the control system (for real time equipment control) is well advanced. And, from the start of the NSLS-II project, the scope for the EPICS (open source) collaboration has been extended to include support for model based accelerator commissioning & control (EPICS-4).

• SharePoint (used by The Project) provides basic admin Web services. How-ever, while it provides “connectivity” (in the MicroSoft sense), it is unsuitable for data sharing across platforms (i.e., Linux/IRMIS). Regardless, such obsta-cles have been overcome thanks to (local) expert know-how.

• IRMIS (a rel. DB for conf. mgmt) has been ported from APS. However, while the infrastructure is in a proactive situation, there is a potential for “missed opportunity”. In particular, a decisive approach is needed from the Proj. Mgmt, if streamlined, error free processes for data loading into IRMIS is going to materialize. Otherwise, external circumstance will determine the path.

• Systems Engineering, is another potential “missed opportunity”; in matrix style organizations. In particular, since “extra” work (and decisions) is required up-front from the Equipment Experts (and Proj. Mgmt), i.e., to cap-ture the requirements for the entire system; for a systematic approach to sys-tems integration.

Conclusions

17 of 18BROOKHAVEN SCIENCE ASSOCIATESBROOKHAVEN SCIENCE ASSOCIATES

Given the scope, a quantitative statement for how much that has been com-pleted at this point is not easy. So, instead, we will make qualitative statement:

• The infrastructure for configuration management is available, i.e., IRMIS “Eng.”.

• Electr. Eng. is in a proactive mode (standardized spreadsheets) to start to load data into IRMIS.

• The basic infrastructure for IRMIS “Acc. Phy.” is available, and schemas for “Magnets”, “Survey & Alignment” and “Optics” for HLA has been imple-mented.

• As “added value” some vendor magnet data will be captured.

• Support for HLA is available (EPICS-4 -> “Middle Layer”).

• Acc. Phy. has a clear (Python based) architecture (=> a strategy) for the HLA; that is currently being implemented.

• Info for ~104 cables- and 104 EPICS channels need to be loaded.

• About 102 “Use Case” need to be worked out.

Status

18 of 18BROOKHAVEN SCIENCE ASSOCIATESBROOKHAVEN SCIENCE ASSOCIATES