valve system optimization