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. In this system, charging piles, air conditioning, building energy storage, and photovoltaic are connected to the direct current bus, with flexible adjustment. . This balancing act between supply and demand will lead to the rapid integration of energy storage systems with solar installation systems. SolarPlanSets offers expert solar drafting services, streamlining projects and reducing costs. Energy storage can help power networks withstand peaks in demand allowing tra battery energy. .