kappa_sdk.pvt.PVT#

class kappa_sdk.pvt.PVT(context, id, name, technical_object_id, labels, cluster_apis, pvt_dto_converter, pvt_type, pvt_start_dates)[source]#

Attributes

PVT.field_id

Gets the id of the field that contains this PVT.

PVT.id

Gets the unique id of this PVT.

PVT.labels

Gets the labels associated with this PVT.

PVT.name

Gets the name of this PVT.

PVT.pvt_start_dates

Gets the list of configuration start dates for this PVT.

PVT.technical_object_id

Gets the technical object id associated with this PVT.

PVT.type

Gets the type of this PVT.

PVT.well_id

Gets the id of the well associated with this PVT.

Methods

PVT.compute_pseudo_pressures(temperature, ...)

Compute pseudo-pressures for this PVT.

PVT.convert_rates(field_pressures, ...)

Convert rates using this PVT.

Parameters:
  • context (KAContext)

  • id (str)

  • name (str)

  • technical_object_id (str)

  • labels (List[str] | None)

  • cluster_apis (ClusterAPIS)

  • pvt_dto_converter (PVTDtoConverter)

  • pvt_type (PVTTypeEnum)

  • pvt_start_dates (List[str])

__init__(context, id, name, technical_object_id, labels, cluster_apis, pvt_dto_converter, pvt_type, pvt_start_dates)[source]#
Parameters:
  • context (KAContext)

  • id (str)

  • name (str)

  • technical_object_id (str)

  • labels (List[str] | None)

  • cluster_apis (ClusterAPIS)

  • pvt_dto_converter (PVTDtoConverter)

  • pvt_type (PVTTypeEnum)

  • pvt_start_dates (List[str])

Return type:

None

property field_id: str#

Gets the id of the field that contains this PVT.

property well_id: str | None#

Gets the id of the well associated with this PVT.

property id: str#

Gets the unique id of this PVT.

property name: str#

Gets the name of this PVT.

property technical_object_id: str#

Gets the technical object id associated with this PVT.

property labels: List[str] | None#

Gets the labels associated with this PVT.

property type: PVTTypeEnum#

Gets the type of this PVT.

property pvt_start_dates: List[str]#

Gets the list of configuration start dates for this PVT.

compute_pseudo_pressures(temperature, rock_compressibility, pressure_range_min, pressure_range_max, pressure_range_steps, sw=None)[source]#

Compute pseudo-pressures for this PVT.

Parameters:
  • temperature (float)

  • rock_compressibility (float)

  • pressure_range_min (float)

  • pressure_range_max (float)

  • pressure_range_steps (int)

  • sw (float | None)

Return type:

PseudoPressuresResults

convert_rates(field_pressures, field_temperatures, surface_pressures, surface_temperatures, standard_oil_rates, standard_gas_rates)[source]#

Convert rates using this PVT.

Parameters:
  • field_pressures (List[List[float]])

  • field_temperatures (List[List[float]])

  • surface_pressures (List[List[float]])

  • surface_temperatures (List[List[float]])

  • standard_oil_rates (List[float])

  • standard_gas_rates (List[float])

Return type:

RateConversionResults