Skip to content

v2.1.0

Latest

Choose a tag to compare

@djbower djbower released this 22 Nov 06:14
5ac21aa

Atmodeller 2.1.0 adds a model catalogue to the libraries, makes the initial guess robust for magma-ocean systems, and fixes the sulfate solubility laws of Boulliung and Wood, which gave a third of the dissolved sulfur. The full list is in the changelog: https://github.com/ExPlanetology/atmodeller/blob/main/CHANGELOG.md

Changes that can affect your results:

  • The sulfate and combined S2 solubility laws of Boulliung and Wood (S2_sulfate_*_boulliung23, S2_*_boulliung23) give up to 3 times more dissolved sulfur under oxidising conditions (above about FMQ+1). Results under reducing conditions are unchanged.
  • The element-potential initial guess has changed, so the initial guess and the number of solver steps can differ from 2.0.0. The solutions do not.
  • A model with an fO2-dependent solubility law (the N2 laws, the S2 laws of Boulliung and Wood) but no O2 gas species, or with a mass constraint of zero or less, now raises a ValueError before solving. Such models could not be solved before either.

Added:

  • Registries that pair each library model with its catalogue information (species, phase, sources): get_eos_catalogue and get_solubility_catalogue, with CatalogueEntry and ModelInfo. The model catalogue in the documentation is generated from them.
  • A temperature range for the Vassiliev and Taldrik (2021) heat capacity fits, which can now be used with IntegratedThermodynamicProperties.
  • CONDENSATE_ALLOCATION_FRACTION, shared by both initializers, and the class attribute Solubility.requires_fO2.

Changed:

  • ElementPotentialInitializer starts each species at its share of its limiting element's budget and places each element between the gas and the melt, which solves systems with a large melt reservoir and a skewed inventory (e.g. a primordial H/He atmosphere with trace C, N, O and S) and halves the solver steps on them.

Fixed:

  • The Boulliung and Wood sulfate laws (see above).
  • The extrapolation of thermodynamic data now works independently on each side of the temperature range.
  • Documentation and docstrings brought into line with the code, including the model catalogue, the N2 laws of Bernadou et al. (2021) (which as published overestimates N at reduced conditions; under investigation) and Libourel et al. (2003), and the units in the Excel output's info sheet.

Install with pip install --upgrade atmodeller.