Apocalypse Dynamics allows you to simulate the future of mankind through the digital twin of the world.
This project is made possible thanks to our generous sponsors.
To read the Apocalypse Dynamics documentation, click on the Wiki link.
To get insights about the roadmap and progress reports, click on the Projects link.
First of all, you must install a Modelica developping environment. Download the free OpenModelica environment from the official website. Follow the installation instructions for your operating system. Then download the Apocalypse Dynamics package, either by direct download if you are a simple user, or through Git should you want to contribute to the project (See the section Contributing below). Extract the archive. This will create the ApocalypseDynamics directory containing the library's files.
Start OpenModelica connection editor (OMEdit). In the File menu, click on "Open Model/library file(s)".
Then in the "ApocalypseDynamics" folder, select the "Package.mo" file. The Apocalypse Dynamics library is loaded as you can see in the left panel "Libraries".
Then select WorldDynamics, World3 and one of the scenarios, e.g. Scenario 2. Click on the right‐arrow (‐>) simulate button (top row) to simulate. To simulate another scenario at the same time, click on that one and click the simulate button.
Go to the "Plotting" tab, click on one or more of the variables in the right window. You can search for population by typing "population". You can simulate several scenarios and plot one or more variables from each simulation in the same diagram. Here-below the worldwide population plots from Scenario1, Scenario2, Scenario3:
The plots given below come from Scenario2, Scenario3, and Scenario6. The green one ("green growth") was the only sustainable-one, that is to say without population collapse, as of 2004.
Now it's your turn: try to find a sustainable scenario for our common future !
May the force of the Mathematics be with you ! 😇
Should you want to contibute, see the issues on GibHub and the project tab for some tasks you can work on.
Pull requests are welcomed. Get a GitHub account if you don't have it already and clone the repository at with the "Fork" button in the top right corner of the page. Check out your clone to your machine, code away, push your changes to your clone and submit a pull request; instructions are available at https://help.github.com/articles/fork-a-repo.
In case you need them, more detailed instructions for creating pull requests are at https://help.github.com/articles/using-pull-requests, and a basic guide to GitHub is at https://guides.github.com/activities/hello-world/. GitHub also provides interactive learning at https://lab.github.com/.
For your conveniance, I have added a github-git-cheat-sheet.pdf in the root directory.