RECOMP II USER'S PROGF.A.lvl NO.
1104
PROGRAH
TITLE:
STANDARD ATMOSPHERE PROGRAN CLASSIFICATION: GeneralAUTHOR:
PURPOSE:
DATE:
W. Wellman
Servomechanisms, Inc.
Research Division Goleta, California
Calculates pressure from altitude, or
vice-versa, assuming
anymodel temperature- altitude profile
~ndthe perfect gas lawe April 1961
Published
by'RECOMP User's Library
at
AUTONETICS INDUSTRIAL PRODUCTS
A
DIVISION OFNORTH AMERICAN AVIATION, INC.
3400 E. 70th Street, Long Beach 5, Calif.
DISCLAIMER
Although it is assumed that all tho precautions have been taken to cho::k out this program thoroughly, no responsibility Is taken by the originator of this program for any crron~ous
results, misconceptIons, or mi!lrepresentclticns thdt may ar.:pear in this program. Furthermore, no rc!.ponsibility is t:1~on by Autonetic'S Industrlol ProducfI for the correct rcoroduc:t,ons of this program. No worrantY
I
express or implied, is extended by the "18 or appUcotion 0too
program.PURPOSE:
METHOD:
1 } 7- H.
STANDARD ATMOSPHERE
Calculates pre s sur e from altitude, or vice -ver sa, as sum ing any model temperature-altitude profile and the perfect ga::> law.
Several variations of the fundamental differential equation,
-dP· z:
p are programmed.
-0 dH T m
A. To calculate altitude from pressure, either:
( 1)
T
Tmb-OIL
m
m 1 : - -
L m
( ~)
, L
P
0 and (2) T m- T
mbH
=
H+
b L
m
or (3) T
ln ( :b)
H . 1: mb Q
+
Hband (4) T m
=
T mbare used.
B.
To calculate pressure from altitude,(
-(H - H ) Q (1) p .. P b exponential T b
(2) T = T mb
m mb
and
or (3) OIL
m
and (4) T:c Tmb
+
(H - Hb~· L
mare used.
m
L =0
m
either:
,L =0 )
m
.L B 0
" m
C. Base layer constants, are obtained from a table stored at the end of this routine.
Page 2
USE:
A. Call ing Sequence:
B.
I. To calculate pressure from altitude:
TRA (La)
·Enter with altitude in the A 8r R registers Exit with pres~ure in the A &r R registers 2. • To calculate al titudc from pre s sure:
TRA (Lo
+
02)En.ter with pressure in the A 8r R registers Exit with altitude in the A & R registers
3. In both cases (1, 2 above), the following table is available in the locations shown:
(La
+
100), 7760 H (La+
10l), 7762 p (Lo+
104), 7764 T(La
+
106), 7766T/288.16
Time: approximately 1 second, either wayC. Storage: 250 (octal) words, including all data for the 1959 ARDC Model Atmosphere. (Data occupy locations (Lo
t
120) through (La+
l47) ).Both L and V loops are used.
This routine is relocatable.
D. Data:
1. For each atmospheric layer, 4 data are required:
Hb ,height of base of layer Pb • pressure at base of layer
Tmb, absolute temperature at base of layer
~m ' temperature gradient throughout layer Sea level data goes in Lo
+
120, 2, 4, 6. The nexthigher layer's data goes in the next eight words, and so on, The last valid data should be followed by
H >
. larger than largest H to be encountered, and P u &te:ro.
UNITERMS:
Page 3
2. Constant:
Lo
+
30:- Q :I: - O~ 034 164 794 278 °K/mt3. Units:
Any consistent set of units may be employed; the following are the present units:
P millimeters of mercury» mmHg H geopotent ial meter s, m t
T degrees Kelvin. oK m
Q. L : Unit T per unit H, ·oK/m t
m
40· Routines required (both are contained in Program Preparation Packa~e #2) :
(a) Exponential (AN044) in 1050 (called from Lo
+
43 and Lo+
73) (b) l..-ogarithmic (Af\037) in 0770 (called from Lo+
40 and Lo+
70)Altitude. sta·tic pressure, atmosphere, model atmosphere.
standar9 a.tmosphere, pressure, temperature, lapse rate, geopotent ial .
l============~~~~--~~~==~=================-===-===-==~
SMI I, Research Divisionl Digital Computib.g Facility Page
----L- ofL
Program No" 1~7
R
Title ST!"Np"gp! ATMO\PttERE RO\'!TI~6 ' Programmed by:W. W.,.(("",.""
Date_-....:.." A~p.&...:~,L..:.'l...."r-+-1
1L.116t..t.1 _ _ _ _
1ILoc'n em 'd .Addr. Contents Accumulator b Remarks
• J ,l!·T·1- ·1 0 ·0 S ·A·)l 7·7·7·3 0
.~
IT -R·A 1'1·7·/:'·0·'
.5
Ir·cE.~
17.'.b·2·D
pp
.7
IT.~.A
· .'t.D.O
, · J·O
Ie· 1='.1. . I·
0·0.0V f2x:1 ·
~~I~~~-4~~~~~~--~~--~--~---+---+---~
I.·RA ... 1/\
. .,
'$.'.D · ., ·O()·2
I
~@ If:
I
) , I~., e r. vI
IIi
,:.c
.$ . I· I ·0 ·0I
c
-~,.,b i'ToP·L
,.,.f., -3.0 1-.6
..7
~:r.l..
,.0.0.0+·000.0·0·7·'
· · ., p
1c.!:T.V ·
OOD· a.. iFoS·T 17·7.7.0.0 P
'. · · 3
.JJ
F.~.S
17.".7.00 I -p I
· .·7 ... 0'4.1
- , . -
_ ... - .... ;";1,';-. '--- ...-c--=
SM/l, Re:3 eilr (.h jJj '';lb.i {)n, Digital Computing Facility P a g e - L o f L Program No. _ t'.5:J.j~_.T ltle.~._
Programuled by: -~ Date
Af
c,( j ICf£:.1--_._-_._
....,_._-
Loc'n Crnjd Add! . Contents A~cumulator b Remarks
·1-D
-·'+2
i7~.:O·1.r 1\
'--. I ()
!LL!:L.J
D.\
-~•
o~'i./~_q 7'111. 2.78. 1 -·0.0 0 0 0 ·0.0 }
JI.:,ol( 1'1\ ..
, -,-.0.0 oo.o·a;{·o
/
.2.F·ST
U7.~{)·D T""F.$.g 7..
-&._,7·I.?!:LO
T~b 1~.IA.dh\. T ~ -T..,13 r·O·"
7:L£:'~. 0J...th
e-~~F·A·D 7·2-kQ
D iZ-b ~,
I#-IF·S:r 7·1.:'-00 :c-
~F-C·A
17· 7·1120
T~ TI4'\S ,F· -S·T I,·
'7·~~·4-0 TIMC·T·V ·S-O·O Ttf/\
.b F·D·"
· 1·(Ji.b IQ =
'2e~.lb T""J~'l-.~·IL ~£I..bf.s:-r
17·"7t. ,. .()
TJTn
·7 Fe·"
7t7·h·~.o ?'P
rr·ft· A. -
·1·Q·c --'1"'. ~1'., t
.1/·0
C!:FI-
·10.00-r·{<·A
0·7·7·D·01-.0&
.,
p.~.'E7· 7·7J.1.o
I!lit-T·R ·'1-·0·1
L~t
P/PL)·2
C·T·V .5".0.0 :T·R·A. 17·7·"1·0·0~
·3 F-M·P
7·7·1::.00L" l pi" .. ) 1("" 'e) L_ (
P /pJ..)"'.R..~ l.~o. ~O.O
exp ."1 P·-e-·E 1:1: 7· "1.0
~· -S !N· .;r< · ·4·3./
•C:rJ...
· \ .00 .0 ( P /pJ.JI.~/fPE)CP
·
,F.flitPi7·7b·J,f·o
T~ls TMo\to
I~·T·\J .'3.0.0rr.R.A 7·
7·P-]·2,·O~,
C·F.L.
·1·0·0·0·
!T-RJt\
(). 00..0.' "~u'"r/'
.(Of" $e1t.~.,etur" 10
c.",1.'" ...
. SoD
F·S':T77./.,·OD
w. · rf::C-b.
· I ()~ . .Q .~",,"· · \
rr~~ 17.7 .... /.2 ·1 w ... IIt=.o.{
.'3·0·0 -G)I -Lt'\liJ ·
· .i rJ.R·A f.(lA 7.-'·b.O.o .'1.'3.0
~L.I
... :o~
>F-DV :3D.D
-(j)~.M·P
· ,.0.'1.0
-r~b ~ -~b.If.
k!:-rL
· FDD.OF·A-J) 17 :t'J.b.o.o
';ej, ~.
E ,F.S-:r
1'1!lb.OD -=!' 2-.
, ,FCA .,. /. bJ-l·OT",
.
'1~~'i&~:U~' . . . . . . , .. . . , . ... , • • , • • • • • I • f I.
,.,",
·~F.O~· 1:
2.."'i0.
,· · ·F·5T 1'7·7·6'
.0·7 F·cl\. ,7.'7 -b
0 ().z.
~fT·R.·€\
. \·0 0> 1'1. eif\:
~·
l .. .,..-... -It~~,,-rt ::a=J == ; ---
~M/I, Research Divlsi0n, Digital COlnputing Facility
Page~of~
Program No ..
1 '37-
~._Title_Programnled by:_ .. ______ " Date
Afcll
J19.6l
. Loc'n Cm'd .Addr ..
-
Contents Accumulator b Remarks .~.o "·0·0 D,O·' ·0·0 ~ @Jg... 0.0 0.0-0·0 .~
. , F·S.s 1'7·7-'"06
:f! ... ~~...-- .,. ,
~,f'·S:t t'].7·'·D
l> 1! - ~b.~
F·e·A 7:..'1.::l:...b
D ~-.e
fF--S~
1"'·7·LD
D:c
~
IF·,,·A
7-7·'~o 1.."",LiNt
C·F·L., _ .l.:..Q.QD
, -Ij IT·:e·S;
· b·!)./- 1°
f·M·P
27,·7·0·DI
~-:e-b) L"",· ',? i7·R·A · ·b·7·D /
---,F.C.·A l1 -'1:.7. {)
0 <ffrII
,
~F·D·V17rt b·'f·O
T~J L:£ ..
~b) -:",~i--r.#t·A · '7.30 I
!j
'~A-P I 17·b·Ij·(J 7",4-/ Tb
-t L..~I~-~b) :F·~T ·I·O·~·O..-J
T""·"'·D
f-\)~1,·7- J,·J..j.D TJto
bItr
~IT
lO\b)rr·R·A
D7·7-DD LO("'".,
P.1:~f7·7·7·"1.0
E-HI! · '7.f) . t·
~
J=;oV · ,.ObD LI't"\
rr~ 17..,.h)+
L._A·R·~ DOD ()o
·3
F-MP
·3.00 [)T-f<.A.
I.() ·5~D·OtxP
,~
Tl P'+E -77·'7-4
·0 I:»
r:t(·7·3·'
L.. L
"'} hS- a ,-:1... · '·D.oo P
jp",II
rrtr,IT~L\
-. rf.Jj).P 17.'./:':1b PI..
p 10'W,
i.
· -'
~s:r7-,.1;..2...0 P P ictr·v
.~.D.D!1 F\C'·A
~'7.".&./i.o
TMo\, T~i-r::~
.. A l'i·
'*'J. 7·~ .0·'·0.0
1\ • .J •i\
l-
· \/.
)::e-
·1 /."
[ 'l-
· .
. .
'. . \ .
. '-
t / • 1\ ,X· \ P
·
:'3f.
~. ).. ·
IIt o~ • ~
· \/. \ ..,- .
-:5
j.~ )· .\.
~: '.'
. , ' . ,. 1\' .... , ...
. , , . . , . . , , . , . , , . , • • • • • • • • • • • • • • I •. . . .
· .\/. \ -r/T"
· :7
~. 1\ . J
I. 0" "
".-
r
Page
--L of!:L.
IIsMII.
Research Division. Digital Computing Facility Program No., 131-RTitleProgrammed by: • Date
A f2
r::11 IIj6l
Loc'n Cm'd ,Addr. Contents b Remarks
· }. 1-0 0
_;:1,.41
.'2,
"''0 AAH...
·LI
~g~.Il.
D~~
-.
oo~6"DK
u,. M· , .2.,.l,) I t 000--,-
.2-
'b'l ..
'5'2111 ('
.&1 'J..l~.~'
.,
(jt
·l3D
'A.5 DoO.'2.
1<6.'~'
ODD 0·AI ,'. ~II
•• l.
~·b
...OO~O· J."".D 1.47
DOO.2-
.qo~ ~~o ~,,,,~·Af '1 ~'4.bl
·kt
0
· '.S"'()
6~ 000..2,
.1137
'tl~ <67~.", ';2..
\1. ,b'
.,
-.00,-# S-· ,.".0
7'.000,.2- .00 .,
_5'71 37!1 '16_
.I.J Ihb".h'
· ·b ·
0l-
., ."'.0 '. · · c=to
00o.
· · .2. ·
.000-.,
--'-~ '!'l.~1£17
.'1' ·
JL.~.c.'ties
· · ·
~.OO'tD·
Ie ·~oo
· ·
.LD~ ()() 1) •·
.'2..
· · · · · .. nco.
O~b ~'ll_'It3 '7
·
.'00· · · · ·
~'l.StLl.· ·
·
-b '"· · · ·
+,00'2.0· ·21·0 · · · · · · It.o.
00o.
·
.~· · ·
t t·
. l ) o t ) 002 ~J~_ 1~7 '76·
· ·
,·
t~· · · · · ·
132.~. ,'-·
, ok·
t· ·
, , .... 0100 ,· . 2,.2..0
,~ , ,· · ·
,· ·
·1 .000 '70 .. 00.2... 000 •.t 7
'i~ DI·
·
.~· · ·
" J ~ 2.~.L.'· ·
· ., · · ·
,· · +.oosO ·
i.2,,!.o
· · · · · ·
~OOIlOOO.· ·
tJ.-· · · · · ·
.00000'
~,~ 11.1.. ,~· ·
A· · · · · ·
Js7£.I.'
· ·
.~· ·
, , , · , , , ... ,OC!Q,+.0010-
. . . . , .. , .. , , , , . . , , , , . , ......
:~'f'