kappa_sdk.pvt.PVT#
- class kappa_sdk.pvt.PVT(field_id, well_id, 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 unique id of this
PVT.Gets the labels associated with this
PVT.Gets the name of this
PVT.Gets the technical object id associated with this
PVT.Gets the type of this
PVT.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:
field_id (str)
well_id (str | None)
id (str)
name (str)
technical_object_id (str)
labels (List[str] | None)
tech_objects_api (TechObjectsAPI)
pvt_dto_converter (PVTDtoConverter)
- __init__(field_id, well_id, id, name, technical_object_id, labels, tech_objects_api, pvt_dto_converter)[source]#
- Parameters:
field_id (str)
well_id (str | None)
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#
- property reference_pressure: float#
- property reference_temperature: float#
- 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