Development of an integrated reservoir-wellbore model to examine the hydrodynamic behaviour of perforated pipes