AUTHOR=Chang Han , Jing Feng-Lin , Hou Yao-Long , Chen Li-Qi , Yang Yi-Jun , Liu Tian-Ye , Wei Chen-Lin , Zhai Bin-Qing , Hou Cai-Ying TITLE=Development of a Mathematical Model to Size the Photovoltaic and Storage Battery Based on the Energy Demand Pattern of the House JOURNAL=Frontiers in Energy Research VOLUME=Volume 10 - 2022 YEAR=2022 URL=https://www.frontiersin.org/journals/energy-research/articles/10.3389/fenrg.2022.945180 DOI=10.3389/fenrg.2022.945180 ISSN=2296-598X ABSTRACT=Solar energy is used in buildings worldwide. However, because the efficiency of PV power generation varies with environmental fluctuations, it is difficult to control. Therefore, electricity generation from PVs is often poorly matched to the electricity load of the house. The use of storage batteries and PV panels can effectively improve the stability of energy supply; however, it also introduces the problem of higher initial costs. Generally, a larger PV area and battery capacity can lead to higher costs and more renewable energy; therefore, to determine a suitable size of PV and storage battery for a house, the energy demand of the house must also be considered. The traditional method for sizing PVs and storage batteries mainly considers the daily average electricity demand and the useful area for installing PVs. To size the PV in a more precise manner, we propose a mathematical model (nonlinear programming) for selecting a relatively optimal solution for the PV area, battery capacity, and PV installation angle by considering the hourly and annual demands for electricity from the grid. To validate this mathematical method, a detached house in Zhouzhi county, Shaanxi province, China, was selected to size the devices by the proposed method. Results show that the device sizes determined using the proposed mathematical model are significantly smaller than those determined using the traditional method, without suffering a significant increase in the demand for electricity from the grid. According to our economic analysis, although the proposed method for sizing devices reduces the device cost payback period by half compared to that of the traditional method, the payback period for the devices sized using the proposed method is still 10.6 years. The extremely low electricity price in China may contribute to the extended payback period and thus discourage residents from installing renewable energy devices.