A method of generating an analysis model and flow analysis system