1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179
|
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Common formula — HARP 1.5 documentation</title>
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
<link rel="index" title="Index" href="../genindex.html" />
<link rel="next" title="common derivations" href="common.html" />
<link rel="prev" title="Definitions" href="definitions.html" />
<script src="../_static/js/modernizr.min.js"></script>
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search">
<a href="../index.html" class="icon icon-home"> HARP
</a>
<div class="version">
1.5
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../install.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../conventions/index.html">Conventions</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="index.html">Algorithms</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="definitions.html">Definitions</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">Common formula</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#gravity">gravity</a></li>
<li class="toctree-l3"><a class="reference internal" href="#geopotential-height">geopotential height</a></li>
<li class="toctree-l3"><a class="reference internal" href="#gas-constant">gas constant</a></li>
<li class="toctree-l3"><a class="reference internal" href="#ideal-gas-law">ideal gas law</a></li>
<li class="toctree-l3"><a class="reference internal" href="#barometric-formula">barometric formula</a></li>
<li class="toctree-l3"><a class="reference internal" href="#mass-density">mass density</a></li>
<li class="toctree-l3"><a class="reference internal" href="#number-density">number density</a></li>
<li class="toctree-l3"><a class="reference internal" href="#dry-air-vs-total-air">dry air vs. total air</a></li>
<li class="toctree-l3"><a class="reference internal" href="#virtual-temperature">virtual temperature</a></li>
<li class="toctree-l3"><a class="reference internal" href="#volume-mixing-ratio">volume mixing ratio</a></li>
<li class="toctree-l3"><a class="reference internal" href="#mass-mixing-ratio">mass mixing ratio</a></li>
<li class="toctree-l3"><a class="reference internal" href="#molar-mass-of-total-air">molar mass of total air</a></li>
<li class="toctree-l3"><a class="reference internal" href="#partial-pressure">partial pressure</a></li>
<li class="toctree-l3"><a class="reference internal" href="#saturated-water-vapor-pressure">saturated water vapor pressure</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="index.html#variable-conversions">Variable Conversions</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../operations.html">Operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="../ingestions/index.html">Ingestion definitions</a></li>
<li class="toctree-l1"><a class="reference internal" href="../libharp.html">C library</a></li>
<li class="toctree-l1"><a class="reference internal" href="../idl.html">IDL interface</a></li>
<li class="toctree-l1"><a class="reference internal" href="../matlab.html">MATLAB interface</a></li>
<li class="toctree-l1"><a class="reference internal" href="../python.html">Python interface</a></li>
<li class="toctree-l1"><a class="reference internal" href="../tools.html">Command line tools</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../index.html">HARP</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="../index.html">Docs</a> »</li>
<li><a href="index.html">Algorithms</a> »</li>
<li>Common formula</li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<div class="section" id="common-formula">
<h1>Common formula</h1>
<div class="section" id="gravity">
<h2>gravity</h2>
<ol class="arabic">
<li><p class="first">Newton’s gravitational law</p>
<table border="1" class="docutils">
<colgroup>
<col width="24%" />
<col width="42%" />
<col width="33%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">symbol</th>
<th class="head">description</th>
<th class="head">unit</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><span class="math notranslate nohighlight">\(g\)</span></td>
<td>gravity</td>
<td><span class="math notranslate nohighlight">\(\frac{m}{s^2}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(g_{surf}\)</span></td>
<td>gravity at earth surface</td>
<td><span class="math notranslate nohighlight">\(\frac{m}{s^2}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(h\)</span></td>
<td>height above surface</td>
<td><span class="math notranslate nohighlight">\(m\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(R_{surf}\)</span></td>
<td>earth radius at surface</td>
<td><span class="math notranslate nohighlight">\(m\)</span></td>
</tr>
</tbody>
</table>
<div class="math notranslate nohighlight">
\[g = g_{surf}\left(\frac{R_{surf}}{R_{surf} + h}\right)^2\]</div>
</li>
<li><p class="first">normal gravity at ellipsoid surface</p>
<p>This is the WGS84 ellipsoidal gravity formula as taken from NIMA TR8350.2</p>
<table border="1" class="docutils">
<colgroup>
<col width="28%" />
<col width="36%" />
<col width="36%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">symbol</th>
<th class="head">name</th>
<th class="head">unit</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><span class="math notranslate nohighlight">\(a\)</span></td>
<td>WGS84 semi-major axis</td>
<td><span class="math notranslate nohighlight">\(m\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(b\)</span></td>
<td>WGS84 semi-minor axis</td>
<td><span class="math notranslate nohighlight">\(m\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(e\)</span></td>
<td>eccentricity</td>
<td><span class="math notranslate nohighlight">\(m\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(g_{e}\)</span></td>
<td>gravity at equator</td>
<td><span class="math notranslate nohighlight">\(\frac{m}{s^2}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(g_{p}\)</span></td>
<td>gravity at poles</td>
<td><span class="math notranslate nohighlight">\(\frac{m}{s^2}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(g_{surf}\)</span></td>
<td>gravity at surface</td>
<td><span class="math notranslate nohighlight">\(\frac{m}{s^2}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(\phi\)</span></td>
<td>latitude</td>
<td><span class="math notranslate nohighlight">\(degN\)</span></td>
</tr>
</tbody>
</table>
<div class="math notranslate nohighlight">
\begin{eqnarray}
e^2 & = & \frac{a^2-b^2}{a^2} \\
k & = & \frac{bg_{p} - ag_{e}}{ag_{e}} \\
g_{surf} & = & g_{e}\frac{1 + k {\sin}^2(\frac{\pi}{180}\phi)}{\sqrt{1 - e^2{\sin}^2(\frac{\pi}{180}\phi)}} \\
g_{surf} & = & 9.7803253359 \frac{1 + 0.00193185265241{\sin}^2(\frac{\pi}{180}\phi)}
{\sqrt{1 - 0.00669437999013{\sin}^2(\frac{\pi}{180}\phi)}}
\end{eqnarray}</div></li>
<li><p class="first">normal gravity above ellipsoid surface</p>
<p>This is the WGS84 ellipsoidal gravity formula as taken from NIMA TR8350.2</p>
<table border="1" class="docutils">
<colgroup>
<col width="21%" />
<col width="48%" />
<col width="31%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">symbol</th>
<th class="head">name</th>
<th class="head">unit</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><span class="math notranslate nohighlight">\(a\)</span></td>
<td>WGS84 semi-major axis</td>
<td><span class="math notranslate nohighlight">\(m\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(b\)</span></td>
<td>WGS84 semi-minor axis</td>
<td><span class="math notranslate nohighlight">\(m\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(f\)</span></td>
<td>WGS84 flattening</td>
<td><span class="math notranslate nohighlight">\(m\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(g\)</span></td>
<td>gravity</td>
<td><span class="math notranslate nohighlight">\(\frac{m}{s^2}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(g_{surf}\)</span></td>
<td>gravity at the ellipsoid surface</td>
<td><span class="math notranslate nohighlight">\(\frac{m}{s^2}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(GM\)</span></td>
<td>WGS84 earth’s gravitational constant</td>
<td><span class="math notranslate nohighlight">\(\frac{m^3}{s^2}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(z\)</span></td>
<td>altitude</td>
<td><span class="math notranslate nohighlight">\(m\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(\phi\)</span></td>
<td>latitude</td>
<td><span class="math notranslate nohighlight">\(degN\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(\omega\)</span></td>
<td>WGS84 earth angular velocity</td>
<td><span class="math notranslate nohighlight">\(rad/s\)</span></td>
</tr>
</tbody>
</table>
<p>The formula used is the one based on the truncated Taylor series expansion:</p>
<div class="math notranslate nohighlight">
\begin{eqnarray}
m & = & \frac{\omega^2a^2b}{GM} \\
g & = & g_{surf} \left[ 1 - \frac{2}{a}\left(1+f+m-2f{\sin}^2(\frac{\pi}{180}\phi)\right)z + \frac{3}{a^2}z^2 \right] \\
\end{eqnarray}</div></li>
</ol>
</div>
<div class="section" id="geopotential-height">
<h2>geopotential height</h2>
<blockquote>
<div><table border="1" class="docutils">
<colgroup>
<col width="24%" />
<col width="42%" />
<col width="33%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">symbol</th>
<th class="head">description</th>
<th class="head">unit</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><span class="math notranslate nohighlight">\(g\)</span></td>
<td>gravity</td>
<td><span class="math notranslate nohighlight">\(\frac{m}{s^2}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(g_{0}\)</span></td>
<td>mean earth gravity</td>
<td><span class="math notranslate nohighlight">\(\frac{m}{s^2}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(g_{surf}\)</span></td>
<td>gravity at earth surface</td>
<td><span class="math notranslate nohighlight">\(\frac{m}{s^2}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(p\)</span></td>
<td>pressure</td>
<td><span class="math notranslate nohighlight">\(Pa\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(R_{surf}\)</span></td>
<td>earth radius at surface</td>
<td><span class="math notranslate nohighlight">\(m\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(h\)</span></td>
<td>height above surface</td>
<td><span class="math notranslate nohighlight">\(m\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(h_{g}\)</span></td>
<td>geopotential height</td>
<td><span class="math notranslate nohighlight">\(m\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(\phi\)</span></td>
<td>latitude</td>
<td><span class="math notranslate nohighlight">\(degN\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(\rho\)</span></td>
<td>mass density</td>
<td><span class="math notranslate nohighlight">\(\frac{kg}{m^3}\)</span></td>
</tr>
</tbody>
</table>
<p>The geopotential height allows the gravity in the hydrostatic equation</p>
<div class="math notranslate nohighlight">
\[dp = - \rho g dh\]</div>
<p>to be replaced by a constant gravity</p>
<div class="math notranslate nohighlight">
\[dp = - \rho g_{0} dh_{g}\]</div>
<p>providing</p>
<div class="math notranslate nohighlight">
\[dh_{g} = \frac{g}{g_{0}}dh\]</div>
<p>With Newton’s gravitational law this becomes</p>
<div class="math notranslate nohighlight">
\[dh_{g} = \frac{g_{surf}}{g_{0}}\left(\frac{R_{surf}}{R_{surf} + h}\right)^2dh\]</div>
<p>And integrating this, considering that <span class="math notranslate nohighlight">\(h=0\)</span> and <span class="math notranslate nohighlight">\(h_{g}=0\)</span> at the surface, results in</p>
<div class="math notranslate nohighlight">
\[h_{g} = \frac{g_{surf}}{g_{0}}\frac{R_{surf}h}{R_{surf} + h}\]</div>
<div class="math notranslate nohighlight">
\[h = \frac{g_{0}R_{surf}h_{g}}{g_{surf}R_{surf}-g_{0}h_{g}}\]</div>
</div></blockquote>
</div>
<div class="section" id="gas-constant">
<h2>gas constant</h2>
<blockquote>
<div><table border="1" class="docutils">
<colgroup>
<col width="17%" />
<col width="34%" />
<col width="49%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">symbol</th>
<th class="head">name</th>
<th class="head">unit</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><span class="math notranslate nohighlight">\(k\)</span></td>
<td>Boltzmann constant</td>
<td><span class="math notranslate nohighlight">\(\frac{kg m^2}{K s^2}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(N_A\)</span></td>
<td>Avogadro constant</td>
<td><span class="math notranslate nohighlight">\(\frac{1}{mol}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(R\)</span></td>
<td>universal gas constant</td>
<td><span class="math notranslate nohighlight">\(\frac{kg m^2}{K mol s^2}\)</span></td>
</tr>
</tbody>
</table>
<p>Relation between Boltzmann constant, universal gas constant, and Avogadro constant:</p>
<div class="math notranslate nohighlight">
\[k = \frac{R}{N_A}\]</div>
</div></blockquote>
</div>
<div class="section" id="ideal-gas-law">
<h2>ideal gas law</h2>
<blockquote>
<div><table border="1" class="docutils">
<colgroup>
<col width="14%" />
<col width="35%" />
<col width="51%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">symbol</th>
<th class="head">name</th>
<th class="head">unit</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><span class="math notranslate nohighlight">\(k\)</span></td>
<td>Boltzmann constant</td>
<td><span class="math notranslate nohighlight">\(\frac{kg m^2}{K s^2}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(N\)</span></td>
<td>amount of substance</td>
<td><span class="math notranslate nohighlight">\(molec\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(p\)</span></td>
<td>pressure</td>
<td><span class="math notranslate nohighlight">\(Pa\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(R\)</span></td>
<td>universal gas constant</td>
<td><span class="math notranslate nohighlight">\(\frac{kg m^2}{K mol s^2}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(T\)</span></td>
<td>temperature</td>
<td><span class="math notranslate nohighlight">\(K\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(V\)</span></td>
<td>volume</td>
<td><span class="math notranslate nohighlight">\(m^3\)</span></td>
</tr>
</tbody>
</table>
<div class="math notranslate nohighlight">
\[pV = \frac{NRT}{N_{A}} = NkT\]</div>
</div></blockquote>
</div>
<div class="section" id="barometric-formula">
<h2>barometric formula</h2>
<blockquote>
<div><table border="1" class="docutils">
<colgroup>
<col width="21%" />
<col width="33%" />
<col width="46%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">symbol</th>
<th class="head">name</th>
<th class="head">unit</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><span class="math notranslate nohighlight">\(g\)</span></td>
<td>gravity</td>
<td><span class="math notranslate nohighlight">\(\frac{m}{s^2}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(g_{0}\)</span></td>
<td>mean earth gravity</td>
<td><span class="math notranslate nohighlight">\(\frac{m}{s^2}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(k\)</span></td>
<td>Boltzmann constant</td>
<td><span class="math notranslate nohighlight">\(\frac{kg m^2}{K s^2}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(M_{air}\)</span></td>
<td>molar mass of total air</td>
<td><span class="math notranslate nohighlight">\(\frac{g}{mol}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(N\)</span></td>
<td>amount of substance</td>
<td><span class="math notranslate nohighlight">\(molec\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(N_A\)</span></td>
<td>Avogadro constant</td>
<td><span class="math notranslate nohighlight">\(\frac{1}{mol}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(p\)</span></td>
<td>pressure</td>
<td><span class="math notranslate nohighlight">\(Pa\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(R\)</span></td>
<td>universal gas constant</td>
<td><span class="math notranslate nohighlight">\(\frac{kg m^2}{K mol s^2}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(T\)</span></td>
<td>temperature</td>
<td><span class="math notranslate nohighlight">\(K\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(V\)</span></td>
<td>volume</td>
<td><span class="math notranslate nohighlight">\(m^3\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(z\)</span></td>
<td>altitude</td>
<td><span class="math notranslate nohighlight">\(m\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(z_{g}\)</span></td>
<td>geopotential height</td>
<td><span class="math notranslate nohighlight">\(m\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(\phi\)</span></td>
<td>latitude</td>
<td><span class="math notranslate nohighlight">\(degN\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(\rho\)</span></td>
<td>mass density</td>
<td><span class="math notranslate nohighlight">\(\frac{kg}{m^3}\)</span></td>
</tr>
</tbody>
</table>
<p>From the ideal gas law we have:</p>
<div class="math notranslate nohighlight">
\[p = \frac{NkT}{V} = \frac{10^{-3}NM_{air}}{VN_{a}}\frac{kTN_{a}}{10^{-3}M_{air}} = \rho\frac{RT}{10^{-3}M_{air}}\]</div>
<p>And from the hydrostatic assumption we get:</p>
<div class="math notranslate nohighlight">
\[dp = - \rho g dz\]</div>
<p>Dividing <span class="math notranslate nohighlight">\(dp\)</span> by <cite>p</cite> we get:</p>
<div class="math notranslate nohighlight">
\[\frac{dp}{p} = -\frac{10^{-3}M_{air}\rho g dz}{\rho RT} = -\frac{10^{-3}M_{air}gdz}{RT}\]</div>
<p>Integrating this expression from one pressure level to the next we get:</p>
<div class="math notranslate nohighlight">
\[p(i+1) = p(i)e^{-\int^{z(i+1)}_{z(i)}\frac{10^{-3}M_{air}g}{RT}dz}\]</div>
<p>We can approximate this further by using an average value of the height dependent quantities
<span class="math notranslate nohighlight">\(M_{air}\)</span>, <span class="math notranslate nohighlight">\(g\)</span> and <span class="math notranslate nohighlight">\(T\)</span> for the integration over the range <span class="math notranslate nohighlight">\([z(i),z(i+1)]\)</span>.
This gives:</p>
<div class="math notranslate nohighlight">
\begin{eqnarray}
g & = & g(\phi,\frac{z(i)+z(i+1)}{2}) \\
p(i+1) & = & p(i)e^{-10^{-3}\frac{M_{air}(i)+M_{air}(i+1)}{2}\frac{2}{T(i)+T(i+1)}\frac{g}{R}\left(z(i+1)-z(i)\right)} \\
& = & p(i)e^{-10^{-3}\frac{M_{air}(i)+M_{air}(i+1)}{T(i)+T(i+1)}\frac{g}{R}\left(z(i+1)-z(i)\right)}
\end{eqnarray}</div><p>When using geopotential height the formula is the same except that <span class="math notranslate nohighlight">\(g=g_{0}\)</span> at all levels:</p>
<div class="math notranslate nohighlight">
\[p(i+1) = p(i)e^{-10^{-3}\frac{M_{air}(i)+M_{air}(i+1)}{T(i)+T(i+1)}\frac{g_{0}}{R}\left(z_{g}(i+1)-z_{g}(i)\right)}\]</div>
</div></blockquote>
</div>
<div class="section" id="mass-density">
<h2>mass density</h2>
<blockquote>
<div><table border="1" class="docutils">
<colgroup>
<col width="25%" />
<col width="38%" />
<col width="37%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">symbol</th>
<th class="head">name</th>
<th class="head">unit</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><span class="math notranslate nohighlight">\(N\)</span></td>
<td>amount of substance</td>
<td><span class="math notranslate nohighlight">\(molec\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(N_A\)</span></td>
<td>Avogadro constant</td>
<td><span class="math notranslate nohighlight">\(\frac{1}{mol}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(M_{air}\)</span></td>
<td>molar mass of total air</td>
<td><span class="math notranslate nohighlight">\(\frac{g}{mol}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(V\)</span></td>
<td>volume</td>
<td><span class="math notranslate nohighlight">\(m^3\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(\rho\)</span></td>
<td>mass density</td>
<td><span class="math notranslate nohighlight">\(\frac{kg}{m^3}\)</span></td>
</tr>
</tbody>
</table>
<div class="math notranslate nohighlight">
\[\rho = \frac{10^{-3}NM_{air}}{VN_{a}}\]</div>
</div></blockquote>
</div>
<div class="section" id="number-density">
<h2>number density</h2>
<blockquote>
<div><table border="1" class="docutils">
<colgroup>
<col width="17%" />
<col width="36%" />
<col width="47%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">symbol</th>
<th class="head">name</th>
<th class="head">unit</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><span class="math notranslate nohighlight">\(n\)</span></td>
<td>number density</td>
<td><span class="math notranslate nohighlight">\(\frac{molec}{m^3}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(N\)</span></td>
<td>amount of substance</td>
<td><span class="math notranslate nohighlight">\(molec\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(V\)</span></td>
<td>volume</td>
<td><span class="math notranslate nohighlight">\(m^3\)</span></td>
</tr>
</tbody>
</table>
<div class="math notranslate nohighlight">
\[n = \frac{N}{V}\]</div>
</div></blockquote>
</div>
<div class="section" id="dry-air-vs-total-air">
<h2>dry air vs. total air</h2>
<blockquote>
<div><table border="1" class="docutils">
<colgroup>
<col width="31%" />
<col width="36%" />
<col width="33%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">symbol</th>
<th class="head">name</th>
<th class="head">unit</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><span class="math notranslate nohighlight">\(n\)</span></td>
<td>number density of total air</td>
<td><span class="math notranslate nohighlight">\(\frac{molec}{m^3}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(n_{dry\_air}\)</span></td>
<td>number density of dry air</td>
<td><span class="math notranslate nohighlight">\(\frac{molec}{m^3}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(n_{H_{2}O}\)</span></td>
<td>number density of H2O</td>
<td><span class="math notranslate nohighlight">\(\frac{molec}{m^3}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(M_{air}\)</span></td>
<td>molar mass of total air</td>
<td><span class="math notranslate nohighlight">\(\frac{g}{mol}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(M_{dry\_air}\)</span></td>
<td>molar mass of dry air</td>
<td><span class="math notranslate nohighlight">\(\frac{g}{mol}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(M_{H_{2}O}\)</span></td>
<td>molar mass of H2O</td>
<td><span class="math notranslate nohighlight">\(\frac{g}{mol}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(\rho\)</span></td>
<td>mass density of total air</td>
<td><span class="math notranslate nohighlight">\(\frac{kg}{m^3}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(\rho_{dry\_air}\)</span></td>
<td>mass density of dry air</td>
<td><span class="math notranslate nohighlight">\(\frac{kg}{m^3}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(\rho_{H_{2}O}\)</span></td>
<td>mass density of H2O</td>
<td><span class="math notranslate nohighlight">\(\frac{kg}{m^3}\)</span></td>
</tr>
</tbody>
</table>
<div class="math notranslate nohighlight">
\begin{eqnarray}
n & = & n_{dry\_air} + n_{H_{2}O} \\
M_{air}n & = & M_{dry\_air}n_{dry\_air} + M_{H_{2}O}n_{H_{2}O} \\
\rho & = & \rho_{dry\_air} + \rho_{H_{2}O} \\
\end{eqnarray}</div></div></blockquote>
</div>
<div class="section" id="virtual-temperature">
<h2>virtual temperature</h2>
<blockquote>
<div><table border="1" class="docutils">
<colgroup>
<col width="26%" />
<col width="32%" />
<col width="42%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">symbol</th>
<th class="head">name</th>
<th class="head">unit</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><span class="math notranslate nohighlight">\(k\)</span></td>
<td>Boltzmann constant</td>
<td><span class="math notranslate nohighlight">\(\frac{kg m^2}{K s^2}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(M_{air}\)</span></td>
<td>molar mass of total air</td>
<td><span class="math notranslate nohighlight">\(\frac{g}{mol}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(M_{dry\_air}\)</span></td>
<td>molar mass of dry air</td>
<td><span class="math notranslate nohighlight">\(\frac{g}{mol}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(M_{H_{2}O}\)</span></td>
<td>molar mass of H2O</td>
<td><span class="math notranslate nohighlight">\(\frac{g}{mol}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(N\)</span></td>
<td>amount of substance</td>
<td><span class="math notranslate nohighlight">\(molec\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(N_A\)</span></td>
<td>Avogadro constant</td>
<td><span class="math notranslate nohighlight">\(\frac{1}{mol}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(p\)</span></td>
<td>pressure</td>
<td><span class="math notranslate nohighlight">\(Pa\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(p_{dry\_air}\)</span></td>
<td>dry air partial pressure</td>
<td><span class="math notranslate nohighlight">\(Pa\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(p_{H_{2}O}\)</span></td>
<td>H2O partial pressure</td>
<td><span class="math notranslate nohighlight">\(Pa\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(R\)</span></td>
<td>universal gas constant</td>
<td><span class="math notranslate nohighlight">\(\frac{kg m^2}{K mol s^2}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(T\)</span></td>
<td>temperature</td>
<td><span class="math notranslate nohighlight">\(K\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(T_{v}\)</span></td>
<td>virtual temperature</td>
<td><span class="math notranslate nohighlight">\(K\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(V\)</span></td>
<td>volume</td>
<td><span class="math notranslate nohighlight">\(m^3\)</span></td>
</tr>
</tbody>
</table>
<p>From the ideal gas law we have:</p>
<div class="math notranslate nohighlight">
\[p = \frac{NkT}{V} = \frac{10^{-3}NM_{air}}{VN_{a}}\frac{kTN_{a}}{10^{-3}M_{air}} = \rho \frac{RT}{10^{-3}M_{air}}\]</div>
<p>The virtual temperature allows us to use the dry air molar mass in this equation:</p>
<div class="math notranslate nohighlight">
\[p = \rho\frac{RT_{v}}{10^{-3}M_{dry\_air}}\]</div>
<p>This gives:</p>
<div class="math notranslate nohighlight">
\[T_{v} = \frac{M_{dry\_air}}{M_{air}}T\]</div>
</div></blockquote>
</div>
<div class="section" id="volume-mixing-ratio">
<h2>volume mixing ratio</h2>
<blockquote>
<div><table border="1" class="docutils">
<colgroup>
<col width="28%" />
<col width="40%" />
<col width="32%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">symbol</th>
<th class="head">name</th>
<th class="head">unit</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><span class="math notranslate nohighlight">\(n\)</span></td>
<td>number density of total air</td>
<td><span class="math notranslate nohighlight">\(\frac{molec}{m^3}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(n_{dry\_air}\)</span></td>
<td>number density of dry air</td>
<td><span class="math notranslate nohighlight">\(\frac{molec}{m^3}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(n_{H_{2}O}\)</span></td>
<td>number density of H2O</td>
<td><span class="math notranslate nohighlight">\(\frac{molec}{m^3}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(n_{x}\)</span></td>
<td>number density of quantity x</td>
<td><span class="math notranslate nohighlight">\(\frac{molec}{m^3}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(\nu_{x}\)</span></td>
<td>volume mixing ratio of quantity
x with regard to total air</td>
<td><span class="math notranslate nohighlight">\(ppv\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(\bar{\nu}_{x}\)</span></td>
<td>volume mixing ratio of quantity
x with regard to dry air</td>
<td><span class="math notranslate nohighlight">\(ppv\)</span></td>
</tr>
</tbody>
</table>
<div class="math notranslate nohighlight">
\begin{eqnarray}
\nu_{x} & = & \frac{n_{x}}{n} \\
\bar{\nu}_{x} & = & \frac{n_{x}}{n_{dry\_air}} \\
\nu_{dry\_air} & = & \frac{n_{dry\_air}}{n} =
\frac{n - n_{H_{2}O}}{n} = 1 - \nu_{H_{2}O} \\
\nu_{air} & = & \frac{n}{n} = 1 \\
\bar{\nu}_{dry\_air} & = & \frac{n_{dry\_air}}{n_{dry\_air}} = 1 \\
\bar{\nu}_{H_{2}O} & = & \frac{n_{H_{2}O}}{n_{dry\_air}} =
\frac{\nu_{H_{2}O}}{\nu_{dry\_air}} = \frac{\nu_{H_{2}O}}{1 - \nu_{H_{2}O}} \\
\nu_{H_{2}O} & = & \frac{\bar{\nu}_{H_{2}O}}{1 + \bar{\nu}_{H_{2}O}}
\end{eqnarray}</div></div></blockquote>
</div>
<div class="section" id="mass-mixing-ratio">
<h2>mass mixing ratio</h2>
<blockquote>
<div><table border="1" class="docutils">
<colgroup>
<col width="27%" />
<col width="40%" />
<col width="32%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">symbol</th>
<th class="head">name</th>
<th class="head">unit</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><span class="math notranslate nohighlight">\(M_{air}\)</span></td>
<td>molar mass of total air</td>
<td><span class="math notranslate nohighlight">\(\frac{g}{mol}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(M_{dry\_air}\)</span></td>
<td>molar mass of dry air</td>
<td><span class="math notranslate nohighlight">\(\frac{g}{mol}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(M_{x}\)</span></td>
<td>molar mass of quantity x</td>
<td><span class="math notranslate nohighlight">\(\frac{g}{mol}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(n\)</span></td>
<td>number density of total air</td>
<td><span class="math notranslate nohighlight">\(\frac{molec}{m^3}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(n_{dry\_air}\)</span></td>
<td>number density of dry air</td>
<td><span class="math notranslate nohighlight">\(\frac{molec}{m^3}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(n_{H_{2}O}\)</span></td>
<td>number density of H2O</td>
<td><span class="math notranslate nohighlight">\(\frac{molec}{m^3}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(n_{x}\)</span></td>
<td>number density of quantity x</td>
<td><span class="math notranslate nohighlight">\(\frac{molec}{m^3}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(q_{x}\)</span></td>
<td>mass mixing ratio of quantity x
with regard to total air</td>
<td><span class="math notranslate nohighlight">\(\frac{kg}{kg}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(\bar{q}_{x}\)</span></td>
<td>mass mixing ratio of quantity x
with regard to dry air</td>
<td><span class="math notranslate nohighlight">\(\frac{kg}{kg}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(\nu_{x}\)</span></td>
<td>volume mixing ratio of quantity
x with regard to total air</td>
<td><span class="math notranslate nohighlight">\(ppv\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(\bar{\nu}_{x}\)</span></td>
<td>volume mixing ratio of quantity
x with regard to dry air</td>
<td><span class="math notranslate nohighlight">\(ppv\)</span></td>
</tr>
</tbody>
</table>
<div class="math notranslate nohighlight">
\begin{eqnarray}
q_{x} & = & \frac{n_{x}M_{x}}{nM_{air}} = \nu_{x}\frac{M_{x}}{M_{air}} \\
\bar{q}_{x} & = & \frac{n_{x}M_{x}}{n_{dry\_air}M_{dry\_air}} = \bar{\nu}_{x}\frac{M_{x}}{M_{dry\_air}} \\
q_{dry\_air} & = & \frac{n_{dry\_air}M_{dry\_air}}{nM_{air}} =
\frac{nM_{air} - n_{H_{2}O}M_{H_{2}O}}{nM_{air}} = 1 - q_{H_{2}O} \\
q_{air} & = & \frac{nM_{air}}{nM_{air}} = 1 \\
\bar{q}_{dry\_air} & = & \frac{n_{dry\_air}M_{dry\_air}}{n_{dry\_air}M_{dry\_air}} = 1 \\
\bar{q}_{H_{2}O} & = & \frac{n_{H_{2}O}M_{H_{2}O}}{n_{dry\_air}M_{dry\_air}} =
\frac{q_{H_{2}O}}{q_{dry\_air}} = \frac{q_{H_{2}O}}{1 - q_{H_{2}O}} \\
q_{H_{2}O} & = & \frac{\bar{q}_{H_{2}O}}{1 + \bar{q}_{H_{2}O}}
\end{eqnarray}</div></div></blockquote>
</div>
<div class="section" id="molar-mass-of-total-air">
<h2>molar mass of total air</h2>
<ol class="arabic">
<li><p class="first">molar mass of total air from H2O volume mixing ratio</p>
<table border="1" class="docutils">
<colgroup>
<col width="28%" />
<col width="38%" />
<col width="35%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">symbol</th>
<th class="head">name</th>
<th class="head">unit</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><span class="math notranslate nohighlight">\(M_{air}\)</span></td>
<td>molar mass of total air</td>
<td><span class="math notranslate nohighlight">\(\frac{g}{mol}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(M_{dry\_air}\)</span></td>
<td>molar mass of dry air</td>
<td><span class="math notranslate nohighlight">\(\frac{g}{mol}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(M_{H_{2}O}\)</span></td>
<td>molar mass of H2O</td>
<td><span class="math notranslate nohighlight">\(\frac{g}{mol}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(n\)</span></td>
<td>number density of total air</td>
<td><span class="math notranslate nohighlight">\(\frac{molec}{m^3}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(n_{dry\_air}\)</span></td>
<td>number density of dry air</td>
<td><span class="math notranslate nohighlight">\(\frac{molec}{m^3}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(n_{H_{2}O}\)</span></td>
<td>number density of H2O</td>
<td><span class="math notranslate nohighlight">\(\frac{molec}{m^3}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(\nu_{H_{2}O}\)</span></td>
<td>volume mixing ratio of H2O</td>
<td><span class="math notranslate nohighlight">\(ppv\)</span></td>
</tr>
</tbody>
</table>
<div class="math notranslate nohighlight">
\begin{eqnarray}
M_{air} & = & \frac{M_{dry\_air}n_{dry\_air} + M_{H_{2}O}n_{H_{2}O}}{n} \\
& = & M_{dry\_air}\left(1 - \nu_{H_{2}O}\right) + M_{H_{2}O}\nu_{H_{2}O}
\end{eqnarray}</div></li>
<li><p class="first">molar mass of total air from H2O mass mixing ratio</p>
<table border="1" class="docutils">
<colgroup>
<col width="28%" />
<col width="38%" />
<col width="35%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">symbol</th>
<th class="head">name</th>
<th class="head">unit</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><span class="math notranslate nohighlight">\(M_{air}\)</span></td>
<td>molar mass of total air</td>
<td><span class="math notranslate nohighlight">\(\frac{g}{mol}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(M_{dry\_air}\)</span></td>
<td>molar mass of dry air</td>
<td><span class="math notranslate nohighlight">\(\frac{g}{mol}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(M_{H_{2}O}\)</span></td>
<td>molar mass of H2O</td>
<td><span class="math notranslate nohighlight">\(\frac{g}{mol}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(n\)</span></td>
<td>number density of total air</td>
<td><span class="math notranslate nohighlight">\(\frac{molec}{m^3}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(n_{dry\_air}\)</span></td>
<td>number density of dry air</td>
<td><span class="math notranslate nohighlight">\(\frac{molec}{m^3}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(n_{H_{2}O}\)</span></td>
<td>number density of H2O</td>
<td><span class="math notranslate nohighlight">\(\frac{molec}{m^3}\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(q_{H_{2}O}\)</span></td>
<td>mass mixing ratio of H2O</td>
<td><span class="math notranslate nohighlight">\(\frac{kg}{kg}\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(\nu_{H_{2}O}\)</span></td>
<td>volume mixing ratio of H2O</td>
<td><span class="math notranslate nohighlight">\(\frac{kg}{kg}\)</span></td>
</tr>
</tbody>
</table>
<div class="math notranslate nohighlight">
\begin{eqnarray}
M_{air} & = & M_{dry\_air}\left(1 - \nu_{H_{2}O}\right) + M_{H_{2}O}\nu_{H_{2}O} \\
& = & M_{dry\_air}\left(1 - \frac{M_{air}}{M_{H_{2}O}}q_{H_{2}O}\right) + M_{air}q_{H_{2}O} \\
& = & \frac{M_{dry\_air}}{1 + \frac{M_{dry\_air}}{M_{H_{2}O}}q_{H_{2}O} - q_{H_{2}O}} \\
& = & \frac{M_{H_{2}O}M_{dry\_air}}{M_{H_{2}O} + M_{dry\_air}q_{H_{2}O} - M_{H_{2}O}q_{H_{2}O}} \\
& = & \frac{M_{H_{2}O}M_{dry\_air}}{\left(1-q_{H_{2}O}\right)M_{H_{2}O} + q_{H_{2}O}M_{dry\_air}} \\
\end{eqnarray}</div></li>
</ol>
</div>
<div class="section" id="partial-pressure">
<h2>partial pressure</h2>
<blockquote>
<div><table border="1" class="docutils">
<colgroup>
<col width="33%" />
<col width="49%" />
<col width="17%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">symbol</th>
<th class="head">name</th>
<th class="head">unit</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><span class="math notranslate nohighlight">\(p\)</span></td>
<td>total pressure</td>
<td><span class="math notranslate nohighlight">\(Pa\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(p_{x}\)</span></td>
<td>partial pressure of quantity</td>
<td><span class="math notranslate nohighlight">\(Pa\)</span></td>
</tr>
<tr class="row-even"><td><span class="math notranslate nohighlight">\(\nu_{x}\)</span></td>
<td>volume mixing ratio of quantity
x with regard to total air</td>
<td><span class="math notranslate nohighlight">\(ppv\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(\bar{\nu}_{x}\)</span></td>
<td>volume mixing ratio of quantity
x with regard to dry air</td>
<td><span class="math notranslate nohighlight">\(ppv\)</span></td>
</tr>
</tbody>
</table>
<div class="math notranslate nohighlight">
\begin{eqnarray}
p_{x} & = & \nu_{x}p \\
p_{x} & = & \bar{\nu}_{x}p_{dry\_air} \\
p_{x} & = & N_{x}kT
\end{eqnarray}</div></div></blockquote>
</div>
<div class="section" id="saturated-water-vapor-pressure">
<h2>saturated water vapor pressure</h2>
<blockquote>
<div><table border="1" class="docutils">
<colgroup>
<col width="24%" />
<col width="56%" />
<col width="20%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">symbol</th>
<th class="head">name</th>
<th class="head">unit</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><span class="math notranslate nohighlight">\(e_{w}\)</span></td>
<td>saturated water vapor pressure</td>
<td><span class="math notranslate nohighlight">\(Pa\)</span></td>
</tr>
<tr class="row-odd"><td><span class="math notranslate nohighlight">\(T\)</span></td>
<td>temperature</td>
<td><span class="math notranslate nohighlight">\(K\)</span></td>
</tr>
</tbody>
</table>
<p>This is the August-Roche-Magnus formula for the saturated water vapour pressure</p>
<div class="math notranslate nohighlight">
\[e_{w} = 610.94e^{\frac{17.625(T-273.15)}{(T-273.15)+243.04}}\]</div>
</div></blockquote>
</div>
</div>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="common.html" class="btn btn-neutral float-right" title="common derivations" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
<a href="definitions.html" class="btn btn-neutral" title="Definitions" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<p>
© Copyright 2015-2018 S&T, The Netherlands
</p>
</div>
</footer>
</div>
</div>
</section>
</div>
<script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<script async="async" type="text/javascript" src="/usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/javascript" src="../_static/js/theme.js"></script>
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>
|