1 #ifndef SRC_SNAP_THERMODYNAMICS_VAPORS_AMMONIA_VAPORS_HPP_
2 #define SRC_SNAP_THERMODYNAMICS_VAPORS_AMMONIA_VAPORS_HPP_
7 inline double svpnh3(
double t,
double p,
double beta,
double gamma) {
8 return p * exp((1. - 1. / t) * beta - gamma * log(t));
12 double x = -1790.00 / T - 1.81630 * log10(T) + 14.97593;
13 return pow(10.0, x) * 1.E5 / 760.;
20 result = pow(10., 3.18757 - (506.713 / (T - 80.78)));
22 result = pow(10., 4.86886 - (1113.928 / (T - 10.409)));
28 double A = 24.3037, B = -1766.28, C = -5.64472, D = 0.00740241;
30 double x =
A + B / T + C * log10(T) + D * T;
49 x =
a[1] / T +
a[2] +
a[3] * log(T) +
a[4] * T +
a[5] * pow(T, 2);
64 for (
int i = 1; i < 7; i++)
65 x = x +
a[i] / pow(T, i);
67 return 1.E5 * exp(x +
a[0]);
71 double betal = 20.08, gammal = 5.62, betas = 20.64, gammas = 1.43, tr = 195.4,
74 return T > tr ?
svpnh3(T / tr, pr, betal, gammal)
75 :
svpnh3(T / tr, pr, betas, gammas);
double sat_vapor_p_NH3_Ideal(double T)
double sat_vapor_p_NH3_Hubner(double T)
double sat_vapor_p_NH3_Fray(double T)
double svpnh3(double t, double p, double beta, double gamma)
double sat_vapor_p_NH3_BriggsS(double T)
double sat_vapor_p_NH3_UMich(double T)
double sat_vapor_p_NH3_Antoine(double T)