Reservoir characterization using dynamic capacitance–resistance model with application to shut-in and horizontal wells