pycascades
Python framework for simulating tipping cascades on complex networks
pycascades is developed at the Potsdam Institute for Climate Impact Research, Potsdam, Germany.
Installation
Prerequisites (We use an Anaconda environment):
conda create -n pycascades python=3.9
conda deactivate
conda activate pycascades
conda install -c conda-forge mamba
mamba install -c conda-forge numpy scipy matplotlib cartopy seaborn netCDF4 networkx ipykernel
pip install sdeint PyPDF2 pyDOE
Install pycascades either via:
pip install git+https://github.com/pik-copan/pycascades
or as development via:
git clone https://github.com/pik-copan/pycascades
cd pycascades
pip install -e .
or from PyPI (might be older version):
pip install pycascades
Introduction
Description paper: N. Wunderling, J. Krönke, V. Wohlfarth, J. Kohler, J. Heitzig, A. Staal, S. Willner, R. Winkelmann, J.F. Donges, Modelling nonlinear dynamics of interacting tipping elements on complex networks: the PyCascades package, The European Physical Journal Special Topics (2021).
With pycascades, the dynamics of tipping elements on complex networks can be simulated and with that the preconditions for the emergence of tipping cascades. Two types of dynamical systems with bifurcations are pre-implemented: dynamical systems that possess a Cusp- or a Hopf-bifurcation. Further, arbitrary complex networks of tipping elements can be implemented, and three types of paradigmatic network structures can be used out of the box. These are Erdös-Rényi, Barabási-Albert and Watts-Strogatz networks. Further, stochastic processes can be added to the dynamics of the tipping elements such as Gaussian noise, Lévy our Cauchy processes. Lastly, three explicit examples showcase the capabilities of the pycascades software package: (i) The moisture recycling network of the Amazon rainforest, (ii) interacting climate tipping elements and (iii) an application to the global trade network.
pycascades is developed at the Potsdam Institute for Climate Impact Research (PIK), Research Domains for Earth System Analysis and Complexity Science. Responsible senior scientists at PIK: Jonathan F. Donges. and Ricarda Winkelmann.
Literature
pycascades has been used in analyses supporting the following publications:
-
N. Wunderling*, B. Stumpf*, J. Krönke, A. Staal, O. Tuinenburg, R. Winkelmann and J.F. Donges, 2020, How motifs condition critical thresholds for tipping cascades in complex networks: Linking Micro- to Macro-scales, Chaos: An Interdisciplinary Journal of Nonlinear Science, 30(4), 043129. *These authors share the first authorship.
-
J. Krönke, N. Wunderling, R. Winkelmann, A. Staal, B. Stumpf, O.A. Tuinenburg, J.F. Donges, 2020, Dynamics of tipping cascades on complex networks, Physical Review E, 101(4), p.042311
-
Wunderling, N., Gelbrecht, M., Winkelmann, R., Kurths, J. and Donges, J.F., 2020, Basin stability and limit cycles in a conceptual model for climate tipping cascades, New Journal of Physics, 22(12), p.123031.
-
Wunderling, N., Donges, J.F., Kurths, J. and Winkelmann, R., 2021, Interacting tipping elements increase risk of climate domino effects under global warming, Earth System Dynamics, 12(2), pp.601-619.
-
N. Wunderling, A. Staal, B. Sakschewski, M. Hirota, O.A. Tuinenburg, J.F. Donges, H.M.J. Barbosa*, R. Winkelmann*, Network dynamics of drought-induced tipping cascades in the Amazon rainforest, in review (2020), *These authors jointly supervised this study.
Funding
The development of pycascades has been supported by the Leibniz Association (project DominoES), the IRTG 1740/TRP 2015/50-122-0 project funded by DFG and FAPESP, the German National Academic Foundation (Studienstiftung des deutschen Volkes), and the European Research Council (ERC advanced grant project ERA, Earth Resilience in the Anthropocene, ERC-2016-ADG-743080).
Licence
pycascades is licenced under the BSD 3-Clause License.
See the LICENSE file for further information.
Metadata
Release files for pycascades 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pycascades-1.0.2.tar.gz | 21.2 kB | Without provenance | Details |
Release files / pycascades-1.0.2.tar.gz
| Download URL | pycascades-1.0.2.tar.gz |
|---|---|
| Size | 21.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c954a3d1aaa076be4c69b814983908dd5a2453988c66c30dc040cde8d39b5e0e
|
|
BLAKE2b-256 checksum How to use checksums |
ef2f5c72eb2e4d176f20d234ce29486834169bcb7aaa68fbf0f137d500870e7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for pycascades 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.