- Messages
- 4
- Country
Is there a scale or calculator that states the IAP ratio at any given altitude?
Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.
By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.
Out of curiosity, and digging up an old discussion... how does FS calculate IAP above 36000 feet?
if (alt < 36152. ) {
ts0 = 518.6 - 3.56 * alt / 1000. ;
ps0 = 2116. * Math.pow(ts0/518.6, 5.256) ;
}
if (alt >= 36152. && alt <= 82345.) { // Stratosphere
ts0 = 389.98 ;
ps0 = 2116. * .2236 *
Math.exp((36000.-alt)/(53.35*389.98)) ;
}
if (alt >= 82345.) {
ts0 = 389.98 + 1.645 * (alt-82345)/1000. ;
ps0 = 2116. *.02456 * Math.pow(ts0/389.98,-11.388) ;
}
Altitude in. Hg IAP theta delta IAP
0 29.92 1.000 1.000 1.000 1.000
5000 24.89 1.202 0.9656 0.8321 1.2017
10000 20.58 1.454 0.9312 0.6878 1.4537
15000 16.88 1.773 0.8969 0.5645 1.7713
20000 13.75 2.176 0.8625 0.4597 2.1750
25000 11.10 2.695 0.8282 0.3713 2.6930
30000 8.880 3.369 0.7938 0.2971 3.3647
35000 7.036 4.252 0.7595 0.2355 4.2456
40000 5.541 5.400 0.7251 0.1846 5.4151
45000 4.364 6.856 0.6907 0.1430 6.9889
50000 3.436 8.708 0.6564 0.1094 9.1382
55000 3.000 9.973 0.6220 0.0824 12.1219
60000 2.700 11.08 0.5877 0.0611 16.3403
If alt < 36152# Then
ts0 = 537.4 - 3.56 * alt / 1000#
ps0 = 2192# * (ts0 / 537.4) ^ 5.256
End If
If alt >= 36152# And alt <= 82345# Then ' Stratosphere
ts0 = 389.98
ps0 = 2116# * 0.2236 * Exp((36000# - alt) / (53.35 * 389.98))
End If
If alt >= 82345# Then
ts0 = 389.98 + 1.645 * (alt - 82345) / 1000#
ps0 = 2116# * 0.02456 * (ts0 / 389.98) ^ -11.388
End If