Irrigation and Thermal Buffering Using Mathematical Modeling