national bureau of standards report · -pt3 kcdcdc rqc3-38 cabling program-39-subroutine resap does...

124
NATIONAL BUREAU OF STANDARDS REPORT 10 435 A SEARCH AND RESCUE SIMULATION MODEL FOR THE UNITED STATES COAST GUARD Appendix A FLOW CHARTS FOR PROGRAMMER LEVEL DOCUMENTATION U.S. DEPARTMENT OF COMMERCE NATIONAL BUREAU OF STANDARDS

Upload: others

Post on 31-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

NATIONAL BUREAU OF STANDARDS REPORT

10 435

A SEARCH AND RESCUE SIMULATION MODEL FOR THE UNITED STATES COAST GUARD

Appendix A

FLOW CHARTS FOR PROGRAMMER LEVEL DOCUMENTATION

U.S. DEPARTMENT OF COMMERCE

NATIONAL BUREAU OF STANDARDS

Page 2: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

NATIONAL BUREAU OF STANDARDS

The National Bureau of Standards 1 was established by an act of Congress March 3, 1901. Today,

in addition to serving as the Nation’s central measurement laboratory, the Bureau is a principal

focal point in the Federal Government for assuring maximum application of the physical and

engineering sciences to the advancement of technology in industry and commerce. To this end

the Bureau conducts research and provides central national services in four broad program

areas. These are: (1) basic measurements and standards, (2) materials measurements and

standards, (3) technological measurements and standards, and (4) transfer of technology.

The Bureau comprises the Institute for Basic Standards, the Institute for Materials Research, the

Institute for Applied Technology, the Center for Radiation Research, the Center for Computer

Sciences and Technology, and the Office for Information Programs.

THE INSTITUTE FOR BASIC STANDARDS provides the central basis within the United

States of a complete and consistent system of physical measurement; coordinates that system with

measurement systems of other nations; and furnishes essential services leading to accurate and

uniform physical measurements throughout the Nation’s scientific community, industry, and com-

merce. The Institute consists of an Office of Measurement Services and the following technical

divisions:

Applied Mathematics—Electricity—Metrology—Mechanics—Heat—Atomic and Molec-

ular Physics—Radio Physics -—Radio Engineering -—Time and Frequency -—Astro-

physics -—Cryogenics. 2

THE INSTITUTE FOR MATERIALS RESEARCH conducts materials research leading to im-

proved methods of measurement standards, and data on the properties of well-characterized

materials needed by industry, commerce, educational institutions, and Government; develops,

produces, and distributes standard reference materials; relates the physical and chemical prop-

erties of materials to their behavior and their interaction with their environments; and provides

advisory and research services to other Government agencies. The Institute consists of an Office

of Standard Reference Materials and the following divisions:

Analytical Chemistry—Polymers—Metallurgy—Inorganic Materials—Physical Chemistry.

THE INSTITUTE FOR APPLIED TECHNOLOGY provides technical services to promote

the use of available technology and to facilitate technological innovation in industry and Gov-

ernment; cooperates with public and private organizations in the development of technological

standards, and test methodologies; and provides advisory and research services for Federal, state,

and local government agencies. The Institute consists of the following technical divisions and

offices:

Engineering Standards—Weights and Measures — Invention and Innovation — Vehicle

Systems Research—Product Evaluation—Building Research—Instrument Shops—Meas-

urement Engineering—Electronic Technology—Technical Analysis.

THE CENTER FOR RADIATION RESEARCH engages in research, measurement, and ap-

plication of radiation to the solution of Bureau mission problems and the problems of other agen-

cies and institutions. The Center consists of the following divisions:

Reactor Radiation—Linac Radiation—Nuclear Radiation—Applied Radiation.

THE CENTER FOR COMPUTER SCIENCES AND TECHNOLOGY conducts research and

provides technical services designed to aid Government agencies in the selection, acquisition,

and effective use of automatic data processing equipment; and serves as the principal focus

for the development of Federal standards for automatic data processing equipment, techniques,

and computer languages. The Center consists of the following offices and divisions:

Information Processing Standards—Computer Information — Computer Services— Sys-

tems Development—Information Processing Technology.

THE OFFICE FOR INFORMATION PROGRAMS promotes optimum dissemination and

accessibility of scientific information generated within NBS and other agencies of the Federal

government; promotes the development of the National Standard Reference Data System and a

system of information analysis centers dealing with the broader aspects of the National Measure-

ment System, and provides appropriate services to ensure that the NBS staff has optimum ac-

cessibility to the scientific information of the world. The Office consists of the following

organizational units:

Office of Standard Reference Data—Clearinghouse for Federal Scientific and Technical

Information ‘—Office of Technical Information and Publications—Library—Office of

Public Information—Office of International Relations.

1 Headquarters and Laboratories at Gaithersburg:, Maryland, unless otherwise noted;

- Located at Boulder, Colorado 80302.;i Locate-d at 5285 Port Royal Road, Springfield, Virginia 22151.

tiling address Washington, D.C. 20234.

Page 3: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

NATIONAL BUREAU OF STANDARDS REPORT

10 435

A SEARCH AND RESCUE SIMULATION MODEL FOR THE UNITED STATES COAST GUARD

Appendix A

FLOW CHARTS FOR PROGRAMMER LEVEL DOCUMENTATION

U.S. DEPARTMENT OF COMMERCE

NATIONAL BUREAU OF STANDARDS

Page 4: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary
Page 5: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

PREFACE

This volume is one of a series which documents a Search and

Rescue Simulation Model for the United States Coast Guard. The

material reported in this documentation was developed by an inter-

disciplinary team at the National Bureau of Standards with representa-

tion from the U.S. Coast Guard under MIPR Z-70099-0-01935.

The complete documentation is comprised of the following:

Volume I Executive Level Documentation

Volume II Analyst Level Documentation

Volume III Programmer Level Documentation for "PREPROCESSOR"

Volume IV Programmer Level Documentation for "OPSIM"

Volume V Programmer Level Documentation for "POSTPROCESSOR"

Appendix A Flow Charts for Programmer Level Documentation

Appendix B Program Listings for Programmer Level Documentation

The study was initially conducted under the supervision of Martin

J. Aronoff; subsequently efforts were supervised by Richard T. Penn, Jr.

Technical Project Leadership was supplied throughout the project by

Stephen S. Karp. Other participants from the National Bureau of Standards

Technical Analysis Division included the following:

Susan S. Chamberlin Elizabeth E. Leyendecker

Linda K. Cummings Marcia D. Maltese

Mary Jane Duberg Patsy L.B. Saunders*

William Elliott, III Wayne A. Steele

Walter G. Leight Michael R. Vogt

Joel Levy Arnold L. Weber

1

Page 6: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Valuable advice was received from Alan J. Goldman* and Prof. Gustave J. Rath

of Northwestern University.

U.S. Coast Guard participants included:

Paul D’Zmura Gerald L. Underwood

Thomas T. Matteson Robert R. Wells

Support services were furnished by the following members of the

MBS Technical Analysis Divison:

Mary M. Abbott Frances E. Jones

Theresa I. Conrad Lucinda I. Farrell

* Staff members of the NBS Applied Mathematics Divison

Page 7: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

TABLE OF CONTENTS

Page

I. PREPROCESSOR

PCP 1

NEEDS

NUCASE 11

READ 15

FIELD 17

DEMGEN . . 19

HIST ... 24

SELECT 27

II. OPSIM

START 28

NUCRU

OPSIM

SRAS 33

CRES 34

VEC 37

OSET 39

RESAP 40

ROCA 46

MRAS 47

NOTIF 48

TOW 49

DTD 50

SRCH 51

iii

Page 8: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

page

NOTE . 53

SASS 54

SSS 56

READY 60

ARSCH 61

COMPL .......... ..... 62

SSET 63

FUEL 64

HOMED 65

SNDBK 66

SRISE 68

XSET 69

SERVE. 70

DELAY 72

ARVSN 73

STATS. ............. 76

SRCHF 77

ONSCN 78

COVER 80

CHEKN. 81

RETN 82

TERM 83

HOME 85

SAQ 86

QUEUE .88

EXQ 90

IV

Page 9: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

page

STOBY .......... 94

SVQUE 98

WRECK .............. 99

ENDSIM. 100

DRIVE ......... 104

JUMPER. 105

v

Page 10: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary
Page 11: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 1 -

Page 12: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 2 -

Page 13: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

convert A3to integer

Page 14: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 2 -

Page 15: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

X=((L0NG-C7B)j

*ZEETA)/60 i

Y=C7A-LAT 5

- 3 -

Page 16: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 4 -

Page 17: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 5 -

Page 18: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary
Page 19: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 7 -

Page 20: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary
Page 21: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

'CCi

>o

ijj

^ £o-

Sx

£

u ^

1*

2 a?Q cs.

£

1 ^ Q >•

> '4J V-|o 4c ^ <v

^ ? * u*

V Co ^ C.

( 'J £ 2 <o

oi?.^Vr T C* c.

£

Q

.r

y ^ £J Uj Uj

0^0.

Uj

4tUi -<t

W tV 5if <o

v£> <V

G $ *

(5 U *l4 s;*O C-O

h

;uwO Uj

is'O Uj

:«- *v*; ^5 >0 ^;<5 £ (o

-9-

Page 22: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

I?'

&EN£fZAL

ASS

1ST

-

Awee

rendered

gy

•10

£fc

QoiR.es

air.

eSc

c

st

Page 23: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 11 -

-II-

Page 24: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 12 -

Page 25: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

(F).T

- 13 -

-

13-

Page 26: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

©

Page 27: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 15 -

-SI-

Page 28: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 16 -

Page 29: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 17 -

-LX-

Page 30: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 18 -

-

18

-

Page 31: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

initialize

conmtbA

- 19 -

Page 32: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

V

/ n

7t-%

|^ '

20 -

Page 33: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

©- 21 -

Page 34: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 22 -

Page 35: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 23 -

Page 36: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary
Page 37: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 25 -

-

25

-

Page 38: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 26 -

Page 39: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

PROGRAM

SELECT

- 27 -

Page 40: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

EXOGENOUS

EVENT

START

V) -H^ <L> +->

U U ctf

0) W NP *H

U O r-H

tf) Clj

cn <l> *p-l

00 P PO -H>h m pjU O *H

i

- 28 -

*MAINXX

is

the

timing

routine

Page 41: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

ENDOGENOUS

EVENT

NUCRU

- 29 -

^AINXX

Page 42: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

NUCRU

Cont.

- 30 -

+DVEC

Page 43: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 31 -

and

all

of

its

adjacent

s

Page 44: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Read

NEED

(NOTIP)

I

I

^XDoes

- 32 -

^iainxx

J

Vmainxx

Page 45: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Subroutine

SRAS

- 33 -

Page 46: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

SUBROUTINE

CRES

<

,

I

IRAY1(1)=23

Page 47: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

-35

’Value

of

PAP

Page 48: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 36 -

IPAY2

now

contains

all

^

stations

capable

of

serving

LOOP

[

the

CASE

Page 49: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Subroutine

VEC

Page 50: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

VEC

Cont.

CD £^ -P T3CD CD Ck rQ c3

-38

cabling

program

Page 51: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 39 -

Page 52: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Subroutine

RESAP

Does

station

of

,XSTN(CASE)\

resource

=

any

of

Tfie~'N=CUT(STATN(

^

cutters

of

the

primary

^\

v

CASE)ji/'

Page 53: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

RESAP

Cont

.

- 41 -

-

41

-

Page 54: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

RESAP

Cont.

<L>

- 42 -

Page 55: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

CO

a

Page 56: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

RESAP

Cont.

CD-tr- "TD“

U3 i oj

O U T-J(/) <D T3<L> +-> ctJ

Vh CH <D (/)

03 X £<D +-> O

*-< X)O

C+̂->

£ OT3 IA

- 44 -

Page 57: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 45 -

Page 58: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Subroutine

ROCA

Cause

STNBY

at

TIME

+

2

hours

Page 59: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 47 -

-

47

-

Page 60: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

ENDOGENOUS

EVENT

NOT

IF

- 48 -

Page 61: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

SUBROUTINE

TOW

(CASE)

- 49 -

,Retum\

o

callii

routine

Page 62: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

SUBROUTINE

DTD(CASE

,XD,YD,D)

- 50 -

D=SORT

((XC-XD)

**2+(YC-YD)

**2)

Page 63: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

DO

FOR

I=(l)

fSlSfCASEl

Subroutine

SRCH

-SI-

Cal]

SSS

Page 64: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

SRCH

Cont

.

- 52 -

ITOLfCASEI

=4

Increase

1^

J

FAIL2(STATN(CASE))

Page 65: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

ENDOGENOUS

EVENT

NOTE

- 53 -

Page 66: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Subroutine

SASS

- 54 -

Page 67: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 55 -

Page 68: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Subroutine

SSS

O'CD XwO II

II u-J 5 !

PQ & Ul-H 2.

-M O<DCO II

- 56 -

Page 69: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary
Page 70: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

SSS

Continued

-58

Page 71: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Subroutine

SSS

- 59 -

Page 72: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Subroutine

- 60 -

Page 73: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Endogenous

Event

ARSCH

- 61 -

Page 74: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Endogenous

Event

COMPL

- 62 -

^9

MAINXX

Page 75: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Endogenous

Event

SSET

- 63 -

Page 76: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Endogenous

Event

FUEL

<D

CD

O4—

>

T3

-64 -

Page 77: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Endogenous

Event

HOMEF

- 65 -

Page 78: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 66 -

Page 79: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

couXg

- 67 -

Page 80: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Endogenous

Event

SPISE

- 68 -

Page 81: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Endogenous

Event

XSET

- 69 -

Page 82: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Subroutine

SERVE

o rHU H ++ + CO •U CO Q PJt- tu Wco 2 uO 2 2: .uu ii z

II II CO IIU(OQWh W W"co 2 wo z zU CJ

- 70 -

Page 83: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

4->

O)

- 71 -

routine/

Page 84: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 72 -

Page 85: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Endogenous

Event

ARVSN

if)

if) <D

p

N O OH h h •

—i co co o opH W W II II

Cu II II WP

— PCO O h< hhO co Ph o >-<

II PJ II II QW K Ph CD CdCO II H < H

-3 co

73 -

Page 86: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

ENDOGENOUS

EVENT

ARVSN

r—

1

II § «H Qeg ii Q3 P* SCW HQ +

. . Jz>

- 74 -

JFLAG=2

Page 87: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

1

- 75 -

CAUSE

ONSCN

AT

TRLS

Page 88: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

SUBROUTINE

STATS

.1

ling/rout

in

Page 89: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

SUBROUTINE

SRCHF(CASE,

INOTF,

IRS)

- 77 -

.3SVDJ

LSO+3WIJL

Page 90: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Endogenous

Event

ONSCN

Page 91: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

- 79 -

LOOP

Page 92: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

SUBROUTINE

COVER

(CASE,

IRES)

- 80 -

XRLS=RLS(IFLT)

IWAIT(CASE)=IW

IW=lR

IB(IW)

=

2

Page 93: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Endogenous

Event

CHEKN

- 81 -

Page 94: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

SUBROUTINE

RETN

(CASE,

IRS)

Page 95: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

SUBROUTINE

TERM

-83

Page 96: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

SUBROUTINE

TERM

(CASE)

Cont.

- 84 -

Page 97: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

ENDOGENOUS

EVENT

HOME

- 85 -

Page 98: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

SUBROUTINE

SAQ

£

Page 99: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

X3

1•rH4->

Cou

<rCO

- 87 -

Page 100: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

SUBROUTINE

QUEUE

(NCODE.M)

- 88 -

RQUE

EMP'

Page 101: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary
Page 102: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

SUBROUTINE

EXQ

- 90 -

Page 103: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

G>CO

DO,

FOR

EACH

IR

IN

RQUE/\ o

U'v /

'

LOOP

1

-91-

Page 104: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

EXQ

Continued

l

£ _O T3<L>

MH£

T3 00 cn

>O 0E0

O

- 92 -

*e

source

Page 105: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

<b xJ<D (D

rC VO to

t-*

cd <D

0 rOCO

-93 -

Set

IB,

PRIOR;

Increase

NCASE

Page 106: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Endogenous

Event

STNBY

-94 -

MAINXX

Page 107: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

STNBY

Continued

-95 -

Page 108: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

STNBY

Continued

-S:

i/i C O (D<U ‘H Jh

t-i <D <4-4 Ur£> <D

(D T3 (/)

i—I If) cubJj>H > (D

C O X*h W Ec/> m o o<6 h+J

-96-

Page 109: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

STNBY

Continued

'S T3

CD

"d >(L) H(D <D

C </>

rd <DU JD>-

03

-97 -

Page 110: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

SUBROUTINE

SVQUE

-98 -

LOOP

Page 111: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

Subroutine

WRECK

(NOT

IF)

- 99 -

Page 112: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

EXOGENOUS

EVENT

ENDSIM

- 100 -

Page 113: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

ENDSIM

Continued

\

\

\

\

- 101 -

STDEV(I)

Page 114: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

ENDSIM

Continued

^ >-3 1->

P H N K) 2 r^Cywp_uhj2^§ < < < ^> CO f

3 :

w<«uraaarOT PQ « 1

+

j§ r^.—

>

Xp.

la 3

<3

- 102 -

Calculate

MEANV

and

Page 115: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

ENDSIM

Continued

- 103 -

Page 116: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

SUBROUTINE

DRIVE

- 104 -

XXNIVW'

Page 117: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

SUBROUTINE

JUMPER

-10S-

Page 118: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

SUBROUTINE

JUMPER

- 106 -

Page 119: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

SUBROUTINE

.JUMPER

- 107 -

Page 120: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

SUBROUTINE

JUMPER

- 108 -

Page 121: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary
Page 122: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary
Page 123: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary
Page 124: NATIONAL BUREAU OF STANDARDS REPORT · -PT3 kCDCDC rQc3-38 cabling program-39-Subroutine RESAP Does station of,XSTN(CASE)\ resource = any of Tfie~'N=CUT(STATN(^ cutters of the primary

t