Including fluctuations of water content in feed streams and products for the optimal management of water resources