MosaicAstemSolidSurfaceEquilibrium
The PHYSICS of MOSAIC's gas-particle partitioning of HNO3, HCl and NH3 onto the SOLID salts of one size bin: the surface vapour concentrations a solid surface holds and the instantaneous condensation rates that follow (SUBROUTINE ASTEM_flux_dry and its cases, chem/module_mosaic_therm.F, WRF v4.8.0). ASTEM's integrator -- its explicit solid update, the 1% equilibrium deadband that switches a salt off, the solid equilibrations (degas_solid_nh4no3/nh4cl) it applies to the state before a flux is formed -- is not here (CLAUDE.md: numerical solvers belong to EarthSciIntegrator); the tests feed the state after those edits.
Description
The PHYSICS of MOSAIC’s gas-particle partitioning of HNO3, HCl and NH3 onto the SOLID salts of one size bin: the surface vapour concentrations a solid surface holds and the instantaneous condensation rates that follow (SUBROUTINE ASTEM_flux_dry and its cases, chem/module_mosaic_therm.F, WRF v4.8.0). ASTEM’s integrator – its explicit solid update, the 1% equilibrium deadband that switches a salt off, the solid equilibrations (degas_solid_nh4no3/nh4cl) it applies to the state before a flux is formed – is not here (CLAUDE.md: numerical solvers belong to EarthSciIntegrator); the tests feed the state after those edits.
THE CASES, decided from the solid: 1. solid CaCO3: an acid sink, HNO3 and HCl taken up at kg g (above 1e-5 nmol/m3), into the solid. 2. sulfate-rich (0 <= X_T < 1.9999): an NH3 sink. 3. solid NaCl or CaCl2 with HNO3 in the gas: HNO3 displaces HCl one for one (3a), and NH4Cl forms or evaporates at its vapour product (3b). 4. NH4NO3 and/or NH4Cl can form or evaporate: each salt’s surface holds s_NH3 s_acid = keq0 with equal NH3 and acid fluxes, whose surface NH3 is the larger root of kg_NH3 s^2 + (kg_acid g_acid - kg_NH3 g_NH3) s - kg_acid keq0 = 0 (template mosaic_quadratic); with both salts the acid fluxes are scaled together where they need more NH3 than kg_NH3 g_NH3 supplies (4ab). A salt that is undersaturated and below ptol_mol_astem of the solid’s salts is absent (nothing to evaporate).
WHICH VAPOUR PRODUCT: keq0 = min(Kp0, Keq_sg) on an all-solid bin (ASTEM_flux_dry: the saturated solution’s product Kp_nh4no3_0 / Kp_nh4cl_0 at the ambient RH where that is lower than the solid’s), Keq_sg on a MIXED bin (ASTEM_flux_mix resets it; parameter mixed). The same component is therefore the solid half of ASTEM_flux_mix: astem_mixed_surface_equilibrium.esm reads its case-3 and case-4 pieces (acid_hno3, f3b, f4a, f4b, scale4, nh3_need) evaluated with mixed = 1, since flux_mix selects those cases from the bin’s LIQUID sulfate ratio, not from the solid’s X_T the case flags here use.
THE RATES. cond_x is the solid flux of each gas, nmol/m3/s, positive into the particle, by case.
Reference: the ASTEM tape of the chem_opt = 170 column (fork branch earthsciml-instrumented-chem170; data/eqwefic/notes/chem170_mosaic_astem_capture.md) and hand-specified bins run through WRF’s own compiled ASTEM (chem170_scm/mosaic_astem/hand.tape, mix.tape), real(kind=8), rel 1e-9.
Reference
- Zaveri, R.A., Easter, R.C., Fast, J.D., Peters, L.K. (2008). MOSAIC. J. Geophys. Res. 113, D13204.
- WRF v4.8.0 chem/module_mosaic_therm.F, ASTEM_flux_dry and its cases 1, 2, 3a, 3b, 4, 4a, 4b, 4ab, and ASTEM_flux_mix (its Keq_nh4no3_0 reset)
Parameters
| Name | Units | Default | Description |
|---|---|---|---|
gas_hno3 | nmol/m^3 | 0.0 | Gas-phase HNO3, gas(ihno3_g). |
gas_hcl | nmol/m^3 | 0.0 | Gas-phase HCl, gas(ihcl_g). |
gas_nh3 | nmol/m^3 | 0.0 | Gas-phase NH3, gas(inh3_g). |
kg_hno3 | 1/s | 0.0 | kg(ihno3_g, ibin) (gas_particle_mass_transfer.esm). |
kg_hcl | 1/s | 0.0 | kg(ihcl_g, ibin). |
kg_nh3 | 1/s | 0.0 | kg(inh3_g, ibin). |
so4_s | nmol/m^3 | 0.0 | Solid-phase sulfate aer(iso4_a, jsolid, ibin); with msa, nh4, na and ca it sets the solid’s sulfate ratio. |
msa_s | nmol/m^3 | 0.0 | Solid-phase MSA. |
nh4_s | nmol/m^3 | 0.0 | Solid-phase ammonium. |
na_s | nmol/m^3 | 0.0 | Solid-phase sodium. |
ca_s | nmol/m^3 | 0.0 | Solid-phase calcium. |
cl_s | nmol/m^3 | 0.0 | Solid-phase chloride aer(icl_a, jsolid, ibin). |
caco3_s | nmol/m^3 | 0.0 | Solid CaCO3, electrolyte(jcaco3, jsolid, ibin). |
nacl_s | nmol/m^3 | 0.0 | Solid NaCl, electrolyte(jnacl, jsolid, ibin). |
cacl2_s | nmol/m^3 | 0.0 | Solid CaCl2, electrolyte(jcacl2, jsolid, ibin). |
nh4no3_s | nmol/m^3 | 0.0 | Solid NH4NO3, electrolyte(jnh4no3, jsolid, ibin). |
nh4cl_s | nmol/m^3 | 0.0 | Solid NH4Cl, electrolyte(jnh4cl, jsolid, ibin). |
salt_s | nmol/m^3 | 0.0 | Sum of the fifteen soluble salts in the solid, sum of electrolyte(1:nsalt, jsolid, ibin): the base of the mole percents. |
keq_sg_nh4no3 | nmol^2/m^6 | 0.0 | keq_sg(1), NH4NO3(s) = NH3(g) + HNO3(g), (nmol/m3)^2 (mosaic_gas_equilibrium_constants.esm). |
keq_sg_nh4cl | nmol^2/m^6 | 0.0 | keq_sg(2), NH4Cl(s) = NH3(g) + HCl(g). |
kp_nh4no3_0 | nmol^2/m^6 | 0.0 | Kp_nh4no3_0 = kp_nh4no3 (m0 gamma0)^2: the vapour product over a SATURATED NH4NO3 solution at the ambient RH (update_thermodynamic_constants, ZSR molality and binary MTEM gamma at ah2o). |
kp_nh4cl_0 | nmol^2/m^6 | 0.0 | Kp_nh4cl_0, likewise for NH4Cl. |
mixed | 1 | 0.0 | 1 where the bin is MIXED (a liquid beside the solid salt: ASTEM_flux_mix), 0 for an all-solid bin (ASTEM_flux_dry). It sets which vapour product a solid NH4NO3 or NH4Cl surface holds: ASTEM_flux_dry uses Keq_nh4no3_0 = min(Kp_nh4no3_0, Keq_sg(1)), the lower of the solid’s and the saturated solution’s, while ASTEM_flux_mix resets Keq_nh4no3_0 = Keq_sg(1) (and Keq_nh4cl_0 = Keq_sg(2)) before its solid cases, the pure solid’s own (raz update 6/25/2008). |
Observed
| Name | Units | Default | Description |
|---|---|---|---|
x_t | 1 | Sulfate ratio of the SOLID, template aerosol_xt (calculate_xt(ibin, jsolid)). | |
case1 | 1 | 1 with solid CaCO3: an acid sink. | |
case2 | 1 | 1 when the solid is sulfate-rich (0 <= X_T < 1.9999): an NH3 sink. | |
volatile_cl | nmol/m^3 | Chloride that HNO3 can displace, NaCl + CaCl2. | |
case3 | 1 | 1 when the solid holds NaCl or CaCl2 and there is HNO3: HNO3 displaces HCl (case 3a), and NH4Cl may form or evaporate (3b). | |
keq0_nh4no3 | nmol^2/m^6 | The NH4NO3 vapour product a solid NH4NO3 surface holds: min(Kp_nh4no3_0, Keq_sg(1)) on an all-solid bin (the lower of the solid’s and the saturated solution’s, ASTEM_flux_dry), Keq_sg(1) on a mixed one (ASTEM_flux_mix). | |
keq0_nh4cl | nmol^2/m^6 | As keq0_nh4no3 for NH4Cl: min(Kp_nh4cl_0, Keq_sg(2)) all-solid, Keq_sg(2) mixed. | |
prod_nh4no3 | 1 | 1 when NH4NO3 can form (g_NH3 g_HNO3 > keq0, the gas supersaturated) or there is solid NH4NO3 to evaporate, else 0. The Fortran (ASTEM_flux_dry) writes prod_nh4no3 = max(g_NH3 g_HNO3 - Keq_nh4no3_0, 0) + electrolyte(jnh4no3, jsolid), adding a vapour product in (nmol/m3)^2 to a solid amount in nmol/m3 (FORTRAN_BUGS N122), and reads it only as prod > 0. With both terms non-negative that test is exactly the ‘or’ written here, so every branch is the Fortran’s and the dimensions are consistent. | |
prod_nh4cl | 1 | Likewise for NH4Cl: 1 when g_NH3 g_HCl > keq0_nh4cl or there is solid NH4Cl, else 0 (the Fortran’s prod_nh4cl > 0; N122). | |
case4 | 1 | 1 when neither CaCO3, sulfate-rich nor displaceable chloride applies but NH4NO3 or NH4Cl can exchange. | |
pc_nh4no3 | 1 | Mole percent of NH4NO3 among the solid’s soluble salts. | |
pc_nh4cl | 1 | Mole percent of NH4Cl among the solid’s soluble salts. | |
on_nh4no3 | 1 | Case 4: solid NH4NO3 exchanges – always when the gas is supersaturated with respect to it (g_NH3 g_HNO3 >= Keq_sg(1)); when undersaturated only if it makes up more than ptol_mol_astem (0.01 mole percent) of the solid’s salts, i.e. there is solid to evaporate. The Fortran’s 1% deadband around saturation, an integrator tolerance, is NOT applied. | |
on_nh4cl | 1 | Likewise for NH4Cl (case 4, and 3b against Keq_sg(2)). | |
acid_hno3 | nmol/(m^3 s) | Case 1/3a: the irreversible uptake kg_HNO3 g_HNO3, where the gas exceeds 1e-5 nmol/m3. | |
acid_hcl | nmol/(m^3 s) | Case 1: the irreversible uptake kg_HCl g_HCl, where the gas exceeds 1e-5 nmol/m3. | |
q3_b | nmol/(m^3 s) | Case 3b: b of kg_NH3 s^2 + b s + c = 0 for the surface NH3 over NH4Cl(s), -kg_NH3 g_NH3 + kg_HCl g_HCl. | |
q3_c | nmol^2/(m^6*s) | Case 3b: c = -kg_HCl Keq_sg(2). | |
q4a_b | nmol/(m^3 s) | Case 4a: b of the NH4NO3(s) surface-NH3 quadratic. | |
q4a_c | nmol^2/(m^6*s) | Case 4a: c = -kg_HNO3 keq0_nh4no3. | |
q4b_b | nmol/(m^3 s) | Case 4b: b of the NH4Cl(s) surface-NH3 quadratic. | |
q4b_c | nmol^2/(m^6*s) | Case 4b: c = -kg_HCl keq0_nh4cl. | |
f4a | nmol/(m^3 s) | Case 4a: HNO3 (= NH3) condensation onto solid NH4NO3, kg_HNO3 (g_HNO3 - keq0/s_NH3). | |
f4b | nmol/(m^3 s) | Case 4b: HCl (= NH3) condensation onto solid NH4Cl. | |
f3b | nmol/(m^3 s) | Case 3b: NH3 (= HCl) condensation onto solid NH4Cl, kg_NH3 (g_NH3 - s_NH3). | |
nh3_need | nmol/(m^3 s) | Case 4 with both salts: the NH3 the two acid fluxes need, f4a + f4b. | |
nh3_max | nmol/(m^3 s) | Case 4: the most NH3 the bin can take, kg_NH3 g_NH3. | |
scale4 | 1 | Case 4 with both salts: min(1, nh3_max/nh3_need) – the two acid fluxes are scaled together when NH3 cannot keep up. | |
cond_hno3 | nmol/(m^3 s) | Instantaneous HNO3 condensation onto this solid bin (flux_s), negative = evaporation. | |
cond_hcl | nmol/(m^3 s) | Instantaneous HCl condensation (negative where HNO3 displaces it from NaCl/CaCl2, or NH4Cl evaporates). | |
cond_nh3 | nmol/(m^3 s) | Instantaneous NH3 condensation. | |
s3_nh3 | nmol/m^3 | Case 3b surface NH3 over solid NH4Cl, from s(NH3) s(HCl) = Keq_sg(2) and the balance kg_NH3 (g_NH3 - s_NH3) = kg_HCl (g_HCl - s_HCl). FUNCTION quadratic (template mosaic_quadratic, mosaic_thermo_templates.esm). | |
s4a_nh3 | nmol/m^3 | Case 4a surface NH3 over solid NH4NO3, from s(NH3) s(HNO3) = keq0_nh4no3 and equal NH3 and HNO3 fluxes. FUNCTION quadratic (template mosaic_quadratic, mosaic_thermo_templates.esm). | |
s4b_nh3 | nmol/m^3 | Case 4b surface NH3 over solid NH4Cl, from s(NH3) s(HCl) = keq0_nh4cl and equal fluxes. FUNCTION quadratic (template mosaic_quadratic, mosaic_thermo_templates.esm). |
Observed expressions
$$ x_{t} = \mathrm{aerosol_xt}\left(so4=so4_{s}, msa=msa_{s}, nh4=nh4_{s}, na=na_{s}, ca=ca_{s}\right) $$Sulfate ratio of the SOLID, template aerosol_xt (calculate_xt(ibin, jsolid)).
$$ case1 = \mathrm{ifelse}\left(\mathrm{>}\left(caco3_{s}, 0.0\right), 1.0, 0.0\right) $$1 with solid CaCO3: an acid sink.
$$ case2 = \mathrm{ifelse}\left(\mathrm{and}\left(case1 = 0.0, \mathrm{and}\left(\mathrm{<}\left(x_{t}, ap.xt_{rich}\right), \mathrm{>=}\left(x_{t}, 0.0\right)\right)\right), 1.0, 0.0\right) $$1 when the solid is sulfate-rich (0 <= X_T < 1.9999): an NH3 sink.
$$ volatile_{cl} = nacl_{s} + cacl2_{s} $$Chloride that HNO3 can displace, NaCl + CaCl2.
$$ case3 = \mathrm{ifelse}\left(\mathrm{and}\left(case1 = 0.0, \mathrm{and}\left(case2 = 0.0, \mathrm{and}\left(\mathrm{>}\left(volatile_{cl}, 0.0\right), \mathrm{>}\left(gas_{hno3}, 0.0\right)\right)\right)\right), 1.0, 0.0\right) $$1 when the solid holds NaCl or CaCl2 and there is HNO3: HNO3 displaces HCl (case 3a), and NH4Cl may form or evaporate (3b).
$$ keq0_{nh4no3} = \mathrm{ifelse}\left(\mathrm{>}\left(mixed, 0.0\right), keq_{sg\,nh4no3}, \mathrm{min}\left(kp_{nh4no3\,0}, keq_{sg\,nh4no3}\right)\right) $$The NH4NO3 vapour product a solid NH4NO3 surface holds: min(Kp_nh4no3_0, Keq_sg(1)) on an all-solid bin (the lower of the solid’s and the saturated solution’s, ASTEM_flux_dry), Keq_sg(1) on a mixed one (ASTEM_flux_mix).
$$ keq0_{nh4cl} = \mathrm{ifelse}\left(\mathrm{>}\left(mixed, 0.0\right), keq_{sg\,nh4cl}, \mathrm{min}\left(kp_{nh4cl\,0}, keq_{sg\,nh4cl}\right)\right) $$As keq0_nh4no3 for NH4Cl: min(Kp_nh4cl_0, Keq_sg(2)) all-solid, Keq_sg(2) mixed.
$$ prod_{nh4no3} = \mathrm{ifelse}\left(\mathrm{or}\left(\mathrm{>}\left(gas_{nh3} \cdot gas_{hno3} - keq0_{nh4no3}, 0.0\right), \mathrm{>}\left(nh4no3_{s}, 0.0\right)\right), 1.0, 0.0\right) $$1 when NH4NO3 can form (g_NH3 g_HNO3 > keq0, the gas supersaturated) or there is solid NH4NO3 to evaporate, else 0. The Fortran (ASTEM_flux_dry) writes prod_nh4no3 = max(g_NH3 g_HNO3 - Keq_nh4no3_0, 0) + electrolyte(jnh4no3, jsolid), adding a vapour product in (nmol/m3)^2 to a solid amount in nmol/m3 (FORTRAN_BUGS N122), and reads it only as prod > 0. With both terms non-negative that test is exactly the ‘or’ written here, so every branch is the Fortran’s and the dimensions are consistent.
$$ prod_{nh4cl} = \mathrm{ifelse}\left(\mathrm{or}\left(\mathrm{>}\left(gas_{nh3} \cdot gas_{hcl} - keq0_{nh4cl}, 0.0\right), \mathrm{>}\left(nh4cl_{s}, 0.0\right)\right), 1.0, 0.0\right) $$Likewise for NH4Cl: 1 when g_NH3 g_HCl > keq0_nh4cl or there is solid NH4Cl, else 0 (the Fortran’s prod_nh4cl > 0; N122).
$$ case4 = \mathrm{ifelse}\left(\mathrm{and}\left(case1 = 0.0, \mathrm{and}\left(case2 = 0.0, \mathrm{and}\left(case3 = 0.0, \mathrm{or}\left(\mathrm{>}\left(prod_{nh4no3}, 0.0\right), \mathrm{>}\left(prod_{nh4cl}, 0.0\right)\right)\right)\right)\right), 1.0, 0.0\right) $$1 when neither CaCO3, sulfate-rich nor displaceable chloride applies but NH4NO3 or NH4Cl can exchange.
$$ pc_{nh4no3} = \frac{100.0 \cdot nh4no3_{s}}{\mathrm{ifelse}\left(salt_{s} = 0.0, 1.0, salt_{s}\right)} $$Mole percent of NH4NO3 among the solid’s soluble salts.
$$ pc_{nh4cl} = \frac{100.0 \cdot nh4cl_{s}}{\mathrm{ifelse}\left(salt_{s} = 0.0, 1.0, salt_{s}\right)} $$Mole percent of NH4Cl among the solid’s soluble salts.
$$ on_{nh4no3} = \mathrm{ifelse}\left(\mathrm{and}\left(\mathrm{<}\left(gas_{nh3} \cdot gas_{hno3}, keq_{sg\,nh4no3}\right), \mathrm{<=}\left(pc_{nh4no3}, ap.ptol_{pc}\right)\right), 0.0, 1.0\right) $$Case 4: solid NH4NO3 exchanges – always when the gas is supersaturated with respect to it (g_NH3 g_HNO3 >= Keq_sg(1)); when undersaturated only if it makes up more than ptol_mol_astem (0.01 mole percent) of the solid’s salts, i.e. there is solid to evaporate. The Fortran’s 1% deadband around saturation, an integrator tolerance, is NOT applied.
$$ on_{nh4cl} = \mathrm{ifelse}\left(\mathrm{and}\left(\mathrm{<}\left(gas_{nh3} \cdot gas_{hcl}, keq_{sg\,nh4cl}\right), \mathrm{<=}\left(pc_{nh4cl}, ap.ptol_{pc}\right)\right), 0.0, 1.0\right) $$Likewise for NH4Cl (case 4, and 3b against Keq_sg(2)).
$$ acid_{hno3} = \mathrm{ifelse}\left(\mathrm{>}\left(gas_{hno3}, ap.gas_{min}\right), kg_{hno3} \cdot gas_{hno3}, 0.0\right) $$Case 1/3a: the irreversible uptake kg_HNO3 g_HNO3, where the gas exceeds 1e-5 nmol/m3.
$$ acid_{hcl} = \mathrm{ifelse}\left(\mathrm{>}\left(gas_{hcl}, ap.gas_{min}\right), kg_{hcl} \cdot gas_{hcl}, 0.0\right) $$Case 1: the irreversible uptake kg_HCl g_HCl, where the gas exceeds 1e-5 nmol/m3.
$$ q3_{b} = -kg_{nh3} \cdot gas_{nh3} + kg_{hcl} \cdot gas_{hcl} $$Case 3b: b of kg_NH3 s^2 + b s + c = 0 for the surface NH3 over NH4Cl(s), -kg_NH3 g_NH3 + kg_HCl g_HCl.
$$ q3_{c} = -kg_{hcl} \cdot keq_{sg\,nh4cl} $$Case 3b: c = -kg_HCl Keq_sg(2).
$$ q4a_{b} = -kg_{nh3} \cdot gas_{nh3} + kg_{hno3} \cdot gas_{hno3} $$Case 4a: b of the NH4NO3(s) surface-NH3 quadratic.
$$ q4a_{c} = -kg_{hno3} \cdot keq0_{nh4no3} $$Case 4a: c = -kg_HNO3 keq0_nh4no3.
$$ q4b_{b} = -kg_{nh3} \cdot gas_{nh3} + kg_{hcl} \cdot gas_{hcl} $$Case 4b: b of the NH4Cl(s) surface-NH3 quadratic.
$$ q4b_{c} = -kg_{hcl} \cdot keq0_{nh4cl} $$Case 4b: c = -kg_HCl keq0_nh4cl.
$$ f4a = \mathrm{ifelse}\left(\mathrm{>}\left(on_{nh4no3}, 0.0\right), kg_{hno3} \cdot \left(gas_{hno3} - \frac{keq0_{nh4no3}}{s4a_{nh3}}\right), 0.0\right) $$Case 4a: HNO3 (= NH3) condensation onto solid NH4NO3, kg_HNO3 (g_HNO3 - keq0/s_NH3).
$$ f4b = \mathrm{ifelse}\left(\mathrm{>}\left(on_{nh4cl}, 0.0\right), kg_{hcl} \cdot \left(gas_{hcl} - \frac{keq0_{nh4cl}}{s4b_{nh3}}\right), 0.0\right) $$Case 4b: HCl (= NH3) condensation onto solid NH4Cl.
$$ f3b = \mathrm{ifelse}\left(\mathrm{and}\left(\mathrm{>}\left(prod_{nh4cl}, 0.0\right), \mathrm{>}\left(on_{nh4cl}, 0.0\right)\right), kg_{nh3} \cdot \left(gas_{nh3} - s3_{nh3}\right), 0.0\right) $$Case 3b: NH3 (= HCl) condensation onto solid NH4Cl, kg_NH3 (g_NH3 - s_NH3).
$$ nh3_{need} = f4a + f4b $$Case 4 with both salts: the NH3 the two acid fluxes need, f4a + f4b.
$$ nh3_{max} = kg_{nh3} \cdot gas_{nh3} $$Case 4: the most NH3 the bin can take, kg_NH3 g_NH3.
$$ scale4 = \mathrm{ifelse}\left(\mathrm{and}\left(\mathrm{>}\left(on_{nh4no3}, 0.0\right), \mathrm{and}\left(\mathrm{>}\left(on_{nh4cl}, 0.0\right), \mathrm{>}\left(nh3_{need}, nh3_{max}\right)\right)\right), \frac{nh3_{max}}{\mathrm{ifelse}\left(\mathrm{>}\left(nh3_{need}, 0.0\right), nh3_{need}, 1.0\right)}, 1.0\right) $$Case 4 with both salts: min(1, nh3_max/nh3_need) – the two acid fluxes are scaled together when NH3 cannot keep up.
$$ cond_{hno3} = \mathrm{ifelse}\left(\mathrm{>}\left(case1, 0.0\right), acid_{hno3}, \mathrm{ifelse}\left(\mathrm{>}\left(case3, 0.0\right), acid_{hno3}, \mathrm{ifelse}\left(\mathrm{>}\left(case4, 0.0\right), scale4 \cdot f4a, 0.0\right)\right)\right) $$Instantaneous HNO3 condensation onto this solid bin (flux_s), negative = evaporation.
$$ cond_{hcl} = \mathrm{ifelse}\left(\mathrm{>}\left(case1, 0.0\right), acid_{hcl}, \mathrm{ifelse}\left(\mathrm{>}\left(case3, 0.0\right), -acid_{hno3} + f3b, \mathrm{ifelse}\left(\mathrm{>}\left(case4, 0.0\right), scale4 \cdot f4b, 0.0\right)\right)\right) $$Instantaneous HCl condensation (negative where HNO3 displaces it from NaCl/CaCl2, or NH4Cl evaporates).
$$ cond_{nh3} = \mathrm{ifelse}\left(\mathrm{>}\left(case2, 0.0\right), \mathrm{ifelse}\left(\mathrm{>}\left(gas_{nh3}, ap.gas_{min}\right), kg_{nh3} \cdot gas_{nh3}, 0.0\right), \mathrm{ifelse}\left(\mathrm{>}\left(case3, 0.0\right), f3b, \mathrm{ifelse}\left(\mathrm{>}\left(case4, 0.0\right), scale4 \cdot nh3_{need}, 0.0\right)\right)\right) $$Instantaneous NH3 condensation.
$$ s3_{nh3} = \mathrm{mosaic_quadratic}\left(a=kg_{nh3}, b=q3_{b}, c=q3_{c}, xs=ap.series_{x}\right) $$Case 3b surface NH3 over solid NH4Cl, from s(NH3) s(HCl) = Keq_sg(2) and the balance kg_NH3 (g_NH3 - s_NH3) = kg_HCl (g_HCl - s_HCl). FUNCTION quadratic (template mosaic_quadratic, mosaic_thermo_templates.esm).
$$ s4a_{nh3} = \mathrm{mosaic_quadratic}\left(a=kg_{nh3}, b=q4a_{b}, c=q4a_{c}, xs=ap.series_{x}\right) $$Case 4a surface NH3 over solid NH4NO3, from s(NH3) s(HNO3) = keq0_nh4no3 and equal NH3 and HNO3 fluxes. FUNCTION quadratic (template mosaic_quadratic, mosaic_thermo_templates.esm).
$$ s4b_{nh3} = \mathrm{mosaic_quadratic}\left(a=kg_{nh3}, b=q4b_{b}, c=q4b_{c}, xs=ap.series_{x}\right) $$Case 4b surface NH3 over solid NH4Cl, from s(NH3) s(HCl) = keq0_nh4cl and equal fluxes. FUNCTION quadratic (template mosaic_quadratic, mosaic_thermo_templates.esm).
Raw .esm
Raw .esm JSON (this component)
{
"expression_template_imports": [
{
"ref": "./mosaic_thermo_templates.esm"
}
],
"subsystems": {
"ap": {
"ref": "./mosaic_astem_parameters.esm"
}
},
"variables": {
"gas_hno3": {
"type": "parameter",
"units": "nmol/m^3",
"default": 0.0,
"description": "Gas-phase HNO3, gas(ihno3_g)."
},
"gas_hcl": {
"type": "parameter",
"units": "nmol/m^3",
"default": 0.0,
"description": "Gas-phase HCl, gas(ihcl_g)."
},
"gas_nh3": {
"type": "parameter",
"units": "nmol/m^3",
"default": 0.0,
"description": "Gas-phase NH3, gas(inh3_g)."
},
"kg_hno3": {
"type": "parameter",
"units": "1/s",
"default": 0.0,
"description": "kg(ihno3_g, ibin) (gas_particle_mass_transfer.esm)."
},
"kg_hcl": {
"type": "parameter",
"units": "1/s",
"default": 0.0,
"description": "kg(ihcl_g, ibin)."
},
"kg_nh3": {
"type": "parameter",
"units": "1/s",
"default": 0.0,
"description": "kg(inh3_g, ibin)."
},
"so4_s": {
"type": "parameter",
"units": "nmol/m^3",
"default": 0.0,
"description": "Solid-phase sulfate aer(iso4_a, jsolid, ibin); with msa, nh4, na and ca it sets the solid's sulfate ratio."
},
"msa_s": {
"type": "parameter",
"units": "nmol/m^3",
"default": 0.0,
"description": "Solid-phase MSA."
},
"nh4_s": {
"type": "parameter",
"units": "nmol/m^3",
"default": 0.0,
"description": "Solid-phase ammonium."
},
"na_s": {
"type": "parameter",
"units": "nmol/m^3",
"default": 0.0,
"description": "Solid-phase sodium."
},
"ca_s": {
"type": "parameter",
"units": "nmol/m^3",
"default": 0.0,
"description": "Solid-phase calcium."
},
"cl_s": {
"type": "parameter",
"units": "nmol/m^3",
"default": 0.0,
"description": "Solid-phase chloride aer(icl_a, jsolid, ibin)."
},
"caco3_s": {
"type": "parameter",
"units": "nmol/m^3",
"default": 0.0,
"description": "Solid CaCO3, electrolyte(jcaco3, jsolid, ibin)."
},
"nacl_s": {
"type": "parameter",
"units": "nmol/m^3",
"default": 0.0,
"description": "Solid NaCl, electrolyte(jnacl, jsolid, ibin)."
},
"cacl2_s": {
"type": "parameter",
"units": "nmol/m^3",
"default": 0.0,
"description": "Solid CaCl2, electrolyte(jcacl2, jsolid, ibin)."
},
"nh4no3_s": {
"type": "parameter",
"units": "nmol/m^3",
"default": 0.0,
"description": "Solid NH4NO3, electrolyte(jnh4no3, jsolid, ibin)."
},
"nh4cl_s": {
"type": "parameter",
"units": "nmol/m^3",
"default": 0.0,
"description": "Solid NH4Cl, electrolyte(jnh4cl, jsolid, ibin)."
},
"salt_s": {
"type": "parameter",
"units": "nmol/m^3",
"default": 0.0,
"description": "Sum of the fifteen soluble salts in the solid, sum of electrolyte(1:nsalt, jsolid, ibin): the base of the mole percents."
},
"keq_sg_nh4no3": {
"type": "parameter",
"units": "nmol^2/m^6",
"default": 0.0,
"description": "keq_sg(1), NH4NO3(s) = NH3(g) + HNO3(g), (nmol/m3)^2 (mosaic_gas_equilibrium_constants.esm)."
},
"keq_sg_nh4cl": {
"type": "parameter",
"units": "nmol^2/m^6",
"default": 0.0,
"description": "keq_sg(2), NH4Cl(s) = NH3(g) + HCl(g)."
},
"kp_nh4no3_0": {
"type": "parameter",
"units": "nmol^2/m^6",
"default": 0.0,
"description": "Kp_nh4no3_0 = kp_nh4no3 (m0 gamma0)^2: the vapour product over a SATURATED NH4NO3 solution at the ambient RH (update_thermodynamic_constants, ZSR molality and binary MTEM gamma at ah2o)."
},
"kp_nh4cl_0": {
"type": "parameter",
"units": "nmol^2/m^6",
"default": 0.0,
"description": "Kp_nh4cl_0, likewise for NH4Cl."
},
"mixed": {
"type": "parameter",
"units": "1",
"default": 0.0,
"description": "1 where the bin is MIXED (a liquid beside the solid salt: ASTEM_flux_mix), 0 for an all-solid bin (ASTEM_flux_dry). It sets which vapour product a solid NH4NO3 or NH4Cl surface holds: ASTEM_flux_dry uses Keq_nh4no3_0 = min(Kp_nh4no3_0, Keq_sg(1)), the lower of the solid's and the saturated solution's, while ASTEM_flux_mix resets Keq_nh4no3_0 = Keq_sg(1) (and Keq_nh4cl_0 = Keq_sg(2)) before its solid cases, the pure solid's own (raz update 6/25/2008)."
},
"x_t": {
"type": "unknown",
"units": "1",
"description": "Sulfate ratio of the SOLID, template aerosol_xt (calculate_xt(ibin, jsolid))."
},
"case1": {
"type": "unknown",
"units": "1",
"description": "1 with solid CaCO3: an acid sink."
},
"case2": {
"type": "unknown",
"units": "1",
"description": "1 when the solid is sulfate-rich (0 <= X_T < 1.9999): an NH3 sink."
},
"volatile_cl": {
"type": "unknown",
"units": "nmol/m^3",
"description": "Chloride that HNO3 can displace, NaCl + CaCl2."
},
"case3": {
"type": "unknown",
"units": "1",
"description": "1 when the solid holds NaCl or CaCl2 and there is HNO3: HNO3 displaces HCl (case 3a), and NH4Cl may form or evaporate (3b)."
},
"keq0_nh4no3": {
"type": "unknown",
"units": "nmol^2/m^6",
"description": "The NH4NO3 vapour product a solid NH4NO3 surface holds: min(Kp_nh4no3_0, Keq_sg(1)) on an all-solid bin (the lower of the solid's and the saturated solution's, ASTEM_flux_dry), Keq_sg(1) on a mixed one (ASTEM_flux_mix)."
},
"keq0_nh4cl": {
"type": "unknown",
"units": "nmol^2/m^6",
"description": "As keq0_nh4no3 for NH4Cl: min(Kp_nh4cl_0, Keq_sg(2)) all-solid, Keq_sg(2) mixed."
},
"prod_nh4no3": {
"type": "unknown",
"units": "1",
"description": "1 when NH4NO3 can form (g_NH3 g_HNO3 > keq0, the gas supersaturated) or there is solid NH4NO3 to evaporate, else 0. The Fortran (ASTEM_flux_dry) writes prod_nh4no3 = max(g_NH3 g_HNO3 - Keq_nh4no3_0, 0) + electrolyte(jnh4no3, jsolid), adding a vapour product in (nmol/m3)^2 to a solid amount in nmol/m3 (FORTRAN_BUGS N122), and reads it only as prod > 0. With both terms non-negative that test is exactly the 'or' written here, so every branch is the Fortran's and the dimensions are consistent."
},
"prod_nh4cl": {
"type": "unknown",
"units": "1",
"description": "Likewise for NH4Cl: 1 when g_NH3 g_HCl > keq0_nh4cl or there is solid NH4Cl, else 0 (the Fortran's prod_nh4cl > 0; N122)."
},
"case4": {
"type": "unknown",
"units": "1",
"description": "1 when neither CaCO3, sulfate-rich nor displaceable chloride applies but NH4NO3 or NH4Cl can exchange."
},
"pc_nh4no3": {
"type": "unknown",
"units": "1",
"description": "Mole percent of NH4NO3 among the solid's soluble salts."
},
"pc_nh4cl": {
"type": "unknown",
"units": "1",
"description": "Mole percent of NH4Cl among the solid's soluble salts."
},
"on_nh4no3": {
"type": "unknown",
"units": "1",
"description": "Case 4: solid NH4NO3 exchanges -- always when the gas is supersaturated with respect to it (g_NH3 g_HNO3 >= Keq_sg(1)); when undersaturated only if it makes up more than ptol_mol_astem (0.01 mole percent) of the solid's salts, i.e. there is solid to evaporate. The Fortran's 1% deadband around saturation, an integrator tolerance, is NOT applied."
},
"on_nh4cl": {
"type": "unknown",
"units": "1",
"description": "Likewise for NH4Cl (case 4, and 3b against Keq_sg(2))."
},
"acid_hno3": {
"type": "unknown",
"units": "nmol/(m^3 s)",
"description": "Case 1/3a: the irreversible uptake kg_HNO3 g_HNO3, where the gas exceeds 1e-5 nmol/m3."
},
"acid_hcl": {
"type": "unknown",
"units": "nmol/(m^3 s)",
"description": "Case 1: the irreversible uptake kg_HCl g_HCl, where the gas exceeds 1e-5 nmol/m3."
},
"q3_b": {
"type": "unknown",
"units": "nmol/(m^3 s)",
"description": "Case 3b: b of kg_NH3 s^2 + b s + c = 0 for the surface NH3 over NH4Cl(s), -kg_NH3 g_NH3 + kg_HCl g_HCl."
},
"q3_c": {
"type": "unknown",
"units": "nmol^2/(m^6*s)",
"description": "Case 3b: c = -kg_HCl Keq_sg(2)."
},
"q4a_b": {
"type": "unknown",
"units": "nmol/(m^3 s)",
"description": "Case 4a: b of the NH4NO3(s) surface-NH3 quadratic."
},
"q4a_c": {
"type": "unknown",
"units": "nmol^2/(m^6*s)",
"description": "Case 4a: c = -kg_HNO3 keq0_nh4no3."
},
"q4b_b": {
"type": "unknown",
"units": "nmol/(m^3 s)",
"description": "Case 4b: b of the NH4Cl(s) surface-NH3 quadratic."
},
"q4b_c": {
"type": "unknown",
"units": "nmol^2/(m^6*s)",
"description": "Case 4b: c = -kg_HCl keq0_nh4cl."
},
"f4a": {
"type": "unknown",
"units": "nmol/(m^3 s)",
"description": "Case 4a: HNO3 (= NH3) condensation onto solid NH4NO3, kg_HNO3 (g_HNO3 - keq0/s_NH3)."
},
"f4b": {
"type": "unknown",
"units": "nmol/(m^3 s)",
"description": "Case 4b: HCl (= NH3) condensation onto solid NH4Cl."
},
"f3b": {
"type": "unknown",
"units": "nmol/(m^3 s)",
"description": "Case 3b: NH3 (= HCl) condensation onto solid NH4Cl, kg_NH3 (g_NH3 - s_NH3)."
},
"nh3_need": {
"type": "unknown",
"units": "nmol/(m^3 s)",
"description": "Case 4 with both salts: the NH3 the two acid fluxes need, f4a + f4b."
},
"nh3_max": {
"type": "unknown",
"units": "nmol/(m^3 s)",
"description": "Case 4: the most NH3 the bin can take, kg_NH3 g_NH3."
},
"scale4": {
"type": "unknown",
"units": "1",
"description": "Case 4 with both salts: min(1, nh3_max/nh3_need) -- the two acid fluxes are scaled together when NH3 cannot keep up."
},
"cond_hno3": {
"type": "unknown",
"units": "nmol/(m^3 s)",
"description": "Instantaneous HNO3 condensation onto this solid bin (flux_s), negative = evaporation."
},
"cond_hcl": {
"type": "unknown",
"units": "nmol/(m^3 s)",
"description": "Instantaneous HCl condensation (negative where HNO3 displaces it from NaCl/CaCl2, or NH4Cl evaporates)."
},
"cond_nh3": {
"type": "unknown",
"units": "nmol/(m^3 s)",
"description": "Instantaneous NH3 condensation."
},
"s3_nh3": {
"type": "unknown",
"units": "nmol/m^3",
"description": "Case 3b surface NH3 over solid NH4Cl, from s(NH3) s(HCl) = Keq_sg(2) and the balance kg_NH3 (g_NH3 - s_NH3) = kg_HCl (g_HCl - s_HCl). FUNCTION quadratic (template mosaic_quadratic, mosaic_thermo_templates.esm)."
},
"s4a_nh3": {
"type": "unknown",
"units": "nmol/m^3",
"description": "Case 4a surface NH3 over solid NH4NO3, from s(NH3) s(HNO3) = keq0_nh4no3 and equal NH3 and HNO3 fluxes. FUNCTION quadratic (template mosaic_quadratic, mosaic_thermo_templates.esm)."
},
"s4b_nh3": {
"type": "unknown",
"units": "nmol/m^3",
"description": "Case 4b surface NH3 over solid NH4Cl, from s(NH3) s(HCl) = keq0_nh4cl and equal fluxes. FUNCTION quadratic (template mosaic_quadratic, mosaic_thermo_templates.esm)."
}
},
"equations": [
{
"lhs": "x_t",
"rhs": {
"op": "apply_expression_template",
"args": [],
"name": "aerosol_xt",
"bindings": {
"so4": "so4_s",
"msa": "msa_s",
"nh4": "nh4_s",
"na": "na_s",
"ca": "ca_s"
}
}
},
{
"lhs": "case1",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"caco3_s",
0.0
]
},
1.0,
0.0
]
}
},
{
"lhs": "case2",
"rhs": {
"op": "ifelse",
"args": [
{
"op": "and",
"args": [
{
"op": "==",
"args": [
"case1",
0.0
]
},
{
"op": "and",
"args": [
{
"op": "<",
"args": [
"x_t",
"ap.xt_rich"
]
},
{
"op": ">=",
"args": [
"x_t",
0.0
]
}
]
}
]
},
1.0,
0.0
]
}
},
{
"lhs": "volatile_cl",
"rhs": {
"op": "+",
"args": [
"nacl_s",
"cacl2_s"
]
}
},
{
"lhs": "case3",
"rhs": {
"op": "ifelse",
"args": [
{
"op": "and",
"args": [
{
"op": "==",
"args": [
"case1",
0.0
]
},
{
"op": "and",
"args": [
{
"op": "==",
"args": [
"case2",
0.0
]
},
{
"op": "and",
"args": [
{
"op": ">",
"args": [
"volatile_cl",
0.0
]
},
{
"op": ">",
"args": [
"gas_hno3",
0.0
]
}
]
}
]
}
]
},
1.0,
0.0
]
}
},
{
"lhs": "keq0_nh4no3",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"mixed",
0.0
]
},
"keq_sg_nh4no3",
{
"op": "min",
"args": [
"kp_nh4no3_0",
"keq_sg_nh4no3"
]
}
]
}
},
{
"lhs": "keq0_nh4cl",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"mixed",
0.0
]
},
"keq_sg_nh4cl",
{
"op": "min",
"args": [
"kp_nh4cl_0",
"keq_sg_nh4cl"
]
}
]
}
},
{
"lhs": "prod_nh4no3",
"rhs": {
"op": "ifelse",
"args": [
{
"op": "or",
"args": [
{
"op": ">",
"args": [
{
"op": "-",
"args": [
{
"op": "*",
"args": [
"gas_nh3",
"gas_hno3"
]
},
"keq0_nh4no3"
]
},
0.0
]
},
{
"op": ">",
"args": [
"nh4no3_s",
0.0
]
}
]
},
1.0,
0.0
]
}
},
{
"lhs": "prod_nh4cl",
"rhs": {
"op": "ifelse",
"args": [
{
"op": "or",
"args": [
{
"op": ">",
"args": [
{
"op": "-",
"args": [
{
"op": "*",
"args": [
"gas_nh3",
"gas_hcl"
]
},
"keq0_nh4cl"
]
},
0.0
]
},
{
"op": ">",
"args": [
"nh4cl_s",
0.0
]
}
]
},
1.0,
0.0
]
}
},
{
"lhs": "case4",
"rhs": {
"op": "ifelse",
"args": [
{
"op": "and",
"args": [
{
"op": "==",
"args": [
"case1",
0.0
]
},
{
"op": "and",
"args": [
{
"op": "==",
"args": [
"case2",
0.0
]
},
{
"op": "and",
"args": [
{
"op": "==",
"args": [
"case3",
0.0
]
},
{
"op": "or",
"args": [
{
"op": ">",
"args": [
"prod_nh4no3",
0.0
]
},
{
"op": ">",
"args": [
"prod_nh4cl",
0.0
]
}
]
}
]
}
]
}
]
},
1.0,
0.0
]
}
},
{
"lhs": "pc_nh4no3",
"rhs": {
"op": "/",
"args": [
{
"op": "*",
"args": [
100.0,
"nh4no3_s"
]
},
{
"op": "ifelse",
"args": [
{
"op": "==",
"args": [
"salt_s",
0.0
]
},
1.0,
"salt_s"
]
}
]
}
},
{
"lhs": "pc_nh4cl",
"rhs": {
"op": "/",
"args": [
{
"op": "*",
"args": [
100.0,
"nh4cl_s"
]
},
{
"op": "ifelse",
"args": [
{
"op": "==",
"args": [
"salt_s",
0.0
]
},
1.0,
"salt_s"
]
}
]
}
},
{
"lhs": "on_nh4no3",
"rhs": {
"op": "ifelse",
"args": [
{
"op": "and",
"args": [
{
"op": "<",
"args": [
{
"op": "*",
"args": [
"gas_nh3",
"gas_hno3"
]
},
"keq_sg_nh4no3"
]
},
{
"op": "<=",
"args": [
"pc_nh4no3",
"ap.ptol_pc"
]
}
]
},
0.0,
1.0
]
}
},
{
"lhs": "on_nh4cl",
"rhs": {
"op": "ifelse",
"args": [
{
"op": "and",
"args": [
{
"op": "<",
"args": [
{
"op": "*",
"args": [
"gas_nh3",
"gas_hcl"
]
},
"keq_sg_nh4cl"
]
},
{
"op": "<=",
"args": [
"pc_nh4cl",
"ap.ptol_pc"
]
}
]
},
0.0,
1.0
]
}
},
{
"lhs": "acid_hno3",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"gas_hno3",
"ap.gas_min"
]
},
{
"op": "*",
"args": [
"kg_hno3",
"gas_hno3"
]
},
0.0
]
}
},
{
"lhs": "acid_hcl",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"gas_hcl",
"ap.gas_min"
]
},
{
"op": "*",
"args": [
"kg_hcl",
"gas_hcl"
]
},
0.0
]
}
},
{
"lhs": "q3_b",
"rhs": {
"op": "+",
"args": [
{
"op": "-",
"args": [
{
"op": "*",
"args": [
"kg_nh3",
"gas_nh3"
]
}
]
},
{
"op": "*",
"args": [
"kg_hcl",
"gas_hcl"
]
}
]
}
},
{
"lhs": "q3_c",
"rhs": {
"op": "-",
"args": [
{
"op": "*",
"args": [
"kg_hcl",
"keq_sg_nh4cl"
]
}
]
}
},
{
"lhs": "s3_nh3",
"rhs": {
"op": "apply_expression_template",
"args": [],
"name": "mosaic_quadratic",
"bindings": {
"a": "kg_nh3",
"b": "q3_b",
"c": "q3_c",
"xs": "ap.series_x"
}
}
},
{
"lhs": "f3b",
"rhs": {
"op": "ifelse",
"args": [
{
"op": "and",
"args": [
{
"op": ">",
"args": [
"prod_nh4cl",
0.0
]
},
{
"op": ">",
"args": [
"on_nh4cl",
0.0
]
}
]
},
{
"op": "*",
"args": [
"kg_nh3",
{
"op": "-",
"args": [
"gas_nh3",
"s3_nh3"
]
}
]
},
0.0
]
}
},
{
"lhs": "q4a_b",
"rhs": {
"op": "+",
"args": [
{
"op": "-",
"args": [
{
"op": "*",
"args": [
"kg_nh3",
"gas_nh3"
]
}
]
},
{
"op": "*",
"args": [
"kg_hno3",
"gas_hno3"
]
}
]
}
},
{
"lhs": "q4a_c",
"rhs": {
"op": "-",
"args": [
{
"op": "*",
"args": [
"kg_hno3",
"keq0_nh4no3"
]
}
]
}
},
{
"lhs": "s4a_nh3",
"rhs": {
"op": "apply_expression_template",
"args": [],
"name": "mosaic_quadratic",
"bindings": {
"a": "kg_nh3",
"b": "q4a_b",
"c": "q4a_c",
"xs": "ap.series_x"
}
}
},
{
"lhs": "f4a",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"on_nh4no3",
0.0
]
},
{
"op": "*",
"args": [
"kg_hno3",
{
"op": "-",
"args": [
"gas_hno3",
{
"op": "/",
"args": [
"keq0_nh4no3",
"s4a_nh3"
]
}
]
}
]
},
0.0
]
}
},
{
"lhs": "q4b_b",
"rhs": {
"op": "+",
"args": [
{
"op": "-",
"args": [
{
"op": "*",
"args": [
"kg_nh3",
"gas_nh3"
]
}
]
},
{
"op": "*",
"args": [
"kg_hcl",
"gas_hcl"
]
}
]
}
},
{
"lhs": "q4b_c",
"rhs": {
"op": "-",
"args": [
{
"op": "*",
"args": [
"kg_hcl",
"keq0_nh4cl"
]
}
]
}
},
{
"lhs": "s4b_nh3",
"rhs": {
"op": "apply_expression_template",
"args": [],
"name": "mosaic_quadratic",
"bindings": {
"a": "kg_nh3",
"b": "q4b_b",
"c": "q4b_c",
"xs": "ap.series_x"
}
}
},
{
"lhs": "f4b",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"on_nh4cl",
0.0
]
},
{
"op": "*",
"args": [
"kg_hcl",
{
"op": "-",
"args": [
"gas_hcl",
{
"op": "/",
"args": [
"keq0_nh4cl",
"s4b_nh3"
]
}
]
}
]
},
0.0
]
}
},
{
"lhs": "nh3_need",
"rhs": {
"op": "+",
"args": [
"f4a",
"f4b"
]
}
},
{
"lhs": "nh3_max",
"rhs": {
"op": "*",
"args": [
"kg_nh3",
"gas_nh3"
]
}
},
{
"lhs": "scale4",
"rhs": {
"op": "ifelse",
"args": [
{
"op": "and",
"args": [
{
"op": ">",
"args": [
"on_nh4no3",
0.0
]
},
{
"op": "and",
"args": [
{
"op": ">",
"args": [
"on_nh4cl",
0.0
]
},
{
"op": ">",
"args": [
"nh3_need",
"nh3_max"
]
}
]
}
]
},
{
"op": "/",
"args": [
"nh3_max",
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"nh3_need",
0.0
]
},
"nh3_need",
1.0
]
}
]
},
1.0
]
}
},
{
"lhs": "cond_hno3",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"case1",
0.0
]
},
"acid_hno3",
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"case3",
0.0
]
},
"acid_hno3",
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"case4",
0.0
]
},
{
"op": "*",
"args": [
"scale4",
"f4a"
]
},
0.0
]
}
]
}
]
}
},
{
"lhs": "cond_hcl",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"case1",
0.0
]
},
"acid_hcl",
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"case3",
0.0
]
},
{
"op": "+",
"args": [
{
"op": "-",
"args": [
"acid_hno3"
]
},
"f3b"
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"case4",
0.0
]
},
{
"op": "*",
"args": [
"scale4",
"f4b"
]
},
0.0
]
}
]
}
]
}
},
{
"lhs": "cond_nh3",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"case2",
0.0
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"gas_nh3",
"ap.gas_min"
]
},
{
"op": "*",
"args": [
"kg_nh3",
"gas_nh3"
]
},
0.0
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"case3",
0.0
]
},
"f3b",
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"case4",
0.0
]
},
{
"op": "*",
"args": [
"scale4",
"nh3_need"
]
},
0.0
]
}
]
}
]
}
}
],
"tests": [
{
"id": "astem64_dry_case1_hand_dry_caco3",
"description": "Branch case1. Hand-specified bin 'dry_caco3' (solid with CaCO3 (dry case 1); chem170_scm/mosaic_astem/make_astem_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.0,
"gas_hcl": 1.0,
"gas_nh3": 1.0,
"kg_hno3": 0.00011870969870517692,
"kg_hcl": 0.00015574210709050427,
"kg_nh3": 0.00022804754134074417,
"so4_s": 0.5,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 0.0,
"ca_s": 1.0,
"cl_s": 0.0,
"caco3_s": 0.5,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.0,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 26419.719345989535,
"kp_nh4cl_0": 329874.2564852783
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case1",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.00011870969870517692,
"tolerance": {
"rel": 1e-09,
"abs": 1.5574210709050426e-16
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.00015574210709050427,
"tolerance": {
"rel": 1e-09,
"abs": 1.5574210709050426e-16
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.5574210709050426e-16
}
}
]
},
{
"id": "astem64_dry_case2_none_s59_k57_b2_sub1",
"description": "Branch case2_none. ASTEM tape (real64), chem_opt = 170 column, model step 60, level 57, bin 2, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.5032267095028615,
"gas_hcl": 0.9604203985866211,
"gas_nh3": 4.249490976250299e-06,
"kg_hno3": 6.519129074977896e-06,
"kg_hcl": 8.56202405910148e-06,
"kg_nh3": 1.2543836844023629e-05,
"so4_s": 0.14705124303507258,
"msa_s": 0.0,
"nh4_s": 0.14550373127208505,
"na_s": 1.2007964886477635e-08,
"ca_s": 5.236622470514246e-16,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.14550374328004995,
"keq_sg_nh4no3": 9.791284289849293e-05,
"keq_sg_nh4cl": 0.0005088363048935377,
"kp_nh4no3_0": 0.006510968677649086,
"kp_nh4cl_0": 0.06701727591110242
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
}
]
},
{
"id": "astem64_dry_case2_none_s229_k59_b2_sub1",
"description": "Branch case2_none. ASTEM tape (real64), chem_opt = 170 column, model step 230, level 59, bin 2, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.26811317438836674,
"gas_hcl": 0.6371955103325254,
"gas_nh3": 9.86119504930087e-06,
"kg_hno3": 6.513362646200943e-06,
"kg_hcl": 8.55576752369911e-06,
"kg_nh3": 1.2535633920956194e-05,
"so4_s": 0.14725003472426143,
"msa_s": 0.0,
"nh4_s": 0.14493634123471671,
"na_s": 1.1944652889281462e-08,
"ca_s": 2.880800393984918e-16,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.1449363531793696,
"keq_sg_nh4no3": 9.791284289849293e-05,
"keq_sg_nh4cl": 0.0005088363048935377,
"kp_nh4no3_0": 0.006517663588250184,
"kp_nh4cl_0": 0.06692935382879181
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
}
]
},
{
"id": "astem64_dry_case2_none_s600_k57_b6_sub1",
"description": "Branch case2_none. ASTEM tape (real64), chem_opt = 170 column, model step 601, level 57, bin 6, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.455941081086197,
"gas_hcl": 0.9846845550369064,
"gas_nh3": 2.138356522840111e-11,
"kg_hno3": 2.7654449399732814e-06,
"kg_hcl": 3.6008039617917032e-06,
"kg_nh3": 5.252931561128819e-06,
"so4_s": 0.7286731372280331,
"msa_s": 0.0,
"nh4_s": 0.7279343765917027,
"na_s": 0.10294008079241587,
"ca_s": 5.231597146006446e-16,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.6779418574681544,
"keq_sg_nh4no3": 9.791284289849293e-05,
"keq_sg_nh4cl": 0.0005088363048935377,
"kp_nh4no3_0": 0.006430067325279342,
"kp_nh4cl_0": 0.06666787809217228
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
}
]
},
{
"id": "astem64_dry_case2_none_s688_k57_b6_sub1",
"description": "Branch case2_none. ASTEM tape (real64), chem_opt = 170 column, model step 689, level 57, bin 6, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.45008013345619596,
"gas_hcl": 0.9894923541919549,
"gas_nh3": 4.265392353079296e-06,
"kg_hno3": 2.7743410231249417e-06,
"kg_hcl": 3.61238641159892e-06,
"kg_nh3": 5.269827672068657e-06,
"so4_s": 0.7311060235437976,
"msa_s": 0.0,
"nh4_s": 0.7302777638146284,
"na_s": 0.10326110215660818,
"ca_s": 5.235436751602006e-16,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.6803037321946617,
"keq_sg_nh4no3": 9.791284289849293e-05,
"keq_sg_nh4cl": 0.0005088363048935377,
"kp_nh4no3_0": 0.006382965128957221,
"kp_nh4cl_0": 0.06640261720654306
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
}
]
},
{
"id": "astem64_dry_case2_none_s917_k57_b2_sub1",
"description": "Branch case2_none. ASTEM tape (real64), chem_opt = 170 column, model step 918, level 57, bin 2, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.44082363643029876,
"gas_hcl": 0.9993907044510472,
"gas_nh3": 5.7136817405259205e-06,
"kg_hno3": 6.980862376540783e-06,
"kg_hcl": 9.168443190305955e-06,
"kg_nh3": 1.3432268980490321e-05,
"so4_s": 0.1699816835161357,
"msa_s": 0.0,
"nh4_s": 0.1471666399853404,
"na_s": 1.1843414161269022e-08,
"ca_s": 5.48543227784235e-16,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.14716665182875457,
"keq_sg_nh4no3": 9.791284289849293e-05,
"keq_sg_nh4cl": 0.0005088363048935377,
"kp_nh4no3_0": 0.006323948127641629,
"kp_nh4cl_0": 0.06602690449927641
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
}
]
},
{
"id": "astem64_dry_case2_none_s1079_k42_b6_sub1",
"description": "Branch case2_none. ASTEM tape (real64), chem_opt = 170 column, model step 1080, level 42, bin 6, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.4483920624097677,
"gas_hcl": 2.686821066355371,
"gas_nh3": 1.4670398560211127e-07,
"kg_hno3": 2.5076304837441854e-06,
"kg_hcl": 3.204294055260629e-06,
"kg_nh3": 4.632885358321991e-06,
"so4_s": 0.7153861700054732,
"msa_s": 0.0,
"nh4_s": 0.7145380406246045,
"na_s": 0.10230697259271138,
"ca_s": 1.6141883665267328e-15,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.665080813089983,
"keq_sg_nh4no3": 6.294513386081408,
"keq_sg_nh4cl": 17.923324067102016,
"kp_nh4no3_0": 46.208291955650296,
"kp_nh4cl_0": 488.7264785889646
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
}
]
},
{
"id": "astem64_dry_case2_none_s1620_k43_b4_sub1",
"description": "Branch case2_none. ASTEM tape (real64), chem_opt = 170 column, model step 1621, level 43, bin 4, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.346683826832739,
"gas_hcl": 2.6618541820780397,
"gas_nh3": 4.740061473490181e-06,
"kg_hno3": 1.9938654847634114e-05,
"kg_hcl": 2.601821504648913e-05,
"kg_nh3": 3.799624203177453e-05,
"so4_s": 1.7599802297541938,
"msa_s": 0.0,
"nh4_s": 1.7525703211704773,
"na_s": 0.0002343383636599062,
"ca_s": 1.5749897825260194e-15,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 1.752804659534137,
"keq_sg_nh4no3": 3.081172880786292,
"keq_sg_nh4cl": 9.106137864564342,
"kp_nh4no3_0": 25.167962751305122,
"kp_nh4cl_0": 259.5164175771864
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
}
]
},
{
"id": "astem64_dry_case2_none_s1620_k59_b6_sub1",
"description": "Branch case2_none. ASTEM tape (real64), chem_opt = 170 column, model step 1621, level 59, bin 6, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.2222136213876827,
"gas_hcl": 0.6680019418065137,
"gas_nh3": 9.972221191792005e-06,
"kg_hno3": 2.8360042639917506e-06,
"kg_hcl": 3.7091612257107473e-06,
"kg_nh3": 5.42279503035864e-06,
"so4_s": 0.7276536671537246,
"msa_s": 0.0,
"nh4_s": 0.7266464127202015,
"na_s": 0.10260034020259008,
"ca_s": 2.862651703326786e-16,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.677360751485952,
"keq_sg_nh4no3": 9.791284289849293e-05,
"keq_sg_nh4cl": 0.0005088363048935377,
"kp_nh4no3_0": 0.00642884742541143,
"kp_nh4cl_0": 0.06642917551560101
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
}
]
},
{
"id": "astem64_dry_case2_none_s1800_k56_b5_sub1",
"description": "Branch case2_none. ASTEM tape (real64), chem_opt = 170 column, model step 1801, level 56, bin 5, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.4931056443454163,
"gas_hcl": 1.2190235745260025,
"gas_nh3": 1.906053274255291e-07,
"kg_hno3": 1.024305820003175e-05,
"kg_hcl": 1.338884367282136e-05,
"kg_nh3": 1.956882687824563e-05,
"so4_s": 1.8282426366406452,
"msa_s": 0.0,
"nh4_s": 1.8244363205513,
"na_s": 0.008083083716648645,
"ca_s": 6.507223725660963e-16,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 1.8280074108716649,
"keq_sg_nh4no3": 9.791284289849293e-05,
"keq_sg_nh4cl": 0.0005088363048935377,
"kp_nh4no3_0": 0.0047134033719286915,
"kp_nh4cl_0": 0.038407186822621946
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
}
]
},
{
"id": "astem64_dry_case2_none_s2100_k58_b2_sub1",
"description": "Branch case2_none. ASTEM tape (real64), chem_opt = 170 column, model step 2101, level 58, bin 2, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.2888366052426137,
"gas_hcl": 0.8596284938844442,
"gas_nh3": 9.900643226129952e-06,
"kg_hno3": 7.0506643312847915e-06,
"kg_hcl": 9.260843539037704e-06,
"kg_nh3": 1.3568171371533624e-05,
"so4_s": 0.1757532893827822,
"msa_s": 0.0,
"nh4_s": 0.1458312766649965,
"na_s": 1.1581144884330878e-08,
"ca_s": 4.3405446155182356e-16,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.1458312882461414,
"keq_sg_nh4no3": 9.791284289849293e-05,
"keq_sg_nh4cl": 0.0005088363048935377,
"kp_nh4no3_0": 0.006295878986950985,
"kp_nh4cl_0": 0.06583384648273197
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
}
]
},
{
"id": "astem64_dry_case2_none_s2399_k57_b3_sub1",
"description": "Branch case2_none. ASTEM tape (real64), chem_opt = 170 column, model step 2400, level 57, bin 3, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.36668040950795894,
"gas_hcl": 1.0548500176513183,
"gas_nh3": 5.339516073727885e-06,
"kg_hno3": 1.607590974356362e-05,
"kg_hcl": 2.110505975514209e-05,
"kg_nh3": 3.091379032725931e-05,
"so4_s": 0.7336118126224865,
"msa_s": 0.0,
"nh4_s": 0.715671776339048,
"na_s": 2.719448309408323e-06,
"ca_s": 5.525147935204167e-16,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.7156744957873574,
"keq_sg_nh4no3": 9.791284289849293e-05,
"keq_sg_nh4cl": 0.0005088363048935377,
"kp_nh4no3_0": 0.006129378404306318,
"kp_nh4cl_0": 0.0644766893114665
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
}
]
},
{
"id": "astem64_dry_case2_none_s2520_k58_b6_sub1",
"description": "Branch case2_none. ASTEM tape (real64), chem_opt = 170 column, model step 2521, level 58, bin 6, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.27737417900285705,
"gas_hcl": 0.8713639194397601,
"gas_nh3": 9.732640205316555e-06,
"kg_hno3": 2.8222563513761383e-06,
"kg_hcl": 3.682863000108895e-06,
"kg_nh3": 5.3783907863628345e-06,
"so4_s": 0.7348603887873125,
"msa_s": 0.0,
"nh4_s": 0.7329067955206794,
"na_s": 0.10339112450585423,
"ca_s": 4.0469998694161314e-16,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.6851184198010178,
"keq_sg_nh4no3": 9.791284289849293e-05,
"keq_sg_nh4cl": 0.0005088363048935377,
"kp_nh4no3_0": 0.0063620950962015995,
"kp_nh4cl_0": 0.06612013156485771
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1e-12
}
}
]
},
{
"id": "astem64_dry_case2_uptake_s0_k49_b5_sub1",
"description": "Branch case2_uptake. ASTEM tape (real64), chem_opt = 170 column, model step 1, level 49, bin 5, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.1812526115947484,
"gas_hcl": 1.9225901565662706,
"gas_nh3": 0.08381510708664908,
"kg_hno3": 9.843368432625077e-06,
"kg_hcl": 1.2786232438620876e-05,
"kg_nh3": 1.8631349817868837e-05,
"so4_s": 1.7937361037305906,
"msa_s": 0.0,
"nh4_s": 1.793432493149218,
"na_s": 0.007968913363823256,
"ca_s": 1.2194189735886172e-15,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 1.7900552576300488,
"keq_sg_nh4no3": 0.0024752075380173547,
"keq_sg_nh4cl": 0.010736825949327629,
"kp_nh4no3_0": 0.06294836688406645,
"kp_nh4cl_0": 0.501585799418922
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.5615885801534964e-18
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.5615885801534964e-18
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 1.5615885801534964e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.5615885801534964e-18
}
}
]
},
{
"id": "astem64_dry_case2_uptake_s0_k56_b6_sub1",
"description": "Branch case2_uptake. ASTEM tape (real64), chem_opt = 170 column, model step 1, level 56, bin 6, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.6172050599374046,
"gas_hcl": 1.1176218387058419,
"gas_nh3": 0.043793208168426405,
"kg_hno3": 2.733320152982602e-06,
"kg_hcl": 3.551474989051734e-06,
"kg_nh3": 5.175687409448645e-06,
"so4_s": 0.7295373661475655,
"msa_s": 0.0,
"nh4_s": 0.7294933323516672,
"na_s": 0.10322908793683593,
"ca_s": 6.371820531658539e-16,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.6779668559750445,
"keq_sg_nh4no3": 9.791284289849293e-05,
"keq_sg_nh4cl": 0.0005088363048935377,
"kp_nh4no3_0": 0.005783455967058196,
"kp_nh4cl_0": 0.06042017282595452
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 2.266599561366881e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 2.266599561366881e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 2.266599561366881e-07,
"tolerance": {
"rel": 1e-09,
"abs": 2.266599561366881e-19
}
}
]
},
{
"id": "astem64_dry_case2_uptake_s600_k41_b3_sub1",
"description": "Branch case2_uptake. ASTEM tape (real64), chem_opt = 170 column, model step 601, level 41, bin 3, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.5486738921265892,
"gas_hcl": 2.716474089753635,
"gas_nh3": 0.0028712463191597056,
"kg_hno3": 1.6568428044484658e-05,
"kg_hcl": 2.1697972613702077e-05,
"kg_nh3": 3.1743013150231207e-05,
"so4_s": 0.7185286796046664,
"msa_s": 0.0,
"nh4_s": 0.7117301698248535,
"na_s": 2.679344165735018e-06,
"ca_s": 1.6842228269338366e-15,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.7117328491690192,
"keq_sg_nh4no3": 10.255356829513003,
"keq_sg_nh4cl": 28.472471211064164,
"kp_nh4no3_0": 66.11532198955291,
"kp_nh4cl_0": 657.8050467732811
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 9.114200966663948e-20
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 9.114200966663948e-20
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 9.114200966663948e-08,
"tolerance": {
"rel": 1e-09,
"abs": 9.114200966663948e-20
}
}
]
},
{
"id": "astem64_dry_case2_uptake_s638_k40_b6_sub1",
"description": "Branch case2_uptake. ASTEM tape (real64), chem_opt = 170 column, model step 639, level 40, bin 6, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.5920233743779233,
"gas_hcl": 2.7883272780422166,
"gas_nh3": 0.00029068359060079626,
"kg_hno3": 2.4960428421077346e-06,
"kg_hcl": 3.185144007546138e-06,
"kg_nh3": 4.602263787933668e-06,
"so4_s": 0.7151511731507653,
"msa_s": 0.0,
"nh4_s": 0.7140538829651024,
"na_s": 0.10262079614054406,
"ca_s": 1.7170619565101284e-15,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.6649380652661527,
"keq_sg_nh4no3": 20.628657709521494,
"keq_sg_nh4cl": 55.247114030917615,
"kp_nh4no3_0": 121.90940699569398,
"kp_nh4cl_0": 1274.7710317099895
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.3378025627685802e-21
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.3378025627685802e-21
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 1.3378025627685802e-09,
"tolerance": {
"rel": 1e-09,
"abs": 1.3378025627685802e-21
}
}
]
},
{
"id": "astem64_dry_case2_uptake_s638_k44_b6_sub1",
"description": "Branch case2_uptake. ASTEM tape (real64), chem_opt = 170 column, model step 639, level 44, bin 6, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.3779218806650015,
"gas_hcl": 2.4119000182169645,
"gas_nh3": 0.0024031679018838605,
"kg_hno3": 2.5209485482139294e-06,
"kg_hcl": 3.2263340024740007e-06,
"kg_nh3": 4.668158343713119e-06,
"so4_s": 0.7152052337689343,
"msa_s": 0.0,
"nh4_s": 0.7141403531983468,
"na_s": 0.10112809859702543,
"ca_s": 1.4987176767163458e-15,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.665706065041006,
"keq_sg_nh4no3": 1.8614340470186732,
"keq_sg_nh4cl": 5.648464546424182,
"kp_nh4no3_0": 16.754515137835686,
"kp_nh4cl_0": 174.37735467501165
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.1218368292522694e-20
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.1218368292522694e-20
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 1.1218368292522694e-08,
"tolerance": {
"rel": 1e-09,
"abs": 1.1218368292522694e-20
}
}
]
},
{
"id": "astem64_dry_case2_uptake_s688_k42_b4_sub1",
"description": "Branch case2_uptake. ASTEM tape (real64), chem_opt = 170 column, model step 689, level 42, bin 4, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.4861620193346656,
"gas_hcl": 2.6470571991035228,
"gas_nh3": 0.0050764360575784725,
"kg_hno3": 1.9807328648516982e-05,
"kg_hcl": 2.5840475738185e-05,
"kg_nh3": 3.7732136364924524e-05,
"so4_s": 1.742431955166157,
"msa_s": 0.0,
"nh4_s": 1.7363332275648122,
"na_s": 0.00023277620769875936,
"ca_s": 1.6172893541739629e-15,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 1.736566003772511,
"keq_sg_nh4no3": 6.16406426388917,
"keq_sg_nh4cl": 17.57097399965001,
"kp_nh4no3_0": 44.49194334875427,
"kp_nh4cl_0": 458.1252944193384
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.9154477757237076e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.9154477757237076e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 1.9154477757237076e-07,
"tolerance": {
"rel": 1e-09,
"abs": 1.9154477757237076e-19
}
}
]
},
{
"id": "astem64_dry_case2_uptake_s917_k43_b3_sub1",
"description": "Branch case2_uptake. ASTEM tape (real64), chem_opt = 170 column, model step 918, level 43, bin 3, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.4103059908973472,
"gas_hcl": 2.5931152645012645,
"gas_nh3": 0.0026894920659738916,
"kg_hno3": 1.648211071700427e-05,
"kg_hcl": 2.1590172704565243e-05,
"kg_nh3": 3.158911762808637e-05,
"so4_s": 0.7193322387782857,
"msa_s": 0.0,
"nh4_s": 0.7112068383818891,
"na_s": 2.6730234158353867e-06,
"ca_s": 1.5855998155526641e-15,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.711209511405305,
"keq_sg_nh4no3": 3.3560976859798113,
"keq_sg_nh4cl": 9.874464968921398,
"kp_nh4no3_0": 27.148532555037598,
"kp_nh4cl_0": 281.96453344541123
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 8.495868123185428e-20
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 8.495868123185428e-20
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 8.495868123185429e-08,
"tolerance": {
"rel": 1e-09,
"abs": 8.495868123185428e-20
}
}
]
},
{
"id": "astem64_dry_case2_uptake_s1079_k59_b4_sub1",
"description": "Branch case2_uptake. ASTEM tape (real64), chem_opt = 170 column, model step 1080, level 59, bin 4, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.2352136459232668,
"gas_hcl": 0.6555569702593991,
"gas_nh3": 1.0015388090115833e-05,
"kg_hno3": 1.9673848927057438e-05,
"kg_hcl": 2.582622920718082e-05,
"kg_nh3": 3.782743399369492e-05,
"so4_s": 1.7689126539734783,
"msa_s": 0.0,
"nh4_s": 1.761610472057839,
"na_s": 0.00023758601231268006,
"ca_s": 2.9093080449461974e-16,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 1.7618480580701517,
"keq_sg_nh4no3": 9.791284289849293e-05,
"keq_sg_nh4cl": 0.0005088363048935377,
"kp_nh4no3_0": 0.006355590930750607,
"kp_nh4cl_0": 0.06609128107499353
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 3.788564319000949e-22
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 3.788564319000949e-22
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 3.788564319000949e-10,
"tolerance": {
"rel": 1e-09,
"abs": 3.788564319000949e-22
}
}
]
},
{
"id": "astem64_dry_case2_uptake_s1729_k58_b5_sub1",
"description": "Branch case2_uptake. ASTEM tape (real64), chem_opt = 170 column, model step 1730, level 58, bin 5, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.31067370378365305,
"gas_hcl": 0.8498871264510404,
"gas_nh3": 1.0018804211802425e-05,
"kg_hno3": 1.0242340825772865e-05,
"kg_hcl": 1.3416469473394257e-05,
"kg_nh3": 1.962987366869578e-05,
"so4_s": 1.8066111729627015,
"msa_s": 0.0,
"nh4_s": 1.8014975669857565,
"na_s": 0.007978857209893268,
"ca_s": 4.0742490695814587e-16,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 1.806611172962701,
"keq_sg_nh4no3": 9.791284289849293e-05,
"keq_sg_nh4cl": 0.0005088363048935377,
"kp_nh4no3_0": 0.006423404957631085,
"kp_nh4cl_0": 0.06640288662055996
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.966678609890788e-22
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.966678609890788e-22
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 1.9666786098907882e-10,
"tolerance": {
"rel": 1e-09,
"abs": 1.966678609890788e-22
}
}
]
},
{
"id": "astem64_dry_case2_uptake_s2100_k41_b4_sub1",
"description": "Branch case2_uptake. ASTEM tape (real64), chem_opt = 170 column, model step 2101, level 41, bin 4, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.3370108021688913,
"gas_hcl": 2.847654417916683,
"gas_nh3": 1.2264435661753916e-05,
"kg_hno3": 1.991726533879769e-05,
"kg_hcl": 2.5978108506797413e-05,
"kg_nh3": 3.792898418224089e-05,
"so4_s": 1.758949800005232,
"msa_s": 0.0,
"nh4_s": 1.7333035966783628,
"na_s": 0.00023154447307537307,
"ca_s": 1.6804231366998714e-15,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 1.7335351411514381,
"keq_sg_nh4no3": 14.743373345567523,
"keq_sg_nh4cl": 40.173263727313184,
"kp_nh4no3_0": 94.27724741758448,
"kp_nh4cl_0": 1011.461284036585
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 4.651775862187754e-22
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 4.651775862187754e-22
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 4.651775862187754e-10,
"tolerance": {
"rel": 1e-09,
"abs": 4.651775862187754e-22
}
}
]
},
{
"id": "astem64_dry_case2_uptake_s2399_k41_b4_sub1",
"description": "Branch case2_uptake. ASTEM tape (real64), chem_opt = 170 column, model step 2400, level 41, bin 4, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.3106305542246646,
"gas_hcl": 2.8781408683055854,
"gas_nh3": 1.2957616510089344e-05,
"kg_hno3": 2.0017232755856897e-05,
"kg_hcl": 2.6108170758129514e-05,
"kg_nh3": 3.811864820747548e-05,
"so4_s": 1.7708903584722526,
"msa_s": 0.0,
"nh4_s": 1.7421265057781776,
"na_s": 0.00023257342209888742,
"ca_s": 1.685653251635993e-15,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 1.7423590792002766,
"keq_sg_nh4no3": 13.464615111498372,
"keq_sg_nh4cl": 36.8607913362473,
"kp_nh4no3_0": 85.87961235052755,
"kp_nh4cl_0": 900.3701740747152
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 4.939268253554718e-22
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 4.939268253554718e-22
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 4.939268253554719e-10,
"tolerance": {
"rel": 1e-09,
"abs": 4.939268253554718e-22
}
}
]
},
{
"id": "astem64_dry_case2_uptake_s2520_k59_b6_sub1",
"description": "Branch case2_uptake. ASTEM tape (real64), chem_opt = 170 column, model step 2521, level 59, bin 6, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.19425496429086075,
"gas_hcl": 0.6850328669927785,
"gas_nh3": 1.0347811207081412e-05,
"kg_hno3": 2.834194442918131e-06,
"kg_hcl": 3.7067935987982863e-06,
"kg_nh3": 5.4193331314608265e-06,
"so4_s": 0.727762900693005,
"msa_s": 0.0,
"nh4_s": 0.7263368856560668,
"na_s": 0.10243156296476788,
"ca_s": 2.863130939016915e-16,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.6779731342475586,
"keq_sg_nh4no3": 9.791284289849293e-05,
"keq_sg_nh4cl": 0.0005088363048935377,
"kp_nh4no3_0": 0.00636176737463781,
"kp_nh4cl_0": 0.0661186734946375
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case2",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 5.607823611263795e-23
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 5.607823611263795e-23
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 5.6078236112637945e-11,
"tolerance": {
"rel": 1e-09,
"abs": 5.607823611263795e-23
}
}
]
},
{
"id": "astem64_dry_case3a_s59_k2_b7_sub1",
"description": "Branch case3a. ASTEM tape (real64), chem_opt = 170 column, model step 60, level 2, bin 7, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 2.7327066398647686,
"gas_hcl": 16.00893260671183,
"gas_nh3": 0.14548839109317974,
"kg_hno3": 7.214931369528368e-07,
"kg_hcl": 8.896693746556654e-07,
"kg_nh3": 1.2655669526505895e-06,
"so4_s": 0.12031335683015176,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 0.5218665786532511,
"ca_s": 2.8238118596998677e-15,
"cl_s": 0.2742579070383724,
"caco3_s": 0.0,
"nacl_s": 0.2742579070383724,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.4015532218231022,
"keq_sg_nh4no3": 351962.7232563594,
"keq_sg_nh4cl": 586624.3267215365,
"kp_nh4no3_0": 388107.32685936155,
"kp_nh4cl_0": 3502036.557189554
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 1.9716290859678777e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.9716290859678775e-18
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -1.9716290859678777e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.9716290859678775e-18
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.9716290859678775e-18
}
}
]
},
{
"id": "astem64_dry_case3a_s229_k22_b8_sub1",
"description": "Branch case3a. ASTEM tape (real64), chem_opt = 170 column, model step 230, level 22, bin 8, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 2.342414444505246,
"gas_hcl": 7.464676225907545,
"gas_nh3": 0.005942290080824367,
"kg_hno3": 2.3506498037477711e-07,
"kg_hcl": 2.846675499425108e-07,
"kg_nh3": 4.017405694708027e-07,
"so4_s": 0.0078574904438652,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 1.0481076065211066,
"ca_s": 2.394817674780668e-15,
"cl_s": 1.0249033298481307,
"caco3_s": 0.0,
"nacl_s": 1.0249033298481307,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 1.0402501160772437,
"keq_sg_nh4no3": 10394.631294532668,
"keq_sg_nh4cl": 20433.71763268422,
"kp_nh4no3_0": 13434.0902385368,
"kp_nh4cl_0": 81332.50712452737
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 5.506196054272202e-07,
"tolerance": {
"rel": 1e-09,
"abs": 5.506196054272201e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -5.506196054272202e-07,
"tolerance": {
"rel": 1e-09,
"abs": 5.506196054272201e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 5.506196054272201e-19
}
}
]
},
{
"id": "astem64_dry_case3a_s600_k5_b8_sub1",
"description": "Branch case3a. ASTEM tape (real64), chem_opt = 170 column, model step 601, level 5, bin 8, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.9456163847751418,
"gas_hcl": 9.511975984583064,
"gas_nh3": 0.01699637080705383,
"kg_hno3": 2.024096193016636e-07,
"kg_hcl": 2.441323409519127e-07,
"kg_nh3": 3.4393248910115565e-07,
"so4_s": 0.009533399500961555,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 0.954539327269079,
"ca_s": 2.7618662714477396e-15,
"cl_s": 0.9183373847934689,
"caco3_s": 0.0,
"nacl_s": 0.9183373847934689,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.9450059277681202,
"keq_sg_nh4no3": 321251.36740011466,
"keq_sg_nh4cl": 537678.2741659924,
"kp_nh4no3_0": 345687.3129993156,
"kp_nh4cl_0": 2973604.359070258
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 3.938114717494155e-07,
"tolerance": {
"rel": 1e-09,
"abs": 3.9381147174941553e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -3.938114717494155e-07,
"tolerance": {
"rel": 1e-09,
"abs": 3.9381147174941553e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 3.9381147174941553e-19
}
}
]
},
{
"id": "astem64_dry_case3a_s638_k29_b8_sub1",
"description": "Branch case3a. ASTEM tape (real64), chem_opt = 170 column, model step 639, level 29, bin 8, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 2.088088370862598,
"gas_hcl": 3.433279335126893,
"gas_nh3": 0.0009421813018836014,
"kg_hno3": 2.4265250366663414e-07,
"kg_hcl": 2.946836475989698e-07,
"kg_nh3": 4.163847329212927e-07,
"so4_s": 0.007692467182768753,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 1.0375882582554488,
"ca_s": 2.174724742640153e-15,
"cl_s": 1.0026084636824404,
"caco3_s": 0.0,
"nacl_s": 1.0026084636824404,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 1.029895791072682,
"keq_sg_nh4no3": 1506.3391029017598,
"keq_sg_nh4cl": 3252.071318496042,
"kp_nh4no3_0": 3631.6235454037974,
"kp_nh4cl_0": 29627.021386677832
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 5.066798710669927e-07,
"tolerance": {
"rel": 1e-09,
"abs": 5.066798710669927e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -5.066798710669927e-07,
"tolerance": {
"rel": 1e-09,
"abs": 5.066798710669927e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 5.066798710669927e-19
}
}
]
},
{
"id": "astem64_dry_case3a_s688_k44_b8_sub1",
"description": "Branch case3a. ASTEM tape (real64), chem_opt = 170 column, model step 689, level 44, bin 8, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.3774521275098142,
"gas_hcl": 2.430648075995089,
"gas_nh3": 0.0025813693414694283,
"kg_hno3": 2.7474445187606853e-07,
"kg_hcl": 3.3749984731248906e-07,
"kg_nh3": 4.792882207621961e-07,
"so4_s": 0.007280409012648248,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 1.015552126144577,
"ca_s": 1.5003404210109871e-15,
"cl_s": 0.9848126172946815,
"caco3_s": 0.0,
"nacl_s": 0.9848126172946815,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 1.0082717171319304,
"keq_sg_nh4no3": 1.5970179021463777,
"keq_sg_nh4cl": 4.885264458417847,
"kp_nh4no3_0": 13.91854729699456,
"kp_nh4cl_0": 133.04769002602524
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 3.7844732975820836e-07,
"tolerance": {
"rel": 1e-09,
"abs": 3.7844732975820836e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -3.7844732975820836e-07,
"tolerance": {
"rel": 1e-09,
"abs": 3.7844732975820836e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 3.7844732975820836e-19
}
}
]
},
{
"id": "astem64_dry_case3a_s1079_k17_b8_sub1",
"description": "Branch case3a. ASTEM tape (real64), chem_opt = 170 column, model step 1080, level 17, bin 8, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 2.1157750557460697,
"gas_hcl": 9.816119295968747,
"gas_nh3": 0.020807834243471664,
"kg_hno3": 2.0671526699628414e-07,
"kg_hcl": 2.499618106422233e-07,
"kg_nh3": 3.5253323716518036e-07,
"so4_s": 0.00891703031600719,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 0.9369840655731866,
"ca_s": 2.519071334679395e-15,
"cl_s": 0.8890857333925177,
"caco3_s": 0.0,
"nacl_s": 0.8890857333925177,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.9280670352571819,
"keq_sg_nh4no3": 38534.9218186547,
"keq_sg_nh4cl": 71175.98195104625,
"kp_nh4no3_0": 41432.421483305465,
"kp_nh4cl_0": 257302.83112902287
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 4.373630055526268e-07,
"tolerance": {
"rel": 1e-09,
"abs": 4.373630055526268e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -4.373630055526268e-07,
"tolerance": {
"rel": 1e-09,
"abs": 4.373630055526268e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 4.373630055526268e-19
}
}
]
},
{
"id": "astem64_dry_case3a_s1620_k27_b8_sub1",
"description": "Branch case3a. ASTEM tape (real64), chem_opt = 170 column, model step 1621, level 27, bin 8, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 2.0995327859753994,
"gas_hcl": 3.744737270508716,
"gas_nh3": 0.0016484909727304384,
"kg_hno3": 2.420620172079821e-07,
"kg_hcl": 2.936667107805301e-07,
"kg_nh3": 4.1476349227326554e-07,
"so4_s": 0.007852937067239617,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 1.0465535214232675,
"ca_s": 2.2447233608233697e-15,
"cl_s": 0.9803918099299399,
"caco3_s": 0.0,
"nacl_s": 0.9803918099299399,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 1.0387005843560302,
"keq_sg_nh4no3": 2546.285539654223,
"keq_sg_nh4cl": 5357.855225245865,
"kp_nh4no3_0": 5156.754696358774,
"kp_nh4cl_0": 38043.3919286082
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 5.082171413674997e-07,
"tolerance": {
"rel": 1e-09,
"abs": 5.082171413674997e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -5.082171413674997e-07,
"tolerance": {
"rel": 1e-09,
"abs": 5.082171413674997e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 5.082171413674997e-19
}
}
]
},
{
"id": "astem64_dry_case3a_s1729_k27_b8_sub1",
"description": "Branch case3a. ASTEM tape (real64), chem_opt = 170 column, model step 1730, level 27, bin 8, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 2.097812249127584,
"gas_hcl": 3.7515679115756155,
"gas_nh3": 0.0015900303374466842,
"kg_hno3": 2.4229219634619354e-07,
"kg_hcl": 2.9394517050269675e-07,
"kg_nh3": 4.151562920632536e-07,
"so4_s": 0.007888633889793675,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 1.0470548748737953,
"ca_s": 2.244426490052186e-15,
"cl_s": 0.9775100872426258,
"caco3_s": 0.0,
"nacl_s": 0.9775100872426258,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 1.039166240984004,
"keq_sg_nh4no3": 2569.1357869089625,
"keq_sg_nh4cl": 5403.581478099047,
"kp_nh4no3_0": 5253.973162282485,
"kp_nh4cl_0": 39229.279495017
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 5.082835373630705e-07,
"tolerance": {
"rel": 1e-09,
"abs": 5.082835373630705e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -5.082835373630705e-07,
"tolerance": {
"rel": 1e-09,
"abs": 5.082835373630705e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 5.082835373630705e-19
}
}
]
},
{
"id": "astem64_dry_case3a_s2100_k11_b7_sub1",
"description": "Branch case3a. ASTEM tape (real64), chem_opt = 170 column, model step 2101, level 11, bin 7, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.4231448664314876,
"gas_hcl": 6.30515807759406,
"gas_nh3": 0.017683019241968478,
"kg_hno3": 7.053579721691474e-07,
"kg_hcl": 8.713342099107497e-07,
"kg_nh3": 1.2404759150857265e-06,
"so4_s": 0.11929741850740894,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 0.4885300930821026,
"ca_s": 2.6380672173200723e-15,
"cl_s": 0.07891316002379006,
"caco3_s": 0.0,
"nacl_s": 0.07891316002379006,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.3692326745746963,
"keq_sg_nh4no3": 177786.5569926065,
"keq_sg_nh4cl": 305766.72415742587,
"kp_nh4no3_0": 186676.34905763197,
"kp_nh4cl_0": 1413397.4317556575
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 1.0038265770890462e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.0038265770890463e-18
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -1.0038265770890462e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.0038265770890463e-18
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.0038265770890463e-18
}
}
]
},
{
"id": "astem64_dry_case3a_s2133_k23_b8_sub1",
"description": "Branch case3a. ASTEM tape (real64), chem_opt = 170 column, model step 2134, level 23, bin 8, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 2.280647944147089,
"gas_hcl": 7.494476821074576,
"gas_nh3": 0.001911034274503758,
"kg_hno3": 2.3046093361671763e-07,
"kg_hcl": 2.791750995895981e-07,
"kg_nh3": 3.9404021382493283e-07,
"so4_s": 0.008413122921257545,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 1.0129788578809347,
"ca_s": 2.3608317357738696e-15,
"cl_s": 0.9280000103502877,
"caco3_s": 0.0,
"nacl_s": 0.9280000103502877,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 1.0045657349596795,
"keq_sg_nh4no3": 9667.871287901526,
"keq_sg_nh4cl": 19071.251761024585,
"kp_nh4no3_0": 17381.85059551815,
"kp_nh4cl_0": 143443.11165709674
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 5.256002544591858e-07,
"tolerance": {
"rel": 1e-09,
"abs": 5.256002544591858e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -5.256002544591858e-07,
"tolerance": {
"rel": 1e-09,
"abs": 5.256002544591858e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 5.256002544591858e-19
}
}
]
},
{
"id": "astem64_dry_case3a_s2399_k39_b8_sub1",
"description": "Branch case3a. ASTEM tape (real64), chem_opt = 170 column, model step 2400, level 39, bin 8, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.4016831058851553,
"gas_hcl": 3.030911339612129,
"gas_nh3": 9.902956155765516e-05,
"kg_hno3": 2.627085148012184e-07,
"kg_hcl": 3.210919156928091e-07,
"kg_nh3": 4.549739916376034e-07,
"so4_s": 0.0076540863354611546,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 1.0241888998206,
"ca_s": 1.7582108051902167e-15,
"cl_s": 0.9495388221263418,
"caco3_s": 0.0,
"nacl_s": 0.9495388221263418,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 1.0165348134851406,
"keq_sg_nh4no3": 35.98487031903162,
"keq_sg_nh4cl": 93.6667418302185,
"kp_nh4no3_0": 178.97144487003254,
"kp_nh4cl_0": 1669.08670987868
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 3.6823408696904805e-07,
"tolerance": {
"rel": 1e-09,
"abs": 3.6823408696904806e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -3.6823408696904805e-07,
"tolerance": {
"rel": 1e-09,
"abs": 3.6823408696904806e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 3.6823408696904806e-19
}
}
]
},
{
"id": "astem64_dry_case3a_s2520_k46_b8_sub1",
"description": "Branch case3a. ASTEM tape (real64), chem_opt = 170 column, model step 2521, level 46, bin 8, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.0561257555275032,
"gas_hcl": 2.441218357132944,
"gas_nh3": 0.0013717591803081796,
"kg_hno3": 2.856259393016257e-07,
"kg_hcl": 3.517505497994416e-07,
"kg_nh3": 5.00083506599774e-07,
"so4_s": 0.007438046247904261,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 1.019868185400017,
"ca_s": 1.3809998526770326e-15,
"cl_s": 0.9462402409479569,
"caco3_s": 0.0,
"nacl_s": 0.9462402409479569,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 1.012430139152114,
"keq_sg_nh4no3": 0.38918088727043765,
"keq_sg_nh4cl": 1.282807893283609,
"kp_nh4no3_0": 2.5915864574561667,
"kp_nh4cl_0": 13.827738347523042
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 3.0165691094318223e-07,
"tolerance": {
"rel": 1e-09,
"abs": 3.016569109431822e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -3.0165691094318223e-07,
"tolerance": {
"rel": 1e-09,
"abs": 3.016569109431822e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 3.016569109431822e-19
}
}
]
},
{
"id": "astem64_dry_case3a_3b_s0_k1_b7_sub1",
"description": "Branch case3a_3b. ASTEM tape (real64), chem_opt = 170 column, model step 1, level 1, bin 7, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 2.7401189482771793,
"gas_hcl": 15.890206017824458,
"gas_nh3": 0.19403283541130453,
"kg_hno3": 7.378071192647462e-07,
"kg_hcl": 9.095440427971346e-07,
"kg_nh3": 1.293685751911271e-06,
"so4_s": 0.11693903370327924,
"msa_s": 0.0,
"nh4_s": 0.11687114245568742,
"na_s": 0.5221050340075721,
"ca_s": 2.828404301872539e-15,
"cl_s": 0.4050981090567049,
"caco3_s": 0.0,
"nacl_s": 0.2882269666010175,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.11687114245568742,
"salt_s": 0.5220371427599831,
"keq_sg_nh4no3": 523042.0196216485,
"keq_sg_nh4cl": 856164.3827091716,
"kp_nh4no3_0": 598424.5234009445,
"kp_nh4cl_0": 6179318.037578871
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 2.0216792676711316e-06,
"tolerance": {
"rel": 1e-09,
"abs": 9.983969906259396e-16
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -0.0009983969906259397,
"tolerance": {
"rel": 1e-09,
"abs": 9.983969906259396e-16
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": -0.0009963753113582687,
"tolerance": {
"rel": 1e-09,
"abs": 9.983969906259396e-16
}
},
{
"variable": "s3_nh3",
"time": 0.0,
"expected": 770.37744861953,
"tolerance": {
"rel": 1e-09,
"abs": 7.7037744861953e-10
}
}
]
},
{
"id": "astem64_dry_case3a_3b_s0_k27_b7_sub1",
"description": "Branch case3a_3b. ASTEM tape (real64), chem_opt = 170 column, model step 1, level 27, bin 7, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 2.1791276207004775,
"gas_hcl": 3.347973982447054,
"gas_nh3": 0.15405302366482745,
"kg_hno3": 7.797238806693804e-07,
"kg_hcl": 9.679503719733198e-07,
"kg_nh3": 1.381063502180301e-06,
"so4_s": 0.1168730383327605,
"msa_s": 0.0,
"nh4_s": 0.11681587669353065,
"na_s": 0.5218581107075874,
"ca_s": 2.2493893691837173e-15,
"cl_s": 0.4049279107356001,
"caco3_s": 0.0,
"nacl_s": 0.2881120340420694,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.11681587669353065,
"salt_s": 0.5218009490683597,
"keq_sg_nh4no3": 2224.7034383223927,
"keq_sg_nh4cl": 4712.138334610033,
"kp_nh4no3_0": 2782.2548124721943,
"kp_nh4cl_0": 13599.974707209374
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 1.69911784488641e-06,
"tolerance": {
"rel": 1e-09,
"abs": 7.935428368409848e-17
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -7.935428368409848e-05,
"tolerance": {
"rel": 1e-09,
"abs": 7.935428368409848e-17
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": -7.765516583921207e-05,
"tolerance": {
"rel": 1e-09,
"abs": 7.935428368409848e-17
}
},
{
"variable": "s3_nh3",
"time": 0.0,
"expected": 56.382579602360856,
"tolerance": {
"rel": 1e-09,
"abs": 5.638257960236086e-11
}
}
]
},
{
"id": "astem64_dry_case3a_3b_s0_k53_b8_sub1",
"description": "Branch case3a_3b. ASTEM tape (real64), chem_opt = 170 column, model step 1, level 53, bin 8, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.8968653712085443,
"gas_hcl": 1.5163720107201726,
"gas_nh3": 0.06364024763037684,
"kg_hno3": 3.316006953071842e-07,
"kg_hcl": 4.139735059499903e-07,
"kg_nh3": 5.921558905888679e-07,
"so4_s": 0.007341096050664648,
"msa_s": 0.0,
"nh4_s": 0.0073310635239813475,
"na_s": 1.0471897319304542,
"ca_s": 9.258652756643201e-16,
"cl_s": 1.0398386033531075,
"caco3_s": 0.0,
"nacl_s": 1.0325075398291261,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0073310635239813475,
"salt_s": 1.0471796994037719,
"keq_sg_nh4no3": 9.791284289849293e-05,
"keq_sg_nh4cl": 0.0005088363048935377,
"kp_nh4no3_0": 0.005969630024208725,
"kp_nh4cl_0": 0.06282973790333696
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 2.974011806896891e-07,
"tolerance": {
"rel": 1e-09,
"abs": 2.974011806896891e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -2.5992755300090123e-07,
"tolerance": {
"rel": 1e-09,
"abs": 2.974011806896891e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 3.747362768878789e-08,
"tolerance": {
"rel": 1e-09,
"abs": 2.974011806896891e-19
}
},
{
"variable": "s3_nh3",
"time": 0.0,
"expected": 0.0003568651894416864,
"tolerance": {
"rel": 1e-09,
"abs": 3.568651894416864e-16
}
}
]
},
{
"id": "astem64_dry_case3a_3b_s59_k56_b7_sub1",
"description": "Branch case3a_3b. ASTEM tape (real64), chem_opt = 170 column, model step 60, level 56, bin 7, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.6249709333392909,
"gas_hcl": 1.1398652803931428,
"gas_nh3": 4.711613966241473e-06,
"kg_hno3": 1.0229748084693089e-06,
"kg_hcl": 1.3149854958741635e-06,
"kg_nh3": 1.9065875132097592e-06,
"so4_s": 0.11911798332106228,
"msa_s": 0.0,
"nh4_s": 0.11908864538686109,
"na_s": 0.5319858835887779,
"ca_s": 6.4807702377035e-16,
"cl_s": 0.410575810193173,
"caco3_s": 0.0,
"nacl_s": 0.2914871648063119,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.11908864538686109,
"salt_s": 0.5319565456545774,
"keq_sg_nh4no3": 9.791284289849293e-05,
"keq_sg_nh4cl": 0.0005088363048935377,
"kp_nh4no3_0": 0.00381364535046251,
"kp_nh4cl_0": 0.023914293028999743
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 6.393295208316463e-07,
"tolerance": {
"rel": 1e-09,
"abs": 6.401711615074168e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -6.401711615074168e-07,
"tolerance": {
"rel": 1e-09,
"abs": 6.401711615074168e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": -8.416406757704968e-10,
"tolerance": {
"rel": 1e-09,
"abs": 6.401711615074168e-19
}
},
{
"variable": "s3_nh3",
"time": 0.0,
"expected": 0.0004461498747013001,
"tolerance": {
"rel": 1e-09,
"abs": 4.461498747013001e-16
}
}
]
},
{
"id": "astem64_dry_case3a_3b_s363_k45_b7_sub1",
"description": "Branch case3a_3b. ASTEM tape (real64), chem_opt = 170 column, model step 364, level 45, bin 7, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.378922472352393,
"gas_hcl": 2.3031556929112003,
"gas_nh3": 0.0008567676570855676,
"kg_hno3": 8.499229208492459e-07,
"kg_hcl": 1.06864481129303e-06,
"kg_nh3": 1.5335801358312788e-06,
"so4_s": 0.11619623173911989,
"msa_s": 0.0,
"nh4_s": 0.10548613898137249,
"na_s": 0.5180345297391129,
"ca_s": 1.4602713504767508e-15,
"cl_s": 0.3652335433105338,
"caco3_s": 0.0,
"nacl_s": 0.2597474043291613,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.10548613898137249,
"salt_s": 0.507324436981367,
"keq_sg_nh4no3": 0.2689089459115904,
"keq_sg_nh4cl": 0.9040064764952539,
"kp_nh4no3_0": 2.8461696777697574,
"kp_nh4cl_0": 22.580344339717506
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 1.1719778153264093e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.6711154328517022e-18
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -1.6711154328517023e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.6711154328517022e-18
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": -4.991376175252931e-07,
"tolerance": {
"rel": 1e-09,
"abs": 1.6711154328517022e-18
}
},
{
"variable": "s3_nh3",
"time": 0.0,
"expected": 0.32632891343102327,
"tolerance": {
"rel": 1e-09,
"abs": 3.2632891343102325e-13
}
}
]
},
{
"id": "astem64_dry_case3a_3b_s600_k54_b8_sub1",
"description": "Branch case3a_3b. ASTEM tape (real64), chem_opt = 170 column, model step 601, level 54, bin 8, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.7361049013551734,
"gas_hcl": 1.4229319604714865,
"gas_nh3": 8.9113468937257e-08,
"kg_hno3": 3.424951240891255e-07,
"kg_hcl": 4.2913074712325525e-07,
"kg_nh3": 6.148507648812457e-07,
"so4_s": 0.007294267907341651,
"msa_s": 0.0,
"nh4_s": 0.007205667798575011,
"na_s": 1.036361928509744,
"ca_s": 8.339847212922911e-16,
"cl_s": 1.0194162256680708,
"caco3_s": 0.0,
"nacl_s": 1.0122105578694958,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.007205667798575011,
"salt_s": 1.0362733284009782,
"keq_sg_nh4no3": 9.791284289849293e-05,
"keq_sg_nh4cl": 0.0005088363048935377,
"kp_nh4no3_0": 0.003350628737926473,
"kp_nh4cl_0": 0.018591279598730952
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 2.521123395322536e-07,
"tolerance": {
"rel": 1e-09,
"abs": 2.523320744829039e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -2.523320744829039e-07,
"tolerance": {
"rel": 1e-09,
"abs": 2.523320744829039e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": -2.1973495065032798e-10,
"tolerance": {
"rel": 1e-09,
"abs": 2.523320744829039e-19
}
},
{
"variable": "s3_nh3",
"time": 0.0,
"expected": 0.00035746843736514855,
"tolerance": {
"rel": 1e-09,
"abs": 3.574684373651485e-16
}
}
]
},
{
"id": "astem64_dry_case3a_3b_s688_k48_b7_sub1",
"description": "Branch case3a_3b. ASTEM tape (real64), chem_opt = 170 column, model step 689, level 48, bin 7, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.1370115309591715,
"gas_hcl": 2.0331251065951776,
"gas_nh3": 0.0002085830224313845,
"kg_hno3": 8.684725560410573e-07,
"kg_hcl": 1.0965219015679425e-06,
"kg_nh3": 1.5765931744650138e-06,
"so4_s": 0.11451058980369136,
"msa_s": 0.0,
"nh4_s": 0.1116332357775932,
"na_s": 0.5102716483706865,
"ca_s": 1.2591655336403356e-15,
"cl_s": 0.35062847295284894,
"caco3_s": 0.0,
"nacl_s": 0.23899523717525573,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.1116332357775932,
"salt_s": 0.5073942943445896,
"keq_sg_nh4no3": 0.04851695998447607,
"keq_sg_nh4cl": 0.17882710231028218,
"kp_nh4no3_0": 0.28172582974626753,
"kp_nh4cl_0": 1.0524821345518445
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 9.874633105402674e-07,
"tolerance": {
"rel": 1e-09,
"abs": 1.1181287785064588e-18
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -1.1181287785064587e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.1181287785064588e-18
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": -1.3066546796619117e-07,
"tolerance": {
"rel": 1e-09,
"abs": 1.1181287785064588e-18
}
},
{
"variable": "s3_nh3",
"time": 0.0,
"expected": 0.08308695017667837,
"tolerance": {
"rel": 1e-09,
"abs": 8.308695017667837e-14
}
}
]
},
{
"id": "astem64_dry_case3a_3b_s1079_k48_b8_sub1",
"description": "Branch case3a_3b. ASTEM tape (real64), chem_opt = 170 column, model step 1080, level 48, bin 8, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.1081560898768872,
"gas_hcl": 2.0714827347081033,
"gas_nh3": 0.0002585980933719449,
"kg_hno3": 2.9497040560011717e-07,
"kg_hcl": 3.6430655286741065e-07,
"kg_nh3": 5.185992590397264e-07,
"so4_s": 0.007298815359695894,
"msa_s": 0.0,
"nh4_s": 0.005431731831749801,
"na_s": 1.029062224022045,
"ca_s": 1.2610439302042473e-15,
"cl_s": 0.9977109884435641,
"caco3_s": 0.0,
"nacl_s": 0.9922792566118143,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.005431731831749801,
"salt_s": 1.0271951404941002,
"keq_sg_nh4no3": 0.042384771891115364,
"keq_sg_nh4cl": 0.15737182842003067,
"kp_nh4no3_0": 0.24684912010628865,
"kp_nh4cl_0": 0.9098320767710656
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 3.268732512992253e-07,
"tolerance": {
"rel": 1e-09,
"abs": 3.6427692860695305e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -3.6427692860695306e-07,
"tolerance": {
"rel": 1e-09,
"abs": 3.6427692860695305e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": -3.7403677307727766e-08,
"tolerance": {
"rel": 1e-09,
"abs": 3.6427692860695305e-19
}
},
{
"variable": "s3_nh3",
"time": 0.0,
"expected": 0.07238303069859192,
"tolerance": {
"rel": 1e-09,
"abs": 7.238303069859192e-14
}
}
]
},
{
"id": "astem64_dry_case3a_3b_s1729_k48_b8_sub1",
"description": "Branch case3a_3b. ASTEM tape (real64), chem_opt = 170 column, model step 1730, level 48, bin 8, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.055143902864485,
"gas_hcl": 2.131831173139746,
"gas_nh3": 3.826062166613093e-08,
"kg_hno3": 2.954788752289701e-07,
"kg_hcl": 3.648942038454155e-07,
"kg_nh3": 5.194101792365186e-07,
"so4_s": 0.007340876161439853,
"msa_s": 0.0,
"nh4_s": 0.004247325793136469,
"na_s": 1.031788010902721,
"ca_s": 1.2636069743761794e-15,
"cl_s": 0.9862849982111805,
"caco3_s": 0.0,
"nacl_s": 0.9820376724180441,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.004247325793136469,
"salt_s": 1.0286944605344188,
"keq_sg_nh4no3": 0.035393794437902956,
"keq_sg_nh4cl": 0.13270522155693912,
"kp_nh4no3_0": 0.23831730858469352,
"kp_nh4cl_0": 0.9383720671018729
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 3.117727336231037e-07,
"tolerance": {
"rel": 1e-09,
"abs": 3.428630868886351e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -3.4286308688863514e-07,
"tolerance": {
"rel": 1e-09,
"abs": 3.428630868886351e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": -3.109035326553144e-08,
"tolerance": {
"rel": 1e-09,
"abs": 3.428630868886351e-19
}
},
{
"variable": "s3_nh3",
"time": 0.0,
"expected": 0.05985707323677706,
"tolerance": {
"rel": 1e-09,
"abs": 5.985707323677706e-14
}
}
]
},
{
"id": "astem64_dry_case3a_3b_s2100_k47_b7_sub1",
"description": "Branch case3a_3b. ASTEM tape (real64), chem_opt = 170 column, model step 2101, level 47, bin 7, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.0351109296463217,
"gas_hcl": 2.267288106547984,
"gas_nh3": 0.0005262347056067715,
"kg_hno3": 8.618488372731214e-07,
"kg_hcl": 1.08667616642949e-06,
"kg_nh3": 1.5614577793623862e-06,
"so4_s": 0.11405015633193204,
"msa_s": 0.0,
"nh4_s": 0.08842520749375632,
"na_s": 0.5060725055597122,
"ca_s": 1.319700374797797e-15,
"cl_s": 0.23519213700873173,
"caco3_s": 0.0,
"nacl_s": 0.1467669295149754,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.08842520749375632,
"salt_s": 0.4804475567215377,
"keq_sg_nh4no3": 0.1615852523518126,
"keq_sg_nh4cl": 0.5582127476060732,
"kp_nh4no3_0": 1.4147980632904067,
"kp_nh4cl_0": 8.271721573856366
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 8.921091511643822e-07,
"tolerance": {
"rel": 1e-09,
"abs": 1.229428086819976e-18
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -1.229428086819976e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.229428086819976e-18
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": -3.373189356555939e-07,
"tolerance": {
"rel": 1e-09,
"abs": 1.229428086819976e-18
}
},
{
"variable": "s3_nh3",
"time": 0.0,
"expected": 0.21655444892561376,
"tolerance": {
"rel": 1e-09,
"abs": 2.1655444892561377e-13
}
}
]
},
{
"id": "astem64_dry_case3a_3b_s2133_k59_b8_sub1",
"description": "Branch case3a_3b. ASTEM tape (real64), chem_opt = 170 column, model step 2134, level 59, bin 8, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.20147470515626828,
"gas_hcl": 0.6770285508981594,
"gas_nh3": 1.0013293247389913e-05,
"kg_hno3": 4.4456342595774316e-07,
"kg_hcl": 5.724525166949966e-07,
"kg_nh3": 8.306726487721545e-07,
"so4_s": 0.007489120918277432,
"msa_s": 0.0,
"nh4_s": 0.007160004947723349,
"na_s": 1.0416828523500923,
"ca_s": 2.8524053527384673e-16,
"cl_s": 1.0203744048314645,
"caco3_s": 0.0,
"nacl_s": 1.013214399883741,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.007160004947723349,
"salt_s": 1.0413537363795384,
"keq_sg_nh4no3": 9.791284289849293e-05,
"keq_sg_nh4cl": 0.0005088363048935377,
"kp_nh4no3_0": 0.006243468648056248,
"kp_nh4cl_0": 0.06561665137824267
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 8.956828516809681e-08,
"tolerance": {
"rel": 1e-09,
"abs": 9.018328933421539e-20
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -9.018328933421539e-08,
"tolerance": {
"rel": 1e-09,
"abs": 9.018328933421539e-20
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": -6.150041661185703e-10,
"tolerance": {
"rel": 1e-09,
"abs": 9.018328933421539e-20
}
},
{
"variable": "s3_nh3",
"time": 0.0,
"expected": 0.0007503821581999424,
"tolerance": {
"rel": 1e-09,
"abs": 7.503821581999424e-16
}
}
]
},
{
"id": "astem64_dry_case3a_3b_s2520_k59_b8_sub1",
"description": "Branch case3a_3b. ASTEM tape (real64), chem_opt = 170 column, model step 2521, level 59, bin 8, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.19425496429086075,
"gas_hcl": 0.6850328669927785,
"gas_nh3": 1.0347811207081412e-05,
"kg_hno3": 4.4501495966201414e-07,
"kg_hcl": 5.73032524121878e-07,
"kg_nh3": 8.315133076874683e-07,
"so4_s": 0.007519452437183473,
"msa_s": 0.0,
"nh4_s": 0.00714017018579068,
"na_s": 1.042446906403108,
"ca_s": 2.8557947401382057e-16,
"cl_s": 1.0189999272049708,
"caco3_s": 0.0,
"nacl_s": 1.01185975701918,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.00714017018579068,
"salt_s": 1.0420676241517155,
"keq_sg_nh4no3": 9.791284289849293e-05,
"keq_sg_nh4cl": 0.0005088363048935377,
"kp_nh4no3_0": 0.00636176737463781,
"kp_nh4cl_0": 0.0661186734946375
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 8.64463650980434e-08,
"tolerance": {
"rel": 1e-09,
"abs": 8.705444613709071e-20
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -8.70544461370907e-08,
"tolerance": {
"rel": 1e-09,
"abs": 8.705444613709071e-20
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": -6.080810390473155e-10,
"tolerance": {
"rel": 1e-09,
"abs": 8.705444613709071e-20
}
},
{
"variable": "s3_nh3",
"time": 0.0,
"expected": 0.0007416422275748206,
"tolerance": {
"rel": 1e-09,
"abs": 7.416422275748205e-16
}
}
]
},
{
"id": "astem64_dry_case3a_3b_absent_s59_k1_b7_sub1",
"description": "Branch case3a_3b_absent. ASTEM tape (real64), chem_opt = 170 column, model step 60, level 1, bin 7, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 2.710641496110888,
"gas_hcl": 15.874665594607219,
"gas_nh3": 0.14636976666803664,
"kg_hno3": 6.865504743819133e-07,
"kg_hcl": 8.464070605890035e-07,
"kg_nh3": 1.2039151237590884e-06,
"so4_s": 0.11477767142459476,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 0.4978104425130978,
"ca_s": 2.841995262025518e-15,
"cl_s": 0.26157511750194595,
"caco3_s": 0.0,
"nacl_s": 0.26157511750194595,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 1.7619165763303813e-08,
"salt_s": 0.38303278870767166,
"keq_sg_nh4no3": 374382.58775243815,
"keq_sg_nh4cl": 622233.5451173391,
"kp_nh4no3_0": 409264.97850236157,
"kp_nh4cl_0": 3695929.222038852
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 1.8609922050342293e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.860992205034229e-18
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -1.8609922050342293e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.860992205034229e-18
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.860992205034229e-18
}
}
]
},
{
"id": "astem64_dry_case3a_3b_absent_s229_k26_b7_sub1",
"description": "Branch case3a_3b_absent. ASTEM tape (real64), chem_opt = 170 column, model step 230, level 26, bin 7, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 2.2202655976576553,
"gas_hcl": 3.6897796269703598,
"gas_nh3": 0.003332431097661785,
"kg_hno3": 7.602374582268638e-07,
"kg_hcl": 9.43528021358659e-07,
"kg_nh3": 1.346069285054563e-06,
"so4_s": 0.11746319347848731,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 0.5204382239652071,
"ca_s": 2.282734962197076e-15,
"cl_s": 0.26230536060891946,
"caco3_s": 0.0,
"nacl_s": 0.26230536060891946,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 5.45410768100588e-08,
"salt_s": 0.40297508502779883,
"keq_sg_nh4no3": 2804.1301206596017,
"keq_sg_nh4cl": 5872.730367060867,
"kp_nh4no3_0": 4256.437032137399,
"kp_nh4cl_0": 24596.792024432696
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 1.6879290745518045e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.6879290745518044e-18
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -1.6879290745518045e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.6879290745518044e-18
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.6879290745518044e-18
}
}
]
},
{
"id": "astem64_dry_case3a_3b_absent_s600_k1_b7_sub1",
"description": "Branch case3a_3b_absent. ASTEM tape (real64), chem_opt = 170 column, model step 601, level 1, bin 7, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.7208500891892748,
"gas_hcl": 8.415350173323063,
"gas_nh3": 0.016244785675299425,
"kg_hno3": 7.487354574868006e-07,
"kg_hcl": 9.231979204762885e-07,
"kg_nh3": 1.3132213664986917e-06,
"so4_s": 0.1306505810025091,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 0.5357776946708683,
"ca_s": 2.8234802047632773e-15,
"cl_s": 0.2115831817726792,
"caco3_s": 0.0,
"nacl_s": 0.2115831817726792,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 2.819664002490331e-08,
"salt_s": 0.4051271418650021,
"keq_sg_nh4no3": 590915.9228229185,
"keq_sg_nh4cl": 961922.1596051645,
"kp_nh4no3_0": 635575.6381935024,
"kp_nh4cl_0": 6156626.004975847
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 1.2884614787953333e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.2884614787953332e-18
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -1.2884614787953333e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.2884614787953332e-18
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.2884614787953332e-18
}
}
]
},
{
"id": "astem64_dry_case3a_3b_absent_s638_k15_b7_sub1",
"description": "Branch case3a_3b_absent. ASTEM tape (real64), chem_opt = 170 column, model step 639, level 15, bin 7, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 2.036809754452797,
"gas_hcl": 9.746370972610485,
"gas_nh3": 0.017659157875248653,
"kg_hno3": 7.115433079804764e-07,
"kg_hcl": 8.800372722632419e-07,
"kg_nh3": 1.253542078713949e-06,
"so4_s": 0.12019345360445287,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 0.4949834690965176,
"ca_s": 2.555468927036232e-15,
"cl_s": 0.1925474319275488,
"caco3_s": 0.0,
"nacl_s": 0.1925474319275488,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 2.5154034367831018e-08,
"salt_s": 0.3747900406461016,
"keq_sg_nh4no3": 78101.37973083106,
"keq_sg_nh4cl": 139553.296312563,
"kp_nh4no3_0": 75547.42895598836,
"kp_nh4cl_0": 472512.19030381297
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 1.449278350410245e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.449278350410245e-18
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -1.449278350410245e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.449278350410245e-18
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.449278350410245e-18
}
}
]
},
{
"id": "astem64_dry_case3a_3b_absent_s688_k31_b8_sub1",
"description": "Branch case3a_3b_absent. ASTEM tape (real64), chem_opt = 170 column, model step 689, level 31, bin 8, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.9898950167496088,
"gas_hcl": 3.352168857781094,
"gas_nh3": 0.0008952203397183569,
"kg_hno3": 2.471686778720361e-07,
"kg_hcl": 3.0048783412119405e-07,
"kg_nh3": 4.2478305310870326e-07,
"so4_s": 0.007659827526775805,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 1.0403538593478714,
"ca_s": 2.0995101806221494e-15,
"cl_s": 1.004452265680557,
"caco3_s": 0.0,
"nacl_s": 1.004452265680557,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 1.235570497737038e-09,
"salt_s": 1.0326940330566683,
"keq_sg_nh4no3": 866.3691018644739,
"keq_sg_nh4cl": 1922.0525144800008,
"kp_nh4no3_0": 2162.2972232989373,
"kp_nh4cl_0": 16480.9323123736
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 4.91839720394154e-07,
"tolerance": {
"rel": 1e-09,
"abs": 4.918397203941539e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -4.91839720394154e-07,
"tolerance": {
"rel": 1e-09,
"abs": 4.918397203941539e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 4.918397203941539e-19
}
}
]
},
{
"id": "astem64_dry_case3a_3b_absent_s1079_k3_b8_sub1",
"description": "Branch case3a_3b_absent. ASTEM tape (real64), chem_opt = 170 column, model step 1080, level 3, bin 8, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.4567002403774374,
"gas_hcl": 7.1204244359498245,
"gas_nh3": 0.0372461213956219,
"kg_hno3": 1.8749530949857744e-07,
"kg_hcl": 2.2605190731453187e-07,
"kg_nh3": 3.1840506349974006e-07,
"so4_s": 0.008948965389478397,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 0.8895645608251235,
"ca_s": 2.7994086716797453e-15,
"cl_s": 0.8475470027385034,
"caco3_s": 0.0,
"nacl_s": 0.8475470027385034,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 7.51311329512481e-10,
"salt_s": 0.8806155961869592,
"keq_sg_nh4no3": 380426.3890104649,
"keq_sg_nh4cl": 631816.1947416874,
"kp_nh4no3_0": 396249.28528128326,
"kp_nh4cl_0": 3380311.2079612156
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 2.731244624162198e-07,
"tolerance": {
"rel": 1e-09,
"abs": 2.731244624162198e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -2.731244624162198e-07,
"tolerance": {
"rel": 1e-09,
"abs": 2.731244624162198e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 2.731244624162198e-19
}
}
]
},
{
"id": "astem64_dry_case3a_3b_absent_s1620_k19_b7_sub1",
"description": "Branch case3a_3b_absent. ASTEM tape (real64), chem_opt = 170 column, model step 1621, level 19, bin 7, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 2.2919488646548416,
"gas_hcl": 9.902714091249907,
"gas_nh3": 0.005922138156891052,
"kg_hno3": 7.321561119601615e-07,
"kg_hcl": 9.061266141959189e-07,
"kg_nh3": 1.2910837171286924e-06,
"so4_s": 0.1191339829809998,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 0.5031768791795329,
"ca_s": 2.477905045149245e-15,
"cl_s": 0.10096046767223515,
"caco3_s": 0.0,
"nacl_s": 0.10096046767223515,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 3.6077947863935814e-08,
"salt_s": 0.38404293227648345,
"keq_sg_nh4no3": 19558.538845971056,
"keq_sg_nh4cl": 37304.69905678744,
"kp_nh4no3_0": 26334.075001359415,
"kp_nh4cl_0": 180551.77107905922
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 1.6780643695571953e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.6780643695571953e-18
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -1.6780643695571953e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.6780643695571953e-18
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.6780643695571953e-18
}
}
]
},
{
"id": "astem64_dry_case3a_3b_absent_s1729_k38_b7_sub1",
"description": "Branch case3a_3b_absent. ASTEM tape (real64), chem_opt = 170 column, model step 1730, level 38, bin 7, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.5650279486946153,
"gas_hcl": 3.0456550868052035,
"gas_nh3": 0.00010611039615332999,
"kg_hno3": 8.045355525402614e-07,
"kg_hcl": 1.0053673614173446e-06,
"kg_nh3": 1.438731465180923e-06,
"so4_s": 0.11564285264448215,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 0.5123719339627151,
"ca_s": 1.8100188768395597e-15,
"cl_s": 0.14258930275446788,
"caco3_s": 0.0,
"nacl_s": 0.14258930275446788,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 5.670338369534367e-08,
"salt_s": 0.39672913802161847,
"keq_sg_nh4no3": 48.23723710703404,
"keq_sg_nh4cl": 123.69692755838989,
"kp_nh4no3_0": 234.73537667793792,
"kp_nh4cl_0": 2286.7961564923094
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 1.2591206254439741e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.259120625443974e-18
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -1.2591206254439741e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.259120625443974e-18
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.259120625443974e-18
}
}
]
},
{
"id": "astem64_dry_case3a_3b_absent_s2100_k5_b8_sub1",
"description": "Branch case3a_3b_absent. ASTEM tape (real64), chem_opt = 170 column, model step 2101, level 5, bin 8, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.3466528056544735,
"gas_hcl": 5.980643712909663,
"gas_nh3": 0.016496708192794588,
"kg_hno3": 1.7363768334093094e-07,
"kg_hcl": 2.094264320118615e-07,
"kg_nh3": 2.950370170957521e-07,
"so4_s": 0.008146751983734988,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 0.8139958612263987,
"ca_s": 2.757392651617272e-15,
"cl_s": 0.7537323404391497,
"caco3_s": 0.0,
"nacl_s": 0.7537323404391497,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 8.650983694150026e-10,
"salt_s": 0.8058491101077648,
"keq_sg_nh4no3": 366250.16261618276,
"keq_sg_nh4cl": 609328.3061881991,
"kp_nh4no3_0": 397103.3418223771,
"kp_nh4cl_0": 3533645.590412287
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 2.3382967343840769e-07,
"tolerance": {
"rel": 1e-09,
"abs": 2.3382967343840767e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -2.3382967343840769e-07,
"tolerance": {
"rel": 1e-09,
"abs": 2.3382967343840767e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 2.3382967343840767e-19
}
}
]
},
{
"id": "astem64_dry_case3a_3b_absent_s2133_k18_b7_sub1",
"description": "Branch case3a_3b_absent. ASTEM tape (real64), chem_opt = 170 column, model step 2134, level 18, bin 7, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.8937130373913034,
"gas_hcl": 7.993691563484348,
"gas_nh3": 0.009517317337589046,
"kg_hno3": 7.093099809645988e-07,
"kg_hcl": 8.776361387488255e-07,
"kg_nh3": 1.2503518848390593e-06,
"so4_s": 0.11724396347968684,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 0.4861086399992649,
"ca_s": 2.495771563163176e-15,
"cl_s": 0.0722657689156139,
"caco3_s": 0.0,
"nacl_s": 0.0722657689156139,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 1.497644408487986e-08,
"salt_s": 0.36886469149602463,
"keq_sg_nh4no3": 30370.505490020376,
"keq_sg_nh4cl": 56730.1620384622,
"kp_nh4no3_0": 39523.86594422207,
"kp_nh4cl_0": 280633.49138192966
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 1.343229558504438e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.343229558504438e-18
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -1.343229558504438e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.343229558504438e-18
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.343229558504438e-18
}
}
]
},
{
"id": "astem64_dry_case3a_3b_absent_s2399_k32_b7_sub1",
"description": "Branch case3a_3b_absent. ASTEM tape (real64), chem_opt = 170 column, model step 2400, level 32, bin 7, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.7296781234125904,
"gas_hcl": 3.497251954300064,
"gas_nh3": 0.0007367063190295014,
"kg_hno3": 7.934401100410064e-07,
"kg_hcl": 9.874887670520306e-07,
"kg_nh3": 1.4105564881327506e-06,
"so4_s": 0.1178585985223041,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 0.5167896643044945,
"ca_s": 2.060840248452948e-15,
"cl_s": 0.06873687336933063,
"caco3_s": 0.0,
"nacl_s": 0.06873687336933063,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 5.328050899857723e-08,
"salt_s": 0.3989311190627014,
"keq_sg_nh4no3": 645.6642756413898,
"keq_sg_nh4cl": 1453.3996270086288,
"kp_nh4no3_0": 1677.8506003071238,
"kp_nh4cl_0": 12660.885213206726
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 1.372396000576007e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.372396000576007e-18
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -1.372396000576007e-06,
"tolerance": {
"rel": 1e-09,
"abs": 1.372396000576007e-18
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.372396000576007e-18
}
}
]
},
{
"id": "astem64_dry_case3a_3b_absent_s2520_k47_b8_sub1",
"description": "Branch case3a_3b_absent. ASTEM tape (real64), chem_opt = 170 column, model step 2521, level 47, bin 8, ASTEM sub-step 1 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.005889817490908,
"gas_hcl": 2.3081307271169806,
"gas_nh3": 0.0005946534701918802,
"kg_hno3": 2.9129104989312997e-07,
"kg_hcl": 3.5922241129566423e-07,
"kg_nh3": 5.110197046564373e-07,
"so4_s": 0.007420462079339902,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 1.0266039982737727,
"ca_s": 1.3214467888144424e-15,
"cl_s": 0.9564555078284334,
"caco3_s": 0.0,
"nacl_s": 0.9564555078284334,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 1.228580669418644e-06,
"salt_s": 1.0191847647751036,
"keq_sg_nh4no3": 0.14165630771863574,
"keq_sg_nh4cl": 0.49283284405757793,
"kp_nh4no3_0": 1.1818756733606075,
"kp_nh4cl_0": 6.495983562465739
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 2.9300670101373543e-07,
"tolerance": {
"rel": 1e-09,
"abs": 2.9300670101373544e-19
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -2.9300670101373543e-07,
"tolerance": {
"rel": 1e-09,
"abs": 2.9300670101373544e-19
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 2.9300670101373544e-19
}
}
]
},
{
"id": "astem64_dry_case4_a_hand_dry_nh4no3",
"description": "Branch case4_a. Hand-specified bin 'dry_nh4no3' (solid NH4NO3 under supersaturated gas (dry case 4a); chem170_scm/mosaic_astem/make_astem_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 5.0,
"gas_hcl": 0.0,
"gas_nh3": 5.0,
"kg_hno3": 0.00016267485094794635,
"kg_hcl": 0.0002133573075168943,
"kg_nh3": 0.0003123635216129117,
"so4_s": 1.0,
"msa_s": 0.0,
"nh4_s": 4.0,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 2.0,
"nh4cl_s": 0.0,
"salt_s": 3.0,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 26419.719345989535,
"kp_nh4cl_0": 329874.2564852783
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": -0.021672919532644934,
"tolerance": {
"rel": 1e-09,
"abs": 2.1672919532644934e-14
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 2.1672919532644934e-14
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": -0.021672919532644934,
"tolerance": {
"rel": 1e-09,
"abs": 2.1672919532644934e-14
}
},
{
"variable": "s4a_nh3",
"time": 0.0,
"expected": 74.38364448170915,
"tolerance": {
"rel": 1e-09,
"abs": 7.438364448170915e-11
}
}
]
},
{
"id": "astem64_dry_case4_a_hand_dry_nh4no3_low",
"description": "Branch case4_a. Hand-specified bin 'dry_nh4no3_low' (solid NH4NO3 under undersaturated gas: evaporates (dry case 4a); chem170_scm/mosaic_astem/make_astem_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.001,
"gas_hcl": 0.0,
"gas_nh3": 0.001,
"kg_hno3": 0.00016267485094794635,
"kg_hcl": 0.0002133573075168943,
"kg_nh3": 0.0003123635216129117,
"so4_s": 1.0,
"msa_s": 0.0,
"nh4_s": 4.0,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 2.0,
"nh4cl_s": 0.0,
"salt_s": 3.0,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 26419.719345989535,
"kp_nh4cl_0": 329874.2564852783
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": -0.02285721477594612,
"tolerance": {
"rel": 1e-09,
"abs": 2.285721477594612e-14
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 2.285721477594612e-14
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": -0.02285721477594612,
"tolerance": {
"rel": 1e-09,
"abs": 2.285721477594612e-14
}
},
{
"variable": "s4a_nh3",
"time": 0.0,
"expected": 73.1760450818368,
"tolerance": {
"rel": 1e-09,
"abs": 7.31760450818368e-11
}
}
]
},
{
"id": "astem64_dry_case4_a_hand_mixed_an_58",
"description": "Branch case4_a. Hand-specified bin 'mixed_an_58' (AS + AN between the mutual and pure DRH: possibly mixed with solid NH4NO3 (flux_mix); chem170_scm/mosaic_astem/make_astem_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.0,
"gas_hcl": 0.0,
"gas_nh3": 1.0,
"kg_hno3": 0.00016267485094794635,
"kg_hcl": 0.0002133573075168943,
"kg_nh3": 0.0003123635216129117,
"so4_s": 1.0,
"msa_s": 0.0,
"nh4_s": 4.0,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 2.0,
"nh4cl_s": 0.0,
"salt_s": 3.0,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 14802.840023431796,
"kp_nh4cl_0": 98034.47109397956
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": -0.022620055643372498,
"tolerance": {
"rel": 1e-09,
"abs": 2.2620055643372496e-14
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 2.2620055643372496e-14
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": -0.022620055643372498,
"tolerance": {
"rel": 1e-09,
"abs": 2.2620055643372496e-14
}
},
{
"variable": "s4a_nh3",
"time": 0.0,
"expected": 73.41580427372634,
"tolerance": {
"rel": 1e-09,
"abs": 7.341580427372634e-11
}
}
]
},
{
"id": "astem64_dry_case4_a_hand_mixed_an_65",
"description": "Branch case4_a. Hand-specified bin 'mixed_an_65' (AS + AN just above the mutual DRH; chem170_scm/mosaic_astem/make_astem_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.0,
"gas_hcl": 0.0,
"gas_nh3": 1.0,
"kg_hno3": 0.00016267485094794635,
"kg_hcl": 0.0002133573075168943,
"kg_nh3": 0.0003123635216129117,
"so4_s": 1.0,
"msa_s": 0.0,
"nh4_s": 4.0,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 2.0,
"nh4cl_s": 0.0,
"salt_s": 3.0,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 11548.28338752478,
"kp_nh4cl_0": 62767.754740047254
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": -0.022620055643372498,
"tolerance": {
"rel": 1e-09,
"abs": 2.2620055643372496e-14
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 2.2620055643372496e-14
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": -0.022620055643372498,
"tolerance": {
"rel": 1e-09,
"abs": 2.2620055643372496e-14
}
},
{
"variable": "s4a_nh3",
"time": 0.0,
"expected": 73.41580427372634,
"tolerance": {
"rel": 1e-09,
"abs": 7.341580427372634e-11
}
}
]
},
{
"id": "astem64_dry_case4_ab_hand_dry_nh4no3_nh4cl",
"description": "Branch case4_ab. Hand-specified bin 'dry_nh4no3_nh4cl' (solid NH4NO3 and NH4Cl (dry case 4ab); chem170_scm/mosaic_astem/make_astem_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 5.0,
"gas_hcl": 5.0,
"gas_nh3": 5.0,
"kg_hno3": 0.00017233908977408113,
"kg_hcl": 0.0002260182756568784,
"kg_nh3": 0.0003308892438825234,
"so4_s": 1.0,
"msa_s": 0.0,
"nh4_s": 5.0,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 1.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 2.0,
"nh4cl_s": 1.0,
"salt_s": 4.0,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 26419.719345989535,
"kp_nh4cl_0": 329874.2564852783
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": -0.022959404144586745,
"tolerance": {
"rel": 1e-09,
"abs": 6.045759602960414e-14
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -0.0374981918850174,
"tolerance": {
"rel": 1e-09,
"abs": 6.045759602960414e-14
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": -0.06045759602960414,
"tolerance": {
"rel": 1e-09,
"abs": 6.045759602960414e-14
}
}
]
},
{
"id": "astem64_dry_case4_ab_hand_dry_nh3_limited",
"description": "Branch case4_ab. Hand-specified bin 'dry_nh3_limited' (both acids supersaturated over solid NH4NO3 and NH4Cl with little NH3: the two acid fluxes are scaled to the NH3 supply (case 4ab); chem170_scm/mosaic_astem/make_astem_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 300000.0,
"gas_hcl": 300000.0,
"gas_nh3": 0.1,
"kg_hno3": 0.00017233908977408113,
"kg_hcl": 0.0002260182756568784,
"kg_nh3": 0.0003308892438825234,
"so4_s": 1.0,
"msa_s": 0.0,
"nh4_s": 5.0,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 1.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 2.0,
"nh4cl_s": 1.0,
"salt_s": 4.0,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 26419.719345989535,
"kp_nh4cl_0": 329874.2564852783
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 2.174831234744216e-05,
"tolerance": {
"rel": 1e-09,
"abs": 3.253623008046092e-17
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 1.0787917733018759e-05,
"tolerance": {
"rel": 1e-09,
"abs": 3.253623008046092e-17
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 3.253623008046092e-05,
"tolerance": {
"rel": 1e-09,
"abs": 3.253623008046092e-17
}
}
]
},
{
"id": "astem64_dry_case4_b_hand_dry_nacl",
"description": "Branch case4_b. Hand-specified bin 'dry_nacl' (solid NaCl: HNO3 displaces HCl, NH4Cl may form (dry cases 3a, 3b); chem170_scm/mosaic_astem/make_astem_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 1.0,
"gas_hcl": 0.5,
"gas_nh3": 1.0,
"kg_hno3": 0.0001383348843677289,
"kg_hcl": 0.0001814639822182308,
"kg_nh3": 0.0002656923956480306,
"so4_s": 1.0,
"msa_s": 0.0,
"nh4_s": 2.0,
"na_s": 1.0,
"ca_s": 0.0,
"cl_s": 1.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 1.0,
"salt_s": 2.0,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 26419.719345989535,
"kp_nh4cl_0": 329874.2564852783
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 3.1047086435724486e-14
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -0.031047086435724486,
"tolerance": {
"rel": 1e-09,
"abs": 3.1047086435724486e-14
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": -0.031047086435724486,
"tolerance": {
"rel": 1e-09,
"abs": 3.1047086435724486e-14
}
},
{
"variable": "s4b_nh3",
"time": 0.0,
"expected": 117.85350030436452,
"tolerance": {
"rel": 1e-09,
"abs": 1.178535003043645e-10
}
}
]
},
{
"id": "astem64_dry_case4_b_hand_dry_nh4cl",
"description": "Branch case4_b. Hand-specified bin 'dry_nh4cl' (solid NH4Cl under supersaturated gas (dry case 4b); chem170_scm/mosaic_astem/make_astem_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (route 1: all solid). Inputs are the state the bin's ASTEM_flux_dry saw (FXO record), kg and the constants from the call's AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave, where that survives case 4ab's reconciliation). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes.",
"parameter_overrides": {
"gas_hno3": 0.0,
"gas_hcl": 5.0,
"gas_nh3": 5.0,
"kg_hno3": 0.0001486153808417352,
"kg_hcl": 0.0001949358516739659,
"kg_nh3": 0.000285407237999675,
"so4_s": 1.0,
"msa_s": 0.0,
"nh4_s": 4.0,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 2.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 2.0,
"salt_s": 3.0,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 26419.719345989535,
"kp_nh4cl_0": 329874.2564852783
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 3.234263946967165e-14
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -0.03234263946967165,
"tolerance": {
"rel": 1e-09,
"abs": 3.234263946967165e-14
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": -0.03234263946967165,
"tolerance": {
"rel": 1e-09,
"abs": 3.234263946967165e-14
}
},
{
"variable": "s4b_nh3",
"time": 0.0,
"expected": 118.32102050512287,
"tolerance": {
"rel": 1e-09,
"abs": 1.1832102050512286e-10
}
}
]
},
{
"id": "astemmix_dry_mix3_nacl_ac_50",
"description": "Hand-specified bin 'mix3_nacl_ac_50' (mixed, solid NaCl and NH4Cl, HNO3 in the gas: mix case 3 (HNO3 displaces HCl, NH4Cl evaporates); chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests the SOLID half of ASTEM_flux_mix (route 3, mixed = 1: the solid products at Keq_sg). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 1.0,
"gas_hcl": 0.5,
"gas_nh3": 1.0,
"kg_hno3": 0.00018759606335266233,
"kg_hcl": 0.000246003582140024,
"kg_nh3": 0.00036013014007250894,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 1.802793620317359,
"na_s": 2.7736243728297856,
"ca_s": 0.0,
"cl_s": 2.786021960813085,
"caco3_s": 0.0,
"nacl_s": 0.9832283404957258,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 1.802793620317359,
"salt_s": 4.576417993147144,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 18414.2338872905,
"kp_nh4cl_0": 153087.51987862206,
"mixed": 1.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.00018759606335266233,
"tolerance": {
"rel": 1e-09,
"abs": 4.22734960946412e-14
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -0.042273496094641205,
"tolerance": {
"rel": 1e-09,
"abs": 4.22734960946412e-14
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": -0.042085900031288544,
"tolerance": {
"rel": 1e-09,
"abs": 4.22734960946412e-14
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 10281.936470483066,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 20222.75081030049,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "s3_nh3",
"time": 0.0,
"expected": 117.86303185513695,
"tolerance": {
"rel": 1e-09,
"abs": 1.1786303185513696e-10
}
}
]
},
{
"id": "astemmix_dry_mix3_nacl_ac_super_40",
"description": "Hand-specified bin 'mix3_nacl_ac_super_40' (mix case 3 with NH4Cl supersaturated in the gas (3b condenses); chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests the SOLID half of ASTEM_flux_mix (route 3, mixed = 1: the solid products at Keq_sg). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 1.0,
"gas_hcl": 300.0,
"gas_nh3": 300.0,
"kg_hno3": 0.00018004455336723344,
"kg_hcl": 0.00023611215708342498,
"kg_nh3": 0.00034565808944938035,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 1.9563012276099585,
"na_s": 2.94278367209482,
"ca_s": 0.0,
"cl_s": 2.930974484329901,
"caco3_s": 0.0,
"nacl_s": 0.9746732567199424,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 1.9563012276099585,
"salt_s": 4.8990848997047785,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 22128.805036119462,
"kp_nh4cl_0": 239229.33588149384,
"mixed": 1.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case3",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.00018004455336723344,
"tolerance": {
"rel": 1e-09,
"abs": 4.344239071819266e-14
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.043262346164825424,
"tolerance": {
"rel": 1e-09,
"abs": 4.344239071819266e-14
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.043442390718192656,
"tolerance": {
"rel": 1e-09,
"abs": 4.344239071819266e-14
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 10281.936470483066,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 20222.75081030049,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "s3_nh3",
"time": 0.0,
"expected": 174.3197626666436,
"tolerance": {
"rel": 1e-09,
"abs": 1.743197626666436e-10
}
}
]
},
{
"id": "astemmix_dry_mix4_an_ac_45",
"description": "Hand-specified bin 'mix4_an_ac_45' (mixed, solid NH4NO3 and NH4Cl: mix case 4, both evaporate; chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests the SOLID half of ASTEM_flux_mix (route 3, mixed = 1: the solid products at Keq_sg). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 1.0,
"gas_hcl": 0.5,
"gas_nh3": 1.0,
"kg_hno3": 0.00018261870590693827,
"kg_hcl": 0.00023948402435619497,
"kg_nh3": 0.00035059149967644874,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 3.2343437842267333,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 1.8293852409033364,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 1.404958543323397,
"nh4cl_s": 1.8293852409033364,
"salt_s": 3.2343437842267333,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 20391.331941097436,
"kp_nh4cl_0": 194681.33638830498,
"mixed": 1.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": -0.02539082215713298,
"tolerance": {
"rel": 1e-09,
"abs": 6.636168630319082e-14
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": -0.04097086414605784,
"tolerance": {
"rel": 1e-09,
"abs": 6.636168630319082e-14
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": -0.06636168630319082,
"tolerance": {
"rel": 1e-09,
"abs": 6.636168630319082e-14
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 10281.936470483066,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 20222.75081030049,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
}
]
},
{
"id": "astemmix_dry_mix4_an_ac_super_40",
"description": "Hand-specified bin 'mix4_an_ac_super_40' (mix case 4, both condense; chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests the SOLID half of ASTEM_flux_mix (route 3, mixed = 1: the solid products at Keq_sg). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 300.0,
"gas_hcl": 300.0,
"gas_nh3": 300.0,
"kg_hno3": 0.00017702265913939572,
"kg_hcl": 0.00023215368071374755,
"kg_nh3": 0.00033986632215784654,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 3.7327964319392475,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 1.9321187106878288,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 1.800677721251419,
"nh4cl_s": 1.9321187106878288,
"salt_s": 3.7327964319392475,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 22128.805036119462,
"kp_nh4cl_0": 239229.33588149384,
"mixed": 1.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.04267277983994522,
"tolerance": {
"rel": 1e-09,
"abs": 8.538697710432632e-14
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0427141972643811,
"tolerance": {
"rel": 1e-09,
"abs": 8.538697710432632e-14
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.08538697710432633,
"tolerance": {
"rel": 1e-09,
"abs": 8.538697710432632e-14
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 10281.936470483066,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 20222.75081030049,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
}
]
},
{
"id": "astemmix_dry_mix4_an_ac_nh3lim_40",
"description": "Hand-specified bin 'mix4_an_ac_nh3lim_40' (mix case 4, acids supersaturated with little NH3: the acid fluxes scaled to the NH3 supply; chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests the SOLID half of ASTEM_flux_mix (route 3, mixed = 1: the solid products at Keq_sg). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 300000.0,
"gas_hcl": 300000.0,
"gas_nh3": 0.1,
"kg_hno3": 0.00017702265913939572,
"kg_hcl": 0.00023215368071374755,
"kg_nh3": 0.00033986632215784654,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 3.7327964319392475,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 1.9321187106878288,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 1.800677721251419,
"nh4cl_s": 1.9321187106878288,
"salt_s": 3.7327964319392475,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 22128.805036119462,
"kp_nh4cl_0": 239229.33588149384,
"mixed": 1.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 2.233834753842763e-05,
"tolerance": {
"rel": 1e-09,
"abs": 3.342099640358096e-17
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 1.1082648865153324e-05,
"tolerance": {
"rel": 1e-09,
"abs": 3.342099640358096e-17
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 3.342099640358096e-05,
"tolerance": {
"rel": 1e-09,
"abs": 3.342099640358096e-17
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 10281.936470483066,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 20222.75081030049,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
}
]
},
{
"id": "astemmix_dry_mix4a_an_60",
"description": "Hand-specified bin 'mix4a_an_60' (mixed, solid NH4NO3 only, chloride-free liquid with HCl in the gas: absorb_tiny_nh4cl, then mix case 4a (liquid NH4Cl evaporates); chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests the SOLID half of ASTEM_flux_mix (route 3, mixed = 1: the solid products at Keq_sg). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 1.0,
"gas_hcl": 0.4950000001117587,
"gas_nh3": 0.9950000001117587,
"kg_hno3": 0.00023797333480412867,
"kg_hcl": 0.0003119718059830158,
"kg_nh3": 0.00045663379408402273,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 0.9559839943156724,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.9559839943156724,
"nh4cl_s": 0.0,
"salt_s": 0.9559839943156724,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 13864.066474257994,
"kp_nh4cl_0": 86770.35429656984,
"mixed": 1.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "f4a",
"time": 0.0,
"expected": -0.03308010716411056,
"tolerance": {
"rel": 1e-09,
"abs": 3.308010716411056e-14
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 10281.936470483066,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 20222.75081030049,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
}
]
},
{
"id": "astemmix_dry_mix4a_an_nohcl_60",
"description": "Hand-specified bin 'mix4a_an_nohcl_60' (mix case 4a without HCl anywhere: the liquid NH4Cl surface is off; chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests the SOLID half of ASTEM_flux_mix (route 3, mixed = 1: the solid products at Keq_sg). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 1.0,
"gas_hcl": 0.0,
"gas_nh3": 1.0,
"kg_hno3": 0.00023797333480412867,
"kg_hcl": 0.0003119718059830158,
"kg_nh3": 0.00045663379408402273,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 0.9559839943156724,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.9559839943156724,
"nh4cl_s": 0.0,
"salt_s": 0.9559839943156724,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 13864.066474257994,
"kp_nh4cl_0": 86770.35429656984,
"mixed": 1.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "f4a",
"time": 0.0,
"expected": -0.03307896929403718,
"tolerance": {
"rel": 1e-09,
"abs": 3.3078969294037186e-14
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 10281.936470483066,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 20222.75081030049,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "s4a_nh3",
"time": 0.0,
"expected": 73.44091375320002,
"tolerance": {
"rel": 1e-09,
"abs": 7.344091375320002e-11
}
}
]
},
{
"id": "astemmix_dry_mix4a_an_hiac_60",
"description": "Hand-specified bin 'mix4a_an_hiac_60' (mix case 4a with NH4Cl supersaturated over the liquid: solid NH4NO3 evaporates while liquid NH4Cl condenses; chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests the SOLID half of ASTEM_flux_mix (route 3, mixed = 1: the solid products at Keq_sg). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 1.0,
"gas_hcl": 299.9500000011176,
"gas_nh3": 299.9500000011176,
"kg_hno3": 0.00023797333480412867,
"kg_hcl": 0.0003119718059830158,
"kg_nh3": 0.00045663379408402273,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 0.9559839943156724,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.9559839943156724,
"nh4cl_s": 0.0,
"salt_s": 0.9559839943156724,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 13864.066474257994,
"kp_nh4cl_0": 86770.35429656984,
"mixed": 1.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "f4a",
"time": 0.0,
"expected": -0.007496186622708139,
"tolerance": {
"rel": 1e-09,
"abs": 7.496186622708139e-15
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 10281.936470483066,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 20222.75081030049,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
}
]
},
{
"id": "astemmix_dry_mix4a_an_degas_55",
"description": "Hand-specified bin 'mix4a_an_degas_55' (mix case 4a, chloride in the liquid but no HCl in the gas: degas_tiny_nh4cl first; chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests the SOLID half of ASTEM_flux_mix (route 3, mixed = 1: the solid products at Keq_sg). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 1.0,
"gas_hcl": 0.004176263829417031,
"gas_nh3": 1.004176263829417,
"kg_hno3": 0.00021874478993171373,
"kg_hcl": 0.0002867961363982582,
"kg_nh3": 0.00041980755591302553,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 1.9650473384776177,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 1.9650473384776177,
"nh4cl_s": 0.0,
"salt_s": 1.9650473384776177,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 16198.654219420914,
"kp_nh4cl_0": 116816.00358067134,
"mixed": 1.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "f4a",
"time": 0.0,
"expected": -0.030407812777936093,
"tolerance": {
"rel": 1e-09,
"abs": 3.040781277793609e-14
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 10281.936470483066,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 20222.75081030049,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
}
]
},
{
"id": "astemmix_dry_mix4a_as_an_68",
"description": "Hand-specified bin 'mix4a_as_an_68' (mix case 4a with sulfate in the liquid (X_T >= 2); chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests the SOLID half of ASTEM_flux_mix (route 3, mixed = 1: the solid products at Keq_sg). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 1.0,
"gas_hcl": 0.4950000001117587,
"gas_nh3": 0.9950000001117587,
"kg_hno3": 0.00023573083573730276,
"kg_hcl": 0.00030903596748423784,
"kg_nh3": 0.00045233950563167917,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 0.8172685266280235,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.8172685266280235,
"nh4cl_s": 0.0,
"salt_s": 0.8172685266280235,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 10210.231684655539,
"kp_nh4cl_0": 50953.48621283488,
"mixed": 1.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "f4a",
"time": 0.0,
"expected": -0.03276869747004081,
"tolerance": {
"rel": 1e-09,
"abs": 3.276869747004081e-14
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 10281.936470483066,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 20222.75081030049,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
}
]
},
{
"id": "astemmix_dry_mix4b_ac_an_66",
"description": "Hand-specified bin 'mix4b_ac_an_66' (mixed, solid NH4Cl only, nitrate in the liquid: mix case 4b (liquid NH4NO3 evaporates); chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests the SOLID half of ASTEM_flux_mix (route 3, mixed = 1: the solid products at Keq_sg). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 1.0,
"gas_hcl": 0.5,
"gas_nh3": 1.0,
"kg_hno3": 0.00019143446619642146,
"kg_hcl": 0.00025103106160422506,
"kg_nh3": 0.0003674855840298254,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 3.469370983542702,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 3.469370983542702,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 3.469370983542702,
"salt_s": 3.469370983542702,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 11096.860659543181,
"kp_nh4cl_0": 58628.915874809114,
"mixed": 1.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "f4b",
"time": 0.0,
"expected": -0.04294573707030292,
"tolerance": {
"rel": 1e-09,
"abs": 4.294573707030292e-14
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 10281.936470483066,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 20222.75081030049,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
}
]
},
{
"id": "astemmix_dry_mix4b_ac_an_hian_64",
"description": "Hand-specified bin 'mix4b_ac_an_hian_64' (mix case 4b with NH4NO3 supersaturated over the liquid: solid NH4Cl evaporates while liquid NH4NO3 condenses; chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests the SOLID half of ASTEM_flux_mix (route 3, mixed = 1: the solid products at Keq_sg). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 300.0,
"gas_hcl": 1.0,
"gas_nh3": 300.0,
"kg_hno3": 0.00018579051408268966,
"kg_hcl": 0.00024363863417705233,
"kg_nh3": 0.0003566700579707948,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 3.5786849900703133,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 3.5786849900703133,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 3.5786849900703133,
"salt_s": 3.5786849900703133,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 12004.491763909411,
"kp_nh4cl_0": 67117.56882744431,
"mixed": 1.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "f4b",
"time": 0.0,
"expected": -0.01424970842452692,
"tolerance": {
"rel": 1e-09,
"abs": 1.424970842452692e-14
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 10281.936470483066,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 20222.75081030049,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
}
]
},
{
"id": "astemmix_dry_mix4b_ac_nohno3_66",
"description": "Hand-specified bin 'mix4b_ac_nohno3_66' (mix case 4b, nitrate in the liquid but no HNO3 in the gas: degas_tiny_nh4no3 first; chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests the SOLID half of ASTEM_flux_mix (route 3, mixed = 1: the solid products at Keq_sg). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 0.009999999776482582,
"gas_hcl": 0.5,
"gas_nh3": 1.0099999997764826,
"kg_hno3": 0.00019143446619642146,
"kg_hcl": 0.00025103106160422506,
"kg_nh3": 0.0003674855840298254,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 3.469370983542702,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 3.469370983542702,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 3.469370983542702,
"salt_s": 3.469370983542702,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 11096.860659543181,
"kp_nh4cl_0": 58628.915874809114,
"mixed": 1.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "f4b",
"time": 0.0,
"expected": -0.04294390482829357,
"tolerance": {
"rel": 1e-09,
"abs": 4.294390482829357e-14
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 10281.936470483066,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 20222.75081030049,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
}
]
},
{
"id": "astemmix_dry_mix4b_ac_nacl_72",
"description": "Hand-specified bin 'mix4b_ac_nacl_72' (mix case 4b, nitrate-free sodium chloride liquid with HNO3 in the gas: absorb_tiny_nh4no3 first; chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests the SOLID half of ASTEM_flux_mix (route 3, mixed = 1: the solid products at Keq_sg). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 0.9900000002235174,
"gas_hcl": 0.5,
"gas_nh3": 0.9900000002235174,
"kg_hno3": 0.00024338837719148758,
"kg_hcl": 0.000319060827851487,
"kg_nh3": 0.00046700281358767504,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 2.8506594026097223,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 2.8506594026097223,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 2.8506594026097223,
"salt_s": 2.8506594026097223,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 8509.62080895044,
"kp_nh4cl_0": 37795.38404595208,
"mixed": 1.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "f4b",
"time": 0.0,
"expected": -0.05458223184149648,
"tolerance": {
"rel": 1e-09,
"abs": 5.458223184149648e-14
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 10281.936470483066,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 20222.75081030049,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
}
]
},
{
"id": "astemmix_dry_mix4b_an_ac_nh3lim_60",
"description": "Hand-specified bin 'mix4b_an_ac_nh3lim_60' (mix case 4b with the acids supersaturated and little NH3; chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests the SOLID half of ASTEM_flux_mix (route 3, mixed = 1: the solid products at Keq_sg). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 300000.0,
"gas_hcl": 300000.0,
"gas_nh3": 0.1,
"kg_hno3": 0.0002253852687247923,
"kg_hcl": 0.00029549094220851865,
"kg_nh3": 0.0004325264424905807,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 1.1284285754906398,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 1.1284285754906398,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 1.1284285754906398,
"salt_s": 1.1284285754906398,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 13864.066474257994,
"kp_nh4cl_0": 86770.35429656984,
"mixed": 1.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "f4b",
"time": 0.0,
"expected": 1.4106135658234602e-05,
"tolerance": {
"rel": 1e-09,
"abs": 1.41061356582346e-17
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 10281.936470483066,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 20222.75081030049,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
}
]
},
{
"id": "astemmix_dry_mix4b_as_ac_76",
"description": "Hand-specified bin 'mix4b_as_ac_76' (mix case 4b with sulfate in the liquid; chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests the SOLID half of ASTEM_flux_mix (route 3, mixed = 1: the solid products at Keq_sg). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 0.9900000002235174,
"gas_hcl": 0.5,
"gas_nh3": 0.9900000002235174,
"kg_hno3": 0.00018094071510808599,
"kg_hcl": 0.0002372860442653737,
"kg_nh3": 0.00034737562209021894,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 3.5001776121568504,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 3.5001776121568504,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 3.5001776121568504,
"salt_s": 3.5001776121568504,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 6909.288464269398,
"kp_nh4cl_0": 27173.163318414176,
"mixed": 1.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "f4b",
"time": 0.0,
"expected": -0.040596673836486845,
"tolerance": {
"rel": 1e-09,
"abs": 4.059667383648685e-14
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 10281.936470483066,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 20222.75081030049,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
}
]
},
{
"id": "astemmix_dry_kp0_oin_an_80",
"description": "Hand-specified bin 'kp0_oin_an_80' (all-solid insoluble particle (no salt above ptol), NH4NO3 supersaturated, Kp_nh4no3_0 < Keq_sg(1): ASTEM_flux_dry case 4a at Kp0; chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests ASTEM_flux_dry case 4 on an all-solid bin whose Kp0 is below Keq_sg (keq0 = Kp0). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 200.0,
"gas_hcl": 0.0,
"gas_nh3": 200.0,
"kg_hno3": 9.38731088590304e-05,
"kg_hcl": 0.0001231810362930912,
"kg_nh3": 0.00018038681048080358,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.0,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 5400.872945810767,
"kp_nh4cl_0": 18683.314773660615,
"mixed": 0.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.014530189149778508,
"tolerance": {
"rel": 1e-09,
"abs": 1.4530189149778508e-14
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 1.4530189149778508e-14
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.014530189149778508,
"tolerance": {
"rel": 1e-09,
"abs": 1.4530189149778508e-14
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 5400.872945810767,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 18683.314773660615,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "s4a_nh3",
"time": 0.0,
"expected": 119.44982501187476,
"tolerance": {
"rel": 1e-09,
"abs": 1.1944982501187475e-10
}
}
]
},
{
"id": "astemmix_dry_kp0_oin_ac_80",
"description": "Hand-specified bin 'kp0_oin_ac_80' (as kp0_oin_an_80 for NH4Cl: case 4b at Kp_nh4cl_0 < Keq_sg(2); chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests ASTEM_flux_dry case 4 on an all-solid bin whose Kp0 is below Keq_sg (keq0 = Kp0). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 0.0,
"gas_hcl": 300.0,
"gas_nh3": 300.0,
"kg_hno3": 9.38731088590304e-05,
"kg_hcl": 0.0001231810362930912,
"kg_nh3": 0.00018038681048080358,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.0,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 5400.872945810767,
"kp_nh4cl_0": 18683.314773660615,
"mixed": 0.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 1e-09,
"abs": 2.342683256605826e-14
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.02342683256605826,
"tolerance": {
"rel": 1e-09,
"abs": 2.342683256605826e-14
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.02342683256605826,
"tolerance": {
"rel": 1e-09,
"abs": 2.342683256605826e-14
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 5400.872945810767,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 18683.314773660615,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "s4b_nh3",
"time": 0.0,
"expected": 170.13001392055048,
"tolerance": {
"rel": 1e-09,
"abs": 1.7013001392055047e-10
}
}
]
},
{
"id": "astemmix_dry_kp0_oin_both_90",
"description": "Hand-specified bin 'kp0_oin_both_90' (both salts, both Kp0 below Keq_sg: case 4ab at Kp0; chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests ASTEM_flux_dry case 4 on an all-solid bin whose Kp0 is below Keq_sg (keq0 = Kp0). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 200.0,
"gas_hcl": 300.0,
"gas_nh3": 300.0,
"kg_hno3": 9.38731088590304e-05,
"kg_hcl": 0.0001231810362930912,
"kg_nh3": 0.00018038681048080358,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.0,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 1990.3769678044753,
"kp_nh4cl_0": 4864.3200031920305,
"mixed": 0.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.017845386054436883,
"tolerance": {
"rel": 1e-09,
"abs": 4.990029625414921e-14
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.03205491019971233,
"tolerance": {
"rel": 1e-09,
"abs": 4.990029625414921e-14
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.04990029625414921,
"tolerance": {
"rel": 1e-09,
"abs": 4.990029625414921e-14
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 1990.3769678044753,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 4864.3200031920305,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
}
]
},
{
"id": "astemmix_dry_kp0_oin_both_70",
"description": "Hand-specified bin 'kp0_oin_both_70' (both salts at 70%: Kp_nh4no3_0 below Keq_sg(1), Kp_nh4cl_0 above Keq_sg(2) (min picks Keq_sg); chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests ASTEM_flux_dry case 4 on an all-solid bin whose Kp0 is below Keq_sg (keq0 = Kp0). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 200.0,
"gas_hcl": 300.0,
"gas_nh3": 300.0,
"kg_hno3": 9.38731088590304e-05,
"kg_hcl": 0.0001231810362930912,
"kg_nh3": 0.00018038681048080358,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 0.0,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 0.0,
"salt_s": 0.0,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 9347.361563838662,
"kp_nh4cl_0": 44029.24580092123,
"mixed": 0.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 0.01475346095528075,
"tolerance": {
"rel": 1e-09,
"abs": 3.741976122444284e-14
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 0.022666300269162092,
"tolerance": {
"rel": 1e-09,
"abs": 3.741976122444284e-14
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 0.03741976122444284,
"tolerance": {
"rel": 1e-09,
"abs": 3.741976122444284e-14
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 9347.361563838662,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 20222.75081030049,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
}
]
},
{
"id": "astemmix_dry_mix4a_an_bothcond_60",
"description": "Hand-specified bin 'mix4a_an_bothcond_60' (mix case 4a with both the solid NH4NO3 and the liquid NH4Cl condensing on little NH3: their NH3 uptakes add to 1.87 kg_NH3 g_NH3, above the diffusion limit (FORTRAN_BUGS B32); chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests the SOLID half of ASTEM_flux_mix (route 3, mixed = 1: the solid products at Keq_sg). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 3000.0,
"gas_hcl": 2999.9500000011176,
"gas_nh3": 29.950000001117587,
"kg_hno3": 0.00023797333480412867,
"kg_hcl": 0.0003119718059830158,
"kg_nh3": 0.00045663379408402273,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 0.9559839943156724,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 0.0,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.9559839943156724,
"nh4cl_s": 0.0,
"salt_s": 0.9559839943156724,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 13864.066474257994,
"kp_nh4cl_0": 86770.35429656984,
"mixed": 1.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "f4a",
"time": 0.0,
"expected": 0.01208420895192863,
"tolerance": {
"rel": 1e-09,
"abs": 1.2084208951928631e-14
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 10281.936470483066,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 20222.75081030049,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
}
]
},
{
"id": "astemmix_dry_mix4b_ac_bothcond_64",
"description": "Hand-specified bin 'mix4b_ac_bothcond_64' (mix case 4b with both the solid NH4Cl and the liquid NH4NO3 condensing on little NH3: 1.68 kg_NH3 g_NH3 (B32); chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests the SOLID half of ASTEM_flux_mix (route 3, mixed = 1: the solid products at Keq_sg). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 3000.0,
"gas_hcl": 3000.0,
"gas_nh3": 30.0,
"kg_hno3": 0.00018579051408268966,
"kg_hcl": 0.00024363863417705233,
"kg_nh3": 0.0003566700579707948,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 3.5786849900703133,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 3.5786849900703133,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 0.0,
"nh4cl_s": 3.5786849900703133,
"salt_s": 3.5786849900703133,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 12004.491763909411,
"kp_nh4cl_0": 67117.56882744431,
"mixed": 1.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "f4b",
"time": 0.0,
"expected": 0.008268309442046099,
"tolerance": {
"rel": 1e-09,
"abs": 8.268309442046099e-15
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 10281.936470483066,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 20222.75081030049,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
}
]
},
{
"id": "astemmix_dry_mix4_an_ac_scaled_40",
"description": "Hand-specified bin 'mix4_an_ac_scaled_40' (mix case 4 with both acids so supersaturated that the two salts need more NH3 than kg_NH3 g_NH3 supplies: the acid fluxes scaled together (ASTEM_flux_dry_case4ab); chem170_scm/mosaic_astem/make_astem_mix_hand.py), run through WRF's own compiled ASTEM_semi_volatiles by kernels/mosaic_therm_driver mode 6 at T = 290 K, p = 0.9 atm, 1000 particles/cm3 (mix.tape). Tests the SOLID half of ASTEM_flux_mix (route 3, mixed = 1: the solid products at Keq_sg). Inputs are the state the bin's flux routine saw (FXO record, after its tiny absorptions/degassings), kg and the constants from the AIN/BIN records; expected are the solid fluxes flux_s it formed (and the surface NH3 its quadratic gave where no later surface overwrote it). rel 1e-9, absolute floor 1e-12 of the largest of the three fluxes; keq0 exactly.",
"parameter_overrides": {
"gas_hno3": 3000000.0,
"gas_hcl": 3000000.0,
"gas_nh3": 0.1,
"kg_hno3": 0.00017702265913939572,
"kg_hcl": 0.00023215368071374755,
"kg_nh3": 0.00033986632215784654,
"so4_s": 0.0,
"msa_s": 0.0,
"nh4_s": 3.7327964319392475,
"na_s": 0.0,
"ca_s": 0.0,
"cl_s": 1.9321187106878288,
"caco3_s": 0.0,
"nacl_s": 0.0,
"cacl2_s": 0.0,
"nh4no3_s": 1.800677721251419,
"nh4cl_s": 1.9321187106878288,
"salt_s": 3.7327964319392475,
"keq_sg_nh4no3": 10281.936470483066,
"keq_sg_nh4cl": 20222.75081030049,
"kp_nh4no3_0": 22128.805036119462,
"kp_nh4cl_0": 239229.33588149384,
"mixed": 1.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "case4",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "cond_hno3",
"time": 0.0,
"expected": 1.728994261263964e-05,
"tolerance": {
"rel": 1e-09,
"abs": 3.398663221578466e-17
}
},
{
"variable": "cond_hcl",
"time": 0.0,
"expected": 1.6696689603145018e-05,
"tolerance": {
"rel": 1e-09,
"abs": 3.398663221578466e-17
}
},
{
"variable": "cond_nh3",
"time": 0.0,
"expected": 3.398663221578466e-05,
"tolerance": {
"rel": 1e-09,
"abs": 3.398663221578466e-17
}
},
{
"variable": "keq0_nh4no3",
"time": 0.0,
"expected": 10281.936470483066,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "keq0_nh4cl",
"time": 0.0,
"expected": 20222.75081030049,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
}
]
}
]
}