This can be helpful: https://www.insanehydraulics.com/letstalk/hoseaccumulatoreffect.html
Good read. But then , that whole sight is a good read.