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
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 list of configuration start dates for 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, ...)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
- 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