MosaicMesaParameters
Parameters of MOSAIC's MESA solid-liquid equilibrium (SUBROUTINE mesa_ptc's physics -- mesa_flux_salt's saturation ratios and switch-offs and mesa_convergence_criterion's phase classification -- of chem/module_mosaic_therm.F, WRF v4.8.0, and the solid-liquid constants keq_sl of update_thermodynamic_constants). As in mosaic_thermo_parameters.esm, every default-REAL literal is given at the binary32 value the model holds; double-precision literals (the fn_keq coefficients) are exact as written. Salt order (index set `salt`) is MOSAIC's: 1 nh4so4, 2 lvcite, 3 nh4hso4, 4 nh4msa, 5 nh4no3, 6 nh4cl, 7 na2so4, 8 na3hso4, 9 nahso4, 10 namsa, 11 nano3, 12 nacl, 13 cano3, 14 cacl2, 15 camsa2. mesa_ptc's SOLVER settings are not here (CLAUDE.md: .esm files never implement a numerical solver): rtol_mesa = 0.01 (binary32 0.009999999776482582), nmax_mesa = 80, the step-fraction constants (3.0, caps 0.9D0 and 0.5D0, phi_bar floor -10.0D0), the no-flux step 1.e25, mesa_estimate_eleliquid's 5./3. and mesa_dissolve_small_salt's table of dissolvable salts. They are recorded, with the EarthSciIntegrator configuration that replaces them, in data/eqwefic/notes/mosaic_mesa_kelvin_solvers.md.
Description
Parameters of MOSAIC’s MESA solid-liquid equilibrium (SUBROUTINE mesa_ptc’s physics – mesa_flux_salt’s saturation ratios and switch-offs and mesa_convergence_criterion’s phase classification – of chem/module_mosaic_therm.F, WRF v4.8.0, and the solid-liquid constants keq_sl of update_thermodynamic_constants). As in mosaic_thermo_parameters.esm, every default-REAL literal is given at the binary32 value the model holds; double-precision literals (the fn_keq coefficients) are exact as written. Salt order (index set salt) is MOSAIC’s: 1 nh4so4, 2 lvcite, 3 nh4hso4, 4 nh4msa, 5 nh4no3, 6 nh4cl, 7 na2so4, 8 na3hso4, 9 nahso4, 10 namsa, 11 nano3, 12 nacl, 13 cano3, 14 cacl2, 15 camsa2. mesa_ptc’s SOLVER settings are not here (CLAUDE.md: .esm files never implement a numerical solver): rtol_mesa = 0.01 (binary32 0.009999999776482582), nmax_mesa = 80, the step-fraction constants (3.0, caps 0.9D0 and 0.5D0, phi_bar floor -10.0D0), the no-flux step 1.e25, mesa_estimate_eleliquid’s 5./3. and mesa_dissolve_small_salt’s table of dissolvable salts. They are recorded, with the EarthSciIntegrator configuration that replaces them, in data/eqwefic/notes/mosaic_mesa_kelvin_solvers.md.
Reference
- Zaveri, R.A., Easter, R.C., Peters, L.K. (2005). A computationally efficient Multicomponent Equilibrium Solver for Aerosols (MESA). J. Geophys. Res. 110, D24203.
- WRF v4.8.0 chem/module_mosaic_therm.F
Parameters
| Name | Units | Default | Description |
|---|---|---|---|
t_ref | K | 298.1499938964844 | Reference temperature of fn_keq, tt = 298.15/T; written 298.15 in default REAL, held as binary32 298.1499938964844. |
keq_298 | 1 | [1.04, 11.8, 117.0, 999999986991104.0, 12.21, 17.37, 0.491, 999999986991104.0, 313.0, 999999986991104.0, 11.95, 38.28, 431000.0, 800000000000.0, 999999986991104.0] | Solid-liquid equilibrium constants at 298.15 K of the fifteen soluble salts, keq_sl of update_thermodynamic_constants, in MOSAIC’s salt order (1 nh4so4 … 15 camsa2). The fitted ones are double-precision literals (1.040d0); NH4MSA, Na3H(SO4)2, NaMSA and Ca(MSA)2 are the fixed 1.e15 (default REAL, binary32 999999986991104.0) with no temperature dependence, written here as keq_298 = 1e15, a = b = 0, which fn_keq returns unchanged. |
keq_a | 1 | [-2.65, -5.19, -2.87, 0.0, -10.4, -6.03, 0.98, 0.0, 0.8, 0.0, -8.22, -1.52, 7.83, 32.84, 0.0] | First temperature coefficient of fn_keq, keq_298 exp(a (tt - 1) + b (1 + ln tt - tt)), double-precision literals. |
keq_b | 1 | [38.57, 54.4, 15.83, 0.0, 17.56, 16.92, 39.75, 0.0, 14.79, 0.0, 16.01, 16.89, 42.01, 44.79, 0.0] | Second temperature coefficient of fn_keq, double-precision literals. |
keq_mult | 1 | [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 100000.0, 100000.0, 1.0] | Factor applied after fn_keq: 1.e5 (exact in binary32) for Ca(NO3)2 and CaCl2, whose constants MOSAIC multiplies by 1e5; 1 otherwise. MESA never reads these two (it forces their saturation to 1). |
frac_small | 1 | 0.009999999776482582 | The 0.01 (binary32 0.009999999776482582) of mesa_flux_salt’s calcium switch-off: with calcium dissolved, a salt under this fraction of the liquid electrolytes gets no rate. (The same literal is mesa_dissolve_small_salt’s 1%-of-the-solid snap, which is solver and not written.) |
solid_frac | 1 | 0.9800000190734863 | mesa_convergence_criterion’s mass convergence: the particle is called all solid once the solid salts hold this fraction of the dry salt mass. Written 0.98, binary32 0.9800000190734863. |
dry_salt_min | g/cm^3 | 1.0000000031710769e-30 | Below this dry salt mass (1e-30 g per cm3 of air, binary32 1.0000000031710769e-30) mesa_convergence_criterion declares mass convergence at once (wig 28-Oct-2009: no salt, so all solid). |
crustal_thresh | 1 | 0.30000001192092896 | xhyst_up_crustal_thresh = 0.30 (a real(kind=8) PARAMETER initialised from a default REAL literal, binary32 0.30000001192092896): a converged particle is called fully dissolved only if its crustal solids are at most this fraction of its dry mass. |
gcm3_per_ngm3 | g*m^3/(ng*cm^3) | 1.0000000036274937e-15 | The 1.e-15 (binary32 1.0000000036274937e-15) that takes ng per m3 of air to g per cm3 of air: (1e-9 g/ng)(1e-6 m3/cm3), so it carries (g/cm3)/(ng/m3). It was declared g/ng until 2026-11-13, a 1e6 scale error that the unit table could not see while ng was unrecognised (EarthSciAST #710/#713); the value is unchanged. |
ngm3_per_gcm3 | ng*cm^3/(g*m^3) | 999999986991104.0 | The 1.0e15 (binary32 999999986991104.0) that takes the dry mass back from g per cm3 to ng per m3 in the crustal test, so it carries (ng/m3)/(g/cm3) (declared ng/g until 2026-11-13; value unchanged). |
present_pc | 1 | 1.0 | A salt counts as present in mesa_ptc when it is more than 1.0 mole percent of the total electrolytes (jsalt_present; not ptol_mol_astem). |
xt_split_i2e | 1 | 1.999899983406067 | ions_to_electrolytes’ sulfate-poor test X_T >= 1.9999 (binary32 1.999899983406067); mesa_estimate_eleliquid uses 2.0. |
ion_species | 1 | [[0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0], [0, 0, 0, 0, 0, 1, 0], [0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0], [0, 1, 0, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0, 0], [0, 0, 0, 0, 1, 0, 0]] | Which MOSAIC aerosol species carries each ion: HSO4- and SO4– are both species so4, H+ is carried by none. Species order sp: so4, no3, cl, nh4, msa, na, ca (aer indices 1, 2, 3, 4, 5, 108, 109). |
Raw .esm
Raw .esm JSON (this component)
{
"variables": {
"t_ref": {
"type": "parameter",
"units": "K",
"default": 298.1499938964844,
"description": "Reference temperature of fn_keq, tt = 298.15/T; written 298.15 in default REAL, held as binary32 298.1499938964844."
},
"keq_298": {
"type": "parameter",
"units": "1",
"shape": [
"salt"
],
"default": [
1.04,
11.8,
117.0,
999999986991104.0,
12.21,
17.37,
0.491,
999999986991104.0,
313.0,
999999986991104.0,
11.95,
38.28,
431000.0,
800000000000.0,
999999986991104.0
],
"description": "Solid-liquid equilibrium constants at 298.15 K of the fifteen soluble salts, keq_sl of update_thermodynamic_constants, in MOSAIC's salt order (1 nh4so4 ... 15 camsa2). The fitted ones are double-precision literals (1.040d0); NH4MSA, Na3H(SO4)2, NaMSA and Ca(MSA)2 are the fixed 1.e15 (default REAL, binary32 999999986991104.0) with no temperature dependence, written here as keq_298 = 1e15, a = b = 0, which fn_keq returns unchanged."
},
"keq_a": {
"type": "parameter",
"units": "1",
"shape": [
"salt"
],
"default": [
-2.65,
-5.19,
-2.87,
0.0,
-10.4,
-6.03,
0.98,
0.0,
0.8,
0.0,
-8.22,
-1.52,
7.83,
32.84,
0.0
],
"description": "First temperature coefficient of fn_keq, keq_298 exp(a (tt - 1) + b (1 + ln tt - tt)), double-precision literals."
},
"keq_b": {
"type": "parameter",
"units": "1",
"shape": [
"salt"
],
"default": [
38.57,
54.4,
15.83,
0.0,
17.56,
16.92,
39.75,
0.0,
14.79,
0.0,
16.01,
16.89,
42.01,
44.79,
0.0
],
"description": "Second temperature coefficient of fn_keq, double-precision literals."
},
"keq_mult": {
"type": "parameter",
"units": "1",
"shape": [
"salt"
],
"default": [
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
100000.0,
100000.0,
1.0
],
"description": "Factor applied after fn_keq: 1.e5 (exact in binary32) for Ca(NO3)2 and CaCl2, whose constants MOSAIC multiplies by 1e5; 1 otherwise. MESA never reads these two (it forces their saturation to 1)."
},
"frac_small": {
"type": "parameter",
"units": "1",
"default": 0.009999999776482582,
"description": "The 0.01 (binary32 0.009999999776482582) of mesa_flux_salt's calcium switch-off: with calcium dissolved, a salt under this fraction of the liquid electrolytes gets no rate. (The same literal is mesa_dissolve_small_salt's 1%-of-the-solid snap, which is solver and not written.)"
},
"solid_frac": {
"type": "parameter",
"units": "1",
"default": 0.9800000190734863,
"description": "mesa_convergence_criterion's mass convergence: the particle is called all solid once the solid salts hold this fraction of the dry salt mass. Written 0.98, binary32 0.9800000190734863."
},
"dry_salt_min": {
"type": "parameter",
"units": "g/cm^3",
"default": 1.0000000031710769e-30,
"description": "Below this dry salt mass (1e-30 g per cm3 of air, binary32 1.0000000031710769e-30) mesa_convergence_criterion declares mass convergence at once (wig 28-Oct-2009: no salt, so all solid)."
},
"crustal_thresh": {
"type": "parameter",
"units": "1",
"default": 0.30000001192092896,
"description": "xhyst_up_crustal_thresh = 0.30 (a real(kind=8) PARAMETER initialised from a default REAL literal, binary32 0.30000001192092896): a converged particle is called fully dissolved only if its crustal solids are at most this fraction of its dry mass."
},
"gcm3_per_ngm3": {
"type": "parameter",
"units": "g*m^3/(ng*cm^3)",
"default": 1.0000000036274937e-15,
"description": "The 1.e-15 (binary32 1.0000000036274937e-15) that takes ng per m3 of air to g per cm3 of air: (1e-9 g/ng)(1e-6 m3/cm3), so it carries (g/cm3)/(ng/m3). It was declared g/ng until 2026-11-13, a 1e6 scale error that the unit table could not see while ng was unrecognised (EarthSciAST #710/#713); the value is unchanged."
},
"ngm3_per_gcm3": {
"type": "parameter",
"units": "ng*cm^3/(g*m^3)",
"default": 999999986991104.0,
"description": "The 1.0e15 (binary32 999999986991104.0) that takes the dry mass back from g per cm3 to ng per m3 in the crustal test, so it carries (ng/m3)/(g/cm3) (declared ng/g until 2026-11-13; value unchanged)."
},
"present_pc": {
"type": "parameter",
"units": "1",
"default": 1.0,
"description": "A salt counts as present in mesa_ptc when it is more than 1.0 mole percent of the total electrolytes (jsalt_present; not ptol_mol_astem)."
},
"xt_split_i2e": {
"type": "parameter",
"units": "1",
"default": 1.999899983406067,
"description": "ions_to_electrolytes' sulfate-poor test X_T >= 1.9999 (binary32 1.999899983406067); mesa_estimate_eleliquid uses 2.0."
},
"ion_species": {
"type": "parameter",
"units": "1",
"shape": [
"ion",
"sp"
],
"default": [
[
0,
0,
0,
0,
0,
0,
0
],
[
0,
0,
0,
1,
0,
0,
0
],
[
0,
0,
0,
0,
0,
1,
0
],
[
0,
0,
0,
0,
0,
0,
1
],
[
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0,
0,
0,
0,
0
],
[
0,
1,
0,
0,
0,
0,
0
],
[
0,
0,
1,
0,
0,
0,
0
],
[
0,
0,
0,
0,
1,
0,
0
]
],
"description": "Which MOSAIC aerosol species carries each ion: HSO4- and SO4-- are both species so4, H+ is carried by none. Species order `sp`: so4, no3, cl, nh4, msa, na, ca (aer indices 1, 2, 3, 4, 5, 108, 109)."
}
},
"equations": []
}