A computational technique for simulating the dynamic response of a flow injection analysis system