Skip to content

PROTEUS Model Framework

Overview

PROTEUS is a modular framework for simulating the time evolution of small (exo)planets. It is designed to be flexible, reflecting the broad diversity of planetary conditions already discovered, with the view of being updated to incorporate additional physics as the need arises. This approach stands in contrast to common monolithic models in the literature. PROTEUS is free and open-source, which permits external scrutiny of its workings. It is directly based upon the model of Lichtenberg et al. (2021) 1 although the code has evolved substantially from that state.

Design philosophy

George Box famously put that "all models are wrong, but some are useful". PROTEUS therefore leverages a modular and hierarchical modelling approach. Multiple independent models can fill the role of a given module, and each model can be used stand-alone. Hierarchical modelling allows inter-comparison of simple and complex models, taking advantage of the easy comprehension of the simple in order to diagnose and validate the qualitative behaviour of the complex. Simplified dummy modules are not designed for quantitatively meaningful calculations, but only to qualitatively capture end-member behaviours.

System architecture

Although PROTEUS aims to treat the problem of planetary evolution, it must necessarily also handle external processes which act upon the planet (e.g. tidal heating). The framework therefore models the combined system of a planet, its orbital mechanics, and the evolution of its host star. The planet itself is conceptually sub-divided into a vaporised atmosphere component above an interior component containing a silicate mantle and metallic core. PROTEUS facilitates communication between individual software modules which each implement a model for a specific part of the overall system. Conceptually, PROTEUS modules (e.g. the interior) are 'slots' which are filled by specific implementations: the 'models' (e.g. Aragog).

PROTEUS module schematic (light mode) PROTEUS module schematic (dark mode)
Schematic of the PROTEUS modular architecture. Radial domains (labelled boxes) are each handled by interchangeable modules; the star and orbit provide external forcing; arrows show the quantities exchanged at each coupling timestep.

The planet is divided into radial domains: a metallic core, a silicate mantle (solid and partially molten), a surface boundary layer, and a volatile atmosphere. The star and orbit force the system through instellation, XUV flux, and tidal heating. At each coupling timestep, the interior module passes the surface temperature and heat flux upward to the atmosphere, which returns the outgoing longwave radiation; the outgassing module partitions volatiles between the melt and the atmosphere based on the current temperature and melt fraction; and the escape module removes mass from the top of the atmosphere driven by the stellar XUV flux. Multiple implementations are available for each slot (e.g. Aragog or SPIDER for the interior, AGNI or JANUS for the atmosphere), enabling hierarchical model intercomparison.

Module overview

Module Implementations Role
Structure Zalmoxis, dummy Interior structure (radius, density, gravity profiles)
Interior SPIDER, Aragog, boundary, dummy Mantle/core thermal evolution
Atmosphere (climate) AGNI, JANUS, dummy Radiative-convective profile
Atmosphere (chemistry) VULCAN, dummy Chemical kinetics
Star MORS, dummy Stellar evolution and spectrum
Escape ZEPHYRUS, dummy Atmospheric escape
Outgassing CALLIOPE, atmodeller, dummy Volatile exchange between interior and atmosphere
Tides Obliqua, Lovepy, dummy Tidal response of the planet (Love numbers, heating)
Orbit PROTEUS (internal) Orbital evolution (semi-major axis, eccentricity, spin)
Accretion Morrigan, timeline, dummy Protoplanet growth by giant impacts
Observations petitRADTRANS, none Synthetic transit and eclipse spectra

Each module is maintained in its own repository and can be used as a standalone package outside of PROTEUS. The following sections describe each module's physical role and how PROTEUS couples to it.


Interior structure: Zalmoxis

Zalmoxis computes the hydrostatic equilibrium structure of a differentiated planet (metallic core + silicate mantle + volatile envelope). Given a total planet mass, bulk composition, and surface temperature, Zalmoxis integrates the equations of hydrostatic equilibrium inward from the surface using a tabulated equation of state (EOS), returning radial profiles of pressure, density, temperature, and gravitational acceleration. It also computes the core radius, mantle mass, and surface gravity.

Zalmoxis supports several EOS backends, including the PALEOS MgSiO\(_3\) tables and the Wolf & Bower (2018) 3 parameterisation. The PALEOS mantle EOS comes in two forms: PALEOS:MgSiO3 solves the structure on the unified table and derives the solidus from the liquidus with a fixed mushy-zone factor (by default the solidus-to-liquidus ratio of Stixrude (2014)2, applied to the PALEOS liquidus), while PALEOS-2phase:MgSiO3 uses separate solid and liquid tables for the latent-heat entropy gap across the melting curve and derives the solidus from the liquidus with the same mushy-zone factor. Both are detailed in the interior configuration reference. The structure solution is used by PROTEUS to initialise the planet's radius and to dynamically update the structure during the simulation when the interior thermal state changes (see Structure-interior coupling below).

Config section: [interior_struct]. Reference: Interior configuration.

Interior energetics: Aragog, SPIDER, boundary

The interior energetics module evolves the mantle temperature and melt fraction in time by solving the energy equation in the planetary interior.

Aragog (Python/JAX) solves the interior energy equation in the temperature-pressure (T-P) formulation. It discretises the mantle on a radial grid and advances the temperature profile using the SUNDIALS CVODE integrator (required unless a scipy solver is chosen explicitly) with an analytic Jacobian computed via JAX automatic differentiation. Aragog handles the full mushy-zone (partial melt) regime, including phase-dependent material properties, radiogenic heating, tidal heating, and core cooling. It is the recommended interior module for most configurations.

By default the core below the Aragog mantle is a heat reservoir of fixed heat capacity. With interior_energetics.aragog.core_bc = "core_module" the core has its own energy budget instead: secular cooling along the core adiabat, the latent heat of a growing inner core, the gravitational energy of the light elements it rejects, and radiogenic heat. The core temperature is then a state of the solver, and the heat flux through the core-mantle boundary follows from the temperature contrast between the core and the base of the mantle across a boundary layer. See Core evolution.

SPIDER (C) uses the temperature-entropy (T-S) formulation 4. It discretises the mantle on a staggered radial grid and solves the entropy equation using PETSc's implicit time integrator. SPIDER provides an independent cross-check on Aragog for the same physical problem formulated in a different thermodynamic variable. It requires PETSc and is an optional installation component.

Boundary solves a simplified single-node energy balance ODE for the mantle surface temperature, treating the mantle as a single thermal reservoir with Arrhenius or aggregate viscosity. It is useful for rapid exploration of parameter space and for configurations where the full radial resolution of Aragog or SPIDER is not needed.

Config section: [interior_energetics]. Reference: Interior configuration.

Atmosphere climate: AGNI, JANUS

The atmosphere climate module solves the radiative-convective equilibrium structure of the atmosphere given the surface temperature, surface pressure, atmospheric composition, and incoming stellar spectrum.

AGNI (Julia) is a radiative-convective atmosphere model that uses the SOCRATES spectral radiative transfer library (Fortran) as its radiation core. AGNI solves for the self-consistent atmospheric temperature profile by iterating a Newton solver on the radiative-convective flux balance. It supports grey-gas and correlated-k radiative transfer, Rayleigh scattering, clouds, and condensation of volatile species. AGNI returns the outgoing longwave radiation (OLR), Bond albedo, and atmospheric temperature-pressure profile.

JANUS (Python) is a 1D convective atmosphere module that computes a radiative-convective profile using a band-averaged two-stream approach. JANUS is faster than AGNI but makes stronger simplifying assumptions (e.g. no iterative Newton solve; a prescribed adiabatic lower atmosphere). It is useful for parameter sweeps and initial exploration.

With surf_state = 'skin', a conductive skin of thickness surface_d and conductivity surface_k separates the magma from the atmosphere, and carries the flux \(k\,(T_\mathrm{magma} - T_\mathrm{surf}) / d\).

Instead, setting both to 'saturation' derives the skin from the condensates formed at the surface, such as graphite. Each condensate is spread over the surface as a layer at its density, and the layers are stacked in series: \(d = \sum_i d_i\) and \(k = d / \sum_i (d_i / k_i)\), with a constant conductivity per condensate (condensate_conductivity in proteus.utils.constants).

Config section: [atmos_clim]. Reference: Atmosphere configuration.

Atmospheric chemistry: VULCAN

VULCAN (Python) is a photochemical kinetics code that computes steady-state atmospheric mixing ratios given a temperature-pressure profile, eddy diffusion profile, and UV stellar spectrum. In PROTEUS, VULCAN post-processes atmosphere snapshots after the simulation: automatically at its end with atmos_chem.mode = "offline", or later with proteus offchem. atmos_chem.times selects the snapshots (the final state, all of them, a list of times, or a table of states such as a melt fraction or surface temperature). The chemistry does not feed back on the evolution; coupled (online) chemistry is not yet implemented. See Postprocessing and chemistry.

Config section: [atmos_chem]. Reference: Atmosphere configuration.

Stellar evolution: MORS

MORS (Python) provides stellar evolutionary tracks and spectral energy distributions. It supports two track families: Spada 10 (rotation-dependent tracks with activity-calibrated XUV luminosities, suitable for solar-type stars) and Baraffe 11 (mass-luminosity tracks for low-mass stars). MORS interpolates the stellar mass, radius, effective temperature, bolometric luminosity, and XUV luminosity at any stellar age, and synthesises a wavelength-resolved spectrum by scaling a modern reference spectrum (observed MUSCLES data, solar NREL data, or a synthetic PHOENIX spectrum) to the historical luminosity.

Config section: [star]. Reference: Star and orbit configuration.

Atmospheric escape: ZEPHYRUS

The escape module computes atmospheric mass loss rates driven by the stellar XUV flux.

ZEPHYRUS (Python) implements energy-limited escape, computing a bulk mass loss rate from the XUV flux, planet mass, and XUV absorption radius. The bulk rate is then distributed across elements proportionally to their atmospheric abundance (unfractionated escape). ZEPHYRUS also provides a tidal correction factor for planets in close-in orbits.

Config section: [escape]. Reference: Escape and outgassing configuration.

Volatile outgassing: CALLIOPE, atmodeller

The outgassing module computes the thermodynamic equilibrium partitioning of volatiles between the atmosphere, silicate melt, and solid mantle.

CALLIOPE (Python) solves for the equilibrium partial pressures and dissolved volatile concentrations given the mantle temperature, melt fraction, and total element inventories for H, C, N, S, and O 5. It uses parameterised solubility laws and an fO2 buffer (configurable as an IW offset) to compute the redox state 7. CALLIOPE handles the full set of major volcanic gases (H\(_2\)O, CO\(_2\), H\(_2\), CO, N\(_2\), SO\(_2\), S\(_2\), CH\(_4\)).

atmodeller (Python/JAX) is an alternative outgassing module that uses a real-gas equation of state and a more detailed thermochemical treatment 6. atmodeller provides an independent cross-check on CALLIOPE for the same volatile partitioning problem. Each solve may take up to outgas.atmodeller.solver_multistart attempts, a failed start being perturbed and tried again; a solve in which no attempt converges stops the run with an error, rather than writing the solver's start guess to the helpfile. When no H, C, N or S inventory is above outgas.mass_thresh and no noble gas remains, atmodeller solves for a pure O\(_2\) atmosphere: at the IW buffer offset under planet.fO2_source = "user_constant", and against the O budget under "from_O_budget". CALLIOPE also keeps a pure O\(_2\) atmosphere at the buffer offset in this case, but each module uses its own parameterisation of the IW buffer, so at the same offset and temperature the two give different O\(_2\) pressures (log fO\(_2\) differs by up to 0.30 dex between 1500 and 4000 K). Under "from_O_budget" with the O budget also at or below the threshold, atmodeller skips the solve and writes an empty atmosphere that keeps the last mixing ratios, as after desiccation.

LavAtmos (Python) is an optional addition, enabled with outgas.vapourise = true, that computes the thermodynamic vapourisation equilibrium of the surface melt 8 and adds the resulting rock-vapour species to the volatile outgassing 9. Vapourisation is a distinct process from outgassing. It uses the FastChem equilibrium chemistry solver and requires ThermoEngineLite for melt thermodynamics.

Config section: [outgas]. Reference: Escape and outgassing configuration.

For the order of the volatile steps in each iteration, the species-to-element split, the H\(_2\) binodal, rock vapour and the trapping of volatiles in the freezing mantle, see Outgassing, rock vapour and volatile trapping.

Volatile outgassing and rock vapourisation are combined

With outgas.vapourise = true the following steps run sequentially, at each PROTEUS iteration:

  • The volatile outgassing backend runs first on its own
  • The vapourisation step then re-equilibrates the volatile atmosphere together with the rock vapour
  • Returns one combined composition
 reset rock-vapour species and rock element reservoirs; M_vaps = 0
                          |
                          v
 [1] run_outgassing  (CALLIOPE / atmodeller / dummy)
     volatile equilibrium at fO2 = IW + outgas.fO2_shift_IW
     -> <gas>_bar, <gas>_vmr, <gas>_kg_*, atm_kg_per_mol
     -> P_surf = volatile total ;  P_vol = P_surf ;  P_vap = 0
     -> M_atm  = sum over gases of <gas>_kg_atm
     -> fO2_shift_IW_derived                       (volatile redox column)
                          |
          Phi_global < params.stop.solid.phi_crit ? ---- yes ---> stop here
                          | no                                   (no vapour)
                          v
 [2] run_vapourisation  (LavAtmos + FastChem)
     input  = melt at T = max(T_magma, outgas.lavatmos.T_min),
              P_volatile = P_vol from [1],
              element number fractions of: 
              (H, C, N, S, O + noble gases, from <e>_kg_atm),
              fO2 initial guess = 10 ** fO2_vapourise_derived (previous step)
     output = FastChem boa_chem: total pressure Pbar, mean mass mu,
              mixing ratios of ALL species
                          |
                          v
 [3] combine, in this order:
     P_vap  = max(Pbar - P_vol_from_[1], 0)        rock-vapour part
     P_surf = Pbar                                 combined total
     P_vol  = P_surf - P_vap                       volatile part (identity holds)
     M_atm  = Pbar * 4*pi*R_int^2 / gravity        hydrostatic column
     atm_kg_per_mol = mu                           combined MMW
     per gas:      <gas>_bar    = vmr * Pbar
                   <gas>_kg_atm = vmr * M_atm * W_gas / mu
                   <gas>_kg_total = 0 for rock-vapour species (kept in M_vaps),
                                    else atm + liquid + solid
     per element:  <e>_kg_atm = frac_e * M_atm * W_e / mmw_elements
                   O_kg_atm stays at the volatile-step
                   value and the vapour-derived excess goes to O_vapourised_kg
                   rock-forming elements accumulate into M_vaps
     fO2_vapourise_derived          = log10( vmr_O2 * (P_vol + P_vap) )
                                      absolute, log10 bar
     fO2_vapourise_shift_IW_derived = fO2_vapourise_derived - IW(T_magma)
                                      relative to the buffer, dex

Some notable consequences of step 3:

  • Pressures add, compositions do not. P_surf = P_vol + P_vap, with P_vap defined as the excess of the combined FastChem total. The per-gas and per-element amounts are taken from the combined equilibrium, not summed across the two steps since adding them would count the volatile inventory twice.

  • The vapourisation step reports its redox state twice, absolute and buffer-relative. The two must not be used interchangeably:

    Column Meaning Units
    fO2_vapourise_derived Absolute fO2 of the combined atmosphere: the FastChem O2 mixing ratio times the total pressure P_vol + P_vap. Zero means 1 bar of O2. log\(_{10}\) bar
    fO2_vapourise_shift_IW_derived Relative to the iron-wustite buffer at T_magma: fO2_vapourise_derived - IW(T_magma). Zero means "exactly on the buffer", so it moves as T_magma evolves, even at fixed absolute fO2. dex

    The absolute value is fed back to LavAtmos as the fO2 initial guess for the next iteration's LavAtmos call.

  • The vapourisation fO2 is separate from the volatile-chemistry fO2. fO2_shift_IW_derived is the redox buffer offset obtained from the volatile step (e.g. CALLIOPE or atmodeller rather than by LavAtmos). It is not expected to equal fO2_vapourise_shift_IW_derived since the two come from different solvers.

Whole-planet mass is not conserved when vapourisation is enabled

  • Rock vapour is added to the atmosphere without being removed from the interior. The vapourised rock mass is accumulated into M_vaps and enters M_atm, but no matching mass is subtracted from the interior: M_int, M_mantle.
  • Rock-vapour elements dilute the escape outflow but are not depleted by it. Rock-forming elements take part in the unfractionated escape partitioning and reduce the escape rate available to H/C/N/O/S. This applies when escape.reservoir = "outgas", where the partitioning weights are atmospheric masses. With escape.reservoir = "bulk" the rock-forming whole-planet totals are reset to zero on every outgassing step, so they carry no weight and do not dilute the outflow.

utils.coupler.assert_mass_conservation therefore checks two things separately. M_atm <= M_planet is enforced under outgas.vapourise = false. M_vol_atm equals the sum of the per-species atmospheric masses; rock vapour is excluded from M_vol_atm by definition.

Tidal evolution: Obliqua, Lovepy

Obliqua (Julia) computes the multi-phase tidal response of the planet. The tidal love-numbers of the planet is computed from its interior structure and rheology using various viscoelastic rheological models. Tidal heating power is distributed radially across the mantle and fed back into the interior energy equation. The model is valid for arbitrary eccentricity and spin-orbit misalignment, as it models arbitrary tidal degrees and modes.

Lovepy (Julia) computes the solid-only tidal response of the planet using a Maxwell rheology. Tidal heating power is distributed radially across the mantle and fed back into the interior energy equation. It assumes spin-orbit synchronisation and a small eccentricity, as only the dominant degree-2 tidal modes are considered.

Orbital evolution: PROTEUS (internal)

Orbital evolution (Python) computes the time evolution of the independent orbital parameters (semi-major axis, eccentricity, spin, apsidal precession) under the influence of tidal dissipation in both the primary and the perturbing body. The model combines spin-orbit dynamics with eccentricity evolution, based on a vectorial approach expressed in Hansen coefficients. The model allows for angular momentum draining through the evection resonance, but conserves it in all other cases.

Config section: [orbit]. Reference: Star and orbit configuration. For the full set of star-planet and planet-satellite models (sp0d/sp1d/parameterized/ps0d/ps1d/ps1d_evec), the evection resonance, and the satellite Love-number lookup workflow, see Orbital dynamics and tides.

Accretion: Morrigan

The accretion module supplies the giant impacts a planet experiences after the disk disperses, and PROTEUS applies each one to the planet it is evolving.

Morrigan (Python) follows a system of planetary embryos through the secular eccentricity oscillations, orbit crossings, scatterings, ejections and giant impacts by which they accrete, until the system settles into a Hill-stable configuration. It implements the semi-analytical Monte Carlo model of Kimura et al. (2025) 13, which predicts when a system goes unstable and resolves each instability with prescriptions calibrated against N-body simulations, rather than integrating the orbits. That makes one system cheap enough to run inside a coupled framework, at the cost of any single history being a statistical realisation rather than a trajectory: ensemble statistics are the meaningful comparison. PROTEUS follows one survivor of that system, chosen by the configured selector, and takes its impact history.

Each impact is applied at the timestep it falls in. The impactor's rock grows the planet and the interior structure is re-solved at the new mass, so radius, gravity and the core-mantle split follow the growth. The impactor's volatiles are delivered while the same collision fraction strips the target's atmosphere and the impactor's own, so a small impactor striking a heavily-clothed planet can leave it lighter than before. The impact also re-melts part of the mantle, set by accretion.remelt (see how much of the mantle an impact melts). The orbit takes the collision's change in semi-major axis and eccentricity, clamped to a bound orbit.

Two further implementations take an impact history rather than derive one. timeline replays a table of impacts from a file, which reproduces a published history or drives PROTEUS from one computed elsewhere. dummy builds a history from scaling laws: the planet approaches an asymptotic mass exponentially, impacts are evenly spaced in time, and each delivers the mass the law accretes over its interval, so the increments decay and the largest impact is the first. With no accretion module selected the impact list is empty and the planet's mass is set by its initial condition alone.

Config section: [accretion]. Reference: Accretion configuration.

How much of the mantle an impact melts

How much of the mantle does a giant impact melt, and where in the mantle does the melt go?

Each impact melts a fraction \(f\) of the mantle mass, the melt mass fraction. The melt fills the mantle from the surface down. The Aragog interior solver divides the mantle into cells, thin spherical shells. The outermost cells that hold this mass rise to the run's temperature-mode initial condition, and the deeper mantle keeps its state before the impact.

The setting accretion.remelt sets \(f\):

  • full gives \(f = 1\): the whole mantle rises.
  • computed, the default with Morrigan, takes the \(f\) that Morrigan reports for each merger, or an f_melt column of a timeline file.
  • Without a setting, a run with Morrigan uses computed and every other run full.
  • An \(f\) that is not a finite number from 0 to 1 is an error, also in an f_melt column.

The mantle mass here is the structural mass of the mantle before the impact. Parts of the mantle that are already hotter than the initial condition keep their state.

For example, take a mantle of uniform density between the core-mantle boundary at \(r_c\) = 3500 km and the surface at \(R\) = 6400 km, and \(f = 0.3\). The melt front \(r_f\) then follows from the mass of the outer shell, \(r_f = (R^3 - f (R^3 - r_c^3))^{1/3}\):

\(r_f^3 = 2.62144 \times 10^{11} - 0.3 \times (2.62144 \times 10^{11} - 4.2875 \times 10^{10}) = 1.963633 \times 10^{11}\) km\(^3\), so \(r_f\) = 5812 km.

The melt front lies 588 km below the surface. A fill linear in radius would put it at \(R - f (R - r_c)\) = 5530 km, 870 km deep and 282 km too deep, because the outer cells hold more mass per unit radius.

The cell at the melt front holds only the share \(w\) of the melt, its weight, and takes the mass-weighted mean entropy of its melted and unmelted parts. Its entropy therefore moves the share \(w\) of the way from its entropy before the impact to the entropy of the initial condition; that distance is its jump (see the terms of the re-melt validation page).

The rule has no memory of earlier melt. Each impact fills its share from the surface down, also where the cells are already at the initial condition. So two impacts of \(f = 0.3\) in one step melt 0.3 of the mantle plus up to a quarter of the cell at the melt front, since the second impact moves that cell the share \(w\) again. For example, in a mantle of 4 equal cells the first impact melts the top cell in full and the next cell by \(w = 0.2\). The second impact melts the same share again, so that cell then holds \(1 - 0.8^2 = 0.36\) of its jump instead of 0.2. The extra share is \(w (1 - w)\), at most 1/4 at \(w = 0.5\).

The dummy interior carries one mantle temperature. At each impact it moves that temperature the share \(f\) of the way to the initial temperature, so its impacts compound. The boundary interior and SPIDER cannot apply an impact, so an accretion run with either is refused when the configuration is loaded.

The tutorial Giant impacts with a partial re-melt runs a full and a partial re-melt and reads their impact rows.

Where this is checked. Partial giant-impact re-melt on the Validation tab.

Synthetic observations: petitRADTRANS

petitRADTRANS (Python) is a radiative transfer code for computing exoplanet transmission and emission spectra. PROTEUS uses petitRADTRANS as a forward model to synthesise what an observer would measure given the simulated atmospheric state.

For each active composition source PROTEUS runs two calculations:

  • Transit depth: wavelength-dependent \((R_\mathrm{transit}/R_\star)^2\) in ppm, computed from the atmospheric scale height via Radtrans.calculate_transit_radii.
  • Eclipse depth: wavelength-dependent thermal emission contrast \((F_\mathrm{planet}/F_\star)\) in ppm, computed via Radtrans.calculate_flux.

After computing the full-atmosphere baseline spectrum, PROTEUS can optionally repeat the calculation once per included line species with that species removed. This leave-one-out procedure quantifies the spectral contribution of each gas and produces additional columns in the output CSV files.

The active source set is configured by observe.source (all, outgas, profile, offchem). Leave-one-out spectra are controlled by observe.remove_one_gas. Whether transit, eclipse, or both products are generated is controlled by observe.spectrum_type.

The atmosphere profile is interpolated onto a 100-point log-spaced pressure grid before being passed to petitRADTRANS, and temperature is clipped to the valid table range [100.5 K, 3999.5 K].

Before constructing the Radtrans object, PROTEUS moves the species with the broadest opacity wavelength coverage to the front of the line-species list.

Config section: [observe]. Reference: Observations configuration.

Dummy modules

Every module slot has a dummy implementation for testing, debugging, and hierarchical modelling. Dummy modules replace the full physics with minimal parameterisations that capture qualitative behaviour at negligible computational cost. They require no external solvers, no compiled code, and no reference data, making them suitable for verifying the coupling architecture and for quick parameter exploration.

Module Dummy behaviour
Structure Noack & Lasbleis (2020) 12 analytical scaling laws for interior radius, density, and gravity as a function of planet mass and iron content
Interior energetics Heat-capacity integrator with prescribed solidus/liquidus; cooling driven by atmospheric flux
Atmosphere climate Grey-body model: \(F_\mathrm{OLR} = \sigma [T_\mathrm{surf}(1-\gamma)]^4\). Optionally a fixed-flux mode
Atmosphere chemistry Parameterised vertical profiles with cold trap and approximate photolysis products
Star Fixed effective temperature and luminosity; Planck-function spectrum at a user-specified \(T_\mathrm{eff}\)
Escape Constant bulk mass loss rate (user-specified kg/s), distributed proportionally across elements
Outgassing Melt-fraction-dependent volatile partitioning with fixed stoichiometry, no equilibrium chemistry
Orbit & Tides Fixed semi-major axis and eccentricity; configurable parameterised tidal heating
Accretion Exponential approach to an asymptotic mass, delivered as evenly spaced impacts; Noack & Lasbleis (2020) 12 radii and momentum-conserving mergers

The Quick start tutorial runs PROTEUS with every physics module set to dummy. Accretion is left out of that configuration, so the planet keeps the mass its initial condition gives it; add an [accretion] section with module = "dummy" to let it grow.


Structure-interior coupling

The structure and interior modules serve complementary roles. The interior module (SPIDER or Aragog) evolves the mantle temperature and melt fraction in time, while the structure module (Zalmoxis) solves for the hydrostatic equilibrium of the planet given a temperature profile and equation of state.

When interior_struct.module = 'zalmoxis' and interior_struct.zalmoxis.update_interval > 0, PROTEUS can dynamically recompute the planetary structure during a simulation. Structure updates are governed by a hybrid trigger that combines physics-based criteria with timing constraints:

  • Floor (update_min_interval): minimum time between updates, preventing excessive recomputation during rapid cooling. Every trigger below waits for it, the recovery included. Only mesh convergence skips it: the extra re-solves, spaced by mesh_convergence_interval, that follow an update whose mesh shift was limited to mesh_max_shift.
  • Ceiling (update_interval): the time since the last structure update after which PROTEUS starts a new update. Each re-solve in the time loop restarts this count, also a failed one or one whose radius increase PROTEUS rejects; a failed one-time baseline solve at the start of the time loop does not. On resume the count starts at the resumed time. PROTEUS checks it once per time step, so in a run with no failed or rejected re-solve the gap between 2 updates can exceed the ceiling by up to 1 time step.
  • Temperature trigger (update_dtmagma_frac): fires when the relative change in mantle surface temperature since the last update exceeds the threshold.
  • Melt fraction trigger (update_dphi_abs): fires when the absolute change in global melt fraction since the last update exceeds the threshold.
  • Recovery (update_stale_ceiling): a failed re-solve keeps the previous structure, which is then called stale. If no other trigger fires, a new re-solve starts once this time has passed since the last re-solve attempt; the other triggers can start one sooner, after the floor. On resume the resumed time counts as the last attempt. It has an effect only when update_stale_ceiling is smaller than update_interval, because the ceiling re-solves first otherwise. It does nothing while no re-solve has failed.

Setting update_interval = 0 disables dynamic updates entirely; the structure is computed only at initialisation.

The core temperature in the structure solve

Which temperature does Zalmoxis give the core when it solves the structure? The core follows an adiabat through the core-mantle boundary (CMB) temperature. A hotter core is less dense, so this temperature sets part of the core radius and the central pressure.

PROTEUS gives every Zalmoxis solve that has a mantle temperature profile a core temperature table: pressure and temperature pairs on a core adiabat. The mantle keeps the temperature profile of the interior module. The table follows one of 2 cores:

  • The live core: the Aragog core with interior_energetics.aragog.core_bc = "core_module", at its own core temperature.
  • A Gaussian core: a core density profile fitted to the core mass, core radius, central pressure and CMB pressure of the last structure. Its constant expansion coefficient and heat capacity come from interior_energetics.aragog.core_module.alpha and .c_p; PROTEUS reads these 2 values for every core_bc and also with SPIDER.
Solve Core Temperature of the adiabat at the CMB
Structure update, Aragog with core_bc = "core_module" live core the live core temperature
Structure update, any other core_bc, or SPIDER Gaussian core T_cmb of the last output row
Start of the run Gaussian core the deepest mantle temperature
After a giant impact Gaussian core T_cmb of the last output row (the core temperature before the impact)

When the last output row has no positive T_cmb, the 2 solves that read it, a structure update with the Gaussian core and the solve after a giant impact, take the deepest mantle temperature. When the previous structure cannot be sampled, the start-up solve and the solve after an impact without a positive T_cmb get no core table.

The solves at the start of the run and after a giant impact have a mantle temperature profile, and so a core table, only with planet.temperature_mode = "liquidus_super" and an interior module other than SPIDER.

Zalmoxis reads the table at the pressure of each core node. Past the ends of the table it extrapolates linearly from the end interval.

For example, at the first structure update (102 yr) of a 1 Earth-mass planet with core_bc = "energy_balance", the table makes the core radius 0.74 % larger and the central pressure 4.4 % lower than with the whole core at the temperature of the deepest mantle node.

When the core table stops a solve or a run, and when it is ignored

  • A solve stops when a core node lies past the table by more than 0.1 of the table pressure range. It also stops when the Zalmoxis result lacks one of its 2 core table outputs, core_T_used and core_T_max_excess. What PROTEUS does next depends on the solve:
    • At a structure update, PROTEUS keeps the previous structure. After 8 failed structure updates in a row, the run stops.
    • At the start of the run and after a giant impact, Zalmoxis solves the structure twice: first with its own temperature guess and no core table, then on the mantle temperature profile with the core table. When the second solve stops, PROTEUS keeps a structure solved without the core table: the first solve or, in the start-up loop that iterates the structure with the outgassing, a new solve on the temperature guess.
  • The run stops when PROTEUS cannot build the core table, for example when the Gaussian core cannot be fitted to the last structure. PROTEUS builds the table before the solve, so this error keeps no earlier structure.
  • The run stops when a core temperature of an accepted solve differs from the table temperature at the node pressure by more than a relative 1e-9, or is not finite, not positive or rises outward.
  • A core equation of state (EOS) that does not depend on temperature ignores the table; struct_core_T_used is then 0.

Limits of the core temperature table

  • Heat content at an update. With a core_bc other than "core_module", the table takes the T_cmb of the row before the update. The update then changes the core heat content, and no output column books that change (step_dE_struct_core_J is 0).
  • Constant expansion coefficient. The table is the adiabat of a core with a constant expansion coefficient and heat capacity (interior_energetics.aragog.core_module.alpha and .c_p). Against the isentrope of the PALEOS liquid iron table of Attia et al. (2026)14 through the same CMB temperature, its centre is 20 % colder at 1 Earth mass, 30 % hotter at 3 Earth masses and 73 % hotter at 4 Earth masses. At the first structure update of a run with core_bc = "energy_balance", a solve on the isentrope moves the planet radius by up to 0.18 %, the core radius by up to 0.6 % and the central pressure by up to 2.8 % at 1 to 4 Earth masses (measured values). The structure solve and the core energy budget do not use the PALEOS isentrope.
  • After a giant impact. The structure solve after an impact takes the core temperature before the impact. A full re-melt of the mantle then raises the core temperature of the energy budget, and the structure keeps the colder core until the next structure solve. In the measured run, a solve at the raised temperature gives a core radius up to 0.10 % larger (measured values).

Where this is checked. The core table gives the structure of 2 independent paths.

Try it. The core temperature of the structure solve runs a planet with both core_bc settings and reads the core of each structure update.

Time evolution vs equilibrium

Only the interior and star modules have an explicit notion of time-evolution. All other modules are applied at equilibrium, such that the quantities calculated by these modules are effectively updated instantaneously at each time-step. This assumes that the physical processes handled by these equilibrium modules reach steady-state on time-scales shorter than the physics considered by interior and stellar evolution modules.

Further reading


  1. Lichtenberg, T., Bower, D.J., Hammond, M., et al., Vertically resolved magma ocean-protoatmosphere evolution: H2, H2O, CO2, CH4, CO, O2, and N2 as primary absorbers, Journal of Geophysical Research: Planets, 126, e2020JE006711, 2021. SciX. ↩

  2. L. Stixrude, Melting in super-earths, Philosophical Transactions of the Royal Society A, 372, 20130076, 2014. SciX. ↩

  3. Wolf, A.S. & Bower, D.J., An equation of state for high pressure-temperature liquids (RTpress) with application to MgSiO3 melt, Physics of the Earth and Planetary Interiors, 278, 59-74, 2018. SciX. ↩

  4. Bower, D.J., Sanan, P. & Wolf, A.S., Numerical solution of a non-linear conservation law applicable to the interior dynamics of partially molten planets, Physics of the Earth and Planetary Interiors, 274, 49-62, 2018. SciX. ↩

  5. Bower, D.J., Kitzmann, D., Wolf, A.S., et al., Linking the evolution of terrestrial interiors and an early outgassed atmosphere to astrophysical observations, Astronomy & Astrophysics, 631, A103, 2019. SciX. ↩

  6. Bower, D.J., Thompson, M.A., Hakim, K., et al., Diversity of low-mass planet atmospheres in the C-H-O-N-S-Cl system, The Astrophysical Journal, 995, 59, 2025. SciX. ↩

  7. Nicholls, H., Lichtenberg, T., Bower, D.J. & Pierrehumbert, R., Magma ocean evolution at arbitrary redox state, Journal of Geophysical Research: Planets, 129, e2024JE008576, 2024. SciX. ↩

  8. van Buchem, C.P.A., Miguel, Y., Zilinskas, M. & van Westrenen, W., LavAtmos: An open-source chemical equilibrium vaporization code for lava worlds, Meteoritics & Planetary Science, 58, 1149-1161, 2023. ↩

  9. van Buchem, C.P.A., Zilinskas, M., Miguel, Y. & van Westrenen, W., LavAtmos 2.0: Incorporating volatile species in vaporisation models, Astronomy & Astrophysics, 695, A154, 2025. ↩

  10. Spada, F., Demarque, P., Kim, Y.C. & Sills, A., The radius discrepancy in low-mass stars: single versus binaries, The Astrophysical Journal, 776, 87, 2013. SciX. ↩

  11. Baraffe, I., Homeier, D., Allard, F. & Chabrier, G., New evolutionary models for pre-main sequence and main sequence low-mass stars down to the hydrogen-burning limit, Astronomy & Astrophysics, 577, A42, 2015. SciX. ↩

  12. Noack, L. & Lasbleis, M., Parameterisations of interior properties of rocky planets, Astronomy & Astrophysics, 638, A129, 2020. SciX. ↩↩

  13. Kimura, T., Hoshino, H., Kokubo, E., Matsumoto, Y. & Ikoma, M., Semi-analytical model for the dynamical evolution of planetary systems via giant impacts, The Astrophysical Journal, 989, 109, 2025. ↩

  14. M. Attia, T. Lichtenberg, E. Jungová, M. Sastre, PALEOS: Multiphase equations of state and mass-radius relations for exoplanet interiors, Astronomy & Astrophysics, 713, A225, 2026. ↩