System lifecycle modeling and optimization