A photovoltaic system with storage consists of solar panels, an inverter (which converts energy from direct current to alternating current), a management system, and, indeed, batteries. In simple words, it is a system that not only produces electricity thanks to solar panels but also stores it in dedicated batteries to be used when the sun is not shining. Thanks to the storage, it is possible to better manage the generated energy, which translates into higher self-consumption and reduced costs of purchasing energy from. This paper focuses on the latest studies and applications of Photovoltaic (PV) systems and Energy Storage Systems (ESS) in buildings from perspectives of system configurations, mathematic models, and optimization of design and operation. Mathematical models, which can accurately calculate PV yield. Energy storage is essential to ensuring grid stability as demand grows for intermittent renewables, like solar PV. Different options are gaining traction, supported by international standards. Energy supply security could hardly be a more pressing concern for nations everywhere right now. Various technologies exist for energy.