Modelling nonlinear dynamics of interacting tipping elements on complex networks: the PyCascades package

Nico Wunderling, Jonathan Krönke, Valentin Wohlfarth, Jan Köhler, Jobst Heitzig, Arie Staal, Sven Willner, Ricarda Winkelmann, Jonathan F. DongesThe European Physical Journal Special Topics 2021

TL;DR

This paper introduces PyCascades, a new open-source Python package designed to model complex systems where multiple "tipping elements" interact and can trigger cascading failures. It provides a flexible framework for researchers to explore how these interactions can lead to potentially dangerous large-scale shifts across diverse domains like climate, ecology, and economics.

What Problem Does This Paper Address?

Many natural and socio-economic systems are composed of interconnected "tipping elements" – components that can undergo abrupt, qualitative changes when a critical threshold is crossed. Examples include the Amazon rainforest potentially shifting to a savannah, or the collapse of major ocean currents. Crucially, these tipping elements rarely act in isolation; they interact across space and time, meaning a tipping event in one system can trigger a cascade of further tipping events in others. Understanding and predicting these cascading dynamics is vital for assessing risks and developing mitigation strategies, but existing modeling tools often lack the flexibility to handle complex network structures and diverse tipping element behaviors. This paper addresses this gap by presenting PyCascades, a unified framework for modeling such interacting tipping elements on complex networks.

Methods

PyCascades is built around an object-oriented architecture in Python, leveraging established libraries like SciPy for differential equation solving and NetworkX for network representation. The core of the package consists of several key components:

  • Tipping Element Classes: PyCascades provides pre-defined classes for two common types of tipping elements: those exhibiting a "cusp" bifurcation (representing a transition between two stable states) and those exhibiting a "Hopf" bifurcation (leading to oscillations or limit cycles). The framework is designed to be extensible, allowing users to define their own tipping element dynamics.
  • Interaction Classes: The package models interactions between tipping elements using a general coupling framework, with a linear coupling implemented as a starting point.
  • Tipping Network Class: This class, derived from NetworkX's DiGraph, allows users to construct complex networks of tipping elements and their interactions.
  • Stochasticity: Recognizing that real-world systems are subject to noise, PyCascades includes a stochastic version of the cusp tipping element, capable of simulating Gaussian, Lévy, and Cauchy noise. This is implemented using the sdeint library for solving stochastic differential equations.
  • Network Types: The package supports various network structures, including Erdős-Rényi, Watts-Strogatz, and Barabási-Albert models, and can handle arbitrary complex network topologies.

The methodology involves defining tipping elements as nodes in a network, specifying their individual dynamics and how they interact, and then using the evolve class to simulate the system's behavior over time, potentially triggering cascades.

Datasets

The paper does not explicitly list datasets used for training. However, it demonstrates the application of PyCascades using three distinct real-world scenarios:

  • Amazon Rainforest Moisture Recycling Network: This application uses data derived from atmospheric moisture recycling simulations for the Amazon rainforest (specifically, data from Staal et al. (2018) and Krönke et al. (2020)).
  • Interacting Earth System Tipping Elements: This case study models four climate tipping elements (Greenland Ice Sheet, West Antarctic Ice Sheet, AMOC, and Amazon Rainforest) using conceptual models and parameters informed by existing literature on critical temperatures and interaction strengths.
  • Global Trade Network: This application utilizes the EORA multi-regional input-output (MRIO) database, specifically data for the year 2012, to construct a network of economic sectors across countries.

Key Insights and Ideas

  • Interactions are Crucial: The paper strongly emphasizes that tipping elements are rarely isolated. Their interactions can significantly alter the conditions under which tipping occurs and can lead to cascading events that are far more impactful than individual tipping events.
  • Flexibility is Key for Real-World Modeling: The development of PyCascades highlights the need for a flexible modeling framework that can accommodate diverse tipping element dynamics, complex network structures, and stochastic influences, which are all characteristic of real-world systems.
  • Cascades Can Span Domains: The examples demonstrate that the PyCascades framework can be applied to model cascades across vastly different domains – from ecological and climate systems to economic networks – suggesting a universal applicability of the underlying principles of interacting tipping elements.
  • Stochasticity Matters: The inclusion of various noise types (Gaussian, Lévy, Cauchy) is important because real-world systems are inherently noisy, and this noise can significantly influence the timing and likelihood of tipping events, especially extreme events.

Key Results

The paper showcases the functionality of PyCascades through three case studies:

  • Amazon Rainforest: The simulations illustrate how tipping events in one part of the Amazon rainforest can cascade to other patches through atmospheric moisture recycling, demonstrating the package's ability to model spatially embedded networks.
  • Climate Tipping Elements: By applying PyCascades to a network of four climate tipping elements, the study demonstrates how to propagate parameter uncertainties (e.g., critical temperatures, interaction strengths) through large-scale Monte Carlo ensembles, estimating the likelihood of tipping under different scenarios (e.g., a 2°C global warming increase). For instance, the likelihood of tipping was estimated to be around 50% for the GIS and WAIS under a 2°C scenario.
  • Global Trade Network: Using a novel economic tipping element model, PyCascades was used to simulate tipping cascades within a global trade network. The results show how a shock to one node can propagate through the network, leading to widespread collapses in productivity, illustrating the potential for economic disruptions.

Limitations and Future Work

The authors acknowledge several limitations and suggest avenues for future work:

  • Separability Assumption: A current limitation is that the framework can only investigate systems where the individual dynamics of a tipping element can be separated from its interaction terms.
  • Technical Details: There is potential for improvement in technical details, such as implementing more interaction types or multiplicative noise.
  • Paradigmatic Dynamics: Currently, only paradigmatic dynamics (Cusp and Hopf) are implemented. The authors suggest that developing process-based tipping elements tailored to specific applications would be highly desirable.
  • Economic Model: The proposed economic tipping element model is a simplification. Further development could explore more sophisticated economic models.

Despite these limitations, the authors believe PyCascades has the potential to contribute significantly to understanding tipping cascades across various scientific disciplines.

Summary updated

Abstract

Abstract Tipping elements occur in various systems such as in socio-economics, ecology and the climate system. In many cases, the individual tipping elements are not independent of each other, but they interact across scales in time and space. To model systems of interacting tipping elements, we here introduce the PyCascades open source software package for studying interacting tipping elements ( https://doi.org/10.5281/zenodo.4153102 ). PyCascades is an object-oriented and easily extendable package written in the programming language Python. It allows for investigating under which conditions potentially dangerous cascades can emerge between interacting dynamical systems, with a focus on tipping elements. With PyCascades it is possible to use different types of tipping elements such as double-fold and Hopf types and interactions between them. PyCascades can be applied to arbitrary complex network structures and has recently been extended to stochastic dynamical systems. This paper provides an overview of the functionality of PyCascades by introducing the basic concepts and the methodology behind it. In the end, three examples are discussed, showing three different applications of the software package. First, the moisture recycling network of the Amazon rainforest is investigated. Second, a model of interacting Earth system tipping elements is discussed. And third, the PyCascades modelling framework is applied to a global trade network.
BibTeX
@article{wunderling2021modelling,
  author = {Nico Wunderling and Jonathan Krönke and Valentin Wohlfarth and Jan Köhler and Jobst Heitzig and Arie Staal and Sven Willner and Ricarda Winkelmann and Jonathan F. Donges},
  title = {{Modelling nonlinear dynamics of interacting tipping elements on complex networks: the PyCascades package}},
  journal = {The European Physical Journal Special Topics},
  year = {2021},
  doi = {10.1140/epjs/s11734-021-00155-4},
}
Figure