Photovoltaic (PV) power forecasting combined with energy storage systems (ESS) is critical for grid stability and renewable energy optimization. Machine learning (ML) techniques have shown promise in improving PV forecast accuracy and ESS operation. By modeling the control task as a Markov Decision Process and employing the Soft Actor-Critic (SAC) algorithm, the system learns adaptive charge/discharge. Solar energy generated from photovoltaic panel is an important energy source that brings many benefits to people and the environment. This is a growing trend globally and plays an increasingly important role in the future of the energy industry.