Pipeline simulation based on The Goal