10

Click here to load reader

Information retrieval system for ENDF format libraries

Embed Size (px)

Citation preview

Page 1: Information retrieval system for ENDF format libraries

Pergamon Ann. Nucl. Energy, Vol. 24, No. 18, 1515-1524, 1997 pp.

0 1997 Elsevier Science Ltd. All rights reserved PII: SO306-4549(97)00013-3 Printed in Great Britain

0306-4549/97 $17.00 + 0.00

TECHNICAL NOTE

INFORMATION RETRIEVAL SYSTEM FOR ENDF FORMAT LIBRARIES

C. VELLOSO-FERREIRA’ and R. PAVIOTTI-CORCUERA*

‘CTA/IEAv/EAN-N, Caixa Postal 6044, 12231-970, S.J. Campos, SP, Brazil

21NPE/DGE, Caixa Postal 515, 12201-970, S.J. Campos, SP, Brazil

(Received 27 December 1996)

Abstract-This report presents a data information retrieval system for ENDF (Evaluated Nuclear Data File) format libraries, which can be run on PC com- puters under the Windows@ environment. The input is the filename of an ENDF. The system will process this file and generate two others. One contains a list of materials with the corresponding nuclides, laboratory, author and date of evaluation; the other provides information about the MF and MT numbers for each material, expressed by the number of records. This interactive and easy-to-handle system is of interest to nuclear and reactor physics researchers. 0 1997 Elsevier Science Ltd

INTRODUCTION

The Nuclear Data Center (CDN) of the Instituto de Estudos Avancados (IEAv) has as a priority mission to provide data and nuclear parameters to universities and research institutions in Brazil.

In order to accomplish this mission, one of the CDN’s tasks is to elaborate catalogues with information about available libraries (Paviotti, 1980, 1984, 1986). These catalogues are distributed to institutions and universities throughout the country and the interested user can request data in magnetic tape, floppy disk or graphics.

Among the most utilized nuclear data libraries, there are those in ENDF format Rose (1992) and this is the reason why these libraries deserve special treatment, e.g. the devel- opment of a special, user friendly, easy information retrieval database management sys- tem.

Before the creation of the system above, a data index system for libraries in ENDF format was created. This ‘index generator’, (Silva et al., 1992, 1994) gets information from the database and writes a report. There is also a VAX version of this system (VAX-C language) (Ferreira et al., 1994). The necessity of this new version became clear from contacts with other nuclear data centers, which solicited mainframe versions (IBM and VAX) of the existing system.

1515

Page 2: Information retrieval system for ENDF format libraries

1516 Technical Note

The successful and widespread use of the Windows’@ environment made us think about the possibility of developing a new indexing system for data in ENDF format, similar to the previous one, but this time integrated in the Windows’@ environment. In the following sections we describe this system.

DESCRIPTION OF THE DEVELOPED SYSTEM

Similar to the old system, the present version provides information about the contents of a file in ENDF format, it generates an index of nuclides and a report with information about the amount of data, and the number of records for each reaction of each nuclide.

The system was created following the Windows architecture, where the procedures options and available functions of the system are localized in a menu bar, at the top of the window.

The system is easily handled using either the mouse or the keyboard, through shortcut keys (ALT key + underlined letter). The user does not need to input data and all options are made clear, so human errors are minimized.

The system creates two files, which can be seen on the screen or printed on paper. In order to execute the system, it is necessary that the files ‘DEFNTION.MF’ and

‘DEFNTION.MT’, which contain the definitions of the MF and MT numbers, respec- tively, must be in the same directory of the application (the executable program INDEX.EXE). The file VBRUN300.DLL and the software Windows@’ are needed to run the system.

The principal window of the system, as may be seen in Fig. 1, provides all options available in the system, and they can be accessed through the keyboard using shortcut keys, or the mouse.

The options are: ‘File (Alt + F), includes the options to process the database file and to exit the system

(return to Windows).

Information Retrieval System For ENDF Format Libraries

Clitudia VcRo~o Ferreira* R Paviotti Comma * *

%tituto de Eshrdos Avancados - IEAv Centro T&X~CQ Aeroespaciai - CTA

hshtuto National de Pesquisas Espaciais - INPE

S~Q JQSC dos GUI~QS, SF’ - Bra4 Vcrrk I - 1995

Fig. 1. Principal window, system introduction.

Page 3: Information retrieval system for ENDF format libraries

Technical Note 1517

‘Option (Alt + 0), includes the options to display on the screen and to print the indexes created.

‘Help (Alt + H), gives general instructions and information about the system.

PROCESSING AN ENDF LIBRARY

The option Open, in the File menu option, allows the opening and processing of the database file (Fig. 2). There is no restriction on the name of the file containing the ENDF format data, except that the extension should be ‘.NDF’, and the filename must be a valid one to the operating system.

Once selected, the option Open will permit the user to search for ‘*.NDF’-type files, through drivers and/or directories selection, or even to go to another point in a network

Information Retrieval System For ENDF Format Libraries

Clhudia VeUoto Few&a* R. Paviotti Corcuera ’ *

*Inshhm de Estudos Avangrdos - IEAv Ccntro Thico Acroespacial - CI’A

’ * Insmto National de Peoqusas Espacms - INPE

30 JosC dos Campos. SP - BrasJ

Vcrs~o I - 199s

Fig. 2. Choosing to process a database.

_id Filet of J&e Dtiyer: DaMbare Film(‘.ndf) liH~:Wil&iCi

Fig. 3. Opening of an ENDF database.

Page 4: Information retrieval system for ENDF format libraries

1518 Technical Note

(Fig. 3). The system will only open files with extension ‘NDF’, and it is supposed that they are in the correct ENDF format. If for some reason the format is not correct, errors will occur during the execution and the reports will be incorrectly generated.

At this stage, the user can cancel the job (Cancel button) this will take him to the pre- vious window. If the user proceeds (OK button) the system will process the chosen file and generate two others. The first one, with extension ‘.MAT’, contains a list of materials in the database, with the corresponding nuclides, MAT numbers, laboratory, author and date of evaluation; the other, with extension ‘.MFT’, provides information about the MF and MT numbers for each material, expressed by the number of records. Both files have the same name of the processed ENDF file (*.NDF).

Information about the processed database will be displayed on the screen at the end of the job execution (Fig. 4).

0 You have processed the : ACTIVATION I ENDF-6 Format Datafile

Fig. 4. Information about the processed database.

ClQudia Velloso Ferreira* Raquel Paviotti Corcuera* *

*Institute de Estudor Amyados - IEAv Centro TCcnrco Aeroespaciai - CTA

* * Instit~&o National de Pesquisas Espaciais - INPE

SZo JosC dos Campos. SP - Brasil vcrsso I - 1995

Fig. 5. Option menu to display indexes.

Page 5: Information retrieval system for ENDF format libraries

Technical Note 1519

DISPLAYING AND PRINTING THE INFORMATION

The system has two options to verify the results. The first one exhibits the generated reports on the screen in a proper window, and the other allows the reports to be printed.

In order to make the system easier to use, the functions to display or print the reports, either for the ‘*.MAT’ type files or for the ‘*.MFT’ type files, are shown separately. For this purpose two subroutines were written, one to display ‘*.MAT’ files and the other to display ‘*.MFT’ files. Both procedures work in the same way, the only difference being the window to open the file, where the type of the file to be opened (*.MAT or *.MFT) is already specified.

List Files of Jype: Mat index file[‘.mat)

Dtiyes: lwf c: winnt35

Fig. 6. Opening the index to be displayed.

I I I I I NSCLIDC I ImY 1 rrxwrrIm ,___________,_____,__________________-_______-_-______________~ I 1-x - 1 I 126 lLAAL,ma LmL-tav61 L.mEmAT (IaaL) A.mulm (Ra), I . I I LA-Jrfl a,.,, DISI--90 I I I I I I Y-Ll- ‘I l 326 lbAJlL MAL-A6Wl I.(i.XWW I

I I

I I DISf-pIm

I

I ‘-E- ’ ’ IZ3 ‘- EN-JAN86 FE-, PLPCW. HWX#N I

I I DISI--90

: ZY-CA- 61 ;,,,5 ;OAUL

I

EnLUVI9 lmuCA.lilf,m~II I I

I lmnl.nr-BAAr’~u-33r OIR-RAm I I I I i

Fig. 7. Display file windows.

Page 6: Information retrieval system for ENDF format libraries

Ia.l Technical Note

Once the display option is selected (Fig. 5) a window like Fig. 6 will appear. Pressing the ‘0K button’ the file will be displayed in a proper window as shown in Fig. 7. Using the l~rizontal and vertical scroll bars, the user can view the whole file. The option Print (button in Fig. 7) creates a printed report of the current file.

The display procedure will not manipulate files with size greater than 32 Kb. In this case, the file will be divided into blocks of 30Kb, called pages, and exhibited page by page. An alert message will be displayed in the relevant window as shown in Fig. 8. The &ime needed to execute this procedure depends on the size of the file.

The window to exhibit the file is presented. At the bottom of the window, a message showing which page is being displayed is presented as shown in Fig. 9. Using the com- mand buttons, the user can go to the previous page ( < < ) or to the next page ( > > ), and ,with the Wr& option the current page may be printed (Fig. 9).

Theqtion to have a printed copy of the files, either ‘*.MAT’ or ‘*.MFT’ type, is shown in Fig. 10, where the function Print Setup allows the user to select the type of printing (Fig. 11).

Q The lilt Is loo long to be displayed. II will be paginated and displayed page by pagc.fleasc. be patient it will take a few seconds.

Fig. 8. Alert to long file.

i Y#-ZH- I’ I I ?mT - 2311 I NNJ.-WY.EVX.-HA?II 4116 JI #DIG m SIIY SOH; I I lass

DIIR-DCI11 I I 3 pmor) m-n ImL-6 I

- I ,“, I lb* -. muratum qivm) - in lam=- I I _____-_______-______~~~~~~~~__~~-~~_____-____~~~~____~~~~_-______ I* I 6emeral irbmtion I ____________-_-_____~~~~~-~~~____-_~__-__-_-__~~-____~~~_________

IlQl DmIlrdtLorr ItMorIlcoLa, __-_-______--_______~~---~~~~~~~~~~__-__-~-~~~~~~~~~~~~~-~~~~~_

1-11 ,r,1nc.rutiw4, I LIO I -_-________--_______~~---~~~~~~~~~___~___-~-~-~~~~~~~_-~~~~~ I lm! NODCal - LIl I ----~-~-~-----------~-_,______,_____,~~~~~~~-~~~~~

I- p Ipu- purrter rlrta I

Fig. 9. Window to exhibit the file page by page.

Page 7: Information retrieval system for ENDF format libraries

Technical Note 1521

The system also allows selection of the font size, Font Setup, the last option of Fig. 10. This leads to the next window as shown in Fig. 12.

The system uses ‘Courier’ font as a default, with size 10, because this is a non-propor- tional font which generates correct reports (a non-proportional font has all characters the same size). Before the printing, a test is done to verify whether this font is installed and available to the selected printer. A window to select a new font will appear in case there is no available Courier font (Fig. 13). The user must take care to select a non-proportional font, otherwise the reports will be printed incorrectly.

Cldudia Velloso Ferreira* Raquel Paviotti Corcuera* *

*Insthto de Estudos Avancados - IEAv Centro Ticnico Aeroespacial - CTA

* * Institute Naclonal de Pesqutsas Espacms - INPE

530 JosO dos Campos. SP - Brasil

Vers50 I - 1995

Fig. 10. Options menu to print the indexes.

Fig. Il. Printer configuration.

Page 8: Information retrieval system for ENDF format libraries

1522 Technical Note

INFORMATION AND USER HELP

The option Help, in the main window (Fig. 1) provides the user with some information about the system. This information includes the system capabilities and objectives (Fig. 14) and some instructions about the report generation procedures. In a future version a more complete help module will be incorporated and will include details about the procedures and explanations concerning general errors.

The function About gives information about the system authors and the institutions. The system was developed and tested in an IBM-PC compatible microcomputer, with DOS 6.2 as operating system and Windows 3.11. To create the application, the Visual Basic programming system was used, Microsoft (1993). The minimum platform tested was a PC-486, 40Mhz with 16Mb RAM. Due to the fact that the system should work with large databases (30 to 60Mb), it is very important that the computer performance has enough speed to obtain the results. Significant differences were verified when the system was tested in a Pentium 90 Mhz.

Fig. 12. Font size configuration.

Available Fonts :

Times New Roman Sample

Fig. 13. Font selection.

Page 9: Information retrieval system for ENDF format libraries

Technical Note 1523

You are running the System INDEX. This system produces an

index of data for libraries in ENDF format.

You will be able to:

. Create an index of MAT numbers and their corresponding nuclides

. Create an index of MAT, MF and MT numbers

. Display on the screen or produce a printed list of the index created

To create an index, proceed in sequential order as follow:

. select option Open in File menu, to open and process the database

. select Option in main menu. to display and print the index created

Note : You can go to Option menu if index is already created

Fig. 14. Help window.

COMMENTS

The system is a useful tool to obtain information about data in the ENDF format, especially when the user wants to know which nuclides and reactions are in the library.

The interaction with the IEAv researchers, future users of the system, has been of great importance for the project development. They have demonstrated a great interest in this system, their suggestions are very much appreciated and will allow improvement of future versions of the system. There is no other similar PC database management system for ENDF format data.

This system can be obtained free of charge from the Nuclear Data Section, Interna- tional Atomic Energy Agency, P.O. Box 100, A-1400 Vienna, Austria.

REFERENCES

Ferreira, C. Velloso, Silva, Orion de O., Paviotti Corcuera, R. and Cunha, M. de Moraes (1994) INDXENDF VAX/VMS Version. Nota Thica IEAv/NT - 002194.

Microsoft@ (1993) Visual Basic@ Programmer’s Guide. Version 3.0. Microsoft@ (1993) Visual Basic@’ User’s Guide. Version 3.0. Paviotti Corcuera, R. and Tanaka, E. (1980) Catglogo de Dados Nucleares. Nota Te’cnica

EAVJNT 007/80. Paviotti Corcuera, R. and Moraes, M. (1984) CatClogo de Dados Nucleares, Supiemento

No. 1. Manual IEAv/MN - 001/84.

Page 10: Information retrieval system for ENDF format libraries

1524 Technical Note

Paviotti Corcuera, R. and Moraes, M. (1986) Cat&logo de Dados Nucleares, Suplemento No. 2. Manual IEAv/MN - 005/86.

Rose, D. F. and Dunford, C. L. ENDF - 102. (1992) Data Formats and Procedures for the Evaluated Nuclear Data File ENDF-6. IAEA-ZVPS-76(4).

Silva, Orion de O., Paviotti Corcuera, R., Ferreira, P. (1992) A PC Visual Catalogue for Data in EN DA

. and Cunha, M. de Moraes F Format. Annals of Nuclear

Energy, Vol. 19, (9) pp. 539-543. Silva, Orion de O., Paviotti Corcuera, R., Velloso Ferreir

1 , C. and Cunha, M. de Moraes

(1994) A Visual System for Data in ENDF Format. Proceedings of the International Conference on Nuclear Data for Science and Technology, pp. 751-753.