These days, more and more farmers are switching from traditional farming methods to commercial greenhouse operations and vertical farming because of their many advantages — they produce better yields, help address natural resource constraints, and offer shelter from unfavorable weather and climate change. However, a major challenge associated with greenhouse operations is that they consume a lot of electricity, particularly due to the amount of lighting required to increase the growth and yield of the plants. This issue is compounded by the increasingly high cost of power.