Skip to content

Photochem

One-dimensional photochemistry, climate, and chemical equilibrium for planetary atmospheres.

Photochem is an open-source code for simulating how chemistry, radiation, transport, and climate shape planetary atmospheres. Its Python interfaces can evolve atmospheric composition through time, find photochemical steady states, calculate radiative-convective-equilibrium climates, and determine thermochemical-equilibrium compositions.

Install Photochem Start with a tutorial Browse the API

Choose a modeling workflow

  • Rocky-planet photochemistry

    Use photochem.EvoAtmosphere to model the atmospheric photochemistry of a rocky planet like Earth or Venus.

  • Gas-giant photochemistry

    Use EvoAtmosphereGasGiant from photochem.extensions for simulating the chemistry of gas-rich planets like Jupiter or K2-18 b.

  • Climate

    Use photochem.clima.AdiabatClimate to calculate one-dimensional radiative-convective temperature structures, including atmospheres with multiple condensible species.

  • Chemical equilibrium

    Use photochem.equilibrate.ChemEquiAnalysis to calculate equilibrium compositions from elemental abundances at specified temperatures and pressures.

Get started

  • Installation covers the supported ways to install Photochem.
  • Tutorials develop complete atmospheric-modeling workflows.
  • API Reference documents the public Python classes and functions.