Well#
- class pyflowdiagnostics.well.Well(name: str, type_id: int)[source]#
Bases:
object
Represents a well.
A well has a name, type (producer or injector), and a list of completions.
- name#
Name of the well.
- Type:
str
- type#
Type of well (“PRD” or “INJ”).
- Type:
str
- completions#
List of Completion objects associated with the well.
- Type:
list[Completion]
- num_active_completions#
Number of active (open) completions.
- Type:
int
Methods Summary
add_completion
(I, J, K, stat)Adds a completion to the well.
Set well status based on completion status
Methods Documentation
- add_completion(I: int, J: int, K: int, stat: int) None [source]#
Adds a completion to the well.
- Parameters:
I (int) – I-index of the grid cell (1-based).
J (int) – J-index of the grid cell (1-based).
K (int) – K-index of the grid cell (1-based).
stat (int) – Completion status ID (positive for open, other values for shut).