This paper presents a comparative study between two proposed size optimization methods based on two battery’s models. Simple and complex battery models are utilized to optimally size a standalone photovoltaic system. Hourly meteorological data are used in this research for a specific site. Results show that by using the complex model of the battery, the cost of the system is reduced by 31%. In addition, by using the complex battery model, the sizes of the PV array and the battery are reduced by 5.6% and 30%, respectively, as compared to the case which is based on the simple battery model. This shows the importance of utilizing accurate battery models in sizing standalone photovoltaic systems.