The working principle of the safety valve