The solar tree is a combination of technology and art that is considered as the application of solar energy in the art of urban architecture. This study aims to combine solar technology with architectural style and art, to help urban beautification and investigate the increase in solar panels' efficiency by focusing on the optimal slope and no shading in the form of a new solar tree structure. In this paper, the best angle for placing panels on tree branches to increase Shiraz's maximum efficiency has been calculated. The best angle is done with the help of the NRI mathematical model. Also, the Fibonacci sequence, which originates from nature and real trees, has been used to minimize shadows on this tree. The panels' optimal slope calculations are performed using MATLAB software. Also, the monthly efficiency changes resulting from the optimal slope have been calculated and displayed. By analyzing the computational relationships and their implementation by PVsyst simulator, the optimal annual slope of solar panels obtained 30 degrees. By implementing it in the solar tree structure, the proposed annual efficiency of the model has increased by 12% compared to the fixed state. This article examines the technical methods of using solar systems in urban architecture with emphasis on integration methods. In the proposed and implemented solar tree model with the ability to adjust the optimal angle and beautify passages, parks and recreation centers, it is possible to charge electronic equipment such as mobile phones, tablets, and electric bicycles through clean solar energy.