This paper presents a methodology for sizing and simulating an autonomous photovoltaic-wind hybrid energy system with battery storage, using simulation tools and linear programming. The developed model is useful for energizing remote rural areas and produces a system with minimum cost and high reliability, based on the concept of loss of power supply probability (LPSP), applied for consecutive hours. To calculate the solar power and the wind power, a statistical model based on Beta and Weibull probability density functions, respectively, is used. Some scenarios are calculated and compared, using different numbers of consecutive hours and different LPSP values. As a result, a complete sizing of the system and a long-term cost evaluation are presented.