Lifecycle cost analysis for modular design of solar power systems