Air flow optimization for drinking water production through air dehumidification