Emergent co-ordination of flow control actions through functional co-operation of social agents