Found in 1 comment on Hacker News
Try the work of Wynne Godley and Marc Lavoie, who use stock-flow consistent models to model the economy. See their book: Monetary Economics: An Integrated Approach to Credit, Money, Income, Production and Wealth [1]

[1]https://www.amazon.com/Monetary-Economics-Integrated-Approac...

Fresh book recommendations delivered straight to your inbox every Thursday.