An engineer is tasked with designing an algorithmic control system for an automated vertical farming facility that regulates nutrient delivery, LED lighting cycles, and ambient temperature across multiple hydroponic bays.
Explain how the concept of decomposition is applied when designing an algorithmic solution to this problem.