Macroeconomics basic formulas are referring to a model in which the raw material are unlimited. Also the efficiency of production is a consequence of the pressure done by consumers (that buy the most cheap product, between the ones with the same level of quality).
exist formulas that try to model an economic system that "expand" toward the maximization of efficiency in using the limited quantity of raw resources?
(provided that we can describe the actual basic model like one that "expand" toward the maximization of quantity of production and quantity of selling, by total units or by total revenue).