Heterogeneous Agent Model simulation

Code and explanations for a simulation of the Aiyagari model with heterogeneous agents in Python. The model is a standard model in macroeconomics, used to study the effects of income inequality on the economy. The code is written in Python. The code is available on GitHub