Stav dette: Modeling aggregate behavior and fluctuations in economics