This paper presents case studies for replacing diesel generators (DGs) that are used as the main and emergency power sources for alternating current (AC) auxiliary services in substations (SS) within the transmission network (voltage greater than or equal to 230 kV). The objective of this research is to present a solution that is more reliable, environmentally friendly, and financially viable than DGs. To achieve this, the proposed solutions incorporate Battery Energy Storage Systems (BESSs) with or without the integration of Photovoltaic (PV) Systems. These solutions were simulated using the HOMER PRO Version 3.14.5 software for the Messias SS /AL, and the results were analyzed and compared to the DG in terms of reliability, financial viability, and environmental impact. Based on the conducted analyses, the BESS solution with the PV system was found to be the most suitable for the main source. However, in the case of the emergency source, if one of the main sources is a DG/BESS, maintaining the emergency DG is the preferable option. If both main sources are independent, the BESS solution with the PV system is a suitable solution.