reservoirflow.models.BlackOil.set_well#

BlackOil.set_well(well=None, cell_id=None, q=None, pwf=None, r=None, s=None)#

Set a well in a specific cell

Parameters:
  • well (Well class, optional) – well information. If this class was used as input, all other arguments will be ignored except id will be used instead of well.id.

  • id (int, optional) – well location using cell id based on natural order as int. This value is given a higher priority over well.id.

  • q (int, float, optional) – well rate as positive for injection or negative for production

  • pwf (int, float, optional) – bottom hole flowing pressure (BHFP). If was not defined, None value will be set to zero.

  • r (int, float, optional) – well radius.

  • s (int, float, optional) – well skin factor