When it comes to supplying oxygen, current standard hospitals in Iran have proven inadequate in the face of the COVID-19 pandemic, particularly during infection peaks. Power disruptions drastically reduce the oxygen pressure in hospitals, putting patients’ health at risk. The present study is the first to attempt to power an oxygen concentrator with a solar-energy-based system. The HOMER 2.81 package was used for technical–economic–environmental–energy analysis. The most notable aspects of this work include evaluating different available solar trackers, using up-to-date equipment price data and up-to-date inflation rate, considering the temperature effects on solar cell performance, sensitivity analysis for the best scenario, considering pollution penalties, and using a three-time tariff system with price incentives for renewable power. The study has been carried out at Hajar Hospital, Shahrekord, Chaharmahal and Bakhtiari Province, Iran. The study showed that, by supplying 60% of the power demand, the dual-axis solar tracking system offered the highest annual power output (47,478 kWh). Furthermore, generating power at—$0.008/kWh due to selling power to the grid, the vertical-axis tracker was found to be the most economical design. Comparing the configuration with a vertical-axis tracker with the conventional scenario (relying on the power distribution grid), the investment is estimated to be recovered in three years with $234,300 in savings by the end of the 25th year. In the best economic scenario, 6137 kg CO
2
is produced, and the analysis revealed the negative impact of a temperature rise on the performance and solar power output.
Graphical Abstract