Using PWM to control a solenoid valve based on sensor readings

No, it is not, but it is on one side of the valve when the valve is closed.
Paul