Mathematical Model of Water Advance in Border Irrigation