dynamic aggregate demand and aggregate supply model