Assessment of the Impact of Aggregated Economic Factors on Optimal Consumption in Models of Economic Growth