valve parameters
valve stop logic