1
+ """
2
+ Planetary properties used in calculations.
3
+
4
+ Values are primarily taken from Table 1 of Loftus & Wordsworth (2021), unless otherwise noted.
5
+ Each variable represents a physical property or atmospheric composition relevant for cloud microphysics modeling.
6
+ """
7
+
1
8
from PySDM .physics .constants import si
2
9
from dataclasses import dataclass
3
10
from typing import Optional , Dict , Any
@@ -24,7 +31,7 @@ def to_dict(self) -> Dict[str, Any]:
24
31
class EarthLike (Planet ):
25
32
g_std : float = 9.82 * si .metre / si .second ** 2
26
33
T_STP : float = 300 * si .kelvin
27
- p_STP : float = 1.01325 * 1e6 * si .pascal
34
+ p_STP : float = 1.01325 * 1e5 * si .Pa
28
35
RH_zref : float = 0.75
29
36
dry_molar_conc_H2 : float = 0
30
37
dry_molar_conc_He : float = 0
@@ -38,7 +45,7 @@ class EarthLike(Planet):
38
45
class Earth (Planet ):
39
46
g_std : float = 9.82 * si .metre / si .second ** 2
40
47
T_STP : float = 290 * si .kelvin
41
- p_STP : float = 1.01325 * 1e6 * si .pascal
48
+ p_STP : float = 1.01325 * 1e5 * si .Pa
42
49
RH_zref : float = 0.75
43
50
dry_molar_conc_H2 : float = 0
44
51
dry_molar_conc_He : float = 0
@@ -52,7 +59,7 @@ class Earth(Planet):
52
59
class EarlyMars (Planet ):
53
60
g_std : float = 3.71 * si .metre / si .second ** 2
54
61
T_STP : float = 290 * si .kelvin
55
- p_STP : float = 2 * 1e6 * si .pascal
62
+ p_STP : float = 2 * 1e5 * si .Pa
56
63
RH_zref : float = 0.75
57
64
dry_molar_conc_H2 : float = 0
58
65
dry_molar_conc_He : float = 0
@@ -66,7 +73,7 @@ class EarlyMars(Planet):
66
73
class Jupiter (Planet ):
67
74
g_std : float = 24.84 * si .metre / si .second ** 2
68
75
T_STP : float = 274 * si .kelvin
69
- p_STP : float = 4.85 * 1e6 * si .pascal
76
+ p_STP : float = 4.85 * 1e5 * si .Pa
70
77
RH_zref : float = 1
71
78
dry_molar_conc_H2 : float = 0.864
72
79
dry_molar_conc_He : float = 0.136
@@ -80,7 +87,7 @@ class Jupiter(Planet):
80
87
class Saturn (Planet ):
81
88
g_std : float = 10.47 * si .metre / si .second ** 2
82
89
T_STP : float = 284 * si .kelvin
83
- p_STP : float = 10.4 * 1e6 * si .pascal
90
+ p_STP : float = 10.4 * 1e5 * si .Pa
84
91
RH_zref : float = 1
85
92
dry_molar_conc_H2 : float = 0.88
86
93
dry_molar_conc_He : float = 0.12
@@ -94,7 +101,7 @@ class Saturn(Planet):
94
101
class K2_18B (Planet ):
95
102
g_std : float = 12.44 * si .metre / si .second ** 2
96
103
T_STP : float = 275 * si .kelvin
97
- p_STP : float = 0.1 * 1e6 * si .pascal
104
+ p_STP : float = 0.1 * 1e5 * si .Pa
98
105
RH_zref : float = 1
99
106
dry_molar_conc_H2 : float = 0.9
100
107
dry_molar_conc_He : float = 0.1
@@ -108,7 +115,7 @@ class K2_18B(Planet):
108
115
class CompositeTest (Planet ):
109
116
g_std : float = 9.82 * si .metre / si .second ** 2
110
117
T_STP : float = 275 * si .kelvin
111
- p_STP : float = 0.75 * 1e6 * si .pascal
118
+ p_STP : float = 0.75 * 1e5 * si .Pa
112
119
RH_zref : float = 1
113
120
dry_molar_conc_H2 : float = 0.1
114
121
dry_molar_conc_He : float = 0.1
0 commit comments