DIY Macroeconomic Model Simulation



This website is under construction and will be regularly updated and extended.

This platform provides an open source code repository and online script for macroeconomic model simulation. It follows a “do-it-yourself” (DIY) approach, empowering users to numerically simulate key macroeconomic models on their own using the open-source programming languages R and Python. Whether you are a university teacher, student, researcher, or an economics enthusiast, our platform offers resources to deepen your understanding of both macroeconomic modelling and coding.

The platform covers an array of macroeconomic models, including canonical textbook models, models from different economic paradigms, and seminal models from the history of economic thought. It bridges a gap between intermediate and advanced level macroeconomics by providing detailed yet accessible treatments of seminal macroeconomic models. Most intermediate macroeconomics textbooks focus on graphical analysis, while advanced level materials are often more mathematical and less accessible. Our platform offers a hands-on and approachable resource for users to build both a solid foundation in modelling and macroeconomic intuition.

The platform’s DIY-approach aims to foster reproducibility and open-source principles in macroeconomic research and education by providing learning materials that are freely available and modifiable by everyone. The platform’s content will expand over time through new entries added by the project team.

Project team

Franz Prante

Karsten Kohler

Franz is a research associate at Chemnitz University of Technology, where he is currently working on the macroeconomic effects of monetary policy and price effects on energy demand. He is also a PhD student at Université Sorbonne Paris Nord.

Karsten is a Lecturer in Economics at Leeds University Business School, where he does research on the interaction between finance and the real economy, especially sources of cyclical dynamics, instability, and rising inequality.


We welcome any feedback. If you encounter any issues, find typos or mistakes, or have questions/thoughts on the content, please do get in touch.

  1. If you are Github user, you can report an issue in our repository
  2. You can also email us directly: and


The material on this page is licensed under CC BY-NC 4.0, thus feel free to use the material for non-commercial purposes but please give credit.


We are grateful for helpful comments from Adam Aboobaker, Chandni Dwarkasing, Giuseppe Fontana, Alex Guschanski, Eckhard Hein, and Rafael Wildauer on various sections of this website. All errors are ours.