6.30.3163#
SDK Version attached to KAPPA-Automate 6.30.3163 is version 6.30.5715.
New Features#
BlackOilPVT— new subclass ofPVTfor black oil fluid models. Exposesfluid_type,reference_phase,has_oil,has_gas,has_water,parameters,properties,flash_black_oil_process(),get_artm_parameters().EosPVT— new subclass ofPVTfor EOS fluid models. Exposeseos_parameters,flash_inputs,flash_eos_process().BlackOilPvtParameters— new class representing one time-dependent parameter set for a black oil PVT. Accessible viaBlackOilPVT.parameters.EosFlashInput— new class representing a stored EOS flash preset (temperature, pressure, options). Accessible viaPVT.flash_inputs.EosPvtParameters— new class exposing EOS model configuration (EOS type, number of components, viscosity model). Accessible viaPVT.eos_parameters.EosTypeEnum— enum of supported EOS types (Srk,PR2,Gerg2008,PcSaft,Cpa).EosViscosityModelEnum— enum of supported EOS viscosity models (LBC,LBCHeavy,LittleKennedy,Pedersen,Ducoulombier,PedersenHeavy,Chung,Kestin).PVT.parameters— returns aList[BlackOilPvtParameters]with all time-dependent parameter sets (black oil only).PVT.flash_inputs— returns aList[EosFlashInput]with stored flash presets (EOS only).PVT.eos_parameters— returns anOptional[EosPvtParameters]with EOS model configuration (EOS only).PVT.reference_phase— new property exposing the reference phase (black oil only).
Bug Fixes#
Improvements#
Data.read(),Data.read_cumulative(),Data.read_by_chunks(),Data.read_cumulative_by_chunks()— thetimezoneparameter now converts returned dates from UTC to the requestedTimezoneEnumtimezone usingzoneinfo.ZoneInfo.Data.append()— newtimezoneparameter converts dates from a specificTimezoneEnumtimezone to UTC before writing. Naive datetimes are assumed to be in the given timezone; aware datetimes are converted directly.Data.overwrite()— newunitandtimezoneparameters, forwarded toData.append().DataQueryService.read_vector()— newtimezoneparameter converts returned dates from UTC to the requestedTimezoneEnumtimezone.DataCommandService.add_values(),DataCommandService.replace_data()— newtimezoneparameter converts dates from a specificTimezoneEnumtimezone to UTC before writing. Naive datetimes are assumed to be in the given timezone.
Breaking Changes#
PVT.reference_pressure,PVT.reference_temperature,PVT.oil_gravity,PVT.gas_gravity, andPVT.water_gravityhave been removed. UseBlackOilPVT.parametersinstead (pvt.parameters[i].reference_pressureetc.).PVTis now a base class.Well.pvtsandField.pvtsreturn instances ofBlackOilPVTorEosPVT. Update type annotations accordingly (pvt: PVTremains valid; narrow withisinstance(pvt, BlackOilPVT)orpvt.type == PVTTypeEnum.black_oil).Model books have moved from
WelltoDocument:Well.model_books→Document.model_booksWell.create_model_book(document, name)→Document.create_model_book(name)(thedocumentargument is no longer needed)Well.delete_model_book(model_book)→Document.delete_model_book(model_book)