TL;DR
Is this closed-loop control? i.e.
- Do you want the PLC to take a setpoint for the desired water flow rate from the operator? we already have water flow analog input in PLC.
- And should the PLC should then control the water flow rate to that setpoint? Yes, the set point will determine.
- Do you want to do that by having the PLC control the valve position by varying the PLC's analog output? Yes.
- Do you have an indication (measure) of the water flow rate, for example some kind of flow meter? Yes we do have water flow input.
So, if the answer to all of those questions is yes, then closed-loop control means you want the PLC to open the valve by some amount when the measured water flow rate is less than the setpoint, and close the valve by some amount when the measured flow rate is more than the setpoint.
Is that a reasonable re-definition and expansion of your question?
Also, it would help if you would provide some background about your level of skill, the level of skill of the people you work with whom you can ask for help, and what parts of closed-loop control (above) you understand and what parts you do not understand. For example, do you know how to connect the PLC analog output to the modulation valve?