This document studies using a solar energy system to supply the power needs of a data center. It summarizes the basic components of the system, which includes solar panels, batteries, a charge controller, inverters/converters, and the power grid. It then presents simulation results of the system modeling the solar irradiance in Tehran and the varying power demands of the data center. The results show the solar panels can generate up to 1.2 MW at midday, but most of the time cannot meet the full 2 MW load of the data center. The batteries charge and discharge to help meet demands, with one battery acting as primary and the other as backup. The power grid supplies any remaining load needs when the solar and batteries