0.3.0
Toggle main menu visibility
Overview
Main Page
Related Pages
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
c
d
f
i
n
p
r
s
v
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
v
w
y
Related Symbols
c
f
g
i
k
m
n
o
p
t
w
Files
File List
Globals
All
_
b
c
f
g
i
j
l
m
n
o
p
q
r
s
t
u
Functions
c
f
m
o
p
t
Variables
Typedefs
Enumerations
Enumerator
Macros
_
b
c
i
l
p
s
Coverage Report
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
StandardAtmosphere.hpp
Go to the documentation of this file.
1
// This file is part of INSTINCT, the INS Toolkit for Integrated
2
// Navigation Concepts and Training by the Institute of Navigation of
3
// the University of Stuttgart, Germany.
4
//
5
// This Source Code Form is subject to the terms of the Mozilla Public
6
// License, v. 2.0. If a copy of the MPL was not distributed with this
7
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
8
9
/// @file StandardAtmosphere.hpp
10
/// @brief Standard Atmosphere water vapor model
11
/// @author T. Topp (topp@ins.uni-stuttgart.de)
12
/// @date 2023-01-31
13
14
#pragma once
15
16
#include <gcem.hpp>
17
18
namespace
NAV
19
{
20
21
/// @brief Calculates the standard atmosphere partial pressure of water vapor
22
/// @param[in] temp The absolute temperature in [K]
23
/// @param[in] humidity_rel The relative humidity
24
/// @return The partial pressure [hPa] of water vapor
25
/// @note See \cite RTKLIB RTKLIB ch. E.5, eq. E.5.3, p. 149
26
[[nodiscard]]
constexpr
double
calcWaterVaporPartialPressureStAtm
(
double
temp,
double
humidity_rel)
27
{
28
return
6.108 * gcem::exp((17.15 * temp - 4684.0) / (temp - 38.45)) * humidity_rel;
29
}
26
[[nodiscard]]
constexpr
double
calcWaterVaporPartialPressureStAtm
(
double
temp,
double
humidity_rel) {
…
}
30
31
}
// namespace NAV
NAV
Definition
AppLogic.hpp:17
NAV::calcWaterVaporPartialPressureStAtm
constexpr double calcWaterVaporPartialPressureStAtm(double temp, double humidity_rel)
Calculates the standard atmosphere partial pressure of water vapor.
Definition
StandardAtmosphere.hpp:26
src
Navigation
Atmosphere
WaterVapor
Models
StandardAtmosphere.hpp
Generated by
1.13.2