nasa technical memorandum · nasa tm-100356 i 4. title and subtitle 5. report date automatic...

66
NASA Technical Memorandum t NASA TM -100356 0 (&ASA-¶H ECDELllG (dl AEfL AUTOMATIC MATHEMATICAL MODELING FOR REAL TIME SIMULATION PROGRAM (AI APPLICATION) By Caroline Wang and Steve Purinton Software and Data Management Division Information and Electronic Systems Laboratory Science and Engineering Directorate February 1989 -100356) ICITCl!A'IIC CL2LELAIICAL N89- 18 147 ICAlILti) (NASA) 66 & CSCL 128 FOB EEAL 'LIHE SIEUIALSfCE PBOGEAH Unclas 63/64 0192811 National Aeronautics and Space Ad ministration George C. Marshall Space Flight Center MSFC - Form 3190 (Rev. May 1983) https://ntrs.nasa.gov/search.jsp?R=19890008776 2020-06-13T12:47:49+00:00Z

Upload: others

Post on 06-Jun-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

NASA Technical Memorandum

t

NASA TM -100356 0

( & A S A - ¶ H ECDELllG (dl A E f L

AUTOMATIC MATHEMATICAL MODELING FOR REAL TIME SIMULATION PROGRAM (AI APPLICATION)

By Caroline Wang and Steve Purinton

Software and Data Management Division Information and Electronic Systems Laboratory Science and Engineering Directorate

February 1989

-100356) ICITCl!A'IIC CL2LELAIICAL N89- 18 147

I C A l I L t i ) ( N A S A ) 66 & CSCL 128 FOB EEAL ' L I H E S I E U I A L S f C E PBOGEAH

Unclas 63/64 0192811

National Aeronautics and Space Ad ministration George C. Marshall Space Flight Center

MSFC - Form 3190 (Rev. May 1983)

https://ntrs.nasa.gov/search.jsp?R=19890008776 2020-06-13T12:47:49+00:00Z

Page 2: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

TECHNICAL REPORT STANDARD T I T L E PAGE 1. REPORT NO. 12. GOVERNMENT ACCESSION NO. 13. RECIPIENT’S CATALOG NO.

NASA TM-100356 I 4. T I T L E AND SUBTITLE 5. REPORT DATE

Automatic Mathematical Modeling for Real Time Si mu1 at ion Program

7. AUTHOR(S) Caroline Wang and Steve Purinton

9. PERFORMING ORGANIZATION NAME AND ADDRESS

George C. Marshall Space Flight Center Marshall Space Flight Center, Alabama 358 12

12. SPONSORING AGENCY NAME AND ADDRESS .

National Aeronautics and Space Administration Washington, D.C. 20546

February 1989 6. PERFORMlNG ORGANIZATION CODE

8. PERFORMING ORGANIZATION REPOR r ti

10. WORK UNIT NO.

11. CONTRACT OR GRANT NO.

13. TYPE OF REPORS’ & PERIOD COVERED

Technical Memorandum

1.;. SPONSORING AGENCY CODE

Unclassified Unclassified 1 ” 67

This report describes a methodology for automatic mathematical modeling and generating simulation models. The major objective was to create a user-friendly environment for engineers to design, maintain, and verify their models; to automatically convert the mathematical models into conventional code for computation; and finally, to document the model automatically.

NTIS

7, KEY WORDS

Automatic Modeling for Space Application Mathematical

9. SECURITY CLASSIF. (d thin ?*Port) 20. SECURITY CLAS

18. D I STR I B UT 1 ON STATEMENT

Unclassified - Unlimited

il F. (OK t h l B P.8.) 2 1 . NO. OF PAGES 22. PRICE

Page 3: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

~ ~~~~

TABLE OF CONTENTS

Page

I. SUMMARY ......................................................................................... 1

11. INTRODUCTION ................................................................................ 2

111. PURPOSE ........................................................................................... 2

IV. INTELLIGENT INTERFACES .................................................................. 2

V. AUTOMATIC MODELING ...................................................................... 3

VI. SYSTEM OVERVIEW ............................................................................ 3

Flow Diagram . ....... .. .... .. .. .. .. .. ..... .. .... ..... ...... .............. .. ... .. .... .. .. ..... .. .. ... 3 Basic Software and Hardware Requirement.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

VII. MAINTAINING AND VERIFYING ............................................................

VIII. GENERAL APPLICATION ......................................................................

IX. EXAMPLE APPLICATION ......................................................................

X. FUTURE PLANS ...................................................................................

APPENDIX ..........................................................................................

Sample Problem Solving for SSME Math Model.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Knowledge Base . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . , . . .

Generic Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Information Base.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

System Generated Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . System Generated FORTRAN Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . System Generated Documentation.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Robot Manipulators.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . System Generated Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

, PkECEDiNG PAGE BLANK NOT FILMED

iii

9

9

10

1 1

13

14 14 15 21 37 43 46 55 57

Page 4: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

TECHNICAL MEMORANDUM

AUTOMATIC MATHEMATICAL MODELING FOR REAL TIME SIMULATION PROGRAM

1. SUMMARY

. This report describes a methodology for automatic mathematical modeling and generating

profiles with the results compared against known results. The major objective is to create a user- friendly environment for engineers to design, maintain, and verify their models; to automatically convert the mathematical models into conventional code for computation; and, finally, to document the model automatically.

. simulation models. The models will be verified by running in a test environment using standard

The traditional method for simulation modeling is to define, derive, and organize the equations and then to develop the program for manual computation. If any modification or correc- tion needs to be done in the design or mathematical equations, it will create a tremendous amount of work for the rest of the process. Generally, any model will require several modifications before it matches a real system. Historically, the modifications have been time consuming and a fertile source of errors.

Some of the available symbolic mathematics tools will help to derive the equation symboli- cally, and automatically produce the final equation and program code. The use of the LISP langu- age can build the user-friendly interface and generate the knowledge base for the symbolics mathe- matics tool to build equations and program codes. After the equations and codes have been stored in the files, the LISP program can then combine and organize them and create a complete compiled source code for any conventional language requirement. A demonstration program was designed for modeling the Real-Time Simulation system. It is written in LISP and MACSYMA and runs on a Symbolics 3670 LISP Machine. It contains an initial set of elements for the Real-Time Simulation system and a questionnaire that allows the engineer to answer a set of questions to specify a particular model. The system is then able to automatically generate the model and FORTRAN code. The future goal which is under development is to download the FORTRAN code to the VAXNMS system for conventional computation. The mathematical model will be verified in the test environment and the solution compared with the real data profile. Control, display and anciliary systems will be developed which will allow the execution of a predefined profile (from a

plot from the control and display system. An execution control module will be available to allow

able for execution in series with the math model and will record (optional) interface variables trans- parently. This module will use packet definition variables and circular queues to determine what and when to record.

I file) or interactive modification of the variables. Variables can be displayed in a text format or as a

time and sequence control of the model and peripheral models. A recording module will be avail- .

The use of Artificial Intelligence (AI) techniques has shown that the process of simulation modeling can be simplified.

i

Page 5: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

II. INTRODUCTION

Mathematical modeling for real-time simulation programs is a very complicated process which includes analysis, design, and the generation of complex equations and programs. Generally, the model will require several modifications before i t will match a real system. Historically, the modifications have been time consuming and a fertile source of errors.

The use of AI techniques has shown that this process can be simplified. Some of the AI software tools will allow us to create a user-friendly environment for engineers to design, maintain, and verify their model and also to automatically convert the mathematical model into a conven- tional programming language for execution.

111. PURPOSE

The major objective is to develop and create a very comfortable environment for engineers to design and maintain their model. The automatic Mathematical Modeling generates knowledge base, mathematical equations, and conventional program codes. It helps to simplify the process of the modeling, and cuts down the development time and errors.

The automatic generation of a math model in simulations will add confidence in the simula- tion. Using interfaces which are well defined and validated will reduce programming and debug time and will allow concentration on logic and equations.

This technique can be applied to many different science and engineering projects.

IV. INTELLIGENT INTERFACES

The intelligent interfaces include:

I ) The user interface

2) The interface between knowledge base and automatic model generation

3) The interface between modules comprising the simulation.

Automatic modeling requires a very friendly work environment to collect the necessary information and to generate the knowledge base. Through the knowledge base information, the system automatically creates the mathematical equations and generic program codes for equations. Next, all the equation codes are generated and linked by another A I program to combine and

~

organize the codes together and to build a completely compiled program.

2

Page 6: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

An intermodule interface will become part of the automatic model generation process. Vari- ables will be identified and an external interface will provide the variable and its type to external modules. These external modules will record, display, or modify the variable.

V. AUTOMATIC MODELING

The traditional method for simulation modeling is to manually define, derive, and organize the equations and then to develop the program for computation. If any modifications or corrections need to be done in the design or mathematical equations, it will create a tremendous amount of work for the rest of the process. Generally the model will require several modifications before it matches a real system. Historically, the modifications have been time consuming and a fertile source of errors.

Some of the available symbolic mathematics tools will help us to derive the equation symbolically and to automatically produce the final equation and program code. The use of LISP language can build the user-friendly interface and generate the knowledge base for the symbolics mathetmatics tool to build equations and program codes. After the equations and codes have been stored in the files, the LISP program can then combine and organize them and create a complete compiled source code for any conventional language you require.

The use of AI techniques has shown that the process of simulation modeling can be simpli- fied.

Control, display, and anciliary systems will be developed which will allow the execution of a predefined profile (from a file) or interactive modification of the variables. Variables can be dis- played in a text format or as a plot from the control and display system. An execution control module will be available to allow time and sequence control of the model and peripheral models. A recording module will be available for execution in series with the math model and will record (or not record) interface variables transparently. This module will use packet definition variables and circular queues to determine what and when to record.

.

VI. SYSTEM OVERVIEW

A. Flow Diagram

3

Page 7: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

START I

I I I Define the problem I I I I I

~~ ~~~

I I

I I I Define generic equations 1 I I I I

I I

.I I I Lisp program for user interface I I I

I

I I I automatic knowledge base I I generation I I I

I I

I I 1 Read knowledge B a s e and I automatically generate the I Macsyma code for Symbolic I Math. tool "Macsyma" to I recognize the information I

I

I I

I process the set of Macsyma I

I and automatically create I

I for the model I

I Get in to Macsyma window to I

I code which has been generated I

I the equations and FORTRAN code I

~~

I I I Save the final symbolic equation I I and FORTRAN equation code into I

I I the disk files I I

I I

I I I Another set of Lisp function I I to read the equation code and I I build a compiled conventional I I program for computation I I I

I I

i Verifing the result and maintain i I the equations or knowledge base I I and process the whole cycle again I I until correct I

c

4

Page 8: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

B. Basic Software and Hardware Requirements

The Basic software tools used were “MACSYMA” and “LISP.” The hardware was “Symbolics 3670’ and “VAX.” We used a Symbolics for the equation and conventional code generation and then downloaded to the VAX system for computation.

There are a number of tools available for Symbolic Mathematical equation and conventional program code generation. Some examples are as follows:

Symbolics Math Tool

MACSYMA

SMP

REDUCE

Memory Requirements

2 Megabytes

2 Megabytes

350 kilobytes

Available Computers

DEC 10 or 20 VAX Honeywell 6000 Series Symbolics LM2 or 3600

VAX 730, 750, or 780 Using UNIX operating system

IBM-360 or 370 DEC 10 or 20 VAX UNIVAC 1100 CDC CYBER

BURROUGHS 6700 APOLLO DOMAIN AND OTHERS

CRAY- I

MuMATH 5 12 kilobytes Personal Computer

MAPLE

ALTRAN

FORMAC

350 kilobytes

270 kilobytes 1966 Standard FORTRAN

150 kilobytes

VAX Using UNIX 4.3

IBM-360 or compatible machine

SAC-2 I20 kilobytes I966 Standard Fortran

Hardware requirements are for the support of tasking and for the provision of adequate address space.

5

Page 9: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

Features for the Most Popular Tools

MAC’S Symbolic MAnipulation (MACSYMA)

Features :

I . Solve equations, factor polynomials, expand functions in series

2. Equation simplification

3. Manipulate matrices, trigonometric equation

4. Integration and differentiation

5 . Automatic code generation for FORTRAN program

6. File handling system

7. Interactive help facility

8. Control function and subroutine procedures

9. 3D graphics, automatic scaling, and different viewpoints

I

IO. Interactive sytem

1 I . Excellent working environment

12. Ease of use

Available computers:

DEC I O or 20 V AX Honeywell 6000 Series

I Symbolics LM2 or 3600

Memory requirements:

I Two Megabytes

6

Page 10: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

Symbolic Manipulation Program (SMP)

Features:

1 . Solve equations, factor polynomials, expand functions in series

2. Equation simplification

3. Manipulate matrices, trigonometric equation

4. Integration and differentiation

5 . Automatic code generation for FORTRAN or C program

6. File handling system

7 . Interactive help facility

8. Control function and subroutine procedures

9. 3D graphics

10. Interactive sytem

1 1 . Excellent working environment

12. Ease of use

Available computers:

V AX

Memory requirements:

Two megabytes

. REDUCE I1

Features :

I . Solve equations, factor polynomials

2 . Equation simplification

3. Manipulate matrices

7

Page 11: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

4. Integration and differentiation

5 . Automatic code generation for FORTRAN program

6. File handling system

7. Control function and subroutine procedure

8. Interactive system

Available Computers:

IBM-360 or 370 DEC 10 or 20 VAX UNIVAC 1100 CDC CYBER

BURROUGHS 6700 APOLLO DOMAIN AND OTHERS

CRAY- I

Memory requirements:

350 Kilobytes

MuMath

Features:

I . Solve equations, factor polynomials

2. Equation simplification

3. Manipulate matrices

4. Integration and differentiation

5 . Interactive system I

Available computers:

IBM PC or compatible system

8

Page 12: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

VII. MAINTAINING AND VERIFYING

One of the most difficult problems in software today is the verification and maintenance of existing programs, especially programs built up over time with many programmers involved. This is particularly true for simulation programs. The traditional method of modifying simulation programs by rebuilding and recoding the model is a potential source of many errors.

The automatic system can eliminate most of these problems. If in error, the only place which need be considered to change is the knowledge base at the front, then the rest of the equa- tion and program can automatically be changed. The procedure becomes much simpler, which makes it easy for the user to maintain and modify the model and program directly.

Improving maintenance and verification is a major goal for this type of model generation. Allowing maintenance to be concerned with equations and logic rather than the implementation is a goal for maintenance.

VIII. GENERAL APPLICATION

The AI technique for automatic mathematical modeling can apply to many problems which are required to be solved:

1 ) Complicated mathematical equations derivations that are hard or impossible for humans to do manually.

2) Equations which share the generic theory.

3) Models which need to be changed considerably.

Robotics, contact dynamics, and other problems which require a lot of complicated and long equation derivation in Matrix Multiplication can very easily be solved symbolically.

The Space Shuttle Main Engine Simulation contains several equations where there are sets of equations sharing the generic theory. The engine model is required to change when the engine design in hardware is modified. This is the case used for the Automatic Modeling Example.

t There are many simulation models which need to be changed under different conditions. If they are done manually, it will cost a tremendous amount time to modify the model, change the program code, and verify the result before it can be used. The AI technique totally improves the environment, and the only place which needs to be modified is the knowledge base; the rest of the product can be automatically generated.

Spacelab training applications where several physical models will be developed for a single flight. Automatic generation of individual models from equations and logic will eliminate much of the repetitive system integration.

9

Page 13: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

IX. EXAMPLE APPLICATION

A demonstration program, called Propulsion System Automatic Modeling (PSAM), was designed for modeling the Space Shuttle Main Engine Simulation Mathematic Model. PSAM is written in LISP and MACSYMA and runs on a Symbolics 3670 LISP machine.

The design goals for PSAM were to develop automatic modeling skills for propulsion sys- tems and other scientific and engineering applications. The old Engine Model was used as an example to study.

PSAM includes the following features:

I ) User-friendly interface

2) Automatic Knowledge Base generation

3) Automatic Equation and Coding generation

4) Automatic documentation generation.

The Space Shuttle Main Engine Simulation model was built up from the component process elements and their combination into the subprograms.

The component process elements are pump, hot gas turbine, hydraulic turbine, turbopump, combustor, valve, incompressible propellant flow, injector volume with priming for start, hot gas heat transfer, and regenerative cooling flow. The subprograms are fuel, oxidizer, and hot gas.

There are two types of information for a PSAM knowledge base. One is the component process elements generic equations, and the other is the information base for the combination of the Space Shuttle Main Engine model subprograms and component process elements.

The system collects the detailed requirment and generates a set of specific equations for the component process elements and subprograms.

PSAM has the ability to:

I ) Create or maintain the knowledge base

I 2) Load different knowledge

I 3) Automatically generate equations

4) Output generated equation or FORTRAN code to disk file or option for printout of the Laser Printer

t

I 5 ) Automatic documentation

I 10

Page 14: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

The FORTRAN code is in generic conventional program format only for the equations. Another part of the LISP program will combine all the subprograms and component process elements equations and append the header program codes to become a whole compiled program. The coding format for the equations are the same for many available conventional software languages such as FORTRAN, C , or ADA, etc. So the final program can be built on whichever conventional software the user requires by changing only the header requirements and I/O functions.

Several versions and configurations of SSME will be generated and run with a version of the engine controller software.

Another example program was designed for automated kinematic equation generation for robot manipulators. Any manipulator can be considered to consist of a series of links connected together by joints. Historically, the homogeneous transformation describing the relation between one link to the next has been called an A matrix. The position and orientation of the nth link in base coordinates are given by the matrix product

Tn = A1 * A2 * A3 * ... An

These products of A matrices have been called T matrices. An n-link manipulator can have n degrees of freedom, one for each link, and can be positioned and oriented arbitrarily within its range of freedom. Most robot controllers equations were developed manually. The complicated matrix multiplication is inverse with trigonometric functions. It is tedious and difficult. A small, careless mistake can cost major modification of the design. Using the AI technique to derive and simplfy the equations symbolically and automatically can reduce a tremendous amount of effort.

These are the proof of concept examples which lead to future projects.

X. FUTURE PLANS

Currently the existing project is being used to test the method. In the future this technique can be applied to numerous new projects. The goal is to build the simulation model and maintain i t automatical I y .

1

The knowledge base will also contain detailed information for automatic documentation.

The future plans for PSAM are to generate models based upon logic and flow rather than equations, and to build control and display modules which will complement the models.

11

Page 15: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

APPENDIX

Sample Problem Solving for

0 Space Shuttle Main Engine Math Model

0 Robot Manipulator

PRECEDING PAGE BLANK NOT FILMED

13

Page 16: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

SSME Math Model

Knowledge Base

Generic Equations

Information Base

14

Page 17: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

ORIGINAL PAGE IS OF POOR QUALITY Generic Equations

(D105) Al:>PSAH>Macsyma-kb>psam-generic-equation.out.1 (C106) BATCH("al:>psam>macsyma-kb>psam-generic-equation.kb");

(C108) "Pump Flow Variable"$

(C109) P.EV (F, 8, DW, S) :- Block ( F = B * (DW / S ) ) ;

(D109)

(C110) "Pump Total Pressure"$

(C111) PTP(PP,P,B,S,T) := Block ( PP = P + B * ( S ) ^ 2 * T);

(D111)

(C112) "Pump Torque"$

(C113) PT (R.B. S, T) := Block ( R = B * ( S ) ^ 2 * T) ;

(D113)

(c-14) I++**++*++*TURBINE**********"$

(C11S) "Turbine Torque"$

(C116) TT(R,B,P,T) :- Block ( R = B * P * T); (D116)

(C117) "Turbine Speed Parameter"$

(C118) TSP(M,B,S,T) :- Block ( H = B S / (TA(l/2)));

(Dl181

(C119) "Turbine Weight Flowrate"$

(C120) TWF(DW,B,dP,r) :- Block ( DW - (B * (dP) K)^(1/2));

(D120)

(c121) "**********TURBOPUMP SPEED*******"$

(C122) "Turbopump Speed"$

(C123) TPS (S, 8, Tq, SO) :- Block [ S - B *'Integrate ( Tq,t) + So);

(D123)

B DW

S pFv(F, B, DW, S ) := BLOCK(F = ----)

B S TSP(H, 8, S, T) :- BLOCKW - ----I

1/2 T

/ [

1 /

TPS(S, B, TQ, SO) :- BLOCK(S - B I TQ dT + So)

(C129) FF(DWf,Bi, P9,P.BJ.R.DWO) := Block ( Mlf:DWf(t), DWO:DWO(t),DWf - B 'integrate (((P9 - P - (Bi / R)) * DWfA2),t) + Dwo): /

[ BI

15

Page 18: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

ORIGINAL PAGE IS OF. POOR QUALITY

2 (D129) FF(DWF, BI, P9, P, BJ, R, DWO) := BLOCK(DWF : DWF(T), DWO : DWO(T), DWF = B I (P9 - P - -- ) DWF dT + DWO)

1 R /

(C130) "Oxidizer Flow"$

('331) OF(DWo,Bk,Ppos,P,Bl,A,Ab,Bm,DWi,DWO) := Block( DWo:DWo(t), DWi:DWi(t),DWO:DWO(t),DWo = Bk * 'integrate ((Ppos - p - B1 * (DWo /(A/Ab))"2 - Bm*(DW i) ̂2) .t) + DWO) : (D131) OF(DW0, BK, PPOS, P, BL, A, AB, BM, DWI, DWO) := BLOCK(DW0 : DWO(T), DWI : DWI(T), DWO : DWO(T),

/

DWO 2 2

- BL ( - - - ) - BM DWI ) dT + DWO)

AB

(C132) "Variable in injector Priming function, Dimensionless"$

(C133) VIPF (E, Bh, DWO, DWi, EO) : = Block(DWO:DWO(t), DWi:DWi(t), E = Bh * 'integrate ((DWo - DWi),t) + EO);

[

DWO = BK I (PPOS - P

/ I

(D133) VIPF(E, BH, DWO, DWI, EO) := BLCCK(DW0 : DWO(T), DWI : DWI(T), E = BH I (DWO - DWI) dT + EO)

(C134) "Weight Flowrate Injector"$

(C135) WFI (DWi,DWo,Eo) := Block( DWi = DWo * Eo); (D135)

(C136) "***ttt*** *COmUSTER*******+** I* $

(C137) "Cornbuster Total Pressure"$

(C138) + DW2 - Bj DW3),t) + PO);

CTP (P, Bi, DW1, DW2, B j, DW3, PO) :=Bloc

1 /

WFI (DWI, DWO, EO) := BLOCK(DW1 = DWO EO)

DWl:DWl(t), DWZ:DWZ(t), DW3:DW3(t),P = Bi 'integra e ( ( DW1

/ 1

(D138) CTP(P, BI, DW1. DW2, BJ, DW3, PO) := BLOCK(DW1 : DWl(T), DW2 : DWZ(T), DW3 : DW3(T), P = BI I (DW1 + DW2 - BJ DW3) dT + PO)

1 /

(C139) "Cornbuster Fuel Weight Flowrate"$

(C140) WFF(F,DWZ,DW) :=Block( F = DW2 / (DW1 + DWZ));

(D140) WFF(F, DW2, DW) := BLOCK(F = ---------) DW2

DW1 + DW2

(C141) "Cornbuster Temperature"$

(C142) CT(T.TT,Bk,Tg):=Block ( T = TT + Bk * T9); (D142) CT(T, TT, BK, T9) := BLOCK(T = TT + BK T9)

(C143) "*********+COOLING ELEMENT'*********#*$

(C144) "Cooling Element Total Pressure"$

(C145) CETP (P,B, DQwl, DQw2, H3, DWi, H, DW, PO) := Block( DQwl:DQwl(t),DQw2:DQw2(t),DWi:DWi(t),DW:DW(t),P = B * 'integrate((DQw1 + DQwZ + H3 DWi - H DW) ,t) + PO); (D145) CETP(P, B, DQW1, DQW2, H3, DWI, H, DW, PO) := BLOCK(DQW1 : DQWl(T), DQWZ : DQWZ(T), DWI : DWI(T), DW : DW (T),

/ [

P = B I (DQW1

16

Page 19: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

+ DQWZ

(C146)

(C147) (D147)

(C148)

(C149) Block (

(D149) ) dT +

(C150)

(C151) Block (

(0151) + RO)

(C152)

(C153) Block (

(D153)

(C154)

(C155) Block (

(D155)

(C156)

(C157) Block (

(D157)

(C158)

(C159) Block (

(D159)

+ H3 DWI - H DW) dT + PO) ORlGlNAL PAGE IS OF POOR QUALITY I

/

"Cooling Element Specific Enthalpy"$

CESE(H,B,T):-Block( H - B T); CESE(H, 8, T) := BLOCK(H = B T)

"Cooling Element Weight Flowrate Main Chamber Heat Exchanger"$

CEWFM(DW,Bi,P,P5,Bj,R5.DW,DWO) := DW:DW(t),DW = Bi 'integrate ((P - P5 - (Bj / R51 * DW"Z1.t.) +DWO);

/ 2 [ BJ DW

CEWFM(DW, BI, P, P5, BJ, R5, DW, DWO) := BLOCK(DW : DW(T), DW = BI I (P - P5 - ------ DWO )

I R5 /

"Cooling Element Density"$

CED(R,B,DWi,DW,RO) := DWi:DWi(t), DW:DW(t),R = B * 'integrate ((DWi - DW),t) + RO);

/ [

CED(R, B, DWI, DW, RO) := BLOCK(DW1 : DWI(T), DW : DW(T), R = B I (DWI - DW) dT I /

"Cooling Element Temperature"$

CET (T, B, P,R) :- T = B * ( P / R));

B P

R CET(T, B, P, R) := BLOCK(T = ---)

"Cooling Element Heat Transfer Rate Hot Gas Wall"$

HT (DQw, 8, T, Tu, DWi) : = DQw = B * (1.0 + 0.002 * T) *(Tw-T)* (DWi)^O.B);

0.8 HT(DQW, 8, T, TW, DWI) := BLOCK(DQW = B (1.0 + 0.002 T) (TW - T) DWI )

"Cooling Element Heat Transfer Rate TC"$

HTTC(DQtc,B,Tc,Twl,DWcn) := DQtc = B * (Tc - Twl) * DWcn"O.8);

0.8 HTTC(DQTC, 8, TC, TW1, DWCN) := BLOCK(DQTC = B (TC - TW1) DWCN )

"Cooling Element Hot Gas Wall Temperature"$

HGT (TT, 8 , DQtc, DQwl , TO) : = DQtc:DQtc(t), DQwl:DQwl(t), TT = B 'integrate ((DQtc - DQwl) ,t) + TO);

/ [

HGT(TT, B, DQTC, DQW1, TO) := BLOCK(DQTC : DQTC(T), DQWl : DQWl(T), TT = B I (DQTC - D QW1) dT + TO)

1 /

(C160)

(C161)

(D161)

(C162)

(C163)

(C164) Block ( (D164)

"Cooling Element Ambient thrust Chamber Temperature"$

ATT(TT.B,DQwZ,TO):=Block( DQwZ:DQwZ(t),TT = B * 'integrate ((-DQwZ).t) +TO); / [

I /

ATT(TT, 8, DQWZ, TO) := BLOCK(DQW2 : DQWZ(T), TT = B I ( - DQWZ) dT + TO)

"+***+*++**Flowmeter**********-$

"Volumetric Flowrate"$

VF(Q,Cl,T,CZ, C3,C4, DW.CS, SI := Q = [1.0 - C1 * ( T - C2 ) I * [ C3 + C4 DW + C5 * SI);

VF(Q, C1, T, C2, C3, C4, DW, C5, S ) := BLOCK(() = [1.0 - C1 (T - C2)l [C3 + C4 DW

17

Page 20: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

ORlGlNAL PAGE IS OF POOR QUALITY

+ c5 SI)

(C165) "Total Pressure"$

(C166) TP (P, Pf, RF, DW, R l : = Block( P = Pf - (RF DW"Z)/R):

(D166)

(C167) "Flowmeter Temperature"$

(C168) FT (T, Ti, S , Coe) := Block ( T = Ti + Coe * S ) ; (D168)

2 RF DW

R TP(P, PF, RF, DW, R ) := BLOCK(P PF - ------I

FT(T, TI, S , COE) := BLOCK(T = TI + COE S )

(C169) "++****+*****Preburner Fuel Supply duct**"************^,'$

(C170) "Supply Duct Total Pressure"$

(C171) SDTP (P,B, DW1, DW2.DW3, DW4,PO) := Block( dwl:dwl(t), dw2:dw2(t), dw3:dw3(t), dw4:dw4(t),P = B 'integrate((DW1 - DW2 - DW3 +DW4),tI + PO); (D171) SDTP(P, B, DW1, DW2, DW3, DW4, PO) := BLOCK(DW1 : DWl(T), DW2 : DWZ(T), DW3 : DW3(T), DW4 : DW4(T)

(DW1 - DW2 - DW3 + DW4) dT + PO)

(C172) "Supply Duct Temperature"$

(C173) SDT(T, 8, P, R) := Block( T = B *(P / R));

(D173)

I r

P = B I

I /

B P

R SDT(T, 8, P, R) := BLCCK(T = ---I

(C174) "Supply Duct Density"$

(C175) SDD(R, DW1, DW2, R r , B):= Block( R * [Owl + DW2]/[ (DW2/Rr) + B * DWl] ) ;

[DWl + DW21

DW2

RR

(D175) SDD(R, DW1, DW2, RR, B) := BLOCK(R = ------------- 1

[--- + B OW11

(C1761 "*+*******+******High Pressure Oxidizer Pump Preburner Boost Stage**************"$

(C177) "High Pressure Oxidizer boostpump Flow variable"$

(C178) HPOPFV (F, B. DW. S ) : = Block(F = B * (DW / S));

(D178) B DW

HPOPFV(F, B, DW, S ) := BLOCK(F = ----I S

(C179) "High Pressure Oxidizer Boostpump Torque"$

('380) HPOPT(T,B,S,TT,F) := Block( T - B44 * ( S A 2 ) * TT * (F));

(D18O) HPOPT(T, B, S, TT, F) := BLOCK(T = 844 S TT Fl

(C181) "High Pressure Oxidizer Boostpump Pressure"$

(C1821 HPOPP (P3.B. S , TT, F, P21 := Block( P3 - B (S^Z) TT F + P2);

(D182) HPOPP(P3, B, S , TT, F, P2) := BLOCK(P3 = B S TT F + P2)

(C183) "High Pressure Oxidizer Boostpump Weight Flowrate"$

(C184) HPOPW (DW3,B1, P3, P, B2, DWO) := Block( DW3:DW3(t), DW3 = 81 'integrate ( (P3 - P - B2* DW3*DW3), t) + DWO ) ;

2

2

/

Page 21: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

(D184) HPOPW (DW3, ) dT + DWO)

B1. P3, P. B2, DWO) :=

Chamber Injector, Fuel

(C186) "Main Chamber Injector Total Pressure"$

(C187) MCITP (P, B1, DW1, DW2, DW3, B2, DW4, PO) := Block(DWl:DWl(t), DW2:DWZ(t), DW3:DW3(t), DW4:DW4(t), + POI:

P = B1 'integrate((DW1 + DW2 + DW3 - B2* DW4l.t)

(C1881 "Main Chamber Injector Weight Flowrate"$

(C189) MCIW (DW,B,Pl, T, PC,PP, TT) := Block(DW = B * P1 * ( T * PC/P2)/TTA0.5);

(D189) MCIW(DW, B,

B P1 (T PC)

P2 ---------__

P1, T, PC, P2, TT) := BLOCK(DW ----------- 1 0.5

TT

(C190) "Main Chamber Injector Temperature"$

(C191) MCIT(TF1, 81 , TFP, B2, TOP, B3, T51:= Block(TF1 - B1 * TFP + 82 TOP + 83 T5); (Dl911 MCIT(TF1, B1, TFP, 82. TOP. 83. T5) :- BLOCK(TF1 = B1 TFP + B2 TOP + B3 T5 1

(C192) n+r*******+**********Main Chamber Injector, Oxidizer*********************************"$

(ti931 "Main Chamber Injector, Oxidizer Weight Flowrate"$

(C194) MCWF(DWoi, DW, E):= Block(DWoi - DW E); (D194)

(C195) "Main Chamber Ir jector, Oxidizer Weight"$

(C196) MCW(W, DW1, DW2, WO):= Block(DWl:DWl(t), DW2:DW2(t), W = 'integrate((DW1 - DWZ),t) + WO):

/ I

(D196) MCW(W, DW1, DW2, WOI := BLOCK(DW1 : DW11T). DW2 : DWZ(T1, W = I (DW1 - DW2) dT + WO)

1 /

(C197) "Main Chamber injector, Oxidizer Variable in injector Priming function"$

(C198) MCv(E, T, W):- Block(E = T * W): (Dl981 MCV(E, T, W) := BLOCK(E - T Wl

(C201) CITP(P, B, PI:= Block(P - B * PI: (D2011 CITP(P, B, PI :- BLOCK(P = B PI

(C202) "Main thrust Chamber Total Pressure"$

(C203) MTCTP(P, 81. 82, DW1, DW2, DW3, PO):- Block(DWl:DWl(t), DW2:DWZ(t), DW3:DW3(t), P = 81 * 'inteqrate((BZ*DWl + DW2 - DW3l.t) + PO):

19

Page 22: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

(C206) NHWF(DW, 81, P , P9, 82, DW1, A, DWO):= Block(DWl:DWl(t). DW = 91 * 'integrate((P - P9 - 82 *(DWl/(A)A2)),t) + DWO):

/ [

1 (D206) NHWF(DW, R l , P, P9, B2, DW1, A, DWO) := BLOCK(DW1 : DWl(T), DW = B1 I (P - ) dT + DWO)

(C207) "Coolant Control Valve"$

(C208) CCV(DW , DW1):= Block(DW = DW1): (D208) (D209) (C210) CLOSEFILE 0 ;

I /

CCV(DW, DW1) := nlOCK(DW = DW1) DOhL

82 DW

. pg - ----- 2

A

ORIGWAL PAGE I$ OF POOR QUALITY

20

Page 23: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

Information Base ORIGINAL PAGE IS OF POOR QUALITY

(Deframe Fop3 (Class BOOST-STAGE) (Unit "Flow-Variable") (Nomenclature "High Pressure Oxidizer boostpump Flow variable") (Input-parameter B43 DWop3 S02))

(Deframe Top3 (Class BOOST-STAGE) (Unit "Torque" ) (Nomenclature "High Pres sure Oxidi z e r Boos tpump Torque " ) (Input-parameter B44 So2 Trop3 Fop3) )

(Deframe Pod3 (Class BOOST-STAGE) (Unit "Pressure") (Nomenclature "High Pressure Oxidizer Boostpump Pressure") (Input-parameter B45 So2 Tpop3 Fop3 Pod2))

(Class BOOST-STAGE ) (Unit "Weight-Flowrate") (Nomenclature "High Pressure Oxidizer Boostpump Weight Flowrate") (Input-parameter B46 Pod3 Ppos B104 DWop30))

(Class BOOST-STAGE) (Unit "Table-Function") (Nomenclature "High Pressure Oxidizer Boostpump Torque") (Input-parameter ) )

(Class BOOST-STAGE ) (Unit "Table-Function") (Nomenclature "high Pressure Oxidizer boostpump Pressure Rise Character") (Input-parameter ) )

(Def rarne DWop3

(Deframe Trop3

(Deframe Tpop3

(Deframe DWop30 ( C 1 a S S BOOST- STAGE ) (Unit "Init id-Condit ion") (Nomenclature "DWop3 when t=O") (Input-parameter 105.43) )

21

Page 24: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

(Deframe Pfp (Class COMBUSTER) (Unit "Combuster-Total-Pressure") (Nomenclature "Fuel Preburner Total Pressure") (Input-parameter B56 DWfpf DWfpoi Blll DWft2 PfpO))

(Class COMBUSTER) (Unit "Combuster-Total-Pressure") (Nomenclature "Oxidizer Preburner Total Pressure") (Input-parameter b63 DWopf DWopoi B107 DWot2 PopO))

(Class COMBUSTER) ( Unit "Weight -F 1 o wr a t e -F r a c t ion " ) ( N ome n c 1 at u re " Fu e 1 P re bu r ne r F 1 ow r a t e F r a c t i on " ) (Input-parameter DWfpoi DWfpoi+DWfpf))

(Class COMBUSTER) ( U n i t "We i gh t - F 1 ow r a t e -F r a c t i on '' ) (Nomenclature "Oxidizer Preburner Flowrate Fraction") (Input-parameter DWopoi DWopoi+DWopf))

(Class COMBUSTER) (Unit "Combuster-Temperature") (Nomenclature "Fuel Preburner Combuster Temperature") (Input-parameter TTpfp B112 T9))

(Class COMBUSTER) (Unit "Combuster-Temperature") (Nomenclature "Oxidizer Preburner Combuster Temperature") (Input-parameter TTfop B113 T9))

(Class COMBUSTER) (Unit "Init ial-Condit ion") (Nomenclature "Pfp when t=O") (Input-parameter 5940.0))

(Class COMBUSTER) (Unit "Initial-Condition") (Nomenclature "Pop when t=O") (Input-parameter 5929.9) )

(Class COMBUSTER) ( Un i t (Nomenclature "Fuel Preburner Hot Gass Temperature Function") (Input -parameter ) )

(C1 a s s COMBUSTER) (Unit "Table-Function") (Nomenclature "Oxidizer Preburner Hot Gas Temperature Function") (Input -parameter ) )

(Deframe Pop

(Deframe Ffp

(Deframe Fop

(Deframe Tfp

(Deframe Top

( D e f r a r n e PfpO

(Deframe PopO

(Deframe TTffp

" Tab 1 e -Fun c t i on " )

(Deframe TTfop

ORIGINAL PAGE IS OF POOR QUALITY

22

Page 25: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

(Deframe P5 (Class COOLING) (Unit "Total-Pressure") (Nomenclature "Main Chamber Heat Exchanger Total Pressure") (Input-parameter 1 DQwl5 DQw25 H3 DWmc H5 DW5 P50))

(Class COOLING) (Unit "Total-Pressure") (Nomenclature "Nozzle Regenerative Exchanger Element Total Pressure") (Input-parameter b84 DQw14 DQw24 H4 DW4 H3 DWfn P40))

(Class COOLING) (Unit "Speci fic-Ent halpy") (Nomenclature "Main Chamber Heat Exchanger Specific Enthalpy") (Input-parameter blOl T5) )

(Class COOLING) (Unit "Speci fic-Enthalpy") (Nomenclature "Nozzle Regenerative Cooling Element Specific Enthalpy") (Input-parameter B102 T4))

(Class COOLING) (Unit "Weight-Flowrate") (Nomenclature "Main Chamber Heat Weight Flowrate") (Input-parameter B75 Pmfvd P5 B76 R5 DWmc DWmcO))

(Class COOLING) (Unit "Weight-Flowrate") (Nomenclature "Nozzle Regenerative Cooling Weight Flowrate") (Input-parameter B94 P4 P9 B95 R4 DW4 DW40))

(Class COOLING) (Unit "Density") (Nomenclature "Main Chambel Element Density") (Input-parameter B77 DWmc DW5 R50))

(Class COOLING) (Unit "Density") (Nomenclature "Nozzle Regenerative Element Density") (Input-parameter B87 DWfn DW4 R40))

(Class COOLING) (Unit "Temperature" ) (Nomenclature "Main Chamber Heat Exchanger Temperature") (Input-parameter B78 P5 R5))

(Class COOLING) (Unit "Temperature") (Nomenclature "Nozzle Regenerative Cooling Temperature") (Input-parameter BE8 P4 R4))

(Class COOLING) ( Unit " He at - T r an s fer " ) (Nomenclature "Main Chamber Hot Gas Heat Transfer Rate") (Input-parameter B79 T5 TW15 DWmc))

(Class COOLING) ( Unit " He at -Trans fer " ) (Nomenclature "Main Chamber Ambient Thrust Chamber Heat Transfer Rate") (Input-parameter B80 T5 TW25 DWmc))

(Class COOLING) ( Uni t " Heat -Trans f e r " ) (Nomenclature "Nozzle Regenerative Hot Gas Heat Transfer Rate") (Input-parameter B89 T4 TW14 DWfn))

(Class COOLING) (Unit "Heat-Transfer") (Nomenclature "Nozzle Regenrative Ambient Thrust Heat Transfer Rate") (Input-parameter B90 T4 TW24,DWfn))

(Class COOLING) (Unit "Heat-Transfer-TC") (Nomenclature "Main Chamber Cooling Element Heat Transfer Rate TC") (Input-parameter Bel Tc Tw15 DWcn))

(Class COOLING) (Unit "Heat-Transfer-TC") (Nomenclature "Nozzle Regenerative Heat Transfer Rate TC")

(Deframe P4

(Deframe H5

(Deframe H4

(Deframe DW5

(Deframe DW4

(Deframe R5

(Deframe R4

(Deframe T5

(Deframe T4

(Deframe DQwl5

(Deframe DQw25

(Deframe DQwl4

(Deframe DQw24

(Def rame DQt c5

(Deframe DQtc4

23

Page 26: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

(Input-parameter B91 Tc Tw14 DWcn))

(Class COOLING) (Unit "Hot-Gas-Temperature") (Nomenclature "Hot Gas Temperature") (Input-parameter B82 DQtc5 DQwl5 Tw150))

(Class COOLING) (Unit "Ambient-Thrust-Temperature") (Nomenclature "Ambient thrust chamber Temperature") (Input-parameter B83 DQw25 Tw250))

(Class COOLING) (Unit "Hot-Gas-Temperature") (Nome nc 1 at u re "Hot Gas temperature " ) (Input-parameter B92 DQtc4 DQwl4 Tw140))

(Class COOLING) (Unit "Ambient-Thrust-Temperature") (Nomenclature "Ambient Thrust Temperature " )

(Input-parameter B93 DQw24 Tw240))

(Class COOLING) (Unit "Init ial-Condit ion") (Nomenclature "P5 when t=O") (Input-parameter 5143.0) )

(Class COOLING) (Unit "Initial-Condition") (Nomenclature "P4 when t=O") (Input-parameter 6794.0) )

(Class COOLING) (Unit "Init ial-Condit ion" ) (Nomenclature "DWmc when t=O") (Input-parameter 35.24))

(Class COOLING) (Unit "Initial-Condition") (Nomenclature "DW4 when t=O") (Input-parameter 4 1 . 9 8 ) )

(Class COOLING) (Unit "Initial-Condition") (Nomenclature "R5 when t=O") ( Input -paramet e r 0.0 0 1 4 0 2 ) )

(Class COOLING) (Unit "Init ial-Condit ion") (Nomenclature "R4 when t=O") (Input-parameter 6650.0) )

(Class COOLING) (Unit "Init ial-Condit ion") (Nomenclature "TW15 when t=O") (Input-parameter 1330.0))

(Class COOLING) (Unit "Ini t ial-Condit ion") (Nomenclature "Tw25 when t=O") (Input-parameter 544.5))

(Class COOLING) (Unit "Init ial-Condit ion") (Nomenclature "Tw14 when t=O") (Input-parameter 1260.0) )

(Class COOLING) (Unit "Initial-Condition") (Nomenclature "Tw24 when t=O") (Input-parameter 679.3) )

(Deframe Tw15

(Deframe Tw25

(Deframe Tw14

(Deframe Tw24

(Deframe P50

(Deframe P40

(Def rame DWmcO

(Deframe DW40

(Deframe R50

(Deframe R40

(Deframe Tw150

(Deframe Tw250

(Deframe Tw140

(Deframe Tw240 ORIGINAL PAGE 15 OF POOR QUALlTY

2 4

Page 27: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

(Deframe DWfpf (Class FLOW) (Unit "Fuel-Flow") (Nomenclature "Fuel Preburner Fuel Flow") (Input-parameter B50 P9 Pfp B51 R9 DWfpfO))

(Class FLOW) (Unit "Fuel-Flow") (Nomenclature "Oxidizer Preburner Fuel Flow") (Input-parameter B57 P9 Pop B58 R9 DWopfO))

(Class FLOW) (Unit "Oxidi zer-Flow" ) (Nomenclature "Fuel Preburner Oxidizer Weight Flowrate") (Input-parameter B52 Ppos Pfp B53 A Ab B54 DWfpoi DWfpoO))

(Class FLOW) (Unit "Oxidizer-Flow") (Nomenclature "Oxidizer Preburner Oxidizer Weight Flowrate") (Input-Parameter B59 Ppos Pop B61 A Ab B60 DWopoi DWopoO))

(Class FLOW) (Unit "Variable-in-injector-Priming") (Nomenclature "Fuel Preburner Oxidizer Variable in injhector Priming") (Input-parameter B55 DWfpo DWfpoi EfpoO) )

(Class FLOW) (Unit "Variable-in-injector-Priming") (Nomenclature "Oxidizer Preburner Oxidizer Variable in injector Priming") (Input-parameter B62 DWopo DWopoi EopoO))

(Deframe DWfpoi (Class FLOW) ( Unit "Weight -F 1 ow r a t e - I n j e ct o r " ) (Nomenclature "Fuel Preburner Oxidizer Injector Weight Flowrate") (Input -paramet e r DW f po E f po

(Deframe DWopf

(Deframe DWfpo

(Deframe DWopo

(Deframe Efpo

(Deframe Eopo

1 ) (Deframe DWopoi

(Class FLOW) (Unit "Weight-Flowrate-In jector") (Nomen c 1 at u re "Ox i di z e r P re bu rn e r Ox i di z e r In j e c t or Weight F 1 ow ra t e " ) (Input-parameter DWopo Eopo) )

(Class PUMP) (Unit "Initial-Condition") (Nomenclature "DWfpf when t=O") (Input-parameter 83.15))

(Class PUMP) (Unit "Init ial-Condit ion") (Nomenclature "DWopf when t=O") (Input-parameter 38.93) )

(Class PUMP) (Unit "Init ial-Condit ion") (Nomenclature "DWfpo when t=O") (Input-parameter 79.30))

(Class PUMP) (Unit "Initial-Condition") (Nomenclature "DWopo when t=O") (Input-parameter 26.13))

(Class PUMP) (Unit "Initial-Condit ion") (Nomenclature "EFpo when t=O") (Input-parameter 1.0))

(Class PUMP) (Unit "Init ial-Condit ion") (Nomenclature "Eopo when t=O") (Input-parameter 1.0))

(Deframe DWfpfO

(Deframe DWopfO

(Deframe DWfpoO

(Deframe DWopoO

(Deframe EfpoO

(Deframe EopoO

25

Page 28: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

(Deframe QF (Class FLOWMETER) (Unit "Volumetric-Flowrate") ( Nomen c 1 at ure "Fuel Vo lume t r i c F 1 ow r a t e '* ) (Input-parameter 0.008783 Tfs 37.0 -204.852 101.323 DWfd2 0.20206 Sfl))

(Deframe Pffm (C1 a s s FLOWMETER) (Unit "Total-Pressure") (Nomenclature "Fuel Flowmeter Total Pressure") (Input-parameter Pfdl RFfcd DWfd2 Rfdl))

(Deframe Tfpl (Class FLOWMETER) (Unit "Flowmeter-Temperature") (Nomenclature "Low Pressure Fuel Pump Flowmeter Temperature") (Input-parameter Tfs 0.0015789 Sfl))

(Class FLOWMETER) (Unit "Flowmeter-Temperature") (Nomenclature "Low pressure Oxidizer pump Flowmeter Temperature") (Input-parameter Tos 0.00547 S02))

(Deframe Tod2

ORIGINAL PAGE IS OF POOR QUALITY

26

Page 29: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

(Deframe Pfi (Class MAIN-CHAMBER) (Unit "Pressure") (Nomenclature "Main Chamber Injector, fuel and Hot Gas Total Pressure") (Input-parameter B64 DWftl DWot2 DWft2 B108 DWfi PfiO))

(Class MAIN-CHAMBER) (Unit "Weight-Flowrate") (Nomenclature "Main Chamber injector weight flowrate") (Input-parameter B64 Pfi Tpr Pc Ppi Tfi))

(Class MAIN-CHAMBER) (Unit "Temperature" ) (Nomenclature "Main Chamber Temperature") (Input-parameter B66 Tfp B67 Top B68 T5))

(Class MAIN-CHAMBER) (Unit "Oxidi zer-Weight -Flowrate") (Nomenclature "Main Chamber injector, Oxidizer Weight Flowrate") (Input-parameter DWmov Eoi))

(Class MAIN-CHAMBER) (Unit "Oxidi zer-Weight " ) (Nomenclature "Main Chamber Injector, Oxidizer Weight") (Input-parameter DWmov DWoi Woi))

(Class MAIN-CHAMBER ) (Unit "Oxidizer-Variable") (Nomenclature "Main Chamber injector, Oxidizer variable in injector priming function") (Input-parameter TEoi Woi))

( C 1 ass MAIN -CHAMBER) (Unit "Ini tial-Condition") (Nomenclature "Pfi when t=O") (Input -parameter 3 662.0) )

(Deframe DWfi

(Deframe T f i

(Deframe DWoi

(Deframe Woi

(Deframe Eoi

(Deframe PfiO

27

Page 30: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

(Deframe Pcies (Class MAIN-THRUST-CHAMBER) (Unit "Combuster-Total-Pressure") (Nomenclature "Combuster Injector end static Total Pressure") (Input-parameter B114 Pc))

(Class MAIN-THRUST-CHAMBER) (Unit "Main-thrust-Total-Pressure") (Nomenclature "Main thrust chamber Total Pressure") (Input-parameter B72 B109 DWfi DWoi DWcn PcO))

(Deframe P c

(Deframe PcO (Class MAIN-THRUST-CHAMBER) (Unit "Init ial-Condit ion") (Nomenclature "Pc when t=O") (Input-parameter 3330.0) )

0RtG:NAi PAGE 15 OF POOR QUALITY

28

Page 31: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

(Deframe DWfnbp (Class NOZZLE-BYPASS) (Unit "Nozzle-Heat-Weight-Flowrate") (Nomenclature "Nozzle Heat Exchanger bypass weight flowrate") (Input-parameter B98 Pmfvd P9 B99 DWfnbp Accv DWfnbpO))

(Class NOZZLE-BYPASS) (Unit "Coolant-Control-Weight-Flowrate") (Nomenclature "Coolant Control Valve") (Input-parameter DWfnbp))

(Class NOZZLE-BYPASS) (Unit "Init ial-Condit ion" ) (Nomenclature "DWfnbp when t=O") (Input -parameter 8 0.1 9) )

(Deframe DWccv

(Deframe DWfnbpO

29

Page 32: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

(Deframe P9 (Class PREBURNER-SUPPLY-DUCT) (Unit "Supply-Duct-Total-Pressure") (Nomenclature "Preburner Fuel Supply Element Total Pressure") (Input-parameter B96 DW4 DWopf DWfpf DWfnbp P90))

(Class PREBURNER-SUPPLY-DUCT) (Unit "Supply-Duct-Total-Pressure") (Nomenclature "Preburner Oxidizer Supply Total Pressure") (Input-parameter B49 DWop3 DWfpo Dwopo DW PposO))

(Deframe Ppos

(Deframe T9 (Class PREBURNER-SUPPLY-DUCT) (Unit "Supply-Duct-Temperature") (Nomenclature "Preburner Fuel Supply Element Temperature") (Input-parameter BlOO P9 R9))

(Class PREBURNER-SUPPLY-DUCT) (Unit "Supply-Duct-Density") (Nomenclature "Preburner Fuel Supply Element Density") (Input-parameter DWfnbp DW4 R4 B105))

(Deframe R9

(Deframe P90 (Class PREBURNER-SUPPLY-DUCT) (Unit "Initial-Condition") ( Nomen c 1 at u re " P 9 when t = 0 " ) (Input-parameter 6650.0))

(Class PREBURNER-SUPPLY-DUCT) (Unit "Initial-Condition") (Nomenclature "Ppos when t=O") (Input-parameter 8457.0) )

(Deframe PposO

ORlGlNAL PAGE a$ OF POOR QUALITY

30

Page 33: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

(Deframe Ffpl (Class PUMP) (Unit "Flow-Variable") (Nomenclature "Low Pressure Fuel Pump (Input-parameter B11 DWfdl Sfl))

(Class PUMP) (Unit "Flow-Variable")

(Deframe Ffp2

F 1 ow va r i ab1 e " )

(Nomenclature "High Pressure Fuel Pump Flow Variable") (Input-parameter B18 DWfd2 Sf2))

(Class PUMP) (Unit "Flow-Variable") (Nomenclature "Low Pressure Oxidizer Pump Flow variable") (Input-parameter B27 DWmov+DWop3 Sol))

(Class PUMP) (Unit "Flow-Variable") (Nomen c 1 at u re "High P res sure Ox i di z e r Pump F 1 ow v a r i ab 1 e " ) (Input-parameter B39 DWmov+DWotl+DWop3 S02))

(Class PUMP) (Unit "Total-Pressure") (Nomenclature "Low Pressure Fuel Pump Discharge Total pressure") (Input-parameter Pfs B12 Sfl Tpfpl))

(Class PUMP) (Unit "Tot al-P ressure" ) (Nomenclature "High Pressure Fuel Pump Total Pressure") (Input-parameter Pfdl B19 Sf2 Tpfp2))

(Class PUMP) ( Un i t " Tot a 1 -Pressure " ) (Nomenclature "Low Pressure Oxidizer Pump Total Pressure") (Input-parameter Pos B28 SO1 Tpopl))

(Class PUMP) (Unit "Total-Pressure") (Nomenclature "High Pressure Oxidizer Pump Total Pressure") (Input-parameter Podl B40 So2 Tpop2))

(Class PUMP) (Unit "Torque") (Nomenclature "Low Pressure Fuel Pump "Torque"") (Input-parameter B13 Sfl Trfpl) )

(Class PUMP) (Unit "Torque") (Nomenclature "High Pressure Fuel Pump "Torque"") (Input-parameter E20 Sf2 TrfpZ) )

(Deframe Fdpl

(Deframe Fop2

(Deframe Pfdl

(Deframe Pfd2

(Deframe Podl

(Deframe Pod2

(Deframe Rfpl

(Deframe RfpP

(Deframe Ropl (Class P U M P ) (Unit "Torque") (Nomenclature "Low Pressure Oxidizer Pump "Torque"") (Input-parameter E34 Sol Tropl) )

(Deframe Tpfpl . . (Class PUMP) (Unit "Table-Function") (Nomenclature "Low Pressure Fuel Pump Pump Pressure Rise Characteristics") (Input-parameter ) )

(Class PUMP) (Unit "Table-Function") (Nomenclature "High Pressure Fuel Pump Pump Pressure Rise Characteristics") (Input-parameter ) )

(Class PUMP) (Unit "Table-Function") (Nomenclature "Low Pressure Oxidizer Pump") (Input-parameter ) )

(Class PUMP) (Unit "Table-Function") (Nomenclature "High Pressure Oxidizer Pump Pump Pressure Rise Characteristics")

(Deframe Tpfp2

(Deframe Tpopl

(Deframe Tpop2

31

Page 34: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

(Input-parameter ) )

(Class PUMP) (Unit "Table-Function") (Nomenclature "Low Pressure Fuel Pump Pump Torque Characteristics") (Input-parameter ) )

(Class PUMP) (Unit "Table-Function") (Nomenclature "High Pressure Fuel Pump Pump Pump Torque Characteristics") (Input -parameter )

(Class PUMP) (Unit "Table-Function") (Nomenclature "Low Pressure Oxidizer Pump Pump Torque Characteristics") (Input-parameter ) )

(Class PUMP) (Unit "Torque") (Nomenclature "High Pressure Oxidizer Pump \"Torque\"") (Input-parameter B41 S o 2 TropZ))

(Class PUMP) (Unit "Table-Function") (Nomenclature "High Pressure Oxidizer Pump Pump Torque Characteristics") ( Input -parameter ) )

(Deframe Trfpl

(Deframe Trfp2

(Deframe Tropl

(Deframe Torque

(Deframe Trop2

ORIGINAL PAGE BS OF POOR QUALITY

32

Page 35: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

(Deframe TQftl (Class TURBINE) (Unit "Torque") (Nomenclature "Low Pressure Fuel Turbine Torque") (Input-parameter B16 P5 Trftl))

(Class TURBINE) (Unit "Torque") (Nomenclature "High Pressure Fuel Turbine Torque") (Input-parameter B26 Pfp Trft2))

(Class TURBINE) (Unit "Torque") (Nomenclature "Low Pressure Oxidizer Turbine Torque") (Input-parameter B36 DWotl"2 Trotl))

(Class TURBINE) (Unit "Torque" ) (Nomenclature "High Pressure Oxidizer Turbine") (Input-parameter B29 Pop Trot2))

(Class TURBINE) (Unit "Speed-Parameter") (Nomenclature "Low Pressure Fuel Turbine Speed Parameter") (Input-parameter B15 Sfl T5))

(Class TURBINE) (Unit "Speed-Parameter") (Nomenclature "High Pressure Fuel Turbine Speed Parameter") (Input-parameter B25 Sf2 Tfp))

(Class TURBINE) (Unit "Speed-Parameter") (Nomenclature "Low Pressure Oxidizer Turbine Flow Variable") (Input-parameter B38 Sol DWotl))

(Class TURBINE) (Unit "Speed-Parameter") (Nomenclature "High Pressure Oxidizer Turbine Speed Parameter") (Input-parameter B47 So2 Rop*Top))

(Class TURBINE) (Unit "Weight-Flowrate") (Nomenclature "Low Pressure Fuel Turbine Weight Flowrate") (Input-parameter B17 P5-Pfi R5))

(Class TURBINE) (Unit "Weight-Flowrate") (Nomenclature "High Pressure Fuel Turbine Weight Flowrate") (Input-parameter B24 Pfp Tpr))

(Class TURBINE) (Unit "Weight-Flowrate") (Nomen c 1 at 11 re " Low P re s su re Ox i di z e r Turbine Weight F 1 ow r at e " ) (Input-parameter (1/(B37 + Rotl)) Pod2-Pod1 1))

(Class TURBINE) (Unit "Weight-Flowrate") (Nomenclature "High Pressure Oxidizer Turbine Weight Flowrate") (Input-parameter B48 Pop Tpr/Top))

(Class TURBINE) (Unit "Table-Function") (Nomenclature "Low Pressure Fuel Turbine Turbine Torque Characteristics") (Input-parameter ) )

(Class TURBINE) (Unit "Table-Funct ion") (Nomenclature "High Pressure Fuel Turbine Turbine Torque Characteristics") (Input-parameter ) )

(Class TURBINE) (Unit "Table-Function") (Nomenclature "High Pressure Oxidizer Turbine Turbine Torque Characteristics") (Input-parameter ) )

(Class TURBINE)

(Deframe TQft2

(Deframe TQotl

(Deframe TQot2

(Deframe Uftl

(Deframe Uft2

(Deframe Fotl

(Deframe Uot2

(Deframe DWftl

(Deframe DWft2

(Deframe DWotl

(Deframe DWot2

(Deframe Trftl

(Deframe Trft2

(Deframe Trotl

(Deframe Trot2 33

Page 36: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

(Unit "Table-Funct ion") (Nomenclature "Low Pressure Oxidizer Turbine Turbine Torque Characteristics") (Input-parameter ) )

(Class TURBINE) (Unit "Table-Funct ion") (Nomenclature "Pressure Ratio") (Input-parameter ) )

(Deframe Tpr

ORIGINAL PAGE 15 OF POOR QUALITY

34

Page 37: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

(Deframe Sfl (Class TURBOPUMP) (Unit "Rot at ional-Speed") (Nomenclature "Low Pressure Fuel Turbopump Rotational Speed") (Input-parameter B14 TQftl-TQfpl SflO))

(Class TURBOPUMP) (Unit "Rot at ional-Speed") (Nomenclature "Hiah Pressure Fuel TurboDumD Rotational Speed")

(Deframe Sf2

- - (Input-parameter B23 TQft2-TQfpZ Sf20))

(Class TURBOPUMP) (Unit "Rot at ional-Speed" ) (Nomenclature "Low Pressure Oxidizer Turbopump (Input-parameter B35 TQotl-TQopl SolO))

(Class TURBOPUMP) (Unit "Rot at ional-Speed" )

(Deframe Sol

(Deframe So2

Rot at ional Speed")

(Nomenclature "High Pressure Oxidizer Turbopump Rotational Speed") (Input-parameter B42 TQot2-TQopZ-TQop3 S020))

(Class TURBOPUMP) (Unit "Initial -Condit ion" ) (Nomenclature "Sfl when t=O") (Input-parameter 1638.0))

(Class TURBOPUMP) (Unit "Initial-Condition") (Nomenclature "Sf2 when t=O") (Input-parameter 3922.0) )

(Class TURBOPUMP) (Unit "Init ial-Condition") (Nomenclature "Sol when t=O") (Input-parameter 570.9))

(Class TURBOPUMP) (Unit "Initial-Condition") (Nomenclature " S o 2 when t=O") (Input-parameter 3262.0))

(Deframe SflO

(Deframe Sf20

(Deframe SolO

(Deframe So20

35

Page 38: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

(Deframe Amfv (Class VALVE) (Unit "Area") (Nomenclature "Main Fuel Valve Area") (Input-parameter TQmfv Xmfv))

(Class VALVE) (Unit "Area") (Nomenclature "Main Oxidizer Valve Area") (Input-parameter TQmov Xmov))

(Class VALVE) ( Unit "Are a " ) (Nomenclature "Fuel Preburner Oxidizer Valve Area") (Input-parameter TQfpv Xfpv))

(Class VALVE) (Unit "Area") (Nomenclature "Oxidizer Preburner Oxidizer Valve Area") (Input-parameter TQopv Xopv))

(Deframe Amov

(Deframe Afpv

(Deframe Aopv

ORIGINAL PAGE IS OF POOR QUALITY

36

Page 39: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

System Generated Equations

37

Page 40: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

Al: >PSAM>equation>psam-equation.eq.36 10/03/88 15:28:59 Page 1

C o m p o n e n t P r o c e s s o r E l e m e n t P u m p

SO2 = B 4 2 T (TQOT2 - TQOP3 - TQOP2) + S O 2 0

SO1 = B 3 5 T (TQOT1 - TQOP1) + SO10

SF2 = B 2 3 T (TQFT2 - TQFP2) + S F 2 0

SF1 = B 1 4 T (TQFT1 - TQFP1) + SFlO

C o m p o n e n t Processor E l e m e n t T u r b i n e

B 4 8 POP TPR DWOT2 = SQRT(-----------)

TOP

POD2 - POD1 DWOTl = SQRT(-----------)

ROT1 + B 3 7

DWFT2 = S Q R T ( B 2 4 PFP TPR)

DWFTl = S Q R T ( B 1 7 ( P 5 - P F I ) R 5 )

B 4 7 SO2

SQRT (ROP TOP) "OT2 = _ _ _ _ _ _ _ _ _ _ _ _ _

B 3 8 S O 1 F O T l = _ _ _ _ _ _ _ _ _ _ _

SQRT (DWOT1)

B 2 5 SF2

SQRT ( T F P ) "FT2 = _ _ _ _ _ _ _ _ _

B 1 5 SF1

SQRT ( T 5 ) " F T l = _ _ _ _ - _ _ _

TQOT2 = B 2 9 POP TROT2

2 TQOTl = B 3 6 DWOTl TROT1

TQFT2 = B 2 6 PFP TRFT2

T Q F T l = B 1 6 P 5 TRFTl

C o m p o n e n t Processor E l e m e n t T u r b o p u m p

ORIGINAL PAGE IS OF POOR QUALITY

/

S 0 2 ( T ) = B 4 2 ( I ---- d T ) (TROT2 - TROP3 - TROP2) + S 0 0 2 ( T ) 1 G ( T ) /

/ [ 1

1 G ( T ) /

S O l ( T ) = B 3 5 ( I ---- d T ) (TROT1 - TROP1) + S 0 0 1 ( T )

/

S F 2 ( T ) = B 2 3 ( I ---- d T ) (TRFT2 - T R F P 2 ) + S O F 2 ( T ) 1 G ( T ) /

/

S F l ( T ) = B 1 4 ( I ---- d T ) ( T R F T 1 - T R F P 1 ) + S O F l ( T ) 1 G ( T ) /

38

Page 41: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

Al:>PSAM>equation>psam-equation.eq.36

C o m p o n e n t Processor E l e m e n t V a l v e

~

10/03/SS 152859 Page 2

AMFV = TQMFV XMFV

C o m p o n e n t P r o c e s s o r E l e m e n t F low

DWOPOI = DWOPO EOPO

DWFPOI = DWFPO EFPO

I /

2 A

I /

2 A

/ B 5 1 [ 2

R 9 1 /

DWOPF(T) = B ( - --- - POP + P 9 ) I DWOPF ( T ) d T + DWOO(T)

/ B 5 0 [ 2

R 9 I /

DWFPF(T) = B (- --- - P F P + P 9 ) I DWFPF ( T ) d T + DWFO(T)

C o m p o n e n t P r o c e s s o r E l e m e n t C o r n b u s t e r

TOP = TTFOP + B 1 1 3 T 9

TFP = T T P F P + B112 T 9

L POP = B 6 3 I ( - B 1 0 7 DWOT2(T) + DWOPOI(T) + D W O P F ( T ) ) d T + P O P 0

/ I

1 /

P F P = B 5 6 I ( - B l l l DWFT2(T) + DWFPOI(T) + D W F P F ( T ) ) d T + PFPO

C o m p o n e n t Processor E l e m e n t C o o l i n g

/ [

I /

TW24 = TW240 - B 9 3 I DQW24(T) d T

39

Page 42: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

~

Al: >PSAM>equation>psam-equation.eq.36 10/03/88 E2859 Page 3

/ [

1 /

TW14 = TW140 + B92 I (DQTC4 (T) - DQW14(T)) dT

ORIGINAL PAGE E5 OF POOR QUALITY

40

/ [

1 /

TW25 = TW250 - BE3 I DQW25(T) dT

/ [

TW15 = TW150 + BE2 I (DQTC5(T) - DQW15(T)) dT 1 /

0.8 DQTC4 = B91 DWCN (TC - TW14)

0.8 DQTC5 = BE1 DWCN (TC - TW15)

0.8 DQW24 = B90 DWFN (0.002 T4 + 1.0) (TW24 - T4)

0.8 DQW14 = BE9 DWFN (0.002 T4 + 1.0) (TW14 - T4)

0.8 DQW25 = BE0 DWMC (0.002 T5 + 1.0) (TW25 - T5)

0 .8 DQW15 = B79 DWMC (0.002 T5 + 1.0) (TW15 - T5)

/

R4 = BE7 I (DWFN(T) - DW4(T)) dT + R40 1 /

/ [

I /

R5 = B77 I (DWMC(T) - DW5(T)) dT + R50

/ 2 [ B95 3W4 (T)

I R4 /

DW4(T) = B94 I ( - ----------- - P9 + P4) dT + DW40

/ 2 [ B76 DWMC (T)

1 R5 /

DWMC(T) = B75 I ( - ------------ + PMFVD - P5) dT + DWMCO

H4 = B102 T4

H5 = BlOl T5

/ [

I p4 = B84 I ( - H3 DWFN(T) + H4 DW4 (T) + DQW24 (T) + DQW14(T)) dT + P 4 0

Page 43: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

Al: >PSAM>equation>psam-equation.eq.36 10/03/88 192859 Page 4

Component P r o c e s s o r E l e m e n t f l o w m e t e r

QOFM = [ ( 0 . 0 2 0 9 9 O S S - 1 6 4 . 0 ) ) ]

TOD2 = TOS + 0.00547 SO2

TFPl = TFS + 0.0015789 SF1

2 (DWOTPR + DWOP3 + DWMOV) RFOD2

POFM = POD2 - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ROD2

2 SO2 + 6.19891 (DWOTPR + DWOP3 + DWMOV) + 1 7 . 5

QF = [ ( 0 . 2 0 2 0 6 SF1 + 1 0 1 . 3 2 3 DWFD2 - 204.852) ( 1 . 0 - I

Component P r o c e s s o r E l e m e n t P r e b u r n e r S u p p l y Duct

DWFNBP + DW4 R9 = [-----------------I

DW4

R4 + B105 DWFNBP ---

3 9 ) ( 1 . 0 - 0.002789 ( T

0 .008783 (TFS - 3 7 . 0 ) )

L

PPOS = B49 I ( - DWOPO(T) + DWOP3(T) - DWFPO(T) + D W ( T ) ) d T + PPOSO 1 /

/ I

1 /

P 9 = B96 I ( - DWOPF(T) - DWFPF(T) + 2 DWFNBP(T)) d T + P90

Component P r o c e s s o r E l e m e n t H i g h P r e s s u r e O x i d i z e r Pump P r e b u r n e r B o o s t - s t a g e

/ [ 2

I /

DWOP3(T) = B1 I ( - B2 DWOP3 ( T ) + P 3 - P ) dT + DWO

2 POD3 = B F S TT + P2

2 TOP3 = B44 F S TT

B DW ~ 0 p 3 = ----

S

Component P r o c e s s o r E l e m e n t Main Chamber I n j e c t o r , F u e l , H o t G a s a n d O x i d i z e r

EO1 = TEOI WOI 41

Page 44: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

~ ~

Al: >PSAM>equation>psam-equation.eq.36

ORIGINAL PAGE IS OF POOR QUALITY

~~

10/03/88 15:28:59 Page 5

/ [

1 /

WOI = WOI + I (DWMOV ( T ) - DWOI ( T ) ) d T

DWOI = DWMOV EO1

T F I = B67 TOP + B66 TFP + B68 T 5

/ [

1 /

P F I = 8 6 4 I (DWOT2 (T) + DWFT2 ( T ) + DWFTl (T) - B 1 0 8 D W F I ( T ) ) dT + P F I O

C o m p o n e n t P r o c e s s o r E l e m e n t Main T h r u s t C h a m b e r

/ [

P C = B 7 2 I (DWOI ( T ) + B 1 0 9 D W F I ( T ) - DWCN(T) ) dT + PCO

P C = B 1 1 4 PC

C o m p o n e n t P r o c e s s o r E l e m e n t N o z z l e Bypass E l e m e n t

DWCCV = DWFNBP

/ [ B 9 9 DWFNBP(T)

DWFNBP = B 9 8 I ( - ------------- + PMFVD - P 9 ) d T + DWFNBPO 1 2 / ACCV

42

Page 45: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

.

System Generated FORTRAN Code

43

Page 46: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

Al: >PSAM>FORTRAN>psam-Code.for.21

I Component Processor Element Pump

~ TORQUE = B41*S02**2*TROP2 ROPl = B34*S01**2*TROPl RFP2 = B20*SF2**2*TRFP2 RFPl = B13*SF1**2*TRFPl POD2 = B40*S02**2*TPOP2+PODl POD1 = B28*S01**2*TPOPl+POS PFD2 = Blg*SF2**2*TPFP2+PFDl PFDl = B12*SF1**2*TPFPl+PFS FOP2 = B39*(DWOT1+DWOP3+DWMOV)/SO2 FDPl = B27* (DWOP3+DWMOV) /SO1 FFP2 = B18*DWFD2/SF2 FFPl = Bll*DWFDl/SFl

Component Processor Elenent Turbine

10/03/88 15:36:34 Page 1

ORIGINAL PAGE IS OF POOR QUALITY

DWOT2 = SQRT(B48*POP*TPR/TOP) DWOTl = SQRT ( (POD2-POD1) / (ROTltB37) ) DWFT2 = SQRT (B24"PFP"TPR) DWFTl = SQRT (BIT* (P5-PFI) *R5) UOT2 = B47*SO2/SQRT(ROP*TOP) FOTl = B38*SOl/SQRT (DWOTl) UFT2 = B25*SF2/SQRT (TFP) UFTl = B15*SFl/SQRT (T5) TQOT2 = B29*POP*TROT2 TQOTl = B36*DWOT1**2*TROTl TQFT2 = B26*PFP*TRFT2 TQFTl = B16*P5*TRFTl

Component Processor Element Turbopump

SO2 = B42"T*(TQOT2-TQOP3-TQOP2)+SO20 SO1 = B35*T* (TQOT1-TQOP1) +SO10 SF2 = B23*T* (TQFT2-TQFP2) tSF20 SF1 = B14*T* (TQFT1-TQFP1) tSF10

Component Processor Element Valve

AOPV = TQOPV*XOPV AFPV = TQFPV*XFPV AMOV = TQMOV*XMOV AMFV = TQMFV*XMFV

Component Processor Element Flow

DWOPOI = DWOPO*EOPO DWFPOI = DWFPO*EFPO DWOPO (T) = B59*' INTEGRATE (-B60*DWOPOI (T) **2-AB**2*B61*DWOPO (T) **2/ 1 A**2+PPOS-POP, T) +DWOPOO (T) DWFPO (T) = B52*' INTEGRATE (-B54*DWFPOI (T) **2-AB**2*B53*DWFPO (T) **2/ 1 A**2+PPOS-PFP, T) +DWFPOO (T) DWOPF (T) DWFPF (T)

= B* (-B57/Rg-POPtP9) "'INTEGRATE (DWOPF (T) **2, T) +DWOO (T) = B* (-B50/R9-PFP+P9) *'INTEGRATE (DWFPF (T) ""2, T) +DWFO (T)

Component Processor Element Combuster

TOP = TTFOP+B113*T9 TFP = TTPFP+B112*T9 FOP = DWOPOI/ (DWOPOItDWl) FFP = DWFPOI/ (DWFPOI+DWl) POP = B63*' INTEGRATE (-B107*DWOT2 (T) +DWOPOI (T) +DWOPF (T) , T) +POP0 PFP = B56*' INTEGRATE (-B111*DWFT2 (T) +DWFPOI (T) +DWFPF (T) , T) +PFPO

Component Processor Element Cooling

I 44 TW24 = TW24O-B93*' INTEGRATE (DQW24 (T) , T)

Page 47: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

~~ ~ ~~ ~~~ ~~ ~~~~ ~ ~ ~~ ~

Al: >PSAM>FORTRAN>psam-Code.for.21 10/03/88 15:36:34 Page 2

TW14 = TW140+B92*' INTEGRATE (DQTC4 (T) -DQW14 (T) T) TW25 = TW250-B83*'INTEGRATE (DQW25 (TI, T) TW15 = TW150+B82*' INTEGRATE (DQTC5 (T) -DQW15 (T) DQTC4 = Bgl*DWCN**0.8*(TC-TW14) DQTC5 = B81*DWCN**0.8*(TC-TWl5) DQW24 = B90*DWFN**0.8*(0.002*T4+l.O)*(TW24-T4 DQW14 - B89*DWFN**0.8*(0.002*T4+l.O)*(TWl4-T4 DQW25 = B80*DWMC**0.8*(0.002*T5+l.O)*(TW25-T5 DQW15 = B79*DWMC**0.8*(0.002*T5+l.O)*(TW15-T5 T4 = B88*P4/R4 T5 = B78*P5/R5 R4 R5

= B87*' INTEGRATE (DWFN (T) -DW4 (T) , T) +R40 = B77*' INTEGRATE (DWMC (T) -DW5 (T) , T) +R50

T) ORlGlNAE PAGE IS OF POOR QUALITY

DW4 (T) DWMC (T) H4 = B102*T4 H5 * B101*T5 P4 = B84*' INTEGRATE (-H3*DWFN (T) +H4*DW4 (T) +DQW24 (T) +DQW14 (T) , T) +P40 P5 p ' INTEGRATE (H3*DWMC (T) -H5*DW5 (T) +DQW25 (T) +DQWl5 (T) , T) +P50

= B94"' INTEGRATE (-B95*DW4 (T) **2/R4-P9+P4, T) +DW40 B75*' INTEGRATE (-B76*DWMC (T) **2/R5+PMFVD-P5, T) +DWMCO

Component Processor Element flowmeter

TOD2 = TOS+O.O0547*S02 TFPl = TFS+O.O015789*SFl POFM = POD2-(DWOTPR+DWOP3+DWMOV)**2*RE'OD2/ROD2 PFFM - PFDl-DWFD2**2*RFFCD/RFDl QOFM = [(0.0209912*S02+6.19891*(DWOTPR+DWOTPR+DWOP3+DWMOV)+l7.5339)*(l.O-

QF = [(0.20206*SF1+101.323*DWFD2-204.852)*(1.0-0.008783*(TFS-37.0) 1

1 1 1

0.002789* (TOSS-164 .O) ) ]

Component Processor Element Preburner Supply Duct

R9 = [ (DWFNBPtDW4) / (DW4/R4+B105*DWFNBP) ] T9 = B100*P9/R9 PPOS = B49*' INTEGRATE (-DWOPO (T) tDWOP3 (T) -DWFPO (T) +DW (T) , T) +PPOSO P9 = B96*' INTEGRATE (-DWOPF (T) -DWFPF (T) +2*DWFNBP (T) , T) +P90

Component Processor Element High Pressure Oxidizer Pump Preburner Boost-stage

DWOP3 (T) = B1*' INTEGRATE (-B2*DWOP3 (T) **2+P3-P, T) +DWO POD3 = B*F*S**2*TT+P2 TOP3 = B44*F*S**2*TT FOP3 = B*DW/S

Component Processor Element Main Chamber Injector, Fuel, Hot Gas and Oxidizer

EO1 = TEOI*WOI WOI = WOI+' INTEGRATE (DWMOV (T) -DWOI (T) , T) DWOI = DWMOV*EOI TFI = B67*TOP+B66*TFP+B68*T5 DWFI = B64*PC*PFI*TPR/(PPI*TFI**O.5) PFI = B64*' INTEGRATE (DWOT2 (T) +DWFT2 (T) +DWFT1 (T) -B108*DWFI (T) , T) +PF 1 IO

Component Processor Element Main Thrust Chamber

PC = B72*' INTEGRATE (DWOI (T) +B109*DWFI (T) -DWCN (T) , T) +PCO PC = B114"PC

Component Processor Element Nozzle Bypass Element

DWCCV = DWFNBP DWFNBP = B98"' INTEGRATE (-B99*DWFNBP (T) /ACCV**2+PMFVD-P9, T) +DWFNBPO

45

Page 48: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

System Generated Documentation

46

Page 49: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

Al: >PSAM>doopsam-doc.doc.38 10/03/88 14:08:46 Page 1

,

1

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Documentation for Component Processure PUMP

1. Low Pressure Fuel Pump 2. High Pressure Fuel Pump 3 . Low Pressure Oxidizer Pump 4 . High Pressure Oxidizer Pump Generic Equations F = B i * [ D W / S ] : Flow variable , inA3 P = PS + Bj * ( S ) " 2 * Tp(F) : Total pressure , Psia R = Bk * ( S ) " 2 * Tr(F) : Torque , in-lb

EOPOO : Eopo when t=O

EFPOO : EFpo when t=O

DWOPOO : DWopo when t=O

DWFPOO : DWfpo when t-0

DWOPFO : DWopf when t=O

DWFPFO : DWfpf when t-0

TROP2 : High Pressure Oxidizer Pump Pump Torque Characteristics

TORQUE : High Pressure Oxidizer Pump "Torque"

TROPl : Low Pressure Oxidizer Pump Pump Torque Characteristics

TRFP2 : High Pressure Fuel Pump Pump Pump Torque Characteristics

TRFPl : Low Pressure Fuel Pump Pump Torque Characteristics

TPOPZ : High Pressure Oxidizer Pump Pump Pressure Rise Characteristics

TPOPl : Low Pressure Oxidizer Pump

TPFP2 : High Pressure Fuel Pump Pump Pressure Rise Characteristics

TPFPl : Low Pressure Fuel Pump Pump Pressure Rise Characteristics

ROPl :

RFP2 :

RFPl :

POD2 :

POD1 :

PFD2 :

PFDl :

FOP2 :

FDPl :

FFP2 :

Low Pressure Oxidizer Pump

High Pressure Fuel Pump

Low Pressure Fuel Pump

High Pressure Oxidizer Pump Total Pressure

Low Pressure Oxidizer Pump Total Pressure

High Pressure Fuel Pump Total Pressure

Low Pressure Fuel Pump Discharge Total pressure

High Pressure Oxidizer Pump Flow variable

Low Pressure Oxidizer Pump Flow variable

High Pressure Fuel Pump Flow Variable 47

Page 50: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

Al: >PSAM>doopsam-doc.doc.38

FFPl : Low Pressure Fuel Pump Flow variable

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Documentation for TURBINE section

~

10/03/88 14:08:46 Page 2

1. Low Pressure Fuel Turbine 2. High Pressure Fuel Turbine 3 . Low Pressure Oxidizer Turbine 4. High Pressure Oxidizer Turbine Generic Equations R = Bi * P * Tr : Torque , in-lb f TS = Bj * S / (T"(l/Z)) : Speed Parameter R = Bk * ( S ) " 2 * Tr(F) : Weight Flowrate , lb m/sec

TPR : Pressure Ratio

TROT2 : Low Pressure Oxidizer Turbine Turbine Torque Characteristics

TROT1 : High Pressure Oxidizer Turbine Turbine Torque Characteristics

TRFT2 : High Pressure Fuel Turbine Turbine Torque Characteristics

TRFTl : Low Pressure Fuel Turbine Turbine Torque Characteristics

DWOT2 : High Pressure Oxidizer Turbine Weight Flowrate

DWOTl : Low Pressure Oxidizer Turbine Weight Flowrate

DWFT2 : High Pressure Fuel Turbine Weight Flowrate

DWFTl : Low Pressure Fuel Turbine Weight Flowrate

UOT2 : High Pressure Oxidizer Turbine Speed Parameter

FOTl : Low Pressure Oxidizer Turbine Flow Variable

UFT2 : High Pressure Fuel Turbine Speed Parameter

UFTl : Low Pressure Fuel Turbine Speed Parameter

TQOT2 : High Pressure Oxidizer Turbine

TQOTl : Low Pressure Oxidizer Turbine Torque

TQFT2 : High Pressure Fuel Turbine Torque

.

. TQFTl : Low Pressure Fuel Turbine Torque

I . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Documentationfor TURBOPUMP section

1. Low Pressure Fuel Turbopump 2. High Pressure Fuel Turbopump 3 . Low Pressure Oxidizer Turbopump 4. High Pressure Oxidizer Turbopump Generic Equations S = (l/G) * 'Integrate (Tq*temp(t),t) +SO : Speed

ORIGINAL PAGE IS OF POOR QUALITY

48

Page 51: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

Al:>PSAM>doopsam-doc.doc.38 10/03/88 14:08:46 Page 3

SO20 : So2 when t-0

SO10 : Sol when t-0

SF20 : Sf2 when t-0

SFlO : Sfl when t=O

SO2 : High Pressure Oxidizer Turbopump Rotational Speed

c SO1 : Low Pressure Oxidizer Turbopump Rotational Speed

SF2 : High Pressure Fuel Turbopump Rotational Speed

SF1 : Low Pressure Fuel Turbopump Rotational Speed .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Create Knowledge Base for VALVE section

1. Main Fuel Valve 2. Main Oxidizer Valve 3 . Fuel Preburner Oxidizer Valve 4. Oxidizer Preburner Oxidizer Valve Generic Equations A = Ab * (T * Th I Thb))

Input-parameter : Ab T Th Thb Ab: Average of area, T * Th I Thb =Valve Effective Area

Pit = Pi - RF *DW"2 1 RHO Input-parameter : Pi RF DW RHO Pit: Inlet Total Pressure, Pi: Inlet Pressure RF: Resistance to Flow, DW: Weight Flowrate, Rho: Density

Input-parameter : Pit DW Ai RHO

Input-parameter : B Rhob Rho DW A Ab RF

Pis = Pit - DW"2 1 [ (772.8)" (Ai"2) * RHO]

dP = B * (RHOb I RHO) (DW 1 (AIAb)"2 - RF * DW I RHO

AOPV : Oxidizer Preburner Oxidizer Valve Area

AFPV : Fuel Preburner Oxidizer Valve Area

AMOV : Main Oxidizer Valve Area

AMFV : Main Fuel Valve Area

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Create Knowledge Base for FLOW section

1. Fuel Preburner Fuel Flow 2. Fuel Prebumer Oxidizer Flow 3 . Oxidizer Preburner Fuel Flow 4. Oxidizer Preburner Oxidizer Flow Generic Equations DWf = Bi INT{P{9)-P-[Bj/R(9)] (DWf)"2)dt +[DWf]t=O ;Fuel Flow DWo = Bk INT{Ppos - P - Be[DWo/(A/A')]"2 - Bm(DWi)"2]dt + [DWoIt-0 ;Oxidizer Flow Eo = Bn INT {DWo - DWi)}dt +[Eo]t=O ; Variable in injector Priming function DWi = DWO [EO]

DWOPOI : Oxidizer Preburner Oxidizer Injector Weight Flowrate 49

Page 52: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

Al:>PSAM>doopsam-doc.doc.38 10/03/88 14:08:46 Page 4

DWFPOI : F u e l P r e b u r n e r O x i d i z e r I n j e c t o r Weight F l o w r a t e

EOPO : O x i d i z e r P r e b u r n e r O x i d i z e r Var iab le i n i n j e c t o r P r i m i n g

EFPO : F u e l P r e b u r n e r O x i d i z e r Variable i n i n j h e c t o r P r i m i n g

DWOPO : O x i d i z e r P r e b u r n e r O x i d i z e r Weight F l o w r a t e

DWFPO : F u e l P r e b u r n e r O x i d i z e r Weight F l o w r a t e

DWOPF : O x i d i z e r P r e b u r n e r F u e l Flow

DWFPF : F u e l P r e b u r n e r F u e l Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Create Knowledge B a s e f o r COMBUSTER s e c t i o n

1. F u e l P r e b u r n e r COMBUSTER 2 . O x i d i z e r P r e b u r n e r COMBUSTER G e n e r i c E q u a t i o n s P = B i * I n t e g r a t e {[DWl + DW2 - Bj * DW31,t) + PO ; T o t a l P r e s s u r e , P s i a F = DW2/(DW1+ DW2) ; F r a c t i o n T = T q t (F) + Bk * T9 ; T e m p e r a t u r e

TTFOP : O x i d i z e r P r e b u r n e r H o t G a s Tempera ture F u n c t i o n

TTFFP : F u e l P r e b u r n e r H o t G a s s T e m p e r a t u r e F u n c t i o n

POP0 : Pop when t=O

PFPO : P f p when t -0

TOP : O x i d i z e r P r e b u r n e r Combuster Temperature

TFP : F u e l P r e b u r n e r Combuster T e m p e r a t u r e

FOP : O x i d i z e r P r e b u r n e r F l o w r a t e F r a c t i o n

FFP : F u e l P r e b u r n e r F l o w r a t e F r a c t i o n

POP : O x i d i z e r P r e b u r n e r T o t a l P r e s s u r e

PFP : F u e l P r e b u r n e r T o t a l P r e s s u r e

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Create Knowledge B a s e f o r COOLING s e c t i o n

1. Main Chamber Regenerative C o o l i n g Element 2 . N o z z l e Regenerative C o o l i n g Element Gene r i c E q u a t i o n s P = B * i n t e g r a t e { [ D Q w l + DQw2 + H3 * D W i - H * DW],t) + PO ; T o t a l P r e s s u r e H = b * T ; S p e c i f i c E n t h a l p y DW =Bi * i n t e g r a t e { [ P - P5 - ( B j / R 5 ) * DW"21,t) +DWO ; Weight F l o w r a t e R = B * i n t e g r a t e { [ D W i - DW],t) + RO ; D e n s i t y T 5 - B * (P / R) ; Temperature D Q w l = b *[1.0 + 0.002 * T5] *[Tw15 - T5]* DWmc"0.8 ; H e a t t r a n s f e r ra te DQw2 = B * [1.0 + 0 .002 * T5]*[Tw25 - T5]*DWmcA8 ; H e a t T r a n s f e r R a t e

50

Page 53: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

Al:>PSAM>doc>psam-doc.doc.38 10/03/88 14:08:46 Page 5

DQtc = B * [Tc - Tw15] *[DWcn]"0.8 Twl = B * integrate ([DQtc - DQwl],t) + TwlO ; Hot Gas Wall Temperature Tw2 - B * integrate {[-DQw2],t) + Tw20 ; Ambient thrust chamber Temperature

TW240 : Tw24 when t-0

TW140 : Tw14 when t-0

TW250 : Tw25 when t-0

TW150 : TW15 when t=O

R40 : R4 when t=O

'. R50 : R5 when t-0

DW40 : DW4 when t-0

DWMCO : DWmc when t-0

P40 : P4 when t-0

P50 : P5 when t-0

TW24 : Ambient Thrust Temperature

TW14 : Hot Gas temperature

TW25 : Ambient thrust chamber Temperature

TW15 : Hot Gas Temperature

DQTC4 : Nozzle Regenerative Heat Transfer Rate TC

DQTC5 : Main Chamber Cooling Element Heat Transfer Rate TC

DQW24 : Nozzle Regenrative Ambient Thrust Heat Transfer Rate

DQWl4 : Nozzle Regenerative Hot Gas Heat Transfer Rate

DQW25 : Main Chamber Ambient Thrust Chamber Heat Transfer Rate

DQW15 : Main Chamber Hot Gas Heat Transfer Rate

T4 : Nozzle Regenerative Cooling Temperature

T5 : Main Chamber Heat Exchanger Temperature

R4 : Nozzle Regenerative Element Density

R5 : Main Chamber Element Density

DW4 : Nozzle Regenerative Cooling Weight Flowrate

4

DW5 : Main Chamber Heat Weight Flowrate

H4 : Nozzle Regenerative Cooling Element Specific Enthalpy

H5 : Main Chamber Heat Exchanger Specific Enthalpy

P4 : Nozzle Regenerative Exchanger Element Total Pressure

P5 : Main Chamber Heat Exchanger Total Pressure 51

Page 54: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

10/03/88 14:08:46 Page 6

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Create Knowledge Base for FLOWMETER section

1. Fuel Flowmeter 2. Oxidizer Flowmeter Generic Equations Q = P -(RF * DWA2)/Rb : Volumetric Flowrate ,GPM P = Pf - (RF * DWA2)/R : Total Pressure ,Psia T = Ti +B * S ; Temperature

TOD2 : Low pressure Oxidizer pump Flowmeter Temperature

TFPl : Low Pressure Fuel Pump Flowmeter Temperature

PFFM : Fuel Flowmeter Total Pressure

QF : Fuel Volumetric Flowrate

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Create Knowledge Base for PREBURNER-SUPPLY-DUCT

1. Preburner Fuel Supply Duct 2. Preburner Oxidizer Supply Duct Generic Equations P = B * integrate{[DW],t) + PO ; Total Pressure T = B * [P/R] : Temperature R = [DWl + DW2]/[ (DW2/R) + B * DW3] : Density

PPOSO : Ppos when t=O

P90 : P9 when t=O

R9 : Preburner Fuel Supply Element Density

T9 : Preburner Fuel Supply Element Temperature

PPOS : Preburner Oxidizer Supply Total Pressure

P9 : Preburner Fuel Supply Element Total Pressure

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Create Knowledge Base for BOOST-STAGE section

section

, Psia

1. High Pressure Oxidizer boostpump Flow variable 2. High Pressure Oxidizer boostpump rotational Torque 3. High Pressure Oxidizer Boostpump pressure 4 . High Pressure Oxidizer Boostpump weight flowrate Generic Equations F = B * (DW / S)) ; Flow variable , in"3 T = B * (S"2) * TT * (F)) : Torque , in-lb P3 = B * (S"2) * TT * F + P2) : Pressure I

DW3 = B1 * integrate [ (P3 - P - B2"2), t] + DWO); Weight Flowrate, lbm/sec DWOP30 : DWop3 when t=O

TPOP3 : high Pressure Oxidizer boostpump Pressure Rise Character

52

Page 55: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

Al: >PSAM>doopsarn-doc.doc.38 10/03/88 14:08:46 Page 7

TROP3 : High Pressure Oxidizer Boostpump Torque

DWOP3 : High Pressure Oxidizer Boostpump Weight Flowrate

POD3 : High Pressure Oxidizer Boostpump Pressure

TOP3 : High Pressure Oxidizer Boostpump Torque

FOP3 : High Pressure Oxidizer boostpump Flow variable

b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . %

Create Knowledge Base for BOOST-STAGE section

1. High Pressure Oxidizer boostpump Flow variable 2. High Pressure Oxidizer boostpump rotational Torque 3. High Pressure Oxidizer Boostpump pressure 4 . High Pressure Oxidizer Boostpump weight flowrate Generic Equations F = B * (DW / S)) ; Flow variable , inA3 T = B * (S"2) * TT * (F)) ; Torque , in-lb P3 = B * (S"2) * TT * F + P2) ; Pressure , DW3 = B1 * integrate [ (P3 - P - B2"2), t] t DWO); Weight Flowrate, lbm/sec

PFIO : Pfi when t-0

EO1 : Main Chamber injector, Oxidizer variable in injector priming function

WOI : Main Chamber Injector, Oxidizer Weight

DWOI : Main Chamber injector, Oxidizer Weight Flowrate

TFI : Main Chamber Temperature

DWFI : Main Chamber injector weight flowrate

PFI : Main Chamber Injector, fuel and Hot Gas Total Pressure

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Create Knowledge Base for MAIN-THRUST-CHAMBER section

1. Combuster Injector end static Total Pressure 2. Main thrust Chamber Total Pressure Generic Equations P = b * P ; Combuster Injection Total pressure , Psia P = B1 * 'integrate [(B2 * DW1 + DW2 - DW3),t] t PO); Main Thrust Chamber Total Pr

9 essure, Psia PCO : Pc when t=O

PC : Main thrust chamber Total Pressure

PCIES : Combuster Injector end static Total Pressure

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Create Knowledge Base for NOZZLE-BYPASS section 53

Page 56: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

10/03/88 14:08:46 Page 8

1. Nozzle Heat exchanger bypass Weight Flowrate 2. Coolant Control valve Generic Equations DW = B1 * 'integrate([P - P9 - B2 * ( DWl/(A/Ab)"2],t) + DWO : Nozzle Heate weight

DW = DW1 : Coolant Control Valve , lbm/sec flowrate , lbm/sec

DWFNBPO : DWfnbp when t=O

DWCCV : Coolant Control Valve

DWFNBP : Nozzle Heat Exchanger bypass weight flowrate

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. e

54

Page 57: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

Example for the Robot Manipulators

Example steps to solve the end position.

1 . Define rules.

SSi = sin Bi

I sin2 ei = 1 - cos2 ei

i is from I to 6

cci = cos ei i is from 1 to 6

2. Define matrices A I , A2, A3, A4, A5, A6, T6 .

3. T6 = Ai A2 A3 A4 A5 A6

T6 is the end position and Ai is the matrix for each joint.

T6 is the product of A I ... A6

4. AI" T6 = A2 A3 A4 A5 A6

5. Compare the above equations and solve

T6

55

Page 58: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

n X OX a, Px

~ End position T6 = 1 f .)

6. The end position is a product of the A matrices

7. Matrix inverse, matrix multiplication

8 . Evaluating equations to obtain the end position

56

Page 59: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

rl

JJ 3

N o o n r l

n -,...-----

m o o n r l

n

o o r l o

o r l o o

r l o o o U U Y Y Y Y Y

rl v ) r l r n v o o

V N

N U r n v o o v) .. rl

-0 0 0 - I

.. rl -0 0 0

rl

.. 0 0 - rim m .v v) o v m o u u u

0 u

- r l o 0 rl 0

rl 0

o v I n 0 0 0

r N N

. v v)

Y Y U Y Y Y Y Y

09. 9. .v v) 0 0 o v (A

o ~ r l rl 0 0 :

O U Y Y Y Y U Y Y - 0

O Y Y Y Y U U U u - 0

0

rl I

0 u - 0

9. V V

- N n n 0

rl

0 Y

- rl

0

0

0 u

d a: ?-. 0

0 0

rl rl

0 Y

0 u m

n n - 0

- 0

- 0

N V t.’ 0

rl m V V

0

m v) v) Y

rl V

0 u. 0

0 b

9 n

I W

e: 0 tu

3

i

v) I

W E n

n

0 - 0

0

9. (0 v)

rl v) v) Y Y -

0 0 u?

N < W U

I rl

N < W n m I

8 -4 n rl rl m u - rl rl V -

rl

0 u

- 0 u?

N < rl

U

rl

- u) u?

N < 9.

U I

rl

I w v) v) I

N < m U

rl

m v) v)

0

- 0

0 0 0 0

N V V Y

0 9. V V Y

m V V u

N < rl n n -

N rl V V Y -

N rl Y - m n

n - E

9 E F 2

rl

P 2 -4 m rl m

4 9. 4 rl

W JJ

rl W JJ - W u

rl a: N rl u

- N rl

E! W rl V -

m m rl rl - V E!

9. rl V -

A - - W u m u F- u

57

Page 60: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

- N v) rn m n n

N m VI

m U V + m v) v)

p. U U

N U U

W v) v)

m v) v)

N v) v)

+ - p. v) v)

W U U

I

W v) v)

m U V

U U I

w

- N V U

m v) v)

N v) v)

W U U

I - W rn v)

p. v) rn I

W W

5 8 4;: 5 , 5 2 5 :

m

v u

m v

N

W U

m n n N V U

I 4

m U U

N U U

I

m v) In N v) vl

v U U

W v) v)

m ffl v)

. . .. 2

X PI

rl U U

+ rl v) v)

* c4

rl U U

2 + rl rn v)

* a: x 0 rl V V + rl rn rn * 0

X z U V + rl v) rn * z

rl

N c4 I

N a: I

N 0

I

N z I

rl v) v)

X c4 I

* c4 rl U U

rl v) VI

2 I

rl U U

* a: rl v) 01

X 0 I

* 0

V U

rl rn rn x z I

* z rl U V

rl

N U U

I - p. v) v)

W U V I

W v) In m U U

U U

I

p.

- N v) In

rl

I 0 0 0

rl rl m o u o m U

rl rl m u o r n o U

I

Y V Y Y Y V V

rl

I 0 0 0

rl rl r n o u o m U

rl rl v) u o r n o U

I V V V Y Y Y U

0 0 W m w m u o o -

V - X * N rl 0 ..I d o 0 0 0 - - 0-

d W W . X N 0 0 . v m o o o z z z o

0 u - 0

rl

0

0 Y - 0

0

- N

'4 a: N 0 m

v) v)

W U U

V U

+

N

W v) v)

U In v)

I

W U U

m U U

i

N z v

'z)

4

W V V

a W rn v) u

d G z u -

0

0

W rn rn I

4 x

x z 9 Y

.. - H rl s W-

V V Y

.. W E+

H rl

5 W E+ H rl a: rl N V -

p. V u N v) v)

H rl

5 A

N N N N u P

- 0 0 N N - U E!

.. ~;

W rl

E! cn rl

P

58

Page 61: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

N rn v)

N cu I

X I%

rl V V

+ rl v) v)

*

I

B N V V

N v) v)

2 I -

rl V U

2 + rl v) v)

* s N V V

N v) v)

N 0 I

!3 4 V V + rl v) v)

r 0 N V V

N v) v)

N z I

X z rl V .. v

W J J +

rlrl r l v ) a v )

a - :E *. N w v d V N

N 14 N V U

+ N v) v)

X a rl V V

+ rl v) v)

E - N V V

2 + N v) v)

A

rl V V

X a: + rl v) v)

2

s - N V V

+ N v) v)

X 0 rl V V + rl rn v)

- N z N V V + N v) v)

X z rl U u + d VI VI

* z

N n r ( n

m v) v)

0 =3 m v)

m 0 0 n 4

n

N n n -

N N V V

I

!2 I

N n n

N N V V

I

rl

0

0

W v) v)

vl v)

m V V

I

W V U

V V

w

9.

o v) v)

W V V I

W v) v)

v) V V

W v) v)

o v) v)

v) V V I

W V V

N n

o n o r ( 0

0

W v) v)

v) v) rn

I

o r l o o 0

N N V V l o v o v)

I 0 4 0 0 o r l o

r l o o o d o 0 N N

8 " " " rn Y Y U U U U Y

o w v ) v m u m

v) l m v )

V w v w o V 0 v + v

Y U Y Y U Y Y Y

v ) W I u v ) v v ) o * v u u v 9.

v) v) Y Y Y Y U U U

v) V v o + W v) v)

.. d N a - ..

W

In ?

o

m Q W N JJ

W N

2

.. o - N

V V -

.. JJ

m > d

d N

Y Y Y 4

JJ a

d m a

-4 m m

N

n - Y) v) N N - U e

o N U - W

N e I- N

0 I- N e

m N U -

OD N n -

59

Page 62: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

------- N v) v)

N PI

I

X PI rl U U

+ rl v) rn

sr e N U U

N m v)

2 I -

rl U U X a: + rl v) VI

sr 5 N U U

N v) v)

N 0

I - :: d U U

+ d v) v)

sr 0 - N U U

N v) v)

N z I

X z d U U

+ rl v) v)

E N U U

N P

I

sr PI

d U U

+ d v) v)

X PI

I

n

rl VI v)

2 I

rl U U >r a:

rl v) v)

X 0

I

sr 0

d U U

d v) v)

x z I

r z rl U U

m 0 a I

N PI

N U U

+ N v) v)

X PI

rl U U

+ rl VI v)

sr E!

N u U N a: + N v) VI

rl U U

X a:

-

+ rl v) v)

2

2 -

N U U + N v) v)

X 0 rl U U

+ ri v) v)

sr 0 - N z N U U

+ N VI v)

X z d U U

+ rl v) v)

>r z

-

-

ORIGINAL PAGE IS OF POOR QUALITY

I s

rl

9. v) ffl

W U U I

W v) v)

m U U

U U

I

9.

W v) v)

9. v) v)

m U U I

W U U

q U U

0

W v) v)

m In v)

O O O d - N VI In N z I

X z rl U U

+ d VI v)

sr z N U U - q U U

q v) ffl - N v) v)

N z I

X z d U U

+ rl v) VI

sr z N U

- u

0 rl

I 0 0 0

9. 9. moue VI U

rl

I 0 0 0

9. w moue v) U

d - 9. m m N v) v)

N N ffl VI

0

- 0

0

0

Y Y

q -3 v) u o m o U

I

-r 9. v) u o m o U

I Y Y Y Y Y Y Y

N z N U U

I

N v) v)

X z d U U +

-

N - 0 X 0 I

Y Y Y Y Y Y V

d N - u o x

0 N

U

+ U d u u d U v ) I v) +

N s r W d

VI g m m

U

U U u + u 0 w u w o

0

.. - w r l X uv) I z .In

-4 I r l x m z sr z

. I

W u

d Gsr U

:u U

rdz U

. r l -4 u -3

U m . Y Y Y Y Y Y Y

-4 d rd 0

I X 0 r

0 I

d sr V U 0 -

-4 N m n

o w rd

m

9. m

u

s -4

-4 9. II

m rl m

q d U U U

U - W rl .4 -r U m

Y Y Y V Y Y

I1

N

...

.4 q m - rl d m m 2 a

W m 4.J -

m m r i m m 0

V u a - 0 0 m m u P U Y U Y Y U Y

m N U - 2

i 60

Page 63: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

m

A

N N z rn rn N

U N U z

I 1

N rn

X rn z d X U z U

d + U U

d rn + rn

9 . 4 r r n r n

- * N N Z u r n - u r n

N - v z U m U I U

U + - X I

r n r l r n u r n - u

z r n r n

- I

O Z m rn - w N rn rn rn rn

m m u r n u o o rn

I

d r n + - rn N -

N N IL rn

rn N n4

I

X cu I

w w r n r n r n r n m m u o u r n u u r n

W

- w N rn rn rn rn N N

rn rn I

a:

m m U r n o u o rn

I

In m U r n o u o rn

1 N - d u x u u z

I U U m -

U d + u r n r n r l + rn x v )

m z rn h

2 - rl - I I

m m u o r n o U rn

m m v o r n o U rn U Y Y U Y Y Y

w m U r n u r n w m w r n u u u u

r n o U Y Y Y Y U Y

- h N Z N

U d

z N U u u u u - w

U l v u

U N U + rn rn 9.

rn - rn X z -

rl w u - W U N rn 0 + a

G? W u

N r l l n r n n r n r

IL I r

n4 U

rl + U V d

rn + rn

r 6 ' 1 U

-4 rl a

+ r l l In

rl .- v) U rn U

X + z rl I rn rn r z r z rl

U U

- - - .. ^ I 4 -

w U Y Y U Y Y U

I

d U U

X

I

a: .. m a u Ll

>

- rl r a: U 0 -

W-

m a

v U U

2 - .4 m a

W 9. u

rl 0

d 0 V

A .

W m 2

A - - W P O D m m m E! 2 2

0 rl v 9.

m m V U

- E! -

61

Page 64: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

- - N v) v)

N 0 I

8 rl U U

+ rl v) v)

* 0

N U U

- - 9. U U + v) v)

- rl v) rn X 0 I

* 0 rl U U - - Lo U U + m v) v) - N 0 N U U I

N In v)

X 0

U U

+ d v) v)

* 0

- I N -

rl

- ..

9. v) v) - N v) m N 0

I

X 0

rl U U

+ rl v) v)

*

-

0 N U U

I

- rl v) v)

X 0

I

* 0

rl U U - 9. U U

- N 0

N U U I

N v) v)

X 0

U U

+ rl v) v)

* 0

I

rl

- - m U U

I

m v) v)

N v) v)

N 0

I

X 0

rl U U + rl v) v)

* 0

u N U

9. U U + 9. m m

rl v) v)

X 0

I

* 0

rl U

-

u -

rl V U

2 + rl v) m * a:

N U

- u 9. U U + c+ v) v) - rl

v)

X a: I

rl U U

0

- 2 - Lo U U

+ m v) v)

N U U

N a: I

N v) v)

rl U U

2 + d v) v)

* s .I

- I m -

9. v) v)

N v) v)

N a: I

rl U U X a: + rl v) v)

* 5

u N U

I

rl v) v)

X a: I

rl U V

2 - 9. U U

ORIGINAL PAGE IS OF POOR QUAUTY

- N U U N a: I

N v) VI

rl U U

X a: + rl v) v)

*

-

s I -

m U U I

v) v) v)

N v) v)

N a: I - rl U U

X a: + rl v) In * s N U U

-r V U + 9. v) v)

rl v) v)

X a: I

rl V V

*

-

s -

X L4 rl U U

+ rl v) v)

* LL N U u 9. V U + 9. v) v)

I

w L4

rl V U

+ 0 rl

v) v)

X L4

m U U + Lo v) v)

m n n + N PI

N V U

N v) v)

X L4

d V V

+ .. rl - v ) 9 . v )

4 0

- OI OI m m u a

.rl Lo rd

m n n + N PI

N U U

I

N v) v)

X L4

rl U U

+ rl v) v)

*

-

LL I -

m U U I

m v) v)

- N v) v)

N PI

I d

X L4

rl V U + rl v) v)

*

-

5 N V U - 9. V V

+ 9. v) v) - N n n I

* PI rl V U

+ d v) v)

X nl

I - - 4-

8 Y u Y Y Y Y u - d d 9. v V n - -

W w v ) w z v) v 0 0 0

U n

w w u r n 0 0 u v ) Y Y U U Y Y Y

t

i

Page 65: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

REFERENCES

1 . Rockwell International Corporation, Rocketdyne Division, “Engine Balance and Dynamic Model ,” Model No. RLOOOOl, Documentation Ident. No. 02602.

2. Paul, Richard P. : Robot Manipulators: Mathematics, Programming, and Control. Pages 42-62.

t

4

63

Page 66: NASA Technical Memorandum · NASA TM-100356 I 4. TITLE AND SUBTITLE 5. REPORT DATE Automatic Mathematical Modeling for Real Time Si mu1 at ion Program 7. AUTHOR(S) Caroline Wang and

APPROVAL

AUTOMATIC MATHEMATICAL MODELING FOR REAL TIME SIMULATION PROGRAM

By Caroline Wang and Steve Purinton

The information in this report has been reviewed for technical content. of any information concerning Department of Defense or nuclear energy activities or programs has been made by the MSFC Security Classification Officer. in its entirety, has been determined to be unclassified.

Review d

This report, I

4

Director, Information and Electronic Systems Laboratory

64 *U.S. GOVERNMENT PRINTING OFFICE 1989+31673/00041