this MATLAB code produced to solve water hammer equation with interaction in reservoir_pipe_valve system