When water begins to flow into the pipe, the plug remains in the open position to allow for significant air venting. Once all air is expelled, water accumulates inside the valve, causing the float to rise and move the plug to the closed position, stopping the large-scale air venting. When water is flowing normally through the pipe, if a small amount of air accumulates in the valve to a certain extent, the water level inside the valve drops, and the float descends accordingly. At this time, the air is expelled through the small hole. When the pump stops, the water in the pipe dries out, or negative pressure is generated in the pipe, the plug quickly opens to draw in air, ensuring the pipeline remains completely dry.