SC-237 I I COMPUTER PROGRAMS FOR THE DIGITIZING ~ AND USING OF LIBRARY TAPES OF SHIP 1 STRESS AND ENVIRONMENT DATA I This document has been approved for public release and sale; its distributionis unlimited. SHIP STRUCTURE COMMITTEE 1973 SHIP STRUCTURE COMMITTEE Ati INTERAGENCY ADVISORY COMMITTEE DEOICATEO TO IMPROVING THE STRUCTURE OF SHIPS MEMBER AGENCIES, ADDRESS CORRESPOtlOENCE TO: LINIICDSTATESCOASTGUARD SECRSIARY NAVALSI+IPSYSTEMSCOMMAND SHIP STRUCTURE COMMITTEE MIIITARYSEALIFTCOMMAND u.S.COASTGUARDHEADOUARIERS MAII1!MEADMINISTRATION WASHINGTON, D.c.XM4k 20590 AMFRI(:ANBUREAUOFStilppING I This report k the companion to SSC 236, a Method for Digitizing, Preparing and Using Library Tapes of Ship Stress and Environment Data, and cent ains the details of the conversion program which has been developed to increase the usefulness of full scale hull s tress, ship motion and environmental information which has been obtained over the last several years. Rear Admiral, U. S. Coast Guard Chairman, Ship Structure Committee SSC-237 Final Technical Report on Project SR-187, “Ship Response Data Study” PART II COMPUTER PROGRAMS FOR THE DIGITIZING AND USING OF LIBRARY TAPES OF SHIP STRESS AND ENVIRON- MENT DATA by Aldie E. Johnson, Jr. James A. F1aherty Isaac J. Walters Teledyne Materials Research under Department of the Navy Naval Ship Engineering Center Contract No. NOO024-69-C-5161 This document has been approved for public release and sale; its distribution is unlimited. U.S. Coast Guard Headquarters Washington, D.C. 1973 ABSTRACT Details of computer programs and their operating instructions are given for the processing of logbook-type data and associated analogue stress signals into digital format. The logbook data is keypunched, edited and formatted for subsequent merging with the analogue signal which has been pro- cessed through an Analogue-to-Di gital (A/D) converter. Accumulation of summary data during the processing is also output on to digital magnetic tape which is then available for use in statistical analyses. A program for re- trieval of selected data from the digital magnetic tape is included. -ii- _— TABLE OF CONTENTS SECTION PAGE 1’ INTRODUCTION . ...1 11 COMPUTER PROGRAMS . ...1 111 RESULTS . ...2 Iv CONCLUDING REMARKS . ...3 v REFERENCES . ...3 APPENDIX A - LOGBOOK PREPROCESSOR PRI.XWWI . 4 APPENOIX B - LOGBOOK PAPER TAPE LOAD PROGRAM . 15 APPENDIX C - DATA CONVERSION AND ANALYSIS PROGRAM . 24 APPENDIX D - SUMMARY TAPE AND EDIT PROGRAM . 69 APPENDIX E - FINAL SUMMARY TAPE PROGRAM . 81 APPENDIX F - SUMMARY TAPE CORRECTION PROGRAM . 86 APPENDIX G - SUMMARY TAPE LISTING PROGRAM . 89 APPENDIX H - PARAMETRIC STUDIES PROGRAM . 90 APPENDIX I - RELATIVE WIND DIRECTION CORRECTION W8ROUTIFIE . 104 -iii- –—— LIST OF TABLES TABLE PAGE 1 List of Programs . 1 A-I Input Card Format . 5 A-II Punched Tape Output . 6 A-III Program Listing . 9 B-1 Program Listing for Logbook Paper-Tape Load Program . 18 B-II Operating Procedure for Paper-Tape Load Program . 23 c-I Program Listing for Data Conversion and Analysis Program . 36 D-I Program Listing for Sumnary Tape and Edit Program (Version I) . 74 D-II Program Listing for Sumnary Tape and Edit Program (Version II) . 77 E-I Program Listing for Final SunrnaryTape Program . 84 F-I Program Listing of Sumnary Tape-Correction Program . 88 G-I Program Listing of Sumnary Tape-Listing Program . 89 H-I Program Listing for Parametric Studies Program . 99 I-I Program Listing for Relative Wind Correction Subroutine . 106 LIST OF FIGURES FIGURE & A-1 Logbook Preprocessor Computer Program Flow Chart - VOY (lst LINK). # A-2 Logbook Preprocessor Computer Program Flow Chart - VOY1 (2nd LINK) . ~ B-1 Flow Chart for Paper-Tape Load . 17 c-1 Flow Chart for Data Conversion and Analysis Program . 25 c-2 Data-Tape Output Format ..,. ..32 D-1 Flow Chart for Summary Tape and Edit Program . ~j E-1 Flow Chart for Final Sumnary Tape Program . 83 F-1 Flow Chart for Sumnary Tape-Correction Program . t%j H-1 System Flow Chart for Parametric-Studies Program . %$ H-2 Detail Flow Chart for Parametric-Studies Program . % 1-1 Flow Chart for RELWND Subroutine . ..i6@ -v- SHIP STRUCTURE COMMITTEE The SHIP STRUCTURE COMMITTEE is constituted to prosecute a research program to improve the hull structures of ships by an extension of knowledge pertaining to design, materials and methods of fabrication. RADM W. F. Rea, 111, USCG, Chairman Chief, Office of Merchant Marine Safety U.S. Coast Guard Headquarters Capt. J. E. Rasmussen, USN Mr. E. S. Dillon Head, Ship Systems Engineering Deputy Asst. Administrator and Design Department for Operations Naval ShiD Engineering Center Maritime Administration Naval Ship Sy;ternsCommand Mr. K. Morland CAPT L. L. Jackson, USN Vice President i~aintenanceand Repair Officer American Bureau of Shipping Mil itary Sealift Command SHIP STRUCTURE SUBCOMMITTEE The SHIP STRUCTURE SUBCOMMITTEE acts for the Ship Structure Committee on technical matters by providing technical coordination for the determination of goals and objectives of the program, and by evaluating and interpreting the results in terms of ship structural design, construction and operation. NAVAL SHIP ENGINEERING CENTER AMERICAN BUREAU OF SHIPPING Mr. P. M. Palermo - Chairman Mr. S. Stiansen - Member ihlr.J. B. O’Brien - Contract Administrator Mr. I. L. Stern - Member Mr. G. Sorkin - Member Mr. C. H. Pohler - Member NATIONAL ACADEMY OF SCIENCES U S. COAST GUARD Ship Research Committee LCDR C. S. Loosmore - Secretary Mr. R. W. Rumke - Liaison CAPT H. H. Bel1 - Member Prof. R. A. Yagle - Liaison CDR J. L. Coburn - Member CDR W. M. Devlin - Member socIETy OF NAVAL ARCHITECTS & MARINE ENGINEERS MARITIME ADMINISTRATION Mr. T. M. Buerman - Liaison Mr. J. J. Nachtsheim - Member Mr. F. Dashnaw - Member BRITISH NAVY STAFF Mr. A. Maillar - Member Mr. R. F. Coombs - Member Dr. V. Flint - Liaison Mr. F. Seibold - Member WELDING RESEARCH COUNCIL MILITARY SEALIFT COMMAND Mr. K. H. Koopman - Liaison Mr. R. R. Askren - Member Mr. T. W. Chapman - Nember INTERNATIONAL SHIP STRUCTURE CONGRESS CDR A. McPherson, USN - Member Ifr.A. B. Stavovy - Member lMr.J. Vasta - Liaison -vi- ——-- 1.. INTRODUCTION Midship bending stress data fmm four dry-cargo ships, accumulated during an eleven-year period ending in 1970 under Ship Structure Comnittee Project SR-153, “Ship Response Statistics” were available as analogue signals recorded on magnetic tape. Associated with these data were lo~books which contain hand-entry data relative to pertinent ship, sea and weather infoimatioss. Subsequent to the collec- tion of data, better techniques became available for digital processing of data by high-speed computers, thus permitting easier and better access to the data for statistical purposes. In Reference 1, the general method was described which prepared and digitized the analogue signals and combined them.with the corresponding logbook information. Further, demonstration examples were given of the retrieval of various items of data and of presentation formats for use In statistical analyees. Although no statistical analyses were intended as part of this project, ample evidence was given of the pos- sibilities available through the use of the detailed programs developed during the project. This report presents the details of the several computer programs which were developed to handle, process, edit, compact, retrieve and display the data original- ly recorded in analogue form (on magnetic tape) and aa hand-entry logbooks. Although the programs were specifically written to handle midship bending stress and related data, they can be used with minor mdif ications to handle a broad variety of cma- logue signals. II. COMPUTER PROGSAMS To aid the reader, each of the several programs developed has been described in a separate Appendix as shown on Table 1. lhua, uae of one or mere of the programs for other applications should be made more convenient. However, a short description of the I@ or programs IS given here with the subroutine and peripheral programs given only brief reference. The logbook data were prepared as punched card input. The analogue process- ing equipment utilized a perforated paper-tape input, thus a Logbook Pre-Processor program was used to edit the punched-card data and prepare the perforated paper tape. The paper tape also contained operating instructions for the computer. These paper tapes were then read into the processor computer and stored for subsequent use and merging with the digitized stress signals. In Appendix A, are given the program TABLE I - LIST OF PROGRAMS APPENDIx A - L0690QK PP.f-PROCLSSORPROGRAM .WPENDIX B - LOC800K PAPER TAPE LOm PROGRJJ4 .WPEND1X C - DATA COWERS1ON#lD ANALYSIS PRWI.4H .W’PHIDIX O - SWtW TWE MD EDITPROGW4 WFNDIX E - FIMAL SUIW.4RVlW’E PROGKM M’PENDIX F - SUW4!RY TAPE CORRICTION PROGP.PJI AWNDIX G - SUW4RY TAPE LISTING PFJ3GRW APPENDIX H - PA.WETRIC SWD1fS PFIWAM W’PL!IDIX 1 - PILATIVE wIND OIRSCTfOil COFWCTION WBRCJJTINE -2- details for the Logbook Pre-Processor progrem and in Appendix B are given the de- tails of the Logbook Paper-Tape Load program which reads and stores the logbook data in the computer. The main processing program (called Data Conversion and halysis) operated in a real-time environment through the R?al-Ti* Programmable Clock within the computer. In Appendix C are given the details of the program, written in Assembler Language which permitted processing to be done at a rate increase factor up to 25 over the original recording rate (O.3 inch/second) without requiring starting and stopping of the analogue playback unit. The practicality of processing and writing a complete digital data tape with- out errors (which would have necessitated considerable rerunning of much already completed and correct data) early indicated a requirement for the capability to edit and compact partially filled data tapes onto one essentially filled data tape. A Summary Tape and Edit program (Appendix D) provide$ this capability and permits certain editing options. For data retrieval to be used for statistical studies, the computer read time could be shortened appreciably by reading only the pertinent data and not reading the 12,000 pieces of raw data recorded for each interval.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages118 Page
-
File Size-