Flow analysis