An equilibrium condensation sequence calculator for planetary and exoplanetary applications
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

The Arbitrary Composition Condensation Sequence Calculator (ArCCoS) is an equilibrium condensation sequence calculator. It calculates the distribution of 23 elements between ~400 gas phases and ~100 solid phases of interest to planetary and exoplanetary science. See more information

ArCCoS is released under the GNU GPL v2 or newer

Source code:

Authors (as of 2016, listed alphabetically by first name): Dr. Cayman Unterborn (

Basic Structure: The code is split into 5 files: Input ( Main code ( Mass balance function (condensation/ Database calculations & entropy/enthalpy calculator(condensation/ Output (condensation/

as well as a database of thermodynamic values for the gasses/solids (Data/).

Following the prompts in will show the current input variables including: Solar composition model and total pressure. Future versions will include database manipulation as well as more complex thermodynamics (e.g. solid solutions).

After changing the input file, to run ArCCoS, simply type: python and the code will run until 100% of all refractory elements are condensed. At completion, matplotlib will produce a plot showing the refractory element condensation (% element condensed vs. temperature). Further output files including a text version of the appearance and disappearance temperature of each solid (output/sequence/) and individual element distributions as a function of temperature (output/abundance/).


Python 2.7.x or Python 3.4+ Python modules: NumPy, SciPy, Matplotlib

Install under Ubuntu

Install using apt by opening a terminal window and entering sudo apt-get install python python-scipy python-numpy python-matplotlib Go to the Burnman examples directory and type: python Figures should show up, indicating that it is working. Install on a Mac

get Xcode If you don't have Python yet, download it (for free) from . Make sure to use either Python 2.7 or Python 3.4+. To check your version of python, type the following in a terminal: python --version Install the latest Numpy version: Install the latest Scipy at Install the latest Matplotlib from Go to the Burnman examples directory and type: python Figures should show up, indicating that it is working. Python can also be downloaded in an ready to use fashion by using the Canopy distribution of python located at: with numpy, scipy and matplotlib installs being accessed through the Package Manager.

Problems you might run into:

Installing numpy/scipy/matplotlib for a different python version than the one on your computer

Having matplotlib for 32-bit instead of 64-bit (for me this got fixed by installing the very latest version). This will give you the error no matching architecture in universal wrapper. You can check if your python distribution is 32 or 64 bit with the following lines:


import platform print platform.architecture() Install under Windows

To get Python 2.7.x (for example) running under Windows:

Download Python from and install the version at C:\Python27; the 32-bit version is recommended Go to, download "numpy-MKL-1.6.2.win32-py2.7.exe" and install Go to, download "scipy-0.10.1.win32-py2.7.exe" and install Go to, download "matplotlib-1.1.1.win32-py2.7.exe" and install Open Python Shell (IDLE Python GUI) File -- Open -- find one of the example files Run the module (or press F5)