Added time varying flow demands.