This study proposes a novel statistical methodology for optimizing PV-battery system size. Further, cost and benefit functions are used for financial. NLR's solar techno-economic analysis examines the manufacturing costs, system costs, and supply chain issues for solar photovoltaic (PV) and battery storage technologies. This work informs research and development by identifying drivers of cost, supply chain, and competitiveness for solar. This study provides a comprehensive review of BES technologies, focusing on their classification, selection factors, sizing methodologies, optimization techniques, and associated challenges. Various battery types including lead-acid, lithium-ion (Li-ion and LiFePO4), flow, and nickel-cadmium are. The newest edition of the study by the Fraunhofer Institute for Solar Energy Systems ISE on the electricity generation costs of various power plants shows that photovoltaic systems now produce electricity much more cheaply than either coal or gas-fired power plants, even in combination with battery. NLR analyzes the total costs associated with installing photovoltaic (PV) systems for residential rooftop, commercial rooftop, and utility-scale ground-mount systems. Through 2022, benchmarks were developed using bottom-up. Each year, the U. Department of Energy (DOE) Solar Energy Technologies Office (SETO) and its national laboratory partners analyze cost data for U. solar photovoltaic (PV) systems to develop cost benchmarks.