PySulfSat: An Open-Source Python3 Tool for modelling sulfide and sulfate saturation

This is a Preprint and has not been peer reviewed. The published version of this Preprint is available: This is version 4 of this Preprint.

Add a Comment

You must log in to post a comment.


There are no comments or no comments have been made public for this article.


Download Preprint


Penny Wieser, Matthew Gleeson


We present PySulfSat, an Open-Source Python3 tool for modeling sulfide and anhydrite saturation in
magmas. PySulfSat supports a variety of data types (spreadsheets, Petrolog3 outputs, MELTS tbl files).
PySulfSat can be used with alphaMELTS for Python infrastructure to track sulfur solubility during fractional crystallization within a single Jupyter Notebook. PySulfSat allows far more customization of calculations than existing tools. For example, the SCSS2− could be calculated with one model using the sulfide
composition from a parameterization released with a different SCSS2− model. There are also functions
for calculating the proportion of S6+/ST ot, allowing modeled SCSS and SCAS values to be converted into
total S solubility to compare to natural data. We also contain functions for modeling mantle melting in
the presence of sulfides using a variety of SCSS and KD models. Extensive documentation and worked
examples are available at ReadTheDocs ( along with narrated YouTube
videos (



Earth Sciences


Sulfide, sulfate, python, solubility, Open-source


Published: 2022-10-27 09:26

Last Updated: 2023-07-16 22:20

Older Versions

CC BY Attribution 4.0 International

Additional Metadata

Conflict of interest statement:

Data Availability (Reason not available):
All on GitHub /Read The Docs