TR-796-808 SEPTEMBER 1970

RANDOM EXPERIMENT PROGRAM RESOURCE IMPACT (REPRI) PROGRAM USERS MANUAL

Prepared for: NATIONAL AERONAUTICS AND SPACE ADMINISTRATION GEORGE . MARSHALL SPACE FLIGHT CENTER Aero-Astrodynamics Laboratory

UNDER CONTRACT NO. NAS8-20082

00/08 49049

NORTHROP CORPORATION ELECTRO-MECHANICAL DIVISION

P. O. BOX 1484 HUNTSVILLE. ALABAMA 35807

TELEPHONE (205)837-0680 TR-796-808

RANDOM EXPERIMENT PROGRAM RESOURCE IMPACT (REPRI) PROGRAM

USERS MANUAL

September 1970

by

W. T. Pease R. A. Alford

-.1 V PREPARED FOR:

NAT/ONAL AERONAUT/CS AND SPACE ADMfN/STRAT/ON GEORGE C. MARSHALL SPACE FLIGHT CENTER AERO-ASTRODYNAM/CS LABORATORY Under Contract NAS8-20082

REVIEWED AND APPROVED BY:

Manager Astrodynamics

W. A. Klabttfide ,VManager Aero-Astrodynamics Program

NORTHROP CORPORATION HUNTSVILLE, ALABAMA NORTHROP • TR-808 HUNTSVILLE

FOREWORD

The program documented in this report was prepared under Contract NAS8-20082, Appendix C, Schedule Order C-82. This work was done at the direction of the Technical Coordinator, James Mabry, of the Operational Analysis Branch (AERO-MX) of the Aero-Astrodynamics Laboratory, George C. Marshall Space Flight Center. This task was performed by R. A. Alford and W. T. Pease of the Orbital Analysis and Mission Planning organization of Northrop-Huntsville. The assistance and guidance of Mr. J. Moore of the Operations Analysis Branch of AAL contributed to the successful and / timely completion of this task.

Preceding page blank ii NORTHROP . IK-SOS HUNTSV1LLE

ABSTRACT

This document is a complete user and guide for the REPRI program. This program was developed to perform mission concept, subsystem capability, and experiment support compatibility studies for the Space Station.

The program utilizes Monte Carlo techniques to randomly schedule events in discrete intervals. Resources, logistics, cost, and space station volume are considered in the program.

The program may be used to: © Constrain available resources and/or space station volume and deter- mine how much of a given experiment program can be accomplished. © Determine the quantity of resources and/or space station volume is required to support a given experiment program. © Determine the sensitivity of the experiment program scheduling to availability of resources, space station volume, or to individual experiments.

. • i The speed of the REPRI program allows large sample sets of feasible schedules to be generated and summarized. This allows statistically valid conclusions to be drawn from the data.

111 NORTMROP • TR-8Q8 HUNTSVILLE '

TABLE OF CONTENTS

Section . . Title

FORWORD. i.i ABSTRACT ...... iii I INTRODUCTION . . 1-1 II PROGRAM DESCRIPTION. . 2-1 2.1 GENERAL ...... 2-1 2.2 SUBROUTINE INPUT ..'... 2-6 2.3 SUBROUTINE ZPACK. 2-6 2.4 SUBROUTINE COST 2-13 2.5 SUBROUTINE RANDXX . 2-16 2.6 SUBROUTINE ORDER 2-16 2.7 SUBROUTINE ENCODE 2-16 2.8 FUNCTION ICON 2-16 2.9 SUBROUTINE TRACK. 2-17 2.10 SUBROUTINE OUTPU 2-20 III INPUT DESCRIPTION 3-1 3.1 GENERAL 3-1 3.2 RUN DESCRIPTION CARDS 3-2 3.3 CASE DESCRIPTION CARD 3-2 3.4 EXPERIMENT DESCRIPTION CARDS 3-3 3.5 RESOURCE DESCRIPTION CARDS 3-5 3.6 COST DISTRIBUTION CARDS ...... 3-6 IV OUTPUT DESCRIPTION .. . . 4-1 4.1 GENERAL ...... 4-1 4.2 OUTPUT DESCRIBING INPUT 4-1 4.3 INDIVIDUAL SCHEDULE OUTPUT , 4-12 4.4 OUTPUT SUMMARIZING SCHEDULE FOR ENTIRE CASE ..... 4-16 Appendix A STATISTICAL BACKGROUND FOR REPRI ...... A-l Appendix B FORTRAN SOURCE LISTING OF REPRI PROGRAM B-l Appendix C FLOWTRAIN LOGIC PLOTS OF REPRI - C-l

IV __ TR-8Q8 HUNTSVILLE .

Section I INTRODUCTION

The Monte Carlo simulation computer program REPRI (Random Experiment Program with Resource Impact) was developed to analyze space station experiment require- ments; This program allows statistical methods to be applied to determine the interrelationship of scheduling with resource and logistics requirements.

Some of the guidelines and capabilities incorporated in REPRI are as follows: • Space station missions can be analyzed using 20 to 120 equal time intervals. 9 No ephemeris-related information is considered. ® The ability to summarize and constrain resource requirements in every interval is provided. • The ability to constrain each experiment to start in or after a given interval is provided. • All performances of a single experiment are scheduled as closely together as possible. 9 The ability to define an experiment as being mutually exclusive with up to three others is provided. A typical application of this provision is the consideration due to conflicting use of the same docking port. . . 9 The development cost of the experiment program including the module, development and fabrication cost is summarized for each year. 9 The space station storage volume required in each interval is determined for each schedule. © The cumulative percent of the experiment performances completed is determined. @ After all schedules are generated, the maximum and average values of each parameter are determined for each interval. O After all schedules are generated, the total number of times that each experiment was scheduled in each interval is determined.

Each schedule that REPRI generates specifies the intervals in which each experiment will be performed and the total amount of resource and logistics requirements needed in each interval. The resource requirements are user de- fined parameters which can be constrained to a specified maximum in each interval, e.g., manhours, average power, etc. The logistics parameters consist of the supply and experiment weights and volumes to and from orbit in each interval.

1-1 NORTHROP ; . TR-808 HUNTSVILLE ; ! ;

REPRI generates and summarizes random schedules. The summary consists of the maximum and mean values of the resource, logistics, and cost requirements. The random schedules are based upon the principle of scheduling the experiments in random order in randomly chosen intervals.

REPRI can be applied to mission planning for the following purposes: 9 To determine the sensitivity of scheduling to selected parameters ® To determine mission and station characteristics required to support a particular experiment package © To generate a large number of random schedules for statistical evaluation.

Each subroutine of REPRI is described in Section II. The input and output are described in Section III and Section IV, respectively. An explanation of the probability theory to be applied to the data generated using REPRI is out- lined in Appendix A and a Fortran listing of•REPRI is presented in Appendix B. A FLOWTRAN description of the REPRI program is included in Appendix C.

The REPRI program has been used to determine: & Th^e sensitivity of space station experiment scheduling to changes in available power and men. 9 Impact of performing the artificial gravity experiment on the perfor- mance of the space station experiment package. ® Average and maximum percentages of space station experiment perfor- mances which can probably be scheduled. Also, average and maximum experiment support cost curves for the period 1970-1986.

These are a few examples of how the program can be used. Some of the study results obtained from the REPRI program have been documented in NASA TMX-64557 entitled "Explanation of Random Experiment Scheduling and its Application to Space Station Analysis", by Mr. J. Moore of AERO-MX.

The main point that should be recognized is that the REPRI program allows very large samples of feasible schedules to be generated. Large samples allow statistically valid trends to be established.

1-2 NORTHROP ; TR-SOS HUNTSVILLE

Section II PROGRAM DESCRIPTION

2.1 GENERAL The organization of the REPRI program has been modularized for flexibility. The following block logic shows how the main program links the subprograms together. The order of calling and the functions are described in the block logic. The details of the subroutines are included in subsections 2.2 through 2.10. Only major subroutines are shown in block logic . Complete FLOWTRAN logic diagrams may be found in Appendix C. A listing of the program may be found in Appendix B.

2-1 TR-808 HUNTSVILLE MAIN PROGRAM

START G> INPUT

INITIALIZATION

. DO 14 G> LLL=1,LL

INITIALIZATION FOR SCHEDULE LLL

OBTAIN A RANDOM ORDERING OF THE N EXPERIMENTS FROM SUBROUTINE ORDER

PRINT THE TITLE HEADING OF SCHEDULE LLL IF INDIVIDUAL SCHEDULE PRINTOUT IS DESIRED (SUBROUTINE OUTPU)

DO 4 K=1,N

DETERMINE IN WHICH INTERVALS THE Kth EXPERIMENT IN THE RANDOM ARRAY WILL BE SCHEDULED (SUBROUTINE ZPACK).

2-2 TR-808 HUNTSVILLE VU DETERMINE THE RESOURCE REQUIREMENTS, LOGISTICS PARAMETERS, AND SPACE STATION STORAGE VOLUME REQUIREMENTS FOR THE Kth EXPERIMENT. (SUB- ROUTINE ZPACK).

• ' . •• i » DETERMINE ..THE COST DISTRIBUTION OF THE Kth EXPERIMENT (SUBROUTINE COST).

PRINT THE SCHEDULE FOR THE EXPERIMENT IF INDIVIDUAL SCHEDULE PRINTOUT IS DESIRED (SUBROUTINE OUTPU).

CONVERT THE SCHEDULING OF THE EXPERIMENT TO BINARY WORDS AND STORE IN THE I CODE ARRAY. (SUB ROUTINE ENCODE).

DETERMINE THE CUMULATIVE NUMBER AND CUMULATIVE PERCENT OF THE PERFOR- MANCES COMPLETED IN EACH INTERVAL.

PRINT THE TOTAL RESOURCE, LOGISTICS, AND .STORAGE VOLUME REQUIREMENTS OF SCHEDULE LLL IF INDIVIDUAL SCHEDULE PRINTOUT IS DESIRED (SUBROUTINE7 OUTPU).

E \/ 2-3 NORTHROP TR-808 HUNTSVILLE ~ I PRINT THE COST AND CUMULATIVE COST PER YEAR FOR SCHEDULE LLL (SUBROUTINE OUTPU),

ADD THE RESOURCE, LOGISTICS, STORAGE, AND PERCENT COMPLETION TO THE TOTAL REQUIREMENTS FOR ALL SCHEDULES SO THAT MEAN VALUES CAN BE CALCULATED AFTER ALL LL SCHEDULES HAVE BEEN GENERATED. (SUBROUTINE TRACK)

STORE THE VALUES OF RESOURCE REQUIREMENTS, LOGISTICS PARAMETERS, STORAGE VOLUME, COST, OR PERCENT COMPLETION WICH ARE IN- TERVAL MAXIMUM FOR ALL THE SCHEDULES THUS FAR GENERATED (SUBROUTINE TRACK).

A SUMMARY PRINTOUT YES REQUESTED AFTER ILL SCHEDULES?

CALL SUBROUTINE TRACK TO PRINT SUMMARY

2-4 TR-808 HUNTSVILLE

I PRINT SUMMARY (SUBROUTINE TRACK)

ARE MORE CASES DESIRED?

2-5 NORTHROP . - TR-808 HUNTSVILLE ~~ " ~

2.2 SUBROUTINE INPUT Subroutine INPUT reads in the data for each case and prints out this information in tabular form. A detailed discussion of the input is presented in Section III.

2.3 SUBROUTINE ZPACK Each time subroutine ZPACK is called, one experiment is scheduled. If a forced start interval has not been specified, ZPACK will select a random inter- val in which it will attempt to schedule the experiment designated in the calling argument. The experiment will be scheduled in this interval if the following conditions are met: $ There is a sufficient amount of the four constrained resources available in the interval to perform the experiment 9 There is sufficient volume aboard the space station to store the experiment volume plus its supply volume in the interval 9 No experiment which is mutually exclusive with the one being scheduled has already been scheduled in the interval

9 The interval number is equal to or greater than the minimum xstart interval assigned to that experiment., /'

If these are not met, additional intervals will be randomly selected either until the conditions are met or until all intervals have been checked. If additional performances are required, ZPACK will attempt to schedule them subject to the above conditions in the intervals immediately following the random interval. If all the required performances cannot be scheduled in the following intervals, ZPACK will attempt to schedule those remaining in the intervals preceding the random interval.

When scheduling has been completed for the designated experiment, its resource requirements (e.g., manhours, bit rate, power, kilowatt hours, etc.), supply weight and volume, return weight and volume, and space station storage volume requirements are summed for the intervals in which it was scheduled. The ITOTL array is zeroed at the start of each schedule and contains the total requirements of the above parameters after all the experiments have been scheduled. One of the four resource requirements has 15 subcategories (e.g., skill types are subcategories of manhours) which are also summed in the ITOTL array.

2-6 NORTHROP TR-808 HUNTSVILLE

The experiment weight and volume to orbit in the itn interval is determined by summing the weights and volumes of all the experiments which are scheduled for the first time in the i interval.

The experiment weight and volume returned from orbit in the ifc" interval is determined by summing the weights and volumes of all the experiments which are scheduled for the last time in the i interval.

The space station storage volume requirements in the i interval are determined by summing the supply volumes of all the experiments scheduled in that interval plus the experiment volume of those experiments for which the i interval falls between the first and last intervals in which they were scheduled.

2-7 NORTHROP_ TR-808 HUNTSVILLE ~

BLOCK LOGIC FOR SUBROUTINE ZPACK

('SUBROUTINE ZPACK (NEXP)

INITIALIZATION

DOES EXPERIMENT NEXP HAVE A FORCED START INTERVAL?

CAN NEXP BE SCHEDULED IN THE FORCED OBTAIN A RANDOMLY ORDERED START INTERVAL? ARRAY OF THE IN INTERVALS BY CALLING SUBROUTINE ORDER

CAN EXPERIMENT NEXP BE SCHEDULED IN INTERVAL J?

2-8 NORTHROP TR-808 HUNTSVILLE ~

INDICATE THE SCHEDULED INTERVAL IN THE IOUT ARRAY'

ARE MORE PERFORMANCES REQUIRED OF NEXP?

CAN NEXP BE SCHEDULED IN THE NEXT INTERVAL?

IS SS VOLUME AVAILABLE FOR NEXP STORAGE

CAN NEXP BE SCHEDULED IN THE FIRST INTERVAL BEFORE THE ONE IN WHICH IT WAS RANDOMLY SCHEDULED?

INDICATE THE SCHEDULED INTERVAL IN THE IOUT ARRAY

ARE MORE PERFORMANCES REQUIRED?

CAN NEXP BE SCHEDULED IN THE NEXT INTERVAL BACK?

IS SS VOLUME AVAILABLE FOR NEXP STORAGE

2-9 NORTHROP TR-808 HUNTSVILLE

DO 47 J=1,IN

HAS NEXP BEEN SCHEDULED IN ANY INTERVAL YET?

IS NEXP SCHEDULED IN THIS INTERVAL?

IS THIS THE FIRST INTERVAL IN WHICH NEXP HAS BEEN SCHEDULED? ADD THE EXPERIMENT WEIGHT TO THE LOGISTICS WEIGHT UP NO (BOTH EXPERIMENTS AND SUPPLIES CONSIDERED). I ADD THE EXPERIMENT VOLUME TO THE LOGISTICS VOLUME UP (BOTH EXPERIMENTS AND SUPPLIES CONSIDERED). J

2-10 NORTHROP TR-808 HUNTSVILLE ~

SUM THE RESOURCES REQUIRED BY NEXP IN INTERVAL J. I SUM THE SKILL TYPE REQUIREMENTS FOR EXPERIMENT NEXP IN INTERVAL J. I ADD THE SUPPLY WEIGHT TO LOGISTICS WEIGHT UP. ADD THE SUPPLY VOLUME TO LOGISTICS VOLUME UP. ADD THE RETURN WEIGHT TO LOGISTICS WEIGHT DOWN. ADD THE RETURN VOLUME TO LOGISTICS VOLUME DOWN. i ADD THE SUPPLY VOLUME TO THE SPACE STATION STORAGE VOLUME FOR INTERVAL J.

IS THIS THE LAST INTERVAL IN YES WHICH EXPERIMENT NEXP WILL BE SCHEDULED? 1 ADD THE EXPERIMENT WEIGHT TO THE LOGISTICS WEIGHT DOWN IN INTERVAL J. I HAVE ADD THE EXPERIMENT VOLUME ALL THE INTERVALS IN WHICH TO THE LOGISTICS VOLUME EXPERIMENT NEXP HAS BEEN SCHEDULED DOWN IN INTERVAL J. BEEN CONSIDERED?

ADD THE EXPERIMENT VOLUME TO THE SPACE STATION VOLUME REQUIRED IN INTERVAL J.

2-11 TR-808 HUNTSVILLE

DETERMINE THE TOTAL NUMBER OF PERFORMANCES COMPLETED.

ADD THE IOUT ARRAY TO THE IIOUT ARRAY FOR THE FRE- QUENCY DISTRIBUTION.

» (RETURN^

2-12 NORTHROP . TR-808 HUNTSVILLE

2.4 SUBROUTINE COST

Subroutine COST calculates the yearly cost of performing each schedule based on a 10-year experiment program. Funding is assumed to begin seven years prior to the start of the program. The development cost of each experiment is input for eight years prior to its first scheduled performance. The cost of de- veloping the free-flying and attached modules is input for the five years prior to their respective first uses.

Subroutine COST has three entry points determined from the value of the calling argument parameter IFLAG. If IFLAG equals zero, the development costs of each experiment and the modules are read from card input. If IFLAG is negative, the cost of developing the experiment designated by the calling argument parameter NEXP is added to the XOCST array for the eight years prior to its first scheduled performance. At the completion of each schedule, subroutine COST is called with IFLAG positive. The development cost of both module types are summed in the XOCST array for the five years prior to their respective first uses. The cumulative cost is then calculated and the yearly cost and the cumulative cost are printed.

2-13 NORTHROP TR-808 HUNTSVILLE ~

BLOCK LOGIC FOR SUBROUTINE COST

(SUBROUTINE COST (ISCHD, IFLAG, NEXPJ)

EQUAL -1 EQUALS 1

EQUALS ZERO

INPUT COST PARAMETERS I INITIALIZATION

C RETURN

DETERMINE IN WHICH INTERVAL EXPERIMENT NEXP WAS FIRST SCHEDULED. 1 DETERMINE THE INTERVAL IN WHICH AN ATTACHED MODULE WAS FIRST USED.

DETERMINE THE INTERVAL IN WHICH A FREE-FLYING MODULE WAS FIRST USED.

2-14 NORTHROP TR-808 HUNTSVILLE

ADD THE COST OF PERFORMING EXPERIMENT NEXP TO THE PROPER YEARS BASED ON THE SCHEDULING OF THISi EXPERIMENT. C RETURN

ADD THE DEVELOPMENT COST OF THE FREE- FLYING AND ATTACHED MODULES TO THE FIVE YEARS PRIOR TO THEIR FIRST USE.

CALCULATE THE CUMULATIVE COST IN EVERY YEAR.

IPRINT THE COST PER YEAR, CUMULATIVE COST, AND THE TOTAL COST OF PERFORMING SCHEDULE ISCHID c RETURN

2-15 NORTHROP_ . . TR-808 HUNTSVILLE

2.5 SUBROUTINE RANDXX Subroutine RANDXX generates random numbers that are uniformly distributed between zero and one. An input integer is forced to overflow the computers integer capacity by multiplication; this eliminates the most significant figures of the product. A real number between zero and one is then obtained by dividing this integer by the largest integer the computer can represent.

2.6 SUBROUTINE ORDER Subroutine ORDER will randomly order an array of n integers by calling subroutine RANDXX n times.

2.7 SUBROUTINE ENCODE Subroutine ENCODE will store the IOUT array in the ICODE array under the proper experiment number. Ten integers are packed into one integer word (e.g., 1,0,0,1,1,0,0,1,1, and 0 becomes 1001100110).

2.8 FUNCTION ICON The function subprogram ICON is called with the number of the experiment being scheduled (NEXP) and the interval number (IN) in which scheduling is being considered. / / The purpose of the function is to determine if a conflict7 exists with experiments which have previously been scheduled in the interval. If a con- flict with another experiment exists, the value of ICON is set equal to 1. If no conflict exists, then ICON becomes 0. If experiment number 37 conflicts with the experiment during the interval, then ICON is set equal to 2. The ICOD(K,37) array is input as the scheduling proposed for the artificial-gravity timeline.

The array IFLCK contains the experiment numbers which conflict with the experiment being scheduled (NEXP). Previous scheduling is packed into ICODE under the appropriate experiment numbers (see subroutine ENCODE).

The check for conflicts is made by testing for the presence of a (1) in the digiiigit of the ICODE ararrar y which represents the N interval for each exper- ment which might conflict.

2-16 NORTHROP_ TR-8Q8 HUNTSVILLE ~ '. ""

2.9 SUBROUTINE TRACK Subroutine TRACK tests the values of each parameter in each interval after the completion of each schedule in order to retain their maximum values. A running total of each parameter is also kept for each interval in order to cal- culate their mean values after all schedules have been generated. The number of times that each experiment has been scheduled in each interval is summed in the IIOUT array. Subroutine TRACK also prints the IIOUT array and the maximum and mean values of each parameter after a specified number of schedules have been generated.

2-17 NORYHROP TR-808 HUNTSVILLE ~

BLOCK LOGIC FOR SUBROUTINE TRACK

f SUBROUTINE TRACK (IPRT,LU_f)

EQUALS 1 ^ IF^\ EQUALS 3 IPRT

INITIALIZATIO1 N c RETURN

ADD THE RESOURCE REQUIREMENTS, LOGISTICS PARAMETERS, PERCENT COMPLETION, AND YEARLY COST OF SCHEDULE LLL TO THE IITOL ARRAY.

STORE THE VALUES OF RESOURCE REQUIREMENTS, LOGISTICS PARAMETERS, PERCENT COMPLETION, AND YEARLY COST WHICH ARE THE MAXIMUM OUT OF ALL THE SCHEDULES ITHUS FAR GENERATED C RETURN

2-18 NORTHROP TR-808 HUNTSVILLE ~

PRINT THE FREQUENCY WHICH EACH EXPERIMENT HAS BEEN SCHEDULED IN EACH IN- TERVAL.

CALCULATE THE AVERAGE RESOURCE REQUIREMENTS, LOGISTICS PARAMETERS, PERCENT COMPLETION, AND COST FROM THE IITOL ARRAY. I PRINT THE AVERAGE REQUIREMENTS.

PRINT THE MAXIMUM REQUIREMENTS. I REINITIALIZE THE IITOL ARRAYS.

C RETURN' )

2-19 NORTHROP__ . TR-8Q8 HUNTSVILLE ~~~

2.10 SUBROUTINE OUTPU This subroutine prints the first ISEN2 individual schedules. ISEN2 is input by the user. The printed output consists of the following: • The intervals in which each experiment has been scheduled • The amount of each of the four constrainted resources which was-used in each interval o The amount of the subcatagories of the fourth constrained resource which was used in each interval • The experiment weight and volume to and from orbit required in each interval 0 The logistics weight and volume to and from orbit required in each interval a The amount of space station storage volume required in each interval « The percentage of the experiment program thus far completed in each interval.

A detailed description and sample of output appears in subsection 4.3.

2-20 NORTHROP TR-808 HUNTSVILLE ~

Section III INPUT DESCRIPTION

3.1 GENERAL The data input of REPRI is divided into five major categories of cards. These are: • Run description cards • Case description card • Experiment description cards • Resource description cards • Cost description cards.

An input stream for a run with two cases is shown below. These categories will be discussed in detail in subsections 3.2 through 3.6.

3 $IBSYS CARDS COST DESCRIPTION CARDS

RESOURCE DESCRIPTION CARDS

EXPERIMENT DESCRIPTION CARDS

CASE DESCRIPTION CARD COST DESCRIPTION CARDS

RESOURCE DESCRIPTION CARDS

EXPERIMENT DESCRIPTION CARDS

CASE DESCRIPTION CARD RUN DESCRIPTION CARDS

•SENTRY REPRI SOURCE DECK

-$IBJOB -$JOB Figure 3-1. TYPICAL DECK SETUP 3-1 NORTHROP TR-808 HUNTSVILLE ~

3.2 RUN DESCRIPTION CARDS The following cards are input once per run:

CARD COLUMN VARIABLE FORMAT^ DESCRIPTION 1 1-3 ISEN2 13 The number of individual schedules to be printed. Schedule one through schedule ISEN2 will be printed for each case.

4-6 ICASE 13 The number of cases to be run.

1-50 (LAVG(I),1=1,10) 1015 The number of schedules after which an intermediate summary is desired. Up to 10 can be requested. The numbers must be input in ascending order. A final summary will always be printed regardless of the values in LAVG.

3.3 CASE DESCRIPTION CARD This card is the first card required for each case.

CARD COLUMN VARIABLE FORMAT DESCRIPTION

1 1-5 N 15 Number of experiments (N<36)

6-10 IN 15 Number of intervals (IN

11-15 LL 15 Number of schedules to be generated

16-20 NSKL 15 Number of subcatagories of the fourth resource con- sidered (NSKL<15)

21-30 IRAND 110 A six-digit odd integer which is used to initialize the random number generator.

3-2 NORTHROP TR-808 HUNTSVILLE

3.4 EXPERIMENT DESCRIPTION CARDS The following two cards are input once for each experiment. Hence, 2*N cards are required. .

CARD COLUMN VARIABLE FORMAT DESCRIPTION

1-5 MEXP(I) 15 The four digit integer WXXX where W is the mode of accomodation; W=0 for integral modules, W=l for attached modules, or W=2 for free- flying modules. XXX is the experiment identification number of the Ith experiment.

6-10 IDATE(I) 15 The interval in which the Ith experiment must start. If IDATE(I)=0, the experiment can start in any interval equal to or greater than JDATE(I).

11-15 JDATE(I) 15 The earliest interval in which the Ith experiment may start. If JDATE(I)=0, the experiment can start in any interval.

16-20 IREPT(I) 15 The number of required performances of the Ith experiment.

21-25 IDATA(I.l) 15 The amount of the first re- source required to perform the I1-*1 experiment during one interval, e.g., average watts.

26-30 IDATA(I,2) 15 The amount of the second re- source required to perform the jth experiment during one interval, e.g., kilowatts.

31-35 IDATA(I,3) 15 The amount of the third re- source required to perform the I experiment during one interval, e.g., bit rate.

36-40 IDATA(I,20) 15 The supply weight required in one interval to per- form the Ith experiment.

3-3 NORTHROP TR-808 HUNTSVILLE ~

CARD COLUMN VARIABLE FORMAT DESCRIPTION

41-45 IDATA(I,21) 15 The supply volume required in one, interval to perform the I experiment.

.46-50 IDATA(I,22) 15 The return weight required in one interval to perform the I^h experiment.

51-55 IDATA(I,23) 15 The return volume required in one interval to perform the Ith experiment. th 56-60 IDATA(I,24) 15 .The weight of the I experi- ment equipment. th 61-65 IDATA(I,25) 15 The volume of the I experi- ment equipment.

1-5 NREQD(I.l) 15 The number of different sub categories of the fourth resource that the Itn experiment requires. NREQD (!,!)<. 5.

6-10 NREQD(I,n) 15 Subcategory number required 16-20 by the I^h experiment 26-30 (n=2,4,6,8,10). NREQD(I,n)

11-15 NREQD(I,n+l) 15 The amount of resource 21-25 subcategory NREQD(I,n) 31-35 required to perform the 41-45 -j-th experiment. 51-55

56-60 JCON(I.l) 15 The identification number 61-65 JCON(I,2) (MEXP(n)) of the nth experi- 66-70 JCON(I,3) ment that is mutually exclu- sive with the I^n experiment. Up to three conflicts can be specified for each experi- ment. If conflict with arti- ficial-gravity experiment is desired, a 37 is input in JCON(I,3).

3-4 NORTHROP TR-808 HUNTSVILLE ~

3.5 RESOURCE DESCRIPTION CARDS The following cards are input once per case:

CARD COLUMN VARIABLE FORMAT DESCRIPTION

1-8 ANAME(J),BNAME(J) 2A4 Eight alphameric figures describing the J1-" resource considered.

1-80 ICTRT(1,J) 1018 The amount of the J resource which is available in the I1-" interval. The values are input ,.in 10 intervals per card, 1=1, IN.

3-8 Repeat the preceding two cards for J=l,4:

9-10 1-60 ICODE(I,37),I=1,12 6110 An array specifying the inter- vals that the experiments for which JCON(n,3)=37 cannot be scheduled. One digit represents NOTE: The 60 digits on one interval. There are ten each card correspond digits in a word. An integer to 60 intervals. array of up to 12 words are input with six words per card. A one prevents scheduling, and a zero permits scheduling. This option can be used to model the artificial gravity experiment. Ones are input for the intervals in which the artificial gravity experiment will be performed, and JCON(n,3)=37 for the experi- ments which cannot be performed during the artificial gravity experimentation. Two cards must be input even if less than 60 intervals are used.

11-12 1-8,9-16, ANAME(J), 20A4 NSKL sets of eight figures of etc. BNAME(J), alphameric description of the J=1,NSKL subcategories of the fourth resource. NSKL 1 15. If NSKL 1.10, card 12 is not needed.

13 1-8 ANAME(26), 2A4 Eight figures of alphameric BNAME(26) description of the space station storage volume.

3-5 NORTHROP TR-808 HUNTSVILLE ~

CARD COLUMN VARIABLE FORMAT DESCRIPTION

14- 1-8,9-16, ICTRT(I,5) 1018 The amount of space station etc. storage volume available in the I1-*1 interval. The values are input in ten intervals per card (1=1,IN). The number of cards required is ((IN+9)/10) truncated.

3.6 COST DISTRIBUTION CARDS

CARD COLUMN VARIABLE FORMAT DESCRIPTION

1 2-10 IYR 19 An integer specifying the number of intervals in one year.

2-(n+l) 1-8,9-16, XCPST(I.J) 10F8.1 The cost of developing the etc. Jth experiment in the (9-1)th year prior to its first scheduled performance, 1=1,8. This card is input once for each experiment. Cost cards must be in the same order as experiment cards.

(n+2) 1-8,9-16, FFD(I) 10F8.1 The cost of developing the etc. free-flying modules in the (6-1)th year prior to their first use, 1=1,5. n+3 1-8,9-16, 'AMD(I) 10F8.1 The cost of developing the etc. attached modules in'the (6-1)th year prior to their first use, 1=1,5.

3-6 NORTHROP . . ' TR-808 HUNTSVILL6

Section IV OUTPUT DESCRIPTION

4.1 GENERAL The output falls in three categories. These are input, individual schedules, and a summary of all the scheduling. Each of these will be described in the following. A typical example of each piece of output has been included in this section.

4.2 OUTPUT DESCRIBING INPUT The first two lines of output that appear (see next page) are the card images of the two run description cards. The information printed is described in Section 3.1. The cards are printed card 2 and then card 1.

The logistics requirements table (see next page) is printed next. This includes all the logistics information input for each experiment. Weight and volume are non-dimensional in the program. The weights and volumes shown in the typical output are pounds and cubic feet. The mode of accommodation (free flyer (FF), attached module (AM), and integral module (I)) is also indicated in this table for reference purposes.

The correspondence between output and input variables is shown below for , th. th e T I experiment:

OUTPUT COLUMN. INPUT VARIABLE EXP WT IDATA (1,24) EXP VOL , IDATA (1,25) SUPPLY WT IDATA (1,20). SUPPLY VOL IDATA (1,21) RETURN WT IDATA (1,22) RETURN VOL ^ . IDATA (1,23)

4-1 NORTHROP TR-808 HUNTSVILLE ~

-3 -3 -3 -3 -3 -3 - j 3V 23 2 JO J 52'>H'l 1

LJ3ISTICS -ItjuUEIEMTi

ur SJ2.P..LY— «siL Y . VOL K~ I' J*M RE T -JRM : , -p 13 FF. 232^^ 51 25 72 24 - J = 23 FF c'. 't 5 6 ci 13'i ^6 222 !j 22<. .-p t 33 FF i. 105 98 513 12 92 12 ^ -p = <+3 AM 1 b 3 ^ -13 6688 33 .j 33 3 ~ p ~ 53 FF i i b 2 ii 1 J ii Z2b- . 12 .. 13o. 6

= p £ 53 I 157 8 3 4 a .-? E 71 1 312 . 11 -:- L3d . . (j 3 r-?E 72 I 2 t *» 13 i 1 V 6 12 3 ??c 73 I 321 . .5 ...... 1.33 - - '-. J 1 ' 3 -PE 7V I 83d 21 1 1 V •j 12 3 "i .. rP c; 75 i !. ... 161 _£^ liiii— 12 3 FP £ FF 61 25 1153 24 58 o r- P c •31 AM it>835 '.J 35 ... 27o3 1 2 J b J b - a ^2 AM 15 1 1 5 1359B 2763 114 54 3 f- ? E^ I 33 i 912 ... .' 1.04. . — .78-.. .:' t> - . 13 3 rp E 1 1 3 AM •> 1331 5;9U f\ i a o b VG'j 1 'j5S3 ... rP -123- Eh. . 727u i>ti ijij, 5-7..2Z ...Q.Q. 3.3... r P ^E 1 31 1 i C 213 AM 1^507 5808 155 6 b 0 ' Pt 223 I 7423 ..'. . .120 13 a 1 6 3 •PE 244 1 23b3 j16 43 •j 1 Db 1 ....-':. Pg_ o / j i>-0 4 Li _ 1 J b ... ''P 2'tb 3173 1 31 43 :'J 1 15 -P £2 - 2V7 3^3 1.9— - ...... 48 . i -jS " 3= 253 3ol 37 fab b '•3 -P c- 253- . 5b4 42. 103 '. . D 103 rP •~ 273 1 2d / 53 82 b 3.} 192

4-2 NORTHROP • TR-8Q8 HUNTSVILLE ~~ • "\ ~

A table of scheduling requirements is output next. This includes all scheduling related parameters which were input for each experiment. The table shown on the next page is the typical output from a 20 interval case. The correspondence between the output and the input variables is shown below:

OUTPUT COLUMN INPUT VARIABLE FORCED START INTERVAL IDATE(I) MINIMUM START INTERVAL JDATE(I) NUMBER OF PERFORMANCES IREPT(I) CONFLICTS 1 JCON(I.l) 2 JCON(I,2) 3 JCON(I,3)

The output below the table shows the alphameric titles and constrained values input for each resource. These are explained in subsection 3.10 under cards 1-8. The constrained values for each interval are printed 10 intervals to the row with interval 1-10 from left to right on the first row and subsequent intervals following.

The artificial-gravity experiment timeline which is input is shown under the title "ARTIFICIAL G" in the output. Time is the card image of cards 9 and 10 of the resource description cards described in subsection 3.5. In the attached example there was no artificial gravity experiment scheduled. Blanks indicate the same meaning as a zero. If artificial gravity had been scheduled in the fifth interval, the first word would have been "bbbblOOOOO" instead of "bbbbbbbbbO".

4-3 NORTHROP TR-808 HUNTSVIULE "

.1 MFt^V/AL l^J T:^AL P^FDRK^-, i ?

• PC ID FF 20 C- D - C *~ ^ : r C '£'>. ~\J * ' ? T FP£ }0 FF 4 «t 20 i- J - , •% A u A 4 1 2 1 'j r?E FF 4 f." 3 r i ^ V. i

r?E 71 I 1 1 I il i> « 7 > 1 7 r ^'c 7'i 1 6 u .> i; 7 t. 1 1 ... Li . r-p. E 73 I 1 8 -?E bD FF - -• - -• .4 ...— --- 20 1200

^ L( i-... ^3 A VI _ , = P£ 13J I 1 ?.D^ •» .-\ M £ " 1 1 "I * U F?£ 12J FF ^ <+ - * F- 1 4 I I ....:. 1 •> ;") :PE 132 20 . i. p.E •J <* ") i i l 7 FPE 1 -^•f»-i 1 . - .- : _ — 1__ : ,. .tt — ;. :,_._ _ :.. h PC 17J 1 1 4 1 HT r ' . 1 <+ 10 2380 A VI i £ ^ - ? 1 3 ^^ 70 10^0 rPE 22D I i t, 1 U 3 £ T A fc 4_ l_ /

FPE 2A5 i. ' . - 1 2 r k* F ? VS .... .•_. 4 ._... i _; •) = PE 2W 1 1 '+ c P F ? 5 ^ 1 2 0 i~Pr 2bJ 1 20 .£>£ ? 7 ') l /-

A W4TTS 99>999-»9 99999999 9999»99 999)V99J 9y>99*:J9 >999V999 9999)999 9999999* J.9-9999.99 .99.9 9 J.339._-iJ9.9 999 9 .9.9.9*-:* 9.9... 9ii99999 99999999 9999999i 99999999

99999999 99999999 99999:/99 999J999J 99999999 9J999999 }-^99^999 9999999 j 99999999 99999999 99V99999 9<99>999 99999999 9999999; 99999999 97J99999 99999999 9999999 J i i r * r 99999999 99)99999 99999979 99999999 9999-*999 99999999 9-^999999 9 9 99 9999 9999 9 99 999999999 9999999.9 )jV99j99 99999999 9999999V

99999999 99^99999 99999999 9>999999 ^9999999 999-J9999 99)99999 99999999 99999999 99909999 9)99^999 99>999)9 99*99999 9999))99 9999*99* 9999999; 99999999 ?i999V99 99999999 9 999999 ;

-J -J -D -D

4-4 NORTHROP . . TR-808 HUNTSVIULE

The resource requirements input for each experiment are tabularized next (shown on next page). The correspondence between the output and the input variables is shown below:

OUTPUT COLUMN INPUT VARIABLE A WATTS IDATA(I,1) KW-HRS ••'•.• IDATA(I,2) BIT-RT IDATA(I,3) MAN HRS IDATA(I,4)

The program is non-dimensional in regard to resources. The dimension of the variables shown in the typical output are watts, kilowatt hours, bits/day x 10 , and manhours/day. Manhours/day is calculated internally as the sum of the skill hours/day.

4-5 NORTHROP TR-808 HUNTSVILLE ~

A _jj_AXT Ut 1 T J 1 c Jt-int ^-H i. Sv L>'i- 1 > 1 M Vi H -PE 2013 25 0. B7b •*•?•= 2323 37 -••- 0. - • '366J 24t>- -P'E 2333 53 0 256 0 0 • 4 6 •; r* r c 1343 1123 - 4326 - 2 1> 252 = PE 2353 53 n '•>D 43 3 Q / = 3 - t V . ,.A.l •— '1i /( ^f^. 13-^ ~p"j>£ 71 3 24 3 1332 F-PE 72 1 &------. •' 2 • 15 j .' f-PE 73 Bl 1533 2 1 3? ' 'FPE 74 153 - 84 : . - 2 i4 ^t ' i- PE 1391 2559 13592 Li I 2 4 1! : ? PE 1392 1303 3 ••-.- - t> IB -PE 133 433 5 Of 14 57'j = •>».£ 1113 1763 <»b38 - - 49003 1303 F-PE 2123 17 3 53 132 y ;-l -i r p c ^ ..-.:£.-p- £... ._ . At, -~ -t—r- C I VI t* t* Cp. £^. ^O •-*.;#"\/' - • ' 4^T 2-Ci - »S/ \;/- '>- - PE 1132 1155 4323 78 501 0 P PE 143 Ib7 150 3 : 1 22 ^ F'PE 153 2303 14256 3 2 I Da F ?E 1!>3 149 1542 7 4SU .^PE 173 83 216 1 744 _-M*.i 4 80 _._ 2-2-_- -.&-4 _... 3 2 7 6 • H-PE 1233 23 4704 1 432 • -F ? E 1213 ...... 1. 3-0 3 ^320 161 234 r?E 223 5&a L.395 3 1326 :F?E . 244 ._: _,..|j . 24 3 376 i-PE 245 3 13 3 1 1 *» - a c ? 4S 1 •> j - - 120 FPE 247 75 3 0 144 rPE 253 43 25-8 3 . 234 ?• PE 2f>3 di 408 3 24 fa. .rPE 273 45 i 3 <> . .. 4 390

4-6 NORTHROP . TR-808 HUNTSVILLE '.

The tables on the following pages show the skill types and manhours of each required for each experiment. It should be noted that the skill names may be changed from "SKILL 1", "SKILL 2", etc., simply by changing the cards starting at card 11 in subsection 3.5. The correspondence .between the output and the input variables is explained in card 2 of subsection 3.4.

4-7 NORTHROP TR-808 HUNTSVILLE •

S

..X -.-.i 13 *»:JB

f- '<> E 33

.,- P b S3 2 7 S ,rl.i*.£- S3 -?-E; ' 71 rp'E 72. . o3 f: i> E 73 93 FPt /'«». 132 rPE 7? 33 rPc - 3.J 2-34-

rP= 92 . - . IB , -PE 133 ->96 .= Pc 11J •..-.-• ••-• .

.h?.£ .131 _....:.™ _ .. ,.. 12^'j. ...Li 3A.. F-P.r. 132 • %5j • a7^

r P £ I i 3 ' r.?= Ib3 313

..-P..£ 1B3 r ? E 2'3 3 .-PE 213 17%. f-'Pir 223 '-tbj

,2.Vi> ._ „.. -3.3 :. .._ _ - .. _- 2% 7 • %2 . t.3 253 .17%.. - 253 . .2-3% • 273

4-8 NORTMROP ..- TR-808 HUNTSVILLE '

$<1L_

j-rv-i ft -•— ^ - -.j-'V-f-t.-t-- •»-' '*>-^ -PE. 13 .438 >-PE 23 - ' . . . - .. . 132 FPE 33 3D 1 62 FPE 43 6-J rPt 3 J 102 102 = j- P / i -.• - t1 wr> C?. -PE 71 102 90 D FPc 72 ••• • 33 63 = PE 73 42 -PE 74 4 2 F-P£ 7t> 144 . -> «- P ~ tv*H ^/ — • • d\j 1\J hPE r?E 92 - p F 133 180 - PE 113 114 1266 -PE 123 63 72 1 .; i ^ 3 £ i j * ~?E Ia32 ' 90 2196 :=i>E 143 366 12 i; _ rD •"- lt> J 702 702 707 r Pb 16 J 60 03 L. |> Z 173 612 1'32 •-P6 •l-S-} -- - — 1 44 - 1 > 2 ;- PE 23J 318 1 i 4 FPE 213 31 FPE 223 H 4 6 FPE 244 42 144 r>2 FPF 245 114 -r-P-E .....£4a. - : 30- .- r.3 CPE 247 42 -PE 253 •V3 -PE 263 4^ r ?'£ 273 . . • . 42

4-9 NORTHROP • • TR-808 HUNTSVILLE ~ ~~ ' . : .

The next information printed (shown on next page) is headed by a single number which corresponds to IYR described in subsection 3.6. The subsequent lines of print give the FPE number and the associated cost for each year of development for up to eight years. Note that if an experiment required only five years of development, then the first three years are zero. The two lines of print below the experiment costs are the development cost of the free flying and attached modules respectively for a five year development. This is dis- cussed in subsection 3.6.

4-10 NORTHROP TR-808 HUNTSVILLE ~

2 2313 -J.O -0.0 -0.0 *503.0 13JJO.O 273JJ.3 27533.3 18533.0 2323 — -3.0 7^0 J.O '- ^ 0 J J . J i3.-llJJ».C- i jjj.00-. ^ 3.2.33 j^J_._ 57333..J .21333.0 2333 -O.j t.0 00. 0 .i :> 0 ) J . 0 b o 7 3 . :0520. :• 22*^3.3 13*3 -0.0 -0.3 -0.0 -0.0 * 5 0 3 . >15003.0 20503.0 U5J3. J 2353 -J.J -0.0 -3.0 -3.0 17110.'.' 2 1 2 7 ) . 321170.0 13*13.j 53 — O.J -0.0 -O.J -O.j • - 0 . -': 150J.3 3000. 0 3003.- 71 -O.J -0.0 -J.O — J.J -3.; 230.3 733.0 7 3 0 . u 12 .... -0.0 -J.J ... -o.a - 0 J- -0. ^ 210*0 1130.0. 1130.0 73 -3.0 -0.0 -:>.o - J. J 1 5 0 J . 3 1 5 J 3 . 3 7* -J.J -O.J -0.0 -J.J 190. j 113J.3 1 13 j.3 1130.0 75 . -0.0 -0.0 -0.0 -O.J 190. ' 1130.3 1133.0 H3J. J 2333 -0.0 -0.0 *950.0 i 2 9 J 3 . J 19370.;: I V 3 7 0 . 31*863.0 21333.0 1391 -0.0 -0.3 -0.0 2'J* j. j 31*0. ::•. 3753.3 o2d3. 3 3 6 d 0 . j 13 ii -J.^,. . ...-rO^O- - 3. 'j 2J-3-»J •+ ^ Q . j 223.J.3... y25J.O-.. _ .92bO. j U3 -O.J -0.0 -0.0 9 3 0 . J 1350. .) 1S5J.3 1830.0 11 70. „ 1 1 1 3 -0.0 -0.0 300o.O '-> '3 J J . j '->300. J i-jJOO.3 2BOJ3.3 283J3. J 2123 -O.J -J.J '-3.0 -O.j 2 i 3 . :> 2383. j 3113.3 *110.3 131 -J.J -O.J -0.0 &3j.^ 63^0. 0 19080.3 29633.0 193^0.0 1132 -3.3 -0.0 -0.0 2^0.^ 2090.:, .-? * 0 "j . 3 1 1! 5 2 J . 0 13903. J 1*3 - j, j - J.-J- g TIT . .3, 1 9 '* j J . 322^00^ j -2 7 -3J_j . 3 2.A D 0 J «. J £>J JO. 0 153 -J. J -0.0 3000J. ; (i t> J J j . 3 35003.3 9000. J 163 -3.J 900.0 3750.0 * 0 . 0 33 7 J . j 1913.3 193. J 2*5 -0.0 -0.0 -3.0 • -o.j - J . -J.J -J.O 2: ) 0 . j 2*b -J.J -0.0 -3.0 -3.0 -O.J 1573.3 12t>J.O 1*3. a 2*7 -J.J -0.0 -3.0 -J.J -O.J -J.J -0.3 - 3 . j _

4-11 NORTHROP TR-808 HUNTSVILLE ~

4.3 INDIVIDUAL SCHEDULE OUTPUT A typical schedule is shown on the next three pages. The experiments (FPE's) are shown from top to bottom in the order in which they were scheduled.

The "1" or "0" in the:schedule matrix indicates scheduled or not schedule re- spectively. The performances desired and actually scheduled for each experiment are shown in the columns oh the right side along with the mode of accommodation.

The items shown on the summary of resources are A WATTS average watts summed over all FPE's active (watts) KW HRS kilowatt hours required (kilowatt hours) BIT RT bits per day generated by FPE's (BPD x 10 ) MAN HRS manhours required during interval (manhours) SKILL I, etc skill hours required during each interval S WT UP supply weight required to orbit during interval (pounds) S VOL UP supply volume required to orbit during interval (cubic feet) RET WT weight to be returned from orbit (pounds) RET VOL volume to be returned from orbit (cubic feet) E WT UP experiment weight to be launched to orbit (pounds) E VOL UP experiment volume to be launched to orbit (cubic feet) SS VOL space station volume required (cubic feet) PC COMPL cumulative percent of performance completed (%) COST PER YEAR year, cost per year, and cumulative cost from top to bottom. (Cost in $ x 106.) The units of cost on output are the units of cost used to input divided by 103.

4-12 NORTHROP TR-808 HUNTSVILLE ""

J_ O — — s. -. — n f. y '-U O "3 Vj no y -a

•Ij T I > I ) y si

o 'NJ rf •OJ a

O O O — O —• O —< —1 O —>

o —^ —^

«^ r-t —«•(—> —< rT r-t _i •-» *-•

— * "*» -4

-) .-t _t •-)

—4 f~i

—4 to o r» —« .•>

.-> -» -< O -M .» ^J CM fM CV (Nl f\J

ill 111 -II 'LI IU III IU :U IU 1(1 Ml III I U 'II II Ul n. i. n. A n. n. n. i\

4-13 NORTHROP_ TR-808 HUNTSV1LLE ~

O O O O •^ .0 O i\t .•>•> M rsi

O O O —< O O O O —< —'

r~l O O

—' --. O —' —' O o O r> ^-t O O O

- o — — o o — o o o — —

O —• —' —•—-oo—' —' —i

O — O o o —

o — — o — — —< o —. o —i O O O

o — -. o — — • o — — < o O

— o —>

—' —• O

_, -_ — o —. — •-.•>

-•0 — 0

—*—'•:>—' o —' —< o —* —•

— * O — * O — « o O — • O o

—« o o —< O O O O O — O

-. o o o o o o ' o ID

-. o — —'OOOOOOOO —«r»o.-«

O O O -* r-> in r^ r\J '^ t/>

'U -U •.!.! >.U HI Ul !U 'XI. Ill 111 tlj III !!l sv ^- 3. a. a. a.. a_ • e_. o.

4-14 NORTHROP TR-808 HUNTSVILLE ~

l™» lA X ^ —* —* .-».*.

co a r ^ o o J^ o i -- o r> p-

O -^ -X) XI -* —• — -J^--\jr^c-O .T. 2) cf

•& ..AN- .I*'.. A —« '.' C1 A O (*• —* —' —+ —' —* NJ "\J -* -sl O

V :j ." .^ -J •

•O J ^ -f

-O J". O -"M j- -r ;•» n *') —' -C f\. -O -•". <%J O

.1 'j ^ -n -^ —«

'X> -•»• f— .""» -J O .T* f^ -T) sT» f\J »1 N- —i .O -f^ *.* f\i ,O l-"« "»ton—*—* —* —i,—' >« %j .f •> y ^--o^* ••> • •

—••& Tl f\i T vT N* O ,1 ,T .M '\j '•» *> 'D ^1 ;-> P*- «*> fj -NJ „". r*~ .'> " — (*- v» J" "> 'O Sl r^. -^ f —I J •> ;- —• ••*. ^»- —•

i~> x."i >a 'r; —' —* —*—<—« r\i NJ ^r •*» .•> r\i n ^^ —( .* N- —I !%l /N, .^ 'i —' .**- a ~"i :..•*• *\; .-» NJ n .1 .•> -j -s. >r .T ."> ."' j*. -^ —• _<"» vj — ^* *• •v- — *^ ft -rt j.i !*\i - ^ -i -.t rj -^ • n •%( 7* —« *"i j^ .r ^ • •

T: /: ."> ^j a: t .-\j T> c •> T ^r; —« F*- •.")

.-•» .-•> r> o —« —« —t AJ -- <\t .-M .-i i-.i —i —• »f r*- .\i —i -\j .-( -SI O . •> -d i -n .c •*» T o -j -•» n n .^ i

.—• J" !

^J ./I N- ,*• ,-J "\t il .^ .-^ ,-v. jl

ft .'vj ' ) ,TJ D "* -" «T —J -"" ~> o — ^ —• .•- v T f* • .1 r-

. *• . •«• -i o n .•< r* *n •*- "vj -n .'•»•*. ^t ^* .ID -NJ .-» r— ^1 -^ —. -T -rv >j •-> -n —* .1 -* .T .r» ^t

i —* ^i r1* tj -.~i ."> »t ,n /"> • •J . ) f~ _ 1 -N. > -. ,-, -| -M --) ', '^l —• •*. •-> i.-. f\j ^ r

itj on

: n -« ^ >j -*-. o --"»••* fl -*) f- -^ >* i ^ -* n • > •»\j —v A *• -\j -^. -*\ •-<*'•;.? ->_*-*•»-> -s- •n .-M .-> .-^^'NJ'-I rtr---< r\j —• «« MI

/X _J V -T* " • • > . r» -^ _j y ft. it r *v t— iV *v T .j _» . i uj i » i i ..j ' -^ -J O O -ni »s *-

4-15 NORTHROP . TR-808 HUNTSVILLE '. •

4.4 OUTPUT SUMMARIZING SCHEDULE FOR ENTIRE CASE A sample of the case summary printed for all scheduling is shown on the next four pages. The number of times each experiment was scheduled in each interval is shown in the frequency distribution of scheduling. The average number of performances scheduled is shown on the right.

The average and maximum values utilized in each interval for the case run are summarized in a format similar to that for the individual schedule.

4-16 NORTgflROP TR-808 HUNTSVILLE ... j 1 • ! i -"• ' • IU C3 P- f*- fs. fxt sf ^H (^ f> JO co oo -H p- r- 0 r— ' -^ on ; ' -j — i — < (XI ^i ^ c "i • • • ' - *t uT i rf . i !~) c ^ O O O «T xt — r*"" rn cc ID GO O O O r> i^ **• : j- uJ XJ "xj ;~xj 1 . rxi 'xi -x, 'XI fM re f\n * * LU i i o. i i ; i 0 o o ri -. in <~ •* h- rs. L-N sO r^( ,-> o o 0 (XJ o o c

! co i o o H —. rh <~ sf) rS er m CO f«N ^-> r» o O •—4 o o rt "i -/i O- ••f o O f~i 0 ' .-> o rxj r> •*xi r\j rxj .«4 .•xj -H -4 — ^: rxi rxi fxi f. [ o o C i rO • rx) ~ Jl >*• rr ^t1 r^ CT> O O 0 •r> . . — •* i O O O ro JO -.-.-to .-> o .-i , (xj fxi rxj -1 -. -4 -•» i~j rxi »f 'ft fM -4 ft ft O 7X1 :AJ 'Xj -4 -. -1 ^1 ^XJ (Xj rxj — ^ ift | 0 ft ft 4- ft i~» >T 'NJ xt •T CO ra O r> o iT —4 ; O •-' 3 O ,\) ;n -<^ • rO ••*! -.*• -*^ Oi fT 0 "1 0 . ^i rvi r\l -. -4 -.' - co LO -r CQ »-^ ^1 ^"5 o n 0 —4 o ft i~i -xi v.f ct- m T n : ->j rx* ixj — < -. -, -j rxi XJ rv z / j • ! 1 . T| i O o o *^ (xi f —4^0 *Q ^^ J1 /-O ft f~* fi _^ '. It ~t ft "V .-^ .-1 r3 —< O . D .1 Ai vt ' ! '.n r\l !XJ -x) ; ,n rj rx f\J IU T —• o •-> -q ^i i»- ;-< rO "O xC •^1 ^t" ^1 O r, O 1 > —4 0 0 f) rxi J- r^ .N| r*- i) r~ rr( -3 ..~; -^ 'XI rsi "Nl : r\j ,-xi .-x rxi 0 0 .-> i-j . iA 0 o n <~> <— 1 —4 O O O rxi . ;A <3 22 ri r~. uri' n ft • n o rxi rxi ,-x) ~^ "xt •^\J "\ •*^ 1 T> r» .-» <-i »•>«•». ,- .•xi ~> r- •X( ^f r-i . -t O ."5 0 ^ "> T rT rxi n •M \i r-i •Or- H T T -1 ••) rvr •>J rxj ixj ."XI ^J rxi l— | -^ ^\1 u. rn o r-> r» xt in i- rr> r> — >"^ r\j —^ n o .-i 0 o o n ^ rg rxi rsj H -^ (Xj rx .•xj « is. o o r r> co .- ^ o •/• 0 .-xj is) 0 ,1 <-! o _J o •"; r} rxi J- r\j v\ *f vD x.O jTl . <~> o -^ •-* ~> ^.i rsj "\| — J i^\| .XI 'Xi •\jj

•U O • T 0 r-j 03 >!• r vr •> ">-• r* r^* •*> 'ijr ..^ ^ ^ - —> •", o : 5 rx» "si tNi H xi "XJ "X •xj ./I -> o ' •.-> o . "i <- -*o >n ^« >}• O ~\ . t O '"I o u_ o • i ri —< ,-x. x» ^ J '.-•) ,-1 o ™~* ^NJ .-vj N

,-^ /" _ .-> /•» <-t • -« -o ,-xi <• T •t ."XJ rxi "vj _| rg :XI \ 'M

o o r^ . •-> .-> r _ h. r r^ «^ -"^ '^ ft <- 0 •o r ••^ rx) r\ .M XI ! •-X • o .-» n o o c 0 ~ o ^^ — 4 -4] *- 12'}" O /-» r-. rf n ft f o o ,r -* . ". .- r-» 0 f ft r" i 1 ^x •* .J »i i ^ •t ft r r> ft r -i rg «• ^ .n r" —4 (XI r ft - III iU •V u- t U 1 U MI I U U 11 ru iu u IU IU <1 UJ IU 11 IJ U. f QL ft. « n. a. a ri. fL a rv ^. ri A. n. ft rX •— 1 u_ a a 11. ij.

4-17 NORTHROP TR-808 HUNTSVILLE ~

o O J- O

i"! .•NJ

O ••"» r1 O o o o o o ."% o fNJ ••V •Nl

-, O -I -> O r> O r-t 1" J O fNJ »NJ Nl

0 O :-T r-i f> r> o •-> '") ; ••) ,O .NJ •Nl >»

O O -, r-, r~> C ) o ,--} .ft -5 O fNI fNI r\i (Nl (NJ

fM LTV ,n ..*• NJ

O

O

"M Nl

i—> •~>

• Nl

O 1 I rj Nl fNI

.->

I

-•Nl

— > O O .-> r^ r- T> rNl •> ^n •••! :A i~^ r^ ,-"i -^ ;~> 1 :.O O vD r\ J- ••» J- -^ :.-V -» O O u"> •NJ 'M <^j —4 ^| (M

,-. O : T •~> ."i m .-NI o .i\ _« r> >- -i o o -r? -> ^ n •.~l £"J •1 •"! •f .i- .f •NJ IP. • xt1 ™t '"^ » NJ NJ NJ \l •- • Nl M

y, .-> • •> .-, -> n .T ^ "^ *» -:T .T ~) ~1 T •> 5 ^ .•• ".1 ^ .' •> -.1 ^ r ~l —4 ~. .r "* J + •N) NJ "~ '^ -• rvi .NI

j. •I •-> o o ."> ^*- >.f j-v o r*. (NJ •j -) ••> •) *» ~r 1 - 4 ,-\ ^*- •> :':, -t ~\1 NJ Nl M —« ~0 Ni

^_ t~\ O •n o •~» ^n f\ ?o A • n P*» <~> o f> -."^ (^ •NJ .—4 • ~) O O "> -i- -r "\ •^ -^ (••} • ^ . T .f .NJ Al rsj .>j — ' .-M -M -\i

|-» o -> •T n -R -T -o .">••> m •?» f~> o <-> o 'l -f, f) f •> i~5 NJ -TV NJ ^Nl ."^ 71 "5 ^NJ "J rN! .-N) NJ "M Nl n .-, -, n n .-n x.t -T o .~> ,'i r-- n .~i . o n •"» ^J. •^ ^ •Nl ;-^ ^^ '!N1 ^^ -4 n •> .-> ,i "i NJ •~-j "j X "M \J Ni "^

--> l~l 1^1 <-> o f-> fNI O «^\ ' i^ f^ nrt n f^ 4^ o o rt 0 O —4 —• —4 fNI .-VI (N) fNJ ."Nl f\J f\l (Nl fNI

,_, -H (NJ f> O o >-» o •T f^ ."^> ^ -.A ^^ *^ (™ i f^ ,-, r^\ -^ "^ fNJ ^ J^ Njl ^» *TO •^ -^ .'Nl ^ ^ -*• >.^ A >f> .^ —4 p-4 — 1 — 1 (Vi f\i rvi (NJ fvi fM f\j fvi fvi fNI ~* ~* ^I ' 14 .IJ IU IU 'U 'u iu ; a. •». rtl ft. f\. ftj A. ft. fX ^. f\. *\. A. 1! ii. i- .1. 'U • i_ •• u •• ij L '1 II, 'J- Ll_ IL '1 II .1. 'I.

4-18 NORTHROP TR-808 HUNTSVILLE ~

(M rjj IM .^ o in J- O in f- 0 (* & in csj ,, f~ -d -*• f*- i in in o d p- to %O -4 CO N xfr OJ t- O CO H -o 9 —

*o rvi r\j co r>j a m >j (0 0 -0 or, >0 CM 0> M P- .0 CO 03 ro ^j j i ^ "j _ fM H ^i ^- ! i f\j ,X 0 .0 o in O J T3 O fM _. ~i r> T» 1 £ JI o -J J- O ~n ^ co 2 •o -a -3 v* P"- 1 rt f\t y CC —« _• -I -< CNJ fM J — i IT. (M '^ - — • fM — ir> in (M r* p~ — » rvj .t ji -n — • en rg vt* f\ -H ^»*• .T Of no ^ r~ m *ji 1 — ' f*i CO •/) .T* CM ^ j J- 0 -. 0 (f\ rt 05 ^ f* . n 0 .* fw ^3 T* • « CO -« •M T* O CT r- Zl o -* r- i- r^ -jo >O o in 0 .•M j -* no ""^Js ^4 j o n r^. O "i o o 1 -4 CO 0 xi> — « O IT- 3 ? o •^ C7» ~G — « -• *-• ^ -i fM .>, ^ 01 •* ~f -• as o .-n

1 1 i j( M- o —«.T*r"^f-tfn-op*T»r^p-in I n :o — ftNi

i •..•> -o *M "^ r\j o n Ji o o -o -JT -\j c\t -jf ,•> —4 o —* o •-^r5!7>fMr>Of'**-f** r^fMJ->-^cd.NOirJ" » P* P- i

— ooj^—--*'^xfstO-'-O.o-^corrtrT>cOxt n^-

.1 m -t .T ~sj ,•) ^) ir> ri n

xt- 33 —i (Nl '> xf xt L^ —• f- -T> f*) ^r» x» TO **• (~t r1** ;O

.*^ -A jl rtxTr^1f\j3iNf)fMf\<'OOxti~)xt1'^'"7*rs,^xtr*-

-t •*> o .^ -r ™- ^ -T --< • r> r> T- ;?» —i —* . —* ^i •

i xT P«- ^ - * ,"i -t (^ i ;rt m J3 -n -. o ^ ,T >t -o O o »+• "^ %*• ™> "if P«-

"^ ^J l^i- v.-) A -4 -A s.* xf O j- _ .-5 ,-^ ~> .T | -n

j-> fM -H .^ .-» xt -3 O xt- -i P- O P* o "> —< .x * ."\j -n •

1 i'j ^-< 'jli CT« xt .O P* i™» ^ .T fM xt .T TO <"> -ft ID .*» -T) "Tl iT) -^

n -^i CM r» ru i 5 /,4o- ' >rt ^* •"* o •" •'

*T rt' W-p *V iV T J _J , I _J .» I .1 .,.1 Ll ,1 ' «r in rf T _J j .1 ,j j J _.i _j .{i h- o .111-^ i U-T— — -. — — — -^-^^-». ->^: )•« — •«*V^N','»^V>/VVV

4-19 NORTHROP . . • . TR-808 HUNTSVILLE

• * > -« O CO

H -^ -* m **) * COI J • ~4 \f\ ~* •$• O~4<£(M'*f7**t ^fo^t^h-f^irv^a^oa^mr*-'!*- ^ o uv *t -o o* P-: uj -o o OD r-- ;>'CT > N. -* -* oo rv i r* o o r»j -* -* ~« -* r^ .-^ ,* r-, -t co ~* f*- r\* •

k «M -,r» -0 'M "n -J- sJ"

O rg -,o *•. T» -t -4 J5 - O» • • ^

.r. o o oo r- *^ rr r^ rr r- r- n

i -\j \r\

•%4 ,"** • • t> • •

( . _-«;- ) .-O —• O f )

I ^™ O "si f^ '"O-

"-j ,.t- f>- PO —4 r> —* s^ —i r- •** P«- -n >*1 .1*

^ ji -. ^ —(

.-, n n -

:l rrt '"^ -.fj A> O 1) O «^ ^ ^ ^ -"VI vf »E d *T ^7* •>* '"1 f*" ^ ^^ -f] — ^ > r^ ."i **1 r^ -.^ -'^ »* •*- •*! -^ -^ ^"- '.1 ".i

il .->•» ^H —* —« (X.-vj-'X'M -* ift.. •v -^ ^-« ; T *^ 'NJ .'^ d O -O 3 (™% >f 3 O -""W ."NJ rxj tD -"O ^ O -^ "^ O

e+ -^ d -"."> -H -4 -x- AJ *i N j\ tn -4 >••>•• -*-• :. i ,_•-»-»-**"*'- O. ' ; ! • rsj -O »•) AI

• i rvl _^ ! ' »NJ ' !

4-20 NORTHROP . TR-808 HUNTSVILLE • Appendix A STATISTICAL BACKGROUND FOR REPRI

REPRI was designed for Phase B compatibility analysis of Space Station mission concepts, sub-system capabilities, logistics support, and experiment packages. Since no one schedule could suffice to establish trends or sensitiv- ities for the entire ten year program, REPRI was designed to generate a large sampling of feasible schedules. In order to avoid biasing of the schedules, random scheduling was utilized. Only truly random feasible schedules are statistically valid for identifying program trends, since any deterministic scheduling algorithm must schedule based on some reasoning which may induce bias,

Random scheduling as applied is simply a Monte Carlo simulation of the scheduling with all experiments having equal probabilities of being scheduled in any interval. The flexibility with which the Monte Carlo technique allows new parameters to be added makes it highly desirable. Many analysis tech- niques are modeled completely on the parameters to be analyzed. A possible disadvantage of the Monte Carlo technique might have been the amount of time required to generate the large samples necessary to gain acceptable confidence levels. This problem has been avoided by careful programming.

Briefly, the Monte Carlo technique as applied in the REPRI consists of: • Randomly generating the order in which the events are to be scheduled. o Randomly selecting the starting time of an event from among the set of all possible starting times; i.e., from among the candidates.

When a complete schedule has been generated, the values.of the selected parameters are computed and stored. The program automatically repeats the scheduling process until the desired number of schedules are generated.

Once all the desired schedules and associated values of each parameter are generated, the results can be analyzed to determine the degree to which given parameters are dependent upon the schedule. Information concerning the maximum and average ranges of all parameters being considered is also obtained. The probability and confidence level that each parameter will lie within the range determined for it is a function only of the number of schedules used to determine the range.

A-l NORTHROP . TR-808 HUNTSVILLE The rest of this section will serve to demonstrate the probability theory used to determine the probabilities and confidence levels to be applied to the data generated using the REPRI program.

Let S , S_ ..., denote the schedules in the set of all possible randomly generated schedules, and let f± denote the i*^ payoff function (i.e., parameter) defined on all possible schedules. The sequence of values of f^, given by f^ (S,), f.^ (S_) ..., can be considered as a sequence of independent random vari- ables with an unknown distribution, F. Then FJ (x) is the probability that a randomly generated schedule will have an f^ value smaller than x, i.e., (see Figure A-l). X F±(x) = Pr [f± (S) < x] = / y± (x) dx o where S is an arbitrary random schedule.

Let £ be the p-percentile of the unknown distribution F^, i.e., p is the number such that S F « ) - P [f (S) < £ ] - p - / y (x) dx, 0 <_ p 5 1 (A-l) i p r i p Q i

Suppose that the outcome of the f^ value greater than or equal to £ from a given schedule be designated as a success and the outcome of an f^ value less than £ be designated as a failure. Hence, by equation (A-l), the probability of a failure for any random schedule is given by p and conversely the probability of a success is given by (1-p).

If a finite number of schedules, N, are generated, the probability that at least one of these N schedules will have an f^ value greater than or equal

to 5p may be expressed as the probability of at least one success in N independent trials, and this probability may be denoted by

P [at least one f. (S.) > C ], k = 1, 2 N r IK P

By Bernoulli's Theorem , the probability of exactly j failures and (n-j) i successes in n independent trials is given by the expression

1. Coolidge, J. L, An Introduction to Mathematical Probability> Dover Publications, Inc., New York, N, J,., 1962, p, 32.

A-2 NORTHROP TR-808 HUNTSVILLE ~"

I 0) 01 a 01 s H iH CJ a) Cd -o

n) M B a) 0) o Tg3 •o a CO co -a M M -. ^3 II

1P, 4J w C Qi v a) O CO V* 13 x-x Q) U) I* •H 4J •^ p. M-l C •H 4-l M Z5 CO C_3 H a) CO M -H 0) h n 00 a, - I-H -H a:

fa CO . & >s OJ •4-H1 4aJ iH -rl •§ t-i •H ,a 0) ^ 0) O o ct) ^3 4J M J3 4J 3 Pw 2 a 01 QJ P. -H 0) QJ J2 -H C •H at 0) O 4-J (0 4J | •H O u

A-3 NORTHROP ' . TR-808 HUNTSVILLE '. '• '. : '.

Since an outcome of at least one success in n trials includes all possible outcomes except that of exactly n failures, the probability of at least one success is given by.

1 - [P (n failures in n trials)]

Thus, the probability of at least one f. value greater than or equal to £, in the N random schedules generated may be experssed as

P [at least one f (S,) >_ £ ] = 1 - [P (all N f. (S,) < ?)], r 'iK ~ p • L IK.

k-l, 2, ..., N (A_3)

Replacing n by N, and j by N in expression (A-2), we have

n r 11 M * /o N c i N! N ,. ,N-N N Pr [all N f. (Sk) < y -yn^P. (1-P) = P

k = 1, 2 N / .

N and substituting p in equation (A-3) we have

P [at least .one f (S,) '<.']= l-pN, k- 1, 2, .... N (A-4) 1C ' i K. ~"" p

The value of p is sometimes called the confidence level. .

As an example of the application of equation (A-4), suppose it is desired to know the number, N, of schedules required to have the probability be .0.95 that .the maximum (minimum) value for the f. parameter in the sample S.. , ..., S of N schedules is larger (smaller) than 99 percent of all possible values. Then the preceding equation becomes

0.95 = 1 - (0.99)N

In general, the exact solution of this equation will not yield an integer value for N, hence, the equation is solved for the samllest value for N for which the probability is at least 0.95, i.e., the smallest integer N is sought for which the inequality given by

A-4 NORTHROP . TR-808 HUNTSVILLE ,~ • - • - • I .

0.95 £ 1 - (0.99)N holds. The value of N is found to be N = 296.

Figure A-2 is a graph of P as a function of N for value of p of Q.90, 0.95, and 0.99. Figure A-3 is a plot of p as a function of N for values of P of 0.90, 0.95, and 0.99. Using these graphs, the number of schedules which must be generated to achieve the desired p and P values can be readily obtained. .

A-5 NORTHROP TR-808 HUNTSVILLE ~

o o CO o CO CsT

O VO CM O 5 tj- oo CM o O CM D; LU CM CQ O O CVJ O OO 00 o o vo O o oo I—I o o •z. in CTV oc u_ LU o o CO

O CO CO

o CU CM 3 cn

O LO LO O if) If) O LO o o co co VO VO in LO

Ainiavaoad

A-6 NORTHROP TR-808 HUNTSVIUL6

o CO

LU 03

o

o o LU o: oo

LU CQ

LU O

O O

co

A-7 NORTHROP . TR-8Q8 HUNTSVILLE - .

Appendix B

FORTRAN SOURCE LISTING OF REPRI PROGRAM

B-l NORTHROP TR-808 HUNTSVILLE

cr jrV', MASA/K.IRK. 41016C»CO»1? ir. I".JOn, . •••••' AF, FILES «oO»;-K)DE'C'< ( 36*3) »XXC5T( 13) ,1 I OUT (120*36) »NRFOD!36*1 1 ) ». ;•••' A i Ni. * . IF.XPt 36) »LAVG( 10 ) ••/A i •••; 5 -CO-.VV;OM IPAMr>.»v.-»;V » I .V » ID ATA » I TOTL » I CTRT » I OUT « IREPT » 1 DATE ,f-'', :• AT\; 6 V * JDAT F »< EXP , XCC'ST * I PERF * I RAN » XOCST « JCON , I SEN. 2 , ZCOST , f.' ' -AL\ Ti '• ;' 7- * Ancp ,M- rO'-'^OX'/AL^HA'/AM A.vE » R *•! A '••• F »• I MOD . VAIN 9 C •-•'A I •'••! 1 0 REA^?,, ^ 1) ISFV2.ICASE - •vAIN 11.

l ro-? VAT (.?I3) .'.'•'MAIN 12 •.•7FATM5. 2) (-LAVGd'-j., 1 = 1,10) "•:'A I '-i 13 ••'RITF(6»?) (LAVG ( I ) ,1=1,10 ) ~ PO^'AT I 101 5 ) VAI:-; 14 c ;••' A i N15 V1 V Q D C ISF"-!2 - .) ' .FR OF SCHEDULES TO PE RINTED '•••AT-! 16 c (SCUFDULE 0\'F THROUGH SCHEDULE ISEN2) ,VAI •'•: 17 c ICASF - 'on. OP CASESICOMPLETE DATA ^ACKS) '•'A I:,: i" c LAVG - NU'i^ER .OF SCHEDULES AFTER WHICH A SUGARY I S DES I RED. '•• ' A I '••••1'9 D c ' I.M LiT i.ip TO TEN VALUES IN ASCENDING ORDER. A FINAL '.''' A I '":.: zri. J~ SU-v-'.ARY IS PRINTED REGARDLESS OF THE VALUES IM LAVG. XAI ••>! 21 r- V.. MAI.? t; 2 r MAl^-J si 3 c. '••••:= >JU'.^ER OF RESOURCES FOR WHICH UTILIZATION IS COMPUTED 3 ••''•';= 2 7 ,-AIf-i 2 4 IFLAG=n • • ^AIN >;'j LXXX=1 •• . ,'••! A I r-<:'i 6 CALL U'PUT r-''AI N ^R

CALL COST(LLL» IFLAG* IDUM) . . XAIK 1 CALL TRACK ( 1,LLL) i-'AIN ^ V' '-'RITE (6» 4) v; j£ J ?•; 31 4 FOR VAT ( 1^1 ) :'•• A I >•-,; 9 c MAIN 3 ..'i r .'••'A I •'•! -:• '•- 5 .'X3 14 LLL = 1»LL -.AI.-.J 3b f^O 6 J=l«18 • ' - A I N 35 6 XOCST ( J) =0. - i-'AI N 37 ••^0 16 1 = 1.12 DO 16 J=1,N 16 I CODE ( I , J)=D

^M'l'iOOfV' .-•,AI:- 3 9 I F '.''•' — 1 ("* "' 0 :- A I . 4 f)- DO P 1=1 » IN ' • • VAI .•• 4 1 DO 7 J=l.v',v XAI- ^2 7 I TOIL ( I » J)=0 . • f-'' A I .-4• 3 8 IOUT( I )=0 ^AI r- •'i 4 CALL OPDCR'( M, IEXP ) ,V A. I r 45

B-2 NORTHROP TR-808 HUNTSVILLE ~ CALL OUTPU (LLL,0,IDUM) c MAIN c FXPf-PlMF^T SCHEDULP"-' LOOP bl 00 10 K = 1 , N 52 CALL /PACK ( IEXPCO ) NAI.M b.3 CALL COST(LLL»-1,IEXP(K)) MAIM 54 CALL OUTPU (LLL»+1,IEXPCO) ' CALL ENCODE(IEXP(K),ICODE,I OUT,IN) ."'A IN 56 MAIN 5 7 00 11 I =2, IN ['; A I N 58 11 ITOTLt I ,2.7) =ITOTL( I,27) + ITOTL(I-1,27) MAIM 5 9 00 17 1 = 1, IN ' MAIM 6J ITOTLt I ,77)=IFIX(FLOAT! ITOTL(I,27))*100, /APER + 0 . 5 ) MAI !M 61 CALL OUTPU (LLL,+2,IDUM) . V.AIM 62 .CALL COST(LLL»1»ICUN') MA IK 63 CALL TRACK(2»LLL) MAIM 64 IF(LLL-LAVG(LXXX))14,13,14 MAI N 65 .13 CALL TRACK(3,LLL) MA I K 66 LXXX = LXXX + . 1 MAI I'M 67 14 CONTINUE •MAI N ' 68 C (•••Alfxi 69 C f''AIN 70 CALL TRACK (3fLD- .I--.AIN 72 IC.ASE=ICASE-1 .MAIiM 73 WRITE(6, 4) V;AI N 74 IF( I CASE)15,15,3 MAIN 75 15 STOP MA I N 76 F N D KAIK 77 SIRFTC BLCK DECK. BLOCK DATA DIYEN SIO\' IMOD( 3 ) ,AMAt--'E(27) ,BNAME( 27) M /ALP H A. / A N A M E , B N A M E , I iMO D • . DATA P"OO/2H I ,2HAM,?HFF/ ' • DATA AMAMP( 20) ,BNAME( 20 ) /4HS WT»4H UP / • DATA ANA^Et 21) »Bi\AME(71 ) /4HS VO»4HL UP/ ' •• ' ' DATA ANAMEt 2?) »BNAME( 22 1/4HRET ,4HWT / . DATA. ANAM.E( 2?) *B,NAME( 23) /4HRET ,4HVOL / DATA ANAX-Et 24) ,BNAME(24) /4HE WT»4h! UP / . DATA AMAf-'F( 25) ,BNAME(25) /4HE VO»4HL UP/ DATA A'-!A^'E( 27) ,BNAME( 27 J/4HPC C»4HOMPL/ C A, MAM r (70 ) = SUPPLY WE IGHT TO BE CARRIED UP C ANAM p (?1 ) = SUPPLY VOLUME TO BE CARRIED UP c A N A f •'f (?2 ) = LOG 1ST 1C WE I GUT TO BE CARRIED DOWN (INCLUDES riOTh c EXPERI MENTS AND SUPPL IES) ' c AN AM p (73 ) = LOGIST 1C VOLUME TO BE CARRIED DOWN ( INCLUDES BOTH c EXPERI MENTS AND SUPPL IES) c A .N A '•• •'•E (24 ) = EXPERI MEMT WEIGHT TO BE CARRIED UP c AN AM c (75 ) = EXPERI MENT VOLUME TO BE CARRIED UP c AN AM P (77 ) = PERCEN* T OF EX PER IMENTS THAT WE RE SCHEDULED c I MOD = FPE ACCOMivlODA.T I ON c I.MOD (1 ) = I T c I MOD (tl. ) = AV c IN'OD (3 ) = FF Fi\n

B-3 NORTHROP TR-808 HUNTSVILLE

5I PFTC OTPT DECK SUBROUTINE OUTPU ( I SCHD » JUMP ,NEXP ) OTPT 1 OIMEfVSIO:'.; IDATA(36,25) » I TOIL ( 120 » 2 7 ) , ICTRK 120,5) , IOUT( 120) » OTPT 2 * JDATE(36) » IREPT< 36 > » IDATEt 36) ,ANAME( 27) ,6NAME( 27) , OTPT 3 * VFXP( 36) ,IMOD( 3) »XOCST( 18 ) » XCOST ( 8 » 36 ) »IPERF( 36) < OTPT 4 * JCONH 36»3) ,XXCST ( 18) ,1 IOUT ( 120»36) »NREQD(36*11 ) CTPT 5 CO.V.YON IRA^'D,N»f''.»lN,IDATA, ITOTL»ICTRT,IOUT,IREPT,IDATE,MM, OTPT 6 * JDATE»MEXP,XCQST,IPERF,IRAN,XOCST,JCON, ISEN2 ,ZCOST, OTPT 7 * . APFR,i\jSKL »LL»XXCST» I IN, I IOUT » NREQD » I AM » I FM» ICODE ( 1237. ) OTPT 8 CON-:;VON/ALPt-)A/ANA.;--'iE».BNAME» IF-10D OTPT 9 !F( ISEN2-ISCHD) 18 »1 ,1 OTPT 10 C . OTPT 11 C &RI NT SCHEDULE ' •- OTPT 12. C OTPT 13 C OTPT 14 1 I F -( JUMP-1 ) 2,6»10 OTPT 15 r OTPT 16 C. PRINT SCHEDULE HEADING OTPT 17 2 WRIT~(6, 3) ISCHD OTPT 1J', 3 FORV'AK 9H SCHEDULE,1X, I4,75X,12HPERFORMAFKES»9H MODE OF) OTPT19 '••'RI Tt ( 6, M ( I » I=l»IN) uTPT 20 4 FORMAT ( 1X,»HINTERVAL , 2X , I 1 ,19 I 4,13H REQ SCHD,15H ACCMMODATOTP.O T 21 *lON/» (.9X»?OI4) ) - OTPT 22 >'/RITF(6» 5) OTPT 23 5 FORMAT ( IX, 109( 1H-) ) OTPT24 RETURN' OTPT 25 v/-. OTPT 26 C PRI<\T SCHEDULE OF EXPERIMENT NEXP CTPT 27 6 X 0 D X = M E X P ( M E X P ) / 1 0.0 0 +1 OTPT 2o • •' E X P ? = ^••'• E XP ( VF X P ) - (f>'E X P ( N E XP ) / 10 0 0 ) * 10 0 0 OTPT 29 '•.'RITE (6, n) MEXP2, •( IOUT( I ) , I = 1,1 IN) OTPT 30 '••'RITF(6» 17) IREPT(MEXP) , IP ERF (NEXP) » I MOD ( MOD X) OTPT 34 17 FORMAT(1H+,88X»2I6,7X»A2) GTPT 56 I X X = I I M + 1 OTPT 31 IF{ ! \1-20) 18 ,1R,7 03PT 32 7 WR ITf£(6» 15) (IOUT(I), I = IXX»IN) OTPT 33 9 FOR'-'AT(1X,3HFPE,1X,I3,20I4) OTPT 35 RETURN OTPT 36 r OTPT 37 C DRIMT RESOURCE SUMMARY OTPT 36 10 '.-.'RIT5 (6, 5) OTPT 39' WRIT!;: (6, 11) OTPT 40 11 FORMAT ( IX, 20HSUN-MARY OF RESOURCES) OTPT 41 '"RITE (6, 12) ( I , 1 = 1, IN) OTPT 42 12 FORr-'AT( 10H INTERVAL ,20I6/, <10X,20I6)) OTPT 43 DO 13 1 = 1, '•' CTPT44 13 '••'RITr.(6, 16) ANAME ( I ) »BK AME ( I ) » < I TOTL ( J , I ) , J = 1.IN) OTPT45 DO 14 I=20,27 OTPT46 14 ••.'RITFI6, 16) ANAME( I ) ,BNAi'sE( I ) » ( ITOTL( J, I ) , J=1,I.-J) OTPT 47 15 PORMAT(BX,20I4) OTPT 54 16 FORMAT(IX,2A4,IX,20167, ( 10X»20I6)) OTPT 55 13 RETU9N GTPT 57 F v n OTPT 5^!

B-4 NORTHROP , . ; TR-808 HUNTSVILLE

.SIBFTC COST DECK / SUBROUTINE COST( ISCHD.I FLAG,NEXP) ' COST DIMENSION IDATA(36»25) »ITOTLI120.27) ,ICTRT(120.5).IOUT( 120) , COST * JDATEI36).IREPT(36).IDATEt36)»FFD(5} »AMD(5)» COST * MEXP( 36) .XOCST( 18 ) .XCOST (0 .36) . IPERFO6) . COST .* JCON( 36.3) .XXCSTt18) , I IOUT( 120,36) »,NREQD( 36.11 ) COST COMMON IRAND.N.M. IN, I DATA » I-T-QTL » ICTRT. I OUT »IREPT »I DATE » MM » COST * . JDATE».MEXP»XCOST,rPERF, IRAN.XOCST, JCON, ISEN2 .ZCOST. COST * A.PER.NSKL . LL.XXCST.IIN, I I OUT .NREQD»I AM»IFM» ICODE( 12.37) COST IF( I FLAG )6» 1,1 7 '. COST C ' COST C . . . COST C , INITIALIZATION AND INPUT OF COST VARIABLES COST 1 READ(5, 4) IYR . • . . COST WRITE!6. 4) IYR • ' COST C ,IYR.-= NO. OF INTERVALS/YEAR •- COST DO . 3 J=1.N . COST READ(5» 2 ) (XCOSTtI»J)»1 = 1.8) ' COST 2 FORMAT(lOFS.l) . • COST 3 WRITE (6, 4) MEXP(J) ».( XCOST (I. J)* 1=1.8-) COST 4 FORMAT(IX.I9.9F9.1) . COST READ(5» 2) (FFD(t), 1=1.5) . COST WRI-TE(6» 5)(FFD(I)» 1 = 1.5) . . COST 5 FORMAT(IX,10F9.1) .COST READ(5. 2) (AMD(I).1=1.5) COST WRITE(6. 5)(AMD(I).1=1.5) COST C . •-' . COST C XCOST(I,J) - THE COST OF EXPERIMENT J REQUIRED THE (9-I)TH COST C YEAR PRIOR TO THE FIRST SCHEDULED PERFORMANCE COST C ; ' OF EXPERIMENT J. . COST C FFD(I) - THE COST OF DEVELOPING A FREE-FLYliMG MODULE THAT COST C IS REQUIRED IN THE (6-1)TH YEAR PRIOR TO THE COST C FIRST USE OF A FF MODULE. COST C AMD(I) - THE COST OF DEVELOPING AN, ATTACHED MODULE THAT COST C IS REQUIRED IN THE (6-1)TH YEAR PRIOR TO THE COST C FIRST USE OF AN ATTACHED MODULE. COST C COST C THE NUMBER OF YEARS THE COST OF AN EXPERIMENT PACKAGE IS SPREAD COST C OVER IS ASSUMED TO BE 8. COST C THE NUMBER OF YEARS THE. DEVELOPEMENT COST OF A MODULE IS SPREAD COST C OVER IS ASSUMED TO BE 5. COST C ' . COST YR=IYR COST IYTP=8#IYR COST IYTPM2=IYTP-2 COST IYTP5=5*IYR COST NSYR=7*IYR COST RETURN • . ' ' ' COST C . COST C COST 6 DO 7 IFIRST=1»IN COST IF(IOUT(IFIRST)18.7.8 COST 7 CONTINUE - '- ' . . . . COST RETURN ' ' . . ' . COST

B-5 . NORTHROP TR-808 HUNTSVILLE c IFIRST - -IRST IMTERVAL NEXP WAS SCHEDULED IN' cost 54 3 K!C = MFXP(NFXP) /1000 COST 55 I.F(KK-l) 13.0.11 COST :'>6 9 IF( I FIRST- I AM) 10,13,13 COST 57 10 IAM=IFIRST COST by c ' IA,v - FIRST INTERVAL IN WHICH AN ATTACHED MODULE IS USED COST 5 V C-.Q TO 13 COST 60 11 IF (I FIRST- 1 F«) 12. 13. 13 COST 61 12 I FM = IFIRST . COST 62 vr_ IF-- - FIRST INTERVAL IN WHICH A FREE FLYING MODULE IS USED COST 63 r- COST 64 13 DO ' 16 K = l ,IYTP COST 63

B-6 NORTHROP TR-808 HUNTSVILLE ~

SIPFTC ZPCK DECK SUBROUTINE ZPACK ( NEXP ) DIMENSION I HATA(36»25) »I TOIL(120»27) ,ICTRT(120»5) »IOUT(120) . ZPCK 2 » JDATE (36) »IREPT ( 36) »IDATE( 36) »ANA:-'E( 27) ,3NAME( 27) » * :'EXP( 36) , I MODI 3 ) »XOCST( 18) , XCOST ( b •, 36 ) » IPERF ( 36 ) , ZPCK 4 * JCOM(36,3),XXCST(18),IIOUT(120,36),NRFGD(36.11)» ZPCK 5 * ISTOR(120),KFT(3 ) ZPCK 6- COMMON i RA^:D,N »:•••••» IN, i DATA, ITOTL»ICTRT,IOUT, i RE PT, ID ATE, MM, ZPCK 7' * JDATE!-«.vEXPtXCOST»IPERFf IRAN.XOCST»JCON»ISEN2»ZCOST» ZPCK B * APFfltNSKL .LLfXXCSTtIIN.1 IOUT»NREQD»I AM,IFM, ICODE(12,37) ZPCK 9 C 0 ••••! f•' 0 S / A L P H V A N A V; E »B N A M E , I M 0 D' • . • - ZPCK 10. '••1= 4 ZPCK. 11 C MODTY = FLAT-, WHICH INDICATES MODE OF ACCOf-'ODAT I ON •••"ODTYsvEXP ( MFXP ) / 1000 ZPCK 12 NRPT = ir?EPT ( VEXP ) ZPCK 13 C N R P T . - Nl. J •-' R E R OF REQUIRED P E R F 0 R M A N C E S FOR E X P E R I V: !£ M T M E X P ZPCK 14 ^0 ' ' 1 1 = 1 .3 • ZPCK 15 1 KFT ( I ) =JC-:r-.!(:NEXP» I ) ZPCK 16 C KFT = DEFINES FPE'S ^'HICH CONFLICT WITH FPE BEING SCHEDULED. IF ( f-'ODTY )?»?»3 . . • . ZPCK 17 2 ISA\/I = IfvATA ( MEXP ,21 ) +1 DAT A ( NEXP ,2 5 ) GO TO 4 ZPCK 19 3 ISAVI = ID.ATA('VF.XP»21) C ISAVI = SDACE STATION STORAGE VOLUME REQUIRED TO STORE FPE BEING r SC'-iFnuLED. 4 IF(MRPT)48,48,5 ZPCK 21 C ZPC< 22 C TEST TO CHECK IF EXPERIMENT NEXP HAS A FORCED START DATE ZPCK 2J 5 IF ( IDATE (NEXP)') 9 ,9,6 ZPCK 24 6 INTVL=IDATE(MEXP) . ZPCK. 25 DO 7 K=1»V1 • ZPCK 26. CHECK .PIRST 4 CONSTRAINTS (MANPOWER, ELECTRICAL POWER, ETC.). IF(ICTRT(IMTVL,K)-ITOTL( INTVL,K)-I DATA(NEXP,K) )48,7,7 ZPCK 27 7 CONTINUE ZPCK 2H C CHECK STATION STORAGE VOLUME. IF(ICTRT(INTVL, 5)-ITOTL(INTVL,26)-ISAVl)48,8,8 ZPCK 29 C CHECK FOR OT^FR FPE'S WHICH CONFLICT. •« IF ( ICON( ICODE»-1 » INTVL,KFT )) 14il4,48 C ZPCK 31 C THIS SECTION SELECTS THE START INTERVAL. C ZPCK 32 9 CALL ORDER(I^,ISTOR) ZPCK 33 ISTOX IS A RANDOM ORDERING OF THE IN INTERVALS ZPCK. 34 DO 13 J=1,IN ZPCK 35 IKTVL=ISTOR(J) ZPCK 36 EXPERI'-'ENT NFXP CANMOT 3E SCHEDULED BEFORE JDATE(NEXP) ZPCK 37 IF ( ir-;TVL-J DAT E( NEXP) ) 13,10,10 ZPCK. 38 10 DO 11 K=l,wi . . ZPCK 39 IF( ICTRT(INTVL,K)-ITOTL( INTVL,K)-I DATA(NEXP,K) )13,11,11 ZPCK 40 11 COMTI-NUE ZPCK 41 IF(ICTRT( PJTVLf 5)-ITOTL( I NTVL,26)-ISAVI ) 1 3 ,12 ,12 ZPCK 42 12 IF(ICONtICODE»-1,INTVL,KFT)) 14,14,13. 13 CONTINUE ZPCK 44 GO TO 4^ ZPCK 45

B-7 NORTHROP -808 HUNTSVILLE c ZPCK 46 1/4 IOUTI INTVL)=1 . . ZPCK 47 c NEXP HAS BEEN SCHEDULED IN INTVL • ZPCK 48 •ISAVE=INTVL ZPCK .49 c ISAVE = .FIRST" INTERVAL NEXP HAS BEEN SCHEDULED IN - ^1PC< 50 NRPT = NRPT-1.- - • . . . ZPCK . 51 15 •IF(NRPT)31 ,31,16 . . ZPCK 52 16 INTVL=INTVL+1 ...... ZPCK ' 53 IF( INTVL-IN)17»17»23 ZPCK 5.4 c ZPCK 55 c LOOP FOR SCHEDULING AFTER ISAVE ZPCK . 56 17 DO ' 19. K=1,M1 ' .. . . ' . ZPCK 57: IF( ICTRT(INTVL»K)-ITOTL( I NTVL »K ) -I DATA ( NEXP ,K ) ) 18 , 19 , ZPC19 K 58 18 IF( ICTRT ( INTVL, 5 ) -I TOTL ( I NTVL ,26 ) -I SAVl ) 23 , 16 » 16 ZPCK 59 19 CONTINUE '-•'.. ZPCK 60 IF( ICTRT( INTVL* 5 1 -I TOTL ( I NTVL ,26 ) -I SAVl ) 23 , 20 » 20 ZPCK 61 20 ITEST = ICO.N( ICODE»MODTY»INTVL»kFT)+.l . C-,0 TO (21.23,16) , I TEST 2.1. IOUT( INTVL)=1 • ZPCK 63 NRPT-MRPT-1 •• •'•••• ZPCK 64 IFMMTVL-ISAVE)22,15,15. . ZPCK 65 22 .IF(NRPT)31f31«24 , ZPCK 66 c ZPCK 67 . c LOOP FOR SCHEDULING BEFORE ISAVE ZPCK 68 23 INTVL=ISAVE • : ZPCK 69 24 INTVL=INTVL-1 ZPCK 70 IF ( INTVL ) 31,31*25 ZPCK 71 25 IF( INTVL-IDATE(NEXP) )31,26,26 ZPCK 72 26 IF( INTVL-JDATE(NEXP) )31»27»27 ZPCK 73'. 27 DO 29 K=1,M1 ZPCK 74 IF( ICTRT(INTVL»K)-ITOTL( I NT VL *K ) -I DATA ( NEXP ,K ) 128,29,29ZPCK 75 28 iF( ICTRT ( I.NTVL, S)-ITOTL( INTVL, 26)-isAvi )3i, 24,24 ZPCK 76 29 CONTINUE ' - ."••'. ZPCK 77 IF( ICTRT (INTVL, 5 )-I TOTL ( I NTVL , 26 ) -I SAV I ) 3 1 » 30 , 30 ZPCK 78 30 ITEST=ICON( ICODE,MODTY,INTVL,KFT)-H GO TO (21,31,24) , I TEST c ALL SCHEDULING HAS BEEN COMPLETED FOR NEXP ZPCK 80 c ZPCK 81 c SUMMATION OF RESOURCE REQUIREMENTS ZPCK 82 c ZPCK 83 3L ISAVE =0 ZPCK 84 DO 47 J=l ,IN ZPCK 85 ' ISAVE=ISAVE4-;IOUT(J) . -' ZPCK 86 IF( ISAVE)47,47,32 . ZPCK 87 32 IF( ICUT( J) 147,43,35 ZPCK 90. 35 IF( ISAVE-1147,36,37 . ZPCK 91 35 I TOTL ( J, 24 1=1 TOTL CJ, 241 + 1 DATA! NEXP, 24) ITOTLt J,25) =ITOTL( J ,2 5 ) + 1 DATA ( NEXP » 25 ) •37 DO 38 < = 1 ,4 ' - . ZPCK ,. 94 38 ITOTLt J,K)=ITOTL( J »K ) + IDATA ( NEXP ,K ) ZPCK 95 c ZPCK 96 c SKILL TYPF ALGORITHM ZPCK 97 IF(NRFOD(NEXP,1 ) )41,41 ,39 ZPCK 98 39 INDEX=NREOD(NEXP,1)*2 ZPCK 99 DO 40 1 = 2,INDEX,2 ZPCK 100

B-8 NORTHROP TR-808 HUNTSVlLLE .

r?-Npro* (N E XP» I )+Ml ZPCK 10i 40 ITOTL ( J.12 )=ITOTL( J .12)+NREO.D ( NEXP .1+1) ZPCK 102 r ZPCK 1•J x 41 DO 4 2 K = 2 0 « ? 3 : ZPCK. 104 42 I.TOTLU,K )= ITOTU J,O + IDATA'INEXP »K ) ZPCK 10 ^ ITOTL. (J,26 )=ITOTL( J .26)-t-IDATAdNEXP.21 )*3 ITOTL( J* 27 )=ITOTL( J .27) +IOUT ( J) ZPCK 1 i 1 43 IF( I SAVE-I p EPT (NEXP )+NRPT )45»44»47 ZPCK 1 12 44 ITOTU J.22 )=ITOTL( J .22) +1 DATA(NEXP.24 ) ZPCK 113 ' ITOTL ( J»23 )= ITOTL( J .23) +1 DATA(NEXP,25 ) ZPCK 1 14 I SAVE =1 SAV E+l ZPCK 115 45 IF(MCr'TY )46 » 46*47 ' ZP.CK 1 16 46 ITOTU J.26 )=ITOTL ( J.26) +IDATA(NEXP»25) ZPCK 1 17 47 CONTINUE ZPCK 1 18 C ZPCK 119 r CALCULAT 10 (V OF THE NO OF PERFORMANCES COMPLETED ZPCK 1 cL ':"> 43 IP ERF (NE XP )=IREPT(M EXP)-NRPT ZPCK 1 C- 1 DO 40 1 = ]_ 1 1 N ZPCK 122 49 I IOUT( li ME XP)=IOUT( I ) + IlOUT(I.NEXP) ZPCK 1 23 RETURN'. ' ZPCK 124 END ZPCK 1 5

[HFT C ICON' DECK FUNCT ION ICCN( I CODE »MODTY» IN.IFLCK ) DI''U:NSIO N I CODE (12.37) »IFLCK(3) ICON 2 ICON = 0 .. • ICON 3 C FUNCTION I CON CHECKS. TO SEE IF EXPERIMENTS IFLCK.d-3). HAVE ICON 4 C RE EM SCHEDULED IN I NTERVAL IN ICON b C ICON 6 IWORD=( I N- 1 J/10+1 ICON 7 I8IT=in#*( I WORD * 10-I N ) .ICON 8 DC 2 1 = 1 • 3 I CON 9 M=IFLCK( I ) I CON 1C I F ( f-' ) 2 » 2. 1 ICON 1 1 1 K = ICODF.( I W RD » iv ) / I B IT ICON i £ ICON= K"- « /10 ) *10 ICON 13 IF( I COW) 3,9 .3 • ICON 14. 2 CO NT INUE I CON 15 RETURN 3 .IF(-v.EQ. 37 . AMD. MOOT Y.EQ.0) I'CON=ICO,N + 1 RETURN C I-CON 11 c ICON = 2 ARTIFICI AL G RAVITY CONFLICT c ICOM=1 — CONFLICT I CON 1B ' ICON=0 - NO CONFL ICT I COM 19' c - EN^> ICON 20

B-9 NORTHROP TR-808 HUNTSVILLE ~

JIRFTC ORDP DECK. SUBROUTINE ORDER ( N » IORD.) . URDK ' 1 DIMENSION IC)RD(l) ORDH 2 .1 M = N OKUK <+ 00. 1 1 = 1 »N 'ORDR 5 1 IORD(I)=I OHDR . 6 • -DO •? I = 1»N ORDR 7 ''CALL RANDXX ( R.MBR »0 »MN ) .. ORDR. 6 XX = IN ORDR 9 I.X = RN[>.R*-XX . ORDR 10 I X = I X + 1 ORDR 11 I.SAV=IORD(IX) ORDR 12 . IORD( IX) =IOR.D( IN) ORDK. 13 IORD( IN') =ISAV ORDR 14 - • I-N=IN-1 ORDR 15 2. CONTINUE ORDR 16 RETURN . ORDR 17 FMD ORDR 18

JIRFTC RAND DECK •• SUBROUTINE RAM.DXX ( R » I F.L'AG » NN ) . RAND 1 - '-COMMON N • . RAND 2 . IF( IFLAG)2»1»2 RAND 3 RAND 4 R = FLOAT(N)/ .34359738E+ 11 RAND 5 . RETURN . • RAND . A 2 IF( (2*(NN/2 1-N.N ) .EQ.O) NN RAND '7 M=I ARS(NN) * 1953 125 RAND ' 8 RETURN RAND 9 END - " • .RAND 10

SIBFTC ECDE DECK . SUBROUTINE ENCODE { K»I CODE»IOUT>IN) ECDE 1 . DIMENSION I CODE(12,37) »IOUT(1) ECDE 2 c . ECDE 3 c PACKS lOUT(I.N) FOR EXPERIMENT K. INTO I CODE ( 12 »< ) ECDE 4 c ECDE . 5 IX= ( IN +• 9J./10 '..,...'' ECDE 6 DO 1 I=1»IX ECDE 7 I CODE! I »K}= 0 . '- • ECDE. 8 DO 1 KK=1»10 ECDE 9 •:V,M= ( 1-1 )* '" ECDE 10 ECDE 11 1 ICODEM »K) = IOUT 10*.* ( 10-KK ) )-HCO'DE( ECDE 12 2 DO 3 KK=1»IN ECDE 13 3 lOUKKK ) =0 ECDE 14 RETURN ' ECDE 15 . FND ECDE 16

B-10 NORTHROP TR-808 HUNTSVILLE SIRFT-C -1NPT - DECK . ' ' 'SUBROUTINE INPUT • . M'-'FN'STON' IDA.TA1 36,25) »ITCTL I 120,27) ,ICTRT ( 1?."\»5 ) .TOUT ( I2r, ) » JDATE1 36) ,IRETT( 36) » IDATE( 36) ,A,W'E(27) ,SNAME ( 27 ) » * MEXP( 36) , I MOD (3 ) »XOCST( 16) . XCOST ( H »'36 ) , IPERF( 36) , * ' JCON( 36,3) ,XXCST ( 18) ,1 IOUT( 120,36) »NREOD( 36t 11 ) DIMEN SION A( 11) »JCONX( 3) DIMEN SION B(9) »KLOUT( 5) N IRAND»N»M, IN, IDATA » I TOTL » ICTRT, IOUT, IREPT, IDATE.MM, JDATE»MEXP,XCOST»IPERF, IRAN,XOCST, JCON, ISEN2»ZCOST, APER,VSKL ,LL,XXCST, I IN,I IOUT,NREQD» IAM,IFM, ICODE (12,37) 'M/ALDHA/ANAME»R^AME» 1MOD ' : . . DATA IRLNX/6H / .DATA A4» XI4/6H»7X»A4»6H»7X , I4/ ... A4? »XI.42/6H1X»A4» »6H1X»I4,/ DATA A/61H(1X»3HF PE»I4, IX, A2»7X ,14,11 X, 14,11 X ,14 , 5X , 1 X , 1 4 , 1 X , I 4 , 1 X *, 14, ) / . .DATA B/49KK4H FPE»I5»1'X» 4X , A6 , 4X , A6 -»4X , A6 , 4X ,A6 »4X , A6 * ) / DATA B I/6H2X, 18 ,/ DATA. 3A/6H4X »A6,/ C \! = ,\|U'"!BER OF EXPERIMENTS C IN = MlivRER OF UNIT TIME INTERVALS. C ' LL = 'XUf-'BER OF SCHEDULES' C RC-AD(5,112) M,IN,LL,N!SKL, I RAND . '..'-.- * WRITE(6»112)N» IN»LL»NSKL» IRAND 112 .FORMAT (4 15 » 110) . . . . ' I IN = 20 ; I Ft IN-?0 ) 500, 501 ,501 5CO I IM=IM . •':''... 501 CONTINUE . ' M s VU'IBFR OF RESOURCES TO PE CONSTRAINED

CALL RANDXX(APER,1,1 RAND) APFR=0. iv'RITE(6»«699) 8699 FORMAT(1H1,29X,22HLOGISTICS REQUIREMENTS//) '•'RITE (6, 8700) B7CG FORMAT(13X»6HFXP WT»4X,7HEXP VOL » 3X , 9HSUPPLY \ 'T , 2X » 10HSUPPLY VOL, *'' 1X,9HRETURN V.'T ,2X , 10HRETURN VOL/) C ^'rXPU) = EXPERIMENT NUMBER OF ITH EXPERIMENT C IDATE(I) = THE INTERVAL IN WHICH EXPERIMENT I. . IS FORCED TO START C JDATEt I ) = FIRST INTERVAL IN WHICH EXPERIMENT I AY START C IREPT( I ) = NUMBER OF INTERVALS. • IN WHICH ITH EXPERIMENT ' I S TO BE r SCHEDULED. . . C I DATA(I,J) = THE AMOUNT OF. RESOURCE J REQUIRED BY EXPERIMENT I C DURING ONE UMl'T TI^E INTERVAL. C IDATA(J»1 ) = BIT RATE .• . . , C IDAT.At -J,2 ) = AVE WATTS REQUIRED TO PERFORM J f~ V. IDATA(J»3 KW-HOURS REQUIRED TO PERFORM EXPERIMENT J DURING C UNIT TIME INTERVAL C I DATA{J,4 ) = MAN HOURS REQUIRED TO PERFORM EXPERIMENT DURING C UNIT- TIME INTERVAL C I DAT A(J,20) = SUPPLY WT REQUIRED TO PERFORM EXPERIMENT DUR I?-:u UNIT TIME INTERVAL

B-ll NORTHROP______TR-808 HUNTSVILLE ~~

C IDATA(J,21) = SUPPLY VOL REQUIRED TO PERFORM EXPERIMENT J DURING C. UNIT TIME INTERVAL C IDATA(J»22) = RETURN WT PER UNIT TIME INTERVAL C I DATA (J. 23) = RETURN VOL PER UNIT TIME INTERVAL C I DATA { J, 24) = EXP -WT C . IDATAt J,25> = EXP VOL DO 111 1=1, N READ (.5* 110) VEXP( I ) »IDATE< I ) ,JDATE( I ) .IREPTI I ) » ( I DA TA ( I , J ) , J= 1 » 3 ) * ' , ( IDATA< I »J) »J=20»25) C JCO.N(I) = THE EXPERIMENT WHICH CONFLICTS WITH I TH EXPERIMENT READ(5,110) (NREQDf I , J ). » J= 1 » 1 1 ) » ( JCON ( I » J ) » J=l»3) 110 FORM AT (151 5) I DATA! I ,4) =0. , IF(NREOD( 1,1)) 81*81,82 82 K=NREQD( I ,1 1*2+1 DO 80 J=3»K ,2 80 IDATA( I ,4) =NREQD( I ,J) + IDATA( I ,4) ' : Ri APER=APER+FLCAT ( IREPT( i ) ) MEXP2 = VEXP( I )-('MEXP( I ) /1000)*1000 MODX=(MEXP( I)-MEXP2)/1000+1 111 WRITE(6,8701) MEXP2 , IMOD ( MODX ) , IDATA ( I , 24 ) , I DATA ( I , 25 ) , * (IDATA(I.J), J=20»23) 8701 FORMAT(4H FPE, I 4 , IX , A2 »2X ,6 ( 15, 6X) ) WRITE (6* 5550) 55.50 FORMAT(1H1,23X»23HSCHEDULING REQUIREMENTS//-) WRITE (6* 5560) 5560 FORKAT(13X,12HFORCED START , 3X , 1 3HM IN I MUM START »4X .9HNUMBER OF ,7X» * 9HCONFLICTS,/,15X,8HINTERVAL»7X,8HINTERVAL»6X» * 12HPERFORMANCES,4X,1H1,4X»1H2,4X,1H3/) DO 450 J=l ,N ' ' . - IF(IDATEtJ)) 819,818,819 518 A(4)=A4

GO TO 820 5 1 9 A ( 4 ) = X 1 4 IDATEX=IDATE( J) 820 00 821 K=l »3 IF( JCOM( J»K ) ) 830,831,830 831 A(K+7)=A42 JCONX(K) =IBLN< GO TO 821 830 A(K+7) =XI42 . JCONX«) =JCON( J»K) 821 CONTINUE . • . IF( JDATE( J) .EQ.O) JDATE(J)=1 viEXP2 = MEXP( J)-(MEXP( J) /1000)*1000 MODX=(w£XP( J)-MEXP2)/1000-H 450 '.-./RITE(6,A)MFXP2, IMOD(MODX') , I DATEX » JDATE ( J ) »IREPT( J) » * ( JCONX(K) ,K=1»3 ) DO 205 K=l,3 DO 205 1=1, N DO 204 J=1,N IF( JCONM I ,< J-MEXPC J) ) 2 04 ,2 02, 204 204 CONTINUE IF( JCON ( I ,K )-37) 133,205 » 133

B-12 '; :. NORTHROP TR-808 HUNTSViLLe

133 JCON(I.»K)=0 GO TO 205 2C2 JCON(I»K)=J 205 CONTINUE WRITE(6,465) 465 FORMAT(1H1) C ANAKE(J) = THE EIGHT LETTERS USED TO DESCRIBE RESOURCE' J ON C PRINT 'OUT. C AMAME(1 ) = AVERAGE WATTS C ANAME(2 ) = KILOWATT-HOURS C ANAMEI3 ) = BIT. RATE C ANAivlE(4 ) = MAN HOURS C ANAME( 5-19) = SKILL TYPES 1-15 C ANAME(26) = SPACE STATION STORAGE VOLUME REQUIRED ASSUMING THAT C EACH EXPERIMENT IS RETURNED TO EARTH FTER COMPLETION DC 9 J = l ,4 READ(5,11) ANAME(J)»BNAME(J) 11 FORMAT (2A4) . • ,' ICTRT(I,J) = THE AMOUNT OF RESOURCE J AVAILABLE INTERVAL I . READ( 5,118.) (ICTRT(I»J), 1=1,IN) 118 FORMAT(1018) WRITE!6,88 ) ANAME(J)»BNAME(J) SB FORMAT(IX»2A4) 9 WRITE(6,119) (ICTRT(I,J), 1=1,IN) 119 FORMAT(IX,1019) READ(5,14) (ANAME(J)»BNAME(J) , J=5»M) 14 FORMAT(2OA4) READ(5,11) ANAME(26),BNAME(26) READ(5,118> (ICTRT(I»5), 1 = 1,IN) READ (5,90) (ICODEfI,37),1=1,12) 90 FORMAT(6110) WRITE (6,91) (I CODE(I,37) ,1 = 1,12) 91 FORMAT(13H ARTIFICIAL G/(1X,6I10)) ARTIFICIAL G CONFLICT MUST RE INPUT IN JCON(NEXP,3) WRITE(6,931) 931 FORMAT(1H1,23X,21HRESOURCE REQUIREMENTS//) WRITE(6,9000)(ANAME(K)»BNAME(K)» K=l,4) 9000 FORMAT(13X,4(2X,2A4)) DO 1111 1=1,M 1111 WRITE(6,9001)MEXP(I) ,(I DATA(I,K), K=l»4) 9001 FORMAT(4H FPE,I5,1X,4(2X,18))

IX= (NSKL/5)+l DO 8888 1 = 1 , IX WRITE(6,9002) 9002 FORMAT(1 HI, IPX,23HSKILL TYPE REQUIREMENTS//) N01=I*5 IF(I.EQ.IX) IJ=N01+4

WRI TE(6»9003) (ANAME(KJ) ,B.NAME(KJ) » IJ) 9003 FORMAT(1 OX,5(2X»2A4) ) DO 8887 IJ=1,N DO 804 KJ=1,5

B-13 NORTHROP_ ' _ : . . _ TR-808 HUNTSViLLE . .

KLOUT UJ.) = IZ=NREQD( IJ,1)*2 ' . DO 803 V.=NO*N01 N02=K~( 1-1 )*5 DO 8886 KK=2»IZ»2 IF(NREQD( IJ»KK ) .NE.K) G0_ JO 8886 __ . R(NC2+3)=BI - KLOUT(M02) =NREQD.( IJ»KK + 1) 8886 CONT IMUE 803 CONTINUE . . MEXP2=^EXP( IJ)-(MEXP( IJ ) / 1000 ) *1000 8887 WRITE'(6»8) ' MEXP2.» (KLOUT(K) » K=l»5) 3888 NO=M01+1 RETURN • ' . . END

?I!3FTC TRCK .SUBROUTINE TRACK ( I PRT » LLL) . DIMENSION IDATA(36»25) »ITOTL( 120*27) » ICTRT(120».5) »I'OUT( 120) » * JDATE(36) »IREPT(36) »IDATE{36) »ANAME(27) »BNAME(27) , •*• MEXP( 36 ) ,Ifv'OD( 3 ) »XOCST( 18) »XCOST(8»36) »IPERF( 36) » *, JCONl 36*3) »XXCST ( 18) ,1 IOU.T ( 120»36) »NREQD( 36*11 ) . •*' , MAX( 120*27) ,XMAX (18) ,XMAX1 ( 18) » * IPERA(36) »I ITOT< 120»27) »XCCST( 18) »XTCST.( 18) • .COMMON IRAND»N»M, IM»IDATA» I TOT-L » ICTRT » I OUT * IREPT t IDATE » MM » • * JDATE»MEXP»XCOST*-IPERF»IRAN»XOCST»JCOM»ISEN2 .ZCOST, '* ' APER»NSKL *LL»XXCST» I IN, I IOUT » NREQD , IAM.IFM, ICODE ( 12*37) COMiVON/ALPHA/ANAME»BNAME, IMOD • . C ' ' . ' • ' • ' •' ' GO TO ( 1 »4»8) » I PRT C C INITIALIZATION c: 1 DO 60 1 = 1, IN 'DO 60 Jri,w.M 60 MAX ( I , J) =-0.3^359738E+09 . . DO 61 1=1 ,18 ' . . • XTCST(I)=0. XMAX( I )=-1.0E+12 ' . 61 XMAX1 ( I ) =-1.0E+12 - .

ZTCST=0. DO 330 I=1»N • 330. IPERAt I )=0 DO 210 1=1, IN - DO 211 J = l ,M •'.- 211 'I IOUTJ I , J)=0 DO 210 J = l »V.w ' . 210 I ITOTl I ,J)=0 RETURN c C . C TOTAL AND MAXIMUM CALCULATIONS

B-14 NORTHROP TR-808 HUNTSVILLE ~ c ..--•' 4' DO 500 1=1,IN P>0 601 X =1 , !>.'V . ' - 601 I ITOTI I,if) = ITOTL( I ,K) + I I TOT ( I »K ) ^0 433 J = l ,MM - I F { MAX ( ! ,J)-I TO T L( I,J) ) .4 3 0,4 3 3 »4 3 3 430 v.AX ( 1 ,J) =ITOTL( I »J) 433 CONTINUE .. •' . 500 CONTINUE ': . • . po 320 I=I,N 320 IPERAj I )=IPERA( I > + IPERF(I ) DO 7113 1 = 1 »1.°. ' • XTCST(I)=XTCST(I )+XOCST(I ) IF(XVAX(I)-XOCST(I)) 633»634»634 633 XMAX ( I ) = XOCST'( I ) 634 IF( XXCSTt I l-Xr-'AXl ( I ) ) 711 3 » 7.113 » 7111 7111 XMAX1(!)=XXCST(I) . . 7113 CONTINUE ZTCST=ZTCST+ZCOST - . . - IF ( ZCOST-ZMAX). 8 113 »»-! 13» « 110 "•M. 10 ZMAX=ZCOST R113 CONTINUE . , PETURM ' • ' . C • C OUTPUT . C 8 PRINT 511»LLL ' . ?11 FORMAT ( 1H1 »41H FREQUENCY DISTRIBUTION OF SCHEDULI M!"' FOR »I5tllri S ICHF'MJLFS. ) . ' RL=LLL . ' PRINT ?03, (I. 1=1, IN) 203 CORVAT(1X,8HINTERVAL ,I 3»19 I 4,5(/8X,20 I 4) ) PRINT 704 ' • • PRINT 705 . 204 FORMAT(1H+,S7X»14H PERFORMANCES) 205 FORMAT(1X,87(1H-)»4X,9HREQ SCHD) HO 509 J=1,N - IPL-RR ' =IFIX(FLOAT( IPERA( J) ) /RL + 0.5 ) :':EXP7 = '-'EXP( J)-( NT: XP(J) / 1000)* 1000 ^.RINT 1301 , IREPT ( J) , I PERR • - 1.301 FORMAT (R9X., 21 6) 509 PR I.NT 1300»MEXP2 » ( I I OUT ( I » J ) » I = 1 » I N ) 1300 FORMAT{1H*»3HFPE*1X»I3»20I4/, (8X»2QI4) ) PRINT 206 706 FOR'XAT(1X.«10C( 1H-) ) PRINT 502, LLL , 502 FORMAT (/IX, ?.9HAV:-:RAGE RESOURCES .UT I L I ZED I N , 2X » I 3 , 2X , 9HSCHEDUL£S ) PRIMT 12 . ( I , 1 = 1 » IN) ' DO .314 1=1, IN 00 314 J = l,f./i'/ 314 I I TOT(I,J) = IFIX(FLOAT{ IITOT(I ,J) )/RL + 0.5) DO 301 <=l,v 301 PR.INT 14» AMAME(K) ,BNAME(K) , (IITOT(J.K), J = 1,IN) ' HO 302 K=7.0,27 . ' 302 PRINT 14, ANAMEU ) »BNAME(K) » ( I I TOT ( J , K ) , J=1,IN) PRINT 703 \ B-15 NORTHROP_ TR-808 HUNTSVILLE

208 FORMAT(IX,21HAVERAGE COST PER YEAR)' DO 45 1=1,18 45 XTCST(I)=XTCST(I)/RL ZACST=ZTCST/RL XCCSTf1)=XTCST(1) HO 480 I=2 »18 . 480 XCCST(I)=XCCST(1-1)+XTCST(I) PRINT 16. (I, 1=1970,1979) PRINT 17. (XTCST(I). 1=1.10) PRINT 17. (X.CCST(I), 1=1,10) . . PRINT IP., (I, 1 = 1980,1987). • . • PRINT 17, (XTCST(I), 1 = 11,18), ZACS'T PRINT 17, (XCCST(I), 1=11,18) . 12 FORMAT(10H INTERVAL »20 I 6/5( 10X,20 I6/) ) 14 F.ORN'ATdX,2A4,IX,2016/51 10X.20I6/) ) 16 FORMAT(IX,10110) -17 FORMAT ( IX.IOFIO.Z ) 18 CORMAT(1X,8I10,4X,5HTOTAL) C C C PRINT 6BO. LLL . 680 FOR.MATt 1H1 ,30HMAXIMUM VALUE OF RESOURCES FOR. 14,10,--' SCHEDULES/) ORINf 12 » (I. 1 = 1, IN) DO 13 K=1,M 13 PRINT 14. ANAME (K) ,B\iAME( K ) » (MAX( J,K ) , J=1»IN) DO 7220 K=20»27 . . 7?20 PRINT 14, ANAMEU) ,BMAME(K),(MAX(J,K) , J=1,IN) PRINT 16, (1,1=1970.1979) • - . . OR I NT 17, (XMAX(I ), 1 = 1»10) PRINT 17, (XiV'AXHI), 1 = 1,10) PRINT 18, (1.1=1980,1987) PRINT 17, (XMAX (I)., 1 = 11.18), ZMAX DRINT 17. (XMAXl(I), 1=11.18) DO 451 1=1. IN DO 451 K = l »W 451 IITOT(I,K) = IITOT(I ,<)#LLL'. DO 452 1=1 ,1° 452 XTCST(I)=XTCST(I RETURN END

34 20 ?00 . 9 525811 2010 0 4 20 25 0 99 72 6 24 023244 8125 2 1 438 7 438 2020' ' 0 4 20 37 0 3660 222 6 222 62438810598 2 1 144 8 102 2030 4 14 20 50 025600 510 12 492 122269610598 3 1 288 7 30 8 162 1040 044 1120 4326. 26 30 0 30 018048 6883 2 1 1Q2 8 60 1210

B-16 NORTHROP TR-808 HUNTSVILLE

- 2050 0 4 -' 4 50 • o 46 726 ' '12 138 63182SM059.S 3 1 276 7 102 8 102 0060 3 - 3 1 31 96 17 . 0 0 48 0 157 8 1 8 102 0071 o 1 3 0 24 3 108 6 . 6 0 312 11 2 7 1.02 • 8 90 0072 o 1 3 1 6 2 114 6 12 - 0 214 13 3 1 60 7 30 8 60 0073 0 1. 8 81 1530 2 108 0 . 1 0 321 5 2. 1 90 - 7 42 0074 ,'1 1 . a .150 84 2 114 0 12 . 0 838 21 2 1 102 7 42 0075 ' Q 1 8 150 0 . 2 108 0 12 0 161 5 2 1 ' 30 7 144 2080 . 0 4 20 56 0 864 1158 24 588 1840424 8125 3.. l. 234' 7 42 8 60 1200 1091 • ' 0 4 20 255910692 6 2760 120 60 616805 505 2 2 522 2 726 1092 • 0. 4 20 1000 0 6 2760 114 54 01511510598 1 •5 18 0100 .0 i 20 •433 504 14 78 6 18 - 0 912 104 2 2 . -396 7 18 . 1110 0 ' ' 4 20 1780 ^63849000 1806 48 1656 422510010 598 2 7 -114 a 1266 ? 1 2 0 0 4 4 17 0 53 5772 90 30 0 7276 6B8H 2 7 60 8 72 0 1 3 1 0 0 20 290 228 66 72 6 66 6 1450 319 3 4 1796 5 1134 9 1836 1 132 Q 4 20 1155 ^320 78 7.8 0 66 013300 950.0 5 4 450 5 672 6 1602 7 90 Q 2196 01^0 1 0 7 157 150 0 13H 6 138 6 587 31 • 4 5 306 7 366 8 12 9 540 0150. • r. 1 20 2000 14256 0 72 12 36 0 2453 103 ' 3 7 702 8 702 9 702 -0160 o ,' 1 4 149 1542 7 390 24 288 12 1566 103 ' 3 - 1 318 . 7 60 8 90 0170 0 Q 4 HO 216 1 480 6 480 6 1ft 9 5 49 2 7 612 8 . 132 01 SO 0. 0 4 22 84 0 282 6 162 6 670 42 . 2 7 144 8 132 1 200 0 4 10 20 4704 1 84 6 528 1821916 6883 2 . 7 318 8 114 2080 12LO . 0 4 20 1000 4320 161 156 6 6 019607 6888 2 1 174 8 30 1040 0220 1 4 1 568 6396. 3 18 • 0 18 0 7420 ' 120 ' . • 2 1 480 7 846 0244 o 1 - 4 5 24 0 48 6 156 6 .2050 316. 3 6 42 7 144 8 192 0245 1 0 2 G 18 -0 48 0 i:156 0 670 60 1 q 114 0246 1 0 2 1 0, 0 48 0 156 6 3170 131 3 1 30 7 . - 30 8 60 0247 1 0 4 ,75 0 0 48 0 156 0. 330 19 3 4 42 5 60 7 42 0250 0 1 20 43 258 0 66 6 60 0 361 37 2 2 174 8 . 30 B-17 NORTHROP TR-808 HUNTSVILLE

'JN> l> O- ON O ON y- W CN ON UN- ON rr, .:> O- ON ON O :> CN y JN ON ON ON •J> OX ,J> CT-- ON

ON

,'J-, ON y- -J y ON _7\ ON y _J UN ON 0- 'c^ '." ' ".^ ON v: ON C\J •>' ON OO .• -*-. ,"°* r;-. C O c- G"' -a-- ON ON o- co .;•• m c\j :.,-, cr- V I— 1 :> v'- rr LO (7-- ON o- (7- CM CN O'- a- ON y y O- y. y- 6- a- C:- O- ON 0- ON y a- o ON JN ON- LO C-- r— 1 .7* : > 666666 6 36666666666 6 36666666666 6 N 9 Q a g o CTN HN NO y UN ON y

NO JN O- fi . ONa. ON ON _J ON JN -CT' ON O-- V O'- ON ON O- O^ ' 00 CC ?•• O-- O' y o f\j ON m CN ,— ( CO ON ON O- y 99999999999 = O' 99.999999999 S _3 1 V7N ON ON -JN ON O\ o- UN . 1 O y c j- :j\ o O- 0"- O'- O' ON y t— « 0- y-

;JN o- UN O er- o* U' •TN V y UN

ON O C'N XT> cS t> t> O y LO ON % y, CT Q"v •> ON ON ON ON y O 0-- ON ON O- ON ON ON ON >J- ON ON

s co t\i y> • CN '7 JN ON O ON- y y y 1 o en a-' O C.^ O ON C"' ON y _J y ON ON O'. CN C7- ON y V y ON ,-H r\! in r\- CN ON Os Ox a- o- ON y to o^ O- CC' j- ^- J- o-. O ON ON ON ON o». y O y ::.-> ON ON ON •ON ON ON -CN m y CN o- .ON •T> . iTN CN ON ON o. C' ON y O- ON ON UN ON ON y _j y ON c co -i- ac cr- ON C- ON UN o-- y o- _j y O'- Q r\t y C'- ON O C-N 0- CN o »—t y rr O r;- j- CT- UN C-- ON ON o- v c- C'- C! y ON cr. GN ON ON 0- ON to y :j o ' O- Cv- C" 0 CN o- o-. y y O" o ,— i 4" ,-H 00 O CT- 0- 0- ON y- o> y rg y y C7; O i> ON 0- •ON y y to o-- O-- o ON o G~ G> !JN ON O y CTN ON o LO ON ON C-- O- CN O' LO C- a •-i u- o- o V— O o- LO ON O-- t— CN C"- (V CN y. _) ON y o O r\l o f\l t— y ON Q^ -ON ON KO ON H ON CN -J O ON y o v£> r- <. y C'- I 0 ONON O- y- y _J > 0- ON o rv ON, jf-'. G ' O' I 0- C ho--- CT- ?;• C-- cr t— . ON o> c 0 O O ON "V 'J» O-. |- |O ON

B-18 NORTHROP TR-808 HUNTSVILLE

? 4500. i«o;)o. 2700U. 27500. 1H50G. .7500. 45000. 45000. 60000. 52500. 57500. 27500. . 6''00. 36000. 5070. 5620. 694C. 16940. 22420. ' 4500. 15000. 20500. 14500. 17110. 21270. 21170. 13410. 1500. 3000. 3000. 230. 750. 750. 230. 1130. 113 0 . 380. 1500. 1500. 1500. 190. 1130. 1130. 1130. ' 190. 1 130. 1130. 1130. 4950. 12990. 19370. 19370. 14R80. 21*80. 2540. 3140. 3750. 6220. 3 820. 290. 440. • 2250. 9250. 9250. 900. 1350. 1650. 18«0. 1170. 3000. 4500. 4500. 15000. 2«nc-0. 28000. 210. 20«0. 5110. 4110. 650. .. 6560. 19080. 20600. . 19080. 290. 2890. 8400. 1R520. 13900. 9000. 19500. 22500. 27000. 24000. 6000. 9000. 22500. 30000. 360 CO. 36000. 9000. 900. 3750. 4500. 4500. 9000. 9-000. 6000. 450. 900. 1500. 3 000. 2700. - 750. 900. 1500. 3000. 4 5 0 0 . 3000. 1500. 600. 1350. 1950. 4500. 4500. 11500. 7000. 1500. . 8250. 20500. 107.50. 600. 22 50 . 3000. 7500. 6 0 0 0 . 3 0 0 0 . 5570. 8640. 5570. 1 9 10 . 190. 290. 1570. 1260. 140.

.150. 1.100. . 1770. 2630.. 3300. 3150. ' 2540. 3140. 3750. 6220. 3820. 1500. 1500. 9000. 9000. 61900. 97900. 68600. 32400. 9200. 1*310. 29020. 20360. 9560. 2750. «IRSYS f I°.SYS SIQSYS

B-19 NORTHROP TR-808 HUNTSVILLE ' '.~ "

Appendix C

FLOWTRAN LOGIC PLOTS OF REPRI

c-i NORTHROP TR-808 HUNTSVILLE ~

C I M E. N s I O' N E C VARIABLES

SKRAGEs SYMBOL STCKACCs SYMBCC STCfi.' fyHfCt STO-X'CEs

i iOlt. 1 2ti ,Z 7 ICTRT 1ZU , 5 I CUT .PDA IE

ISEFl 50 I0>\ 1C 56 . NAME 27 BNAME 2V ME xr-

! M'TO 3 *:C»T 18 XCCST 8 ,J6 IFERF 36 JCCN •> i c

l^

V*ITE<6,2) (LAV&d) ,1-1 .I'-'O

TRANSFER TO CC6T LLL,I FLA 0,1 CUM

REPEAT TO 14 FCR LLL=1 ,1+1 ,. . . ,LL

REPEAT TO 8 REPEAT TO 7 FCR FCR 1=1 ,1 + 1 ,. . . ,IN J=l ,1 + 1 , . . . ,MM

TRANJ.FER TO SUBRCUIINE TRANSFER TO SUBROlTINE REPEAT TO 10 TRANSFER TO SUBR'XITINE CRCER OOTPU FCR LLL/J ,ICUM K=l ,1 + 1 ,. . . ,N IEXP(K)

TRANSFER TO SUBROUTINE TRANSFER TO SUBROUTINE OJTPU ENCCCE LLL.+ l ,IEXP(K) IEXP(K) ,ICCCE,ICUI,IN

C-2 : NORTHROP_ TR-808 HUNTSV1LUE ~

•..... „ ..... REPEAT TO 12 I IOTL li ,e. 'f, rt r.,rrL (I ,2 ?i • I rr,Ti. (i-i (3 FCR 1-1 ,1 + 1 ,'. ...IN

.T-j. TRANSFER TO SUBRCUTI NE 'TRANSPER. TO SUBROUTINE I TC'Ti-d ,? T(I TOTLd ,27))*100 ./AFEfi+Ci .5) CUTPU . COST LLL,+ 2,ICUM LLL ,1 ,ICUM _J

13

xTRANSFE; R TO SUBROUTINE TRANSFER TO SUBROUTINE n - TRACK TRACK OCNTI NUE £ ,LLL

TRANSFER TO SUBROUTINE TRACK URlTE(Gt4) I CASE STOP

CO TO 3

C-3 NORTHROP TR-808 HUNTSVILLE

CI MENTIONED VARIABLES

:,YMC-.:«. STORAGES SYME-X STORAGES SYMDO. STORAGES SYK.OL.

l y'.'TL 120,27 KTRT I CUT

iCATE 36 FC 5 AMD Mt. xr-

f~<. SI 11< 8 ,36 IT-ERF 36 JCCN

nCUT ' '.;".;. ,30 36,11

SUBRCVIIl'ME CC61 (I SCHC ,1 FLA&.NEXr)

_J /.I-' ,;'!.,...,!•

UAO (5 ,:?) ( xCCSTIl ,J) ,1=1 ,8)

) )JREAC (5,2-) READ (5 ,2) (AMC(I )•,!=! ,5)

V

R WF.I TE(6,5) (AMC(I) ,1=1 ,5) E YR-lYR lYTP5=5*IyR T

IYTP=8*IYR NSYR=7*IYR U iYTPM2 = lYTF-2 R N r OC> TO &•:> TO • 13 13 9 In 1 A r "•• "i riK-K J KK-1 1.? i IFIRST-IAM .

V V, 00 TO , „ 11

00 10 I 3

C-4 NORTHROP. TR-808 HUNTSVILLE

"SUER'XHINE COSTUSCHC ,1 FLA&.NEXi"-)

r~n REPEAT TO I 6 I F ! p. S I • i r M FCR 3 IFM-IFIRSl -i ,1 + 1 IYTF riRST+lYTF«2>/lYR T OD

ft . I " I • [ 15 f 16 | E REPEA T TO IS ' 3) I I- d fR-U i/irR • ) T V FOR U '\ =1 ,i t! , . .. ,1 y TF5 K N

\1 - I (1AM-1)M1SYR+!YR-1)/IYR REF€AT TO 19 KK = 5- (1-1 FCR X'CCST (! I') ^XCtSTdl )*rtMC 1=1 ,1 + 1 ,. . . ,18 11 = < (i FM-I H-NSYR+ lYR-1 )/IYR

I )| v*l If (C-,21> ( X'XST (I ! ,1-1 ,''.'

SUBRCUTINE CCST(1SCHC,IFLAO,NExr-)

V* I T I. (<" , S i / (! ,! .-.: Orij , 1 98 •') V*lTEc6,3

IF. [^ ,Zt i ( XXCS I (I ) ,1 --11 ,18)

C-5 NORTHROP TR-808 HUNTSV/ILLE ~"

. SYMiJCL STORAGES SYMBCL • STCRA&ES SYMDCt STCRA OCs

ICCCE

':;'SUER-:

REPEA' T TO I •- REPEAT TO! ~\ . I X- |1H*3)/1CI l-'-JK. \ J r IM - (I - 1 ( •>I '->' .'..'- > = 1 ,1 » 1 , . . . ,! '-I / I _. —J I

A : ..TJ^.

OO TO 1

[ MM-1 N - 1 i C & E .(V: , K. > = i'bu'T,(MW)*'(l 0 ** ( 1 0 -KK >) + lCCCE(l ,K)

TO

C-6 NORTHROP ... TR-808 HUNTSVILLE •

DIMENSIONED VARIABLES

SKRAOT.S srnect STCKA&ES SYMBOL , STORAGES SYMBCC SKRAGES

I? ,37 IfLCK .3 • j

C-7 rtORTHROP TR-808 HUNTSVILLE ~

FUNCTION ICON(ICCCE,MCCTY ,IN,IFLCKI ,-* ',L i O i c c*.':l.'i REPEAT TO 2 A ,M)/IBn

Poo K LL_:_

CONTINUE J M.EB.37.AM5.MCOTY.B9.0 JLESj ICOJilCONH

C-8 NORTHROP TR-808 HUNTSVILLE ~

DIMENSIONED VARIABLES

SYMCOL STCRA&ES SYMBOL STORAGES SYMBOL S KM 0£s . SYMBOL

56,25 I TOTL. 1 20 ,2 7 ICTRT 120 ,5 ' , - IOUT 1ZO JCrtTE

J UEr-T ICATE 36 .'• -fMHE . 37- '"; '-'BNAME 27 MEXP 36

3 X'XST us "' XCC6T 8,36 •••''.'.. IFERF 36 JCCW

' '' .5"-

16 ICOT 130 ,36 , NRESD 36,1 ,.• ; A 11 JCCNX -: • .• f ":• 9 KLOUT .5

C-9 NORTHROP TR-808 HUNTSVILLE ~

SUBROUTI ME INPUT PA or. [13

l TE(6,ii2) N,IN,LL,NSKL;IRANC REAC^.llEtN.IN.LL.NSM-.IRANC 1

RANSFER TO SUBROUTINE I 1 N= I N RAMDXX Af=ER,l ,IRAND r REPEAT TO 111 F<:R 1=1 ,1 + 1 ,. .. ,N

KEAC(5,110)MEXF-(I ) , I BATE (I) ,JDATE(I) ,IREPT(D , (IDATAd , J > ,J=1 ,3) , (I DATA (I ,J) ,J =Zi) ,25)

GO TO 81

y^- 1 ^ 1 REPEAT T R DVD (5,J1':.) (NREi)C(I ,J> ,J=1 ,11) , (JC'>I(I ,J> ,J=1 ,3) NRUCII ,1 FCK ICA1A (I ,4) =O \I F/

1 *'•' J AF€R=AFeR+FLCATURE:PTUn

MCCX= (HExPd )-MExP£>/HHHUl

C-10 I/ NORTHROP TR-8Q8 HUNTSVILLE ""

SUBROUTINE J.NPUT

IE (6,8 AH JMEXFC ,IMCC(MCCX) .ICATA (I ,24) ,IOATA(I ,25) , (IDATAlI jJ) ,J-20 ,23)

HExFe=MEXP(J)-(MEXF(J)/10'Xp)*iai3 MCCX= (MExP(J>-M£XFe>/lQO'.Ul

REPEAT TO 2!)5 REPEAT TO ,ICATEX,JOATE

C-ll NORTHROP TR-808 HUNTSVILLE ~

INPUT

Or. GO TO 20 2 ZO 5

\ I

I CCM (I ,Kl-MEXr(j. CCWTt UIJE JCON.I^-ST JCON<1 .M^-'lTi | J~GO~ 10 2V. 5 I [ Jf.0«d ,Ki= J I » if

READ (5 ,11 ) A NAME (J). ,DlJAME(.l)

RC,»C (5,1 IS) (ICTRTd ,J) ,1=1 ,IN)

(ICTRTd ,jl ,1-1 ,IN) READ (5,1 4) (AhWME(J) ,B^4AME(J) ,J=5-,M)

(5.11 i.\l4,\M(L (.'.'61 READ (5 ,118) (ICTRTd ,5) ,1=1 ,1N)

W«ITE(6,91) (ICOCEd

REFT.A 1 ro 1111 (ANiAME(K) ,BNAME(K) ,K = 1 ,1}

C-12 NORTHROP TR-808 HUNTSVILLE ~

SUBROUTINE INPUT r-iv '-e

i IMEXP(I) , (ICATA (I ,K) ,K=i ,4) ' u,nEre,<)«.i'j2) NC4 =1*5

r~'—-v— i— _L_^i.-ea.ix jtfsj ,„• !9'-"1'-'3) (AMl\M.E(kj).,SNAME(kj) .KJ-RK.,! J)

: RE PGA T TO f"8S f REPEAT TO 8114 .REf €A I..TO. t".i3 FCK . TOR - •. HLCOT(KJ) -IBLI-IK 1 J^l ,1 + ! , . . . ,N V.j-r.iti ,...,5 'r--MO,NC»I ,.'..;

Exre =ME xr (i j > - (MEXP< i j) /I'.vjn

C-13 NORTHROP, TR-808 HUNTSVILLE

DIMENSIONED VAR-IABLC

STCRAOES SYM6CC STORAGES SYMG'X. VKf.A&CS SYMBOL

if K.' OuEROUl,! NE RAMD XX - fil-ER ,'-"' ,NN

ICRC (I u CONTINUE

C-14 NORTHROP TR-808 HUNTSVIL.LE ~

DIMENSIONED .VARIABLES

SYM6O. STORAGES SYMBOL STORAGES SYMBOL STCRAOES SYMBOL STOSA&ES STORAGES

1CATA 36,25 I TOTL '••123 ,Zf ICTRT 120 ,5 i OUT izti JCATE 36

1REPT 36 ICATE 36 NAME 27 BNAME ^^ MEXr . 36

1MOC 3 XOCST 18 XCOST 8,36 IFERF 36 JCON 36,3

XXCST 18 ICUT 123 ,36 M5EQD ; 36,1

C-15 / NORTHROP TR-808 HUNTSVILLE ~

OUTPU (1 SCHC., J UMr.NE XP)

MCC X= ME XF (rC Xr) /! '-"I'-Vj + 1 ME XFe=ME XP (NE KB - (ME XF (ME XP) / I'.VjCi) _ J,

W

....J*

WUTE(6,15) (tOUT(I) .1=1 XX.IN)

REPEAT TO 13 vfil TE(6 ,12) (I ,1=1 ,IN) FCR 1=1 ,1+1 ,...,M

REPEAT TO 11 fE(f-,S ) , (ITOTI-(J ,1) ,J=1 ,I •FOR =»,2!3+J,..,,27

C-16 NORTHROP TK-R08 HUNTSVILLE

SUBROUTINE 'CUTFU {I SCHC , JuMF.NExP) PACE 2

IE (6 ,16) A NAME (I ) ,BNAME(!>-, (ITOTL(J ,1) ,J=1 ,IN)

C-17 NORTHROP_ TR-808 HUNTSVILLE ~

RANCXX

&•:• • •'.-

• /"\ I FLA C, '•'- 1 CONTINUE (2*

M-r*B.S(NN) .;<

C-18 NORTHROP HUNTSVILLE ~

DIMENSIONED VARIABLE:,

SYMBCC STORAGES SYMBCC STORAGES SYMBCC STCKAWTS SYMBCC SKRAOEs

1C-ATA 16,25 I [OTL 130 ,27 ICTRT 120 ,5 1OJT 120 JCATE 3 fr

IKEf-l 30 ICAlE 36 WHE 27 BNAME 27 ME XP ' 3C'

I MO"! 1 XCCST 18 XCOST 8 ,36 IFERF 36 JCOH 30,3

XXCSI IS . I COT 120 ,36 MtCQC 36,1 MAX 1 20 ,27 >XA 18

*«A tf 18 1 FCRA 36 1 1 TOT 120,7 XCCST 18 XTCST 18

C-19 NORTHROP TR-8Q8 HUNTSVILUE ~"

SUBROUTINE TRACMI r-A v.

O:«I-UIEC to TO IF .ftiE VALUE TRANSFER. OF I PR T : TO REPEAT TO 93 REPEAT 10 1_ SlAf, 1 IS STATEMENT FCR MA X(I i J )=-'-•' .34359 1 1 1=1 ,1 + 1 ,...,IN J=l ,1 + 1 MM 2 ' * 3 8

61

REPEA T TO WAXl (!)=-! .OE+12 REPEAT TO 3X5 FCR XTCSTID* . FCK )*tAX(I)=-l .OE+12 I =1 ,1+1 , ... ,18 ZTCST=«J. 1=1 ,1 + 1 ,. .. ,N

REPEvi r TO Zl'-l REPEAT TO ail REPEAT TO 210 FCR F.3; 1=1 ,1*1 !N J=l ,1 + 1.,. . . ,N J=l ,1 + 1 ,. . . ,MM

REPEA i ro V'<: REPEAT TO ail \ REPEAT. TO ^ i FCR 11 TOT (I ,K)=ITQTL(I ,lt) + II rOT

3 > . [GO TO"! ' 453 1

« yj | 433 00 | , REPEAT TO 3 MA X(I , J)-I TOTL (I ,J) MAXII JJMTOTLU ,J) Ci^JTl NUE i CONTINUE FCR 1=1 ,1 + 1 , . . . ,N

\ REPEA T TO '113 I PCS* (1 i =1 PES* (I '• I FCRF(I) XCCSTII ) *7l=l.l + l 18

C-20 NORTHRQP TR-808 HUNTSVILL6 ~

SUBfti-

X(FLCttT(IPERA(J) )/RL+0.5> ME XPC=ME XF (J) - (ME XF (J ) /10C10) #11100

1300 ,MEXP2 , (IICUKI ,J) ,1=1 ,IN)

REPEAT TO 314 REFtAT TO 314 PRINT WZ.LLL FCR F« 1=1 ,1 + 1 IN ,1*1 , . . . ,MM

C-21 NORTHROP TR-808 HUNTSVILLE ~"

ERCU III'E [RACK (I PKl ,LLLi

••(_'< j\ ! (I i TOTII ,Ji >/RL*'.i .5)

f

REPEAT TO 302 •) PR I MI 11 , (II TOT (J ,K) , J=l ,IN) FCR

RtPEA T TO 45 FRIHl 14 ,ANAME(K) ,BKMME(K) , (IITOT(J |K) ,J=1 , FOR =1 ,!(•! , ... ,18

480 (1 ! :: XKSr (I ) REPEAT TO 4808 \ FCR — J xcc&id ) .-.XK.;,T (i ) 1=2,2+1 ..... la/ r

!t.,(I ,1=19 V ,1979) 17, (XTCST(I) ,1=1 ,!'-')

PKINI I T, ( XCCSTd ) ,1 =1 ,l!i> PF.INT 18 , (I ,1=1980 ,1987i

filN! 1 7t (xtCST (I I ,1=11 ,18) ,ZACST PRINT 1 ', (XCCSTII ) ,1=1! ,

C-22

/' NORTHROP_ TR-808 HUNTSVILLE ~

SUBROUTINE rr

REPEAT TO 13 FOR . ' K.-1 ,1 + 1 ,. . . ,M

.Q REPEAT TO —)| PRINT t" , A U'. ME(!', i ,;'.'IAMC. , (MA X(J ,K) ,J.=1.,IN) '•',. -. FCR 'f.-Z'J ,20 + 1 ',.', . ,37

V;l ••! 1 4 ,.\MAMt (M ,ElWMC (K.) , (MA X(J ,K) ,J=1 ,IN)

43RAN2s£ND TO .. .RuDy HAyES BIN 200 ROOM M-128

C-23 NORTHROP TR-808 HUNTSVILLE ~

I M E N S I O N E C VARIABLES

SfMBCt STCRA&ES SYMBOL STCRAOCS SYMBOL STORAGES SYMBCL

ICA IA "56,20 ITOTL 1 20 ,3 7 ICTRT 130 ,5 I COT IZVi JCATE 36

iser-i ' 36 I GATE 36 N4ME 37 DMA ME 27 MEXP 36

IM'S J »;CST IB XCC6T 8,36 I FERF 36 JCC»J 36,3

xxcst . 18 . ICUT 12.1 ,36 NtEQC 36 jl , ISTCR i as KFT 3

C-24 NORTHROP TR-808 HUNTSVILLE ~

SUBROUTINE ZWCK(NEXP)

M! =4 \ REPEAT TO 1 ClY -MC xr(NExf-) /lli'j'j H»l-t-IREFT (NEXr) YI=1.1+7!... ,3

&•'.' TO [48

1 SAvl =ICATA ((JExF.21 ) +ICATA (NEXF.25) ISAVI^ICATA (NEXP.21 ) CONTINUE i r^FT + V \Y/- GC> TO 46

«

REPEAT TO 7 \ INTVL=ICATE(NEXP) FCR K=l ,1 + 1 ,...,M1 >—>/ l

I CTR T (1 NTVL ,K. )-I 1OTL(INTVL,K)-ICATA (NExF.K) ICTRT(INTVL,5)-J TOTL (I NTVL ,26) - I SA VI

GO TO

C-25 NORTHROP TR-808 HUNTSVILLE ~

SUBROUTINE

["&•:• TO

li' 9 . K 'TRANSFER TO SUBROUTINE R E FCA T I O 1 3 c CM i i HUE ICONlIOICE.-l ,INTVL,HFT) * , OC. TO 48 ORDER FOR J--I ,1*1 ,. . . ,\ti v IN.ISTCR

REPEAT TO 11 FOR I CTR T < I NTVL. , K) - I TOTL < I NTVL ,K) - I DA TA r'K-I ,1*1 MI

I CTRTU NTVL ,5) -I TOIL (I NTVL ,26) -ISA VI CONTINUE ICON(ICODE,-1 ,INTVL,KFD * ! C.>ITINUE

GO TO &C' TO - 31 1 7 1 14 1 1 7 f 1 i — 1n6 — i A* 1 * ' 1 1 1 /\ REPEAT TO 19 OO TO 48 I \ i M< FT L + < i - I NTVL- IN FOR =l ,1*1 , . . . ,M1 \F/ \F/

C-26 NORTHROP TR-808 HUNTSVILLE ~

SUBROUTINE Zf*CK(NExF)

f 00 TO -GO 10 | la 23 A i is | A I 1C (K ! (I NTVL ,11.1-1 K'1L

GO TO GO TO •':.•:•• 1^9 •' 1^6 t • ' '• • « f r * GO TO 23 A i a-, i 3 Or, TO 1 f CONTINUE ) ICTRT(INTVL,5)-I TOTL(INTVL ,26)-lsAVl 0 j I T£ST=I C<~N(ICCCE MCCTY 1NTVL KFj)+l — fc v GO TO 20 i •

GO TO G.D TO • ' 15 . 31 . ' COMf=OTEC G«D TO I 1 IF THE VALUE TRANSFER | 21 | /$( r~tt i A 1 ltf,-TEST -TATEMCNT ICUT,INTVL,=1 ) INTUL-TSAUE _^.J CCWTINUE >J I>KPT - * -^ GO T1"1 21 J Io STATEMENT hRPT=t«PT-l Vi py Vi F^ 2 23 Y+ YIJ 3 ' 16 GO TO GO TO 15 31

GO TO GO TO 31 31

f~H~1 | 24 | ^ | 25 | yfc | 26 |

t j Ci-WTINUE 1 1 INTVL-IDATE(NEXP) Q . c,-»'TlhB]E , k

^ V GO TO GC' TO 31 26

C-27 NORTHROP TR-808 HUNTSVILUE ~

SUBROUTINE "r~K.' J| REPEAT TO 29 1N1VL-JCATE(NExr-) '.i FCR ICTRTdNTVL ,K> -ITOTLdNTVL ,K1- IDATA(NEXP K) CONTINUE = 1 ,1*1 Ml H

OC' TO GO TO 31 31 A nn A I C TR T ( 1 NT VL , 5) - I TOTL d NT VL ,26) - I SA Vl —i —J &O TO Z4 CONTINUE ICTRTdNTVL ,5) -I TOTL (I NTVL,26)-ISAVl '•'' \ ¥ Y OC' TO OO TO 24 3D t % j . ^____^ CCMRJTED GO TO i— : :— i 1 - 1 \ .rPTAT T047\ t fiA UF-"! — k i\ F"* V....— » ^

- -m_- 1 21 Z 31 / •' ' / 3 24

00 TO 00 TO 00 TO 47 47 47 A I « ) A nn A ,_j IiAvC"l$AvC< I "

Vfi 0^0 TO NOO^ TO O.D TO 47 43 37

. 5 nn 'n "! ,__,.

J 1 70tL(J ,2-1) -I TOTL 1 1 fOTLIJ ,25) r; fOTL(J ,25i*ICATA (NExP,25) y^rl ,1 + 1 ,...,4 /

C-28. NORTHROP TR-808 HUNTSVILLE

SUSROUTI ME -

REPEAT TO 40 t*Ea'-' (NEx'P.i > :*2 FCR I2 = NREi3C(NExF,I! + Ml \~Z ,2*3 I^EX r&o TO LL_

42

REPEAT TO 42 \ I TOTL (J ,K)=ITOTL(J ,K)* IDA TA (NExr.K) j I TOTL

00 TO OC' TO 46 l 44 1 3- — 1 .' | 1 I —4T 5^— 1 li.V 1 " 1 . 1 1 ^F\ 1SAVE-1REPT(NEXp) + mpT o . 1 MCCTY - v . ' ' w \jy Y* Y* O-D TO CO TO 47 47

*_ —

TO 49 \ 1 FOR =1 ,1 + 1,...,! N,

it OUT ii ,NExP)=iouT

C-29