kappa_sdk.ShutIn#
- class kappa_sdk.ShutIn(start_date, end_date, is_reference, pressure_id, fit_for_use, shut_in_type, kw_api)[source]#
Class to store any shutin
Attributes
ShutIn.end_date
Returns the end date of the
ShutIn
objectShutIn.fit_for_use
Returns whether the ShutIn is fit for use or not, returns None if the category is Unknown
ShutIn.hard_shutin
Returns whether the ShutIn is an hard shutin or not, returns None if the type is Unknown
ShutIn.is_reference
Returns whether the ShutIn is reference or not
ShutIn.start_date
Returns the start date of the
ShutIn
objectMethods
ShutIn.get_log_log_preview_from_shut_in_dates
([...])Get Loglog preview
DocumentVector
from shut-in dates :param pressure_id: Pressure vector id to use :param to_date: End date of the shut-in, if None it will use the initial end date of the shut-in :param tp: Horner Time on production- Parameters:
start_date (datetime)
end_date (datetime)
is_reference (bool)
pressure_id (str | None)
fit_for_use (str)
shut_in_type (str)
kw_api (KWAPI)