Microeconomic optimization and what-if analysis for facilities renewal