{"title":"PySulfSat: An open-source Python3 Tool for modeling sulfide and sulfate saturation","authors":"P. Wieser, M. Gleeson","doi":"10.30909/vol.06.01.107127","DOIUrl":null,"url":null,"abstract":"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+/STot, 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 (https://bit.ly/PySulfSatRTD) along with narrated YouTube videos (https://bit.ly/PySulfSatYouTube).","PeriodicalId":33053,"journal":{"name":"Volcanica","volume":" ","pages":""},"PeriodicalIF":2.5000,"publicationDate":"2023-05-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Volcanica","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.30909/vol.06.01.107127","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"Earth and Planetary Sciences","Score":null,"Total":0}
引用次数: 1
Abstract
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+/STot, 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 (https://bit.ly/PySulfSatRTD) along with narrated YouTube videos (https://bit.ly/PySulfSatYouTube).