Understanding the Working Principle of Pig Launchers and Receivers