The promotion and deployment of storage technologies in autonomous and grid-connected systems plays a relevant part in the massive integration of renewable power sources required for the worldwide development of a sustainable society. In this regard, analyzing the behavior of electrochemical storage devices such as lead-acid batteries installed on hybrid energy systems and microgrids in terms of their lifetime and economic profitability is an important research topic. Since renewable generation is characterized by its random nature, lead-acid batteries typically work under stress conditions, which directly influence their lifetime in a negative way by increasing the net present cost. Due to the fast growing of renewable sources as a consequence of governmental policies and incentives, the number of manufacturers to be considered worldwide is becoming really high, so that optimization techniques such as genetic algorithms (GAs) are frequently used in order to consider the performance of a high number of manufacturers of wind turbines, photovoltaic panels and lead-acid batteries subject to the environmental conditions of the location under analysis to determine a cost-effective design. In this paper, GA method combined with weighted Ah ageing model is improved by including expert experiences by means of stress factors and the categorization of operating conditions, as a new contribution to earlier studies. The effectiveness of the proposed method is illustrated by analyzing a hybrid energy system to be installed in Zaragoza, Spain, resulting in a near-optimal design in a reduced computational time compared to the enumerative optimization method.