kappa_sdk.pvt.PVT#
- class kappa_sdk.pvt.PVT(context, id, name, technical_object_id, labels, tech_objects_api, pvt_dto_converter)[source]#
Attributes
Gets the id of the field that contains this
PVT.Gets the fluid type value.
Gets the gas gravity value.
Gets the unique id of this
PVT.Gets the labels associated with this
PVT.Gets the name of this
PVT.Gets the oil gravity value.
Gets the reference pressure value.
Gets the reference temperature value.
Gets the technical object id associated with this
PVT.Gets the type of this
PVT.Gets the water gravity value.
Gets the id of the well associated with this
PVT.Methods
PVT.compute_pseudo_pressures(temperature, ...)PVT.convert_rates(field_pressures, ...)PVT.flash_black_oil_process(temperature, ...)Compute a flash on black oil PVT
PVT.flash_eos_process(temperature, pressure, ...)Compute a flash on EoS PVT
- Parameters:
context (KAContext)
id (str)
name (str)
technical_object_id (str)
labels (List[str] | None)
tech_objects_api (TechObjectsAPI)
pvt_dto_converter (PVTDtoConverter)
- __init__(context, id, name, technical_object_id, labels, tech_objects_api, pvt_dto_converter)[source]#
- Parameters:
context (KAContext)
id (str)
name (str)
technical_object_id (str)
labels (List[str] | None)
tech_objects_api (TechObjectsAPI)
pvt_dto_converter (PVTDtoConverter)
- Return type:
None
- property properties: List[BlackOilPvtProperty]#
- property fluid_type: PVTFluidTypeEnum#
Gets the fluid type value. Only available for black oil PVT.
- Returns:
PVTFluidTypeEnum– The fluid type value.
- property reference_pressure: float#
Gets the reference pressure value. Only available for black oil PVT.
- Returns:
float– The reference pressure value.
- property reference_temperature: float#
Gets the reference temperature value. Only available for black oil PVT.
- Returns:
float– The reference temperature value.
- property oil_gravity: float | None#
Gets the oil gravity value. Only available for black oil PVT.
- Returns:
float– The oil gravity value.
- property gas_gravity: float | None#
Gets the gas gravity value. Only available for black oil PVT.
- Returns:
float– The gas gravity value.
- property water_gravity: float | None#
Gets the water gravity value. Only available for black oil PVT.
- Returns:
float– The water gravity value.
- flash_black_oil_process(temperature, pressure, pb_imposed, gor_or_pb=None)[source]#
Compute a flash on black oil PVT
- Parameters:
temperature (float)
pressure (float)
pb_imposed (bool)
gor_or_pb (float | None)
- Return type:
BlackOilFlashResults
- flash_eos_process(temperature, pressure, extended, water_molar_fraction=None, salinity=None)[source]#
Compute a flash on EoS PVT
- Parameters:
temperature (float)
pressure (float)
extended (bool)
water_molar_fraction (float | None)
salinity (float | None)
- Return type:
EosFlashResults
- compute_pseudo_pressures(temperature, rock_compressibility, pressure_range_min, pressure_range_max, pressure_range_steps, sw=None)[source]#
- 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]#
- 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