Create a valve that allows linear reduction of flow depending on closing and create a valve that has a trigger to start closing when a certain pressure is reached.
For modeling irrigation systems, cutting-edge elements such as hydrants/valves have closing rules that not only take time into consideration, but also pressure as a trigger. Furthermore, these valves have linear flow characteristics.