This study explores the ergodic capacity of energy harvesting (EH) cellular networks utilizing non-orthogonal multiple access (NOMA) alongside a relaying scheme to cater to two distant users. The research highlights the significance of power allocation factors and performance metrics, particularly in scenarios involving cooperative transmission, which enhances user fairness and overall system reliability. Analytical expressions and simulation results demonstrate that the proposed EH-NOMA system achieves maximum capacity under specific conditions, showcasing its effectiveness in advanced cellular networks.