CPlantBox

Functional-Structural Plant Model Python & C++

A modular, functional-structural plant modelling framework for simulating plant growth, water dynamics, and plant–soil interactions.

Overview

CPlantBox is a functional-structural plant model built in a modular way, usable at several levels of complexity. It describes plant geometry through individual organs — roots, stems, and leaves — that evolve over time. The framework can model functional aspects such as water and carbon dynamics within the plant and provides general tools to build plant–soil-interaction models.

To solve partial differential equations, CPlantBox can be coupled with the finite-volume solver DuMux via the companion repository dumux-rosi.

Key Features

Getting Started

Full installation instructions for Linux and macOS are available in the README. An interactive web demo is hosted at cplantbox.fz-juelich.de.

Documentation

API reference and class diagrams generated by Doxygen are located in the html/ subdirectory (built locally). Tutorial notebooks and example scripts can be found in the tutorial/ directory of the repository.