Computes pressure surge from valve closure with a known closure time, distinguishing between rapid (instantaneous) and slow (gradual) closure regimes.