Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions vortexasdk/endpoints/cargo_timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def search(
timeseries_activity_time_span_min: Optional[int] = None,
timeseries_activity_time_span_max: Optional[int] = None,
timeseries_property: Optional[str] = None,
quantity_at_time_of: str = "load",
) -> TimeSeriesResult:
"""

Expand Down Expand Up @@ -213,6 +214,13 @@ def search(
`timeseries_activity_time_span_max=1000 * 60 * 60 * 24 * 14` in conjunction with
`filter_activity='storing_state'`.

quantity_at_time_of: This parameter is designed for LNG cargo and gives the user the freedom to
choose whether to create the time series based on the load volume or discharged volumes,
as we consider the discharge quantities to differ from load quantities due to boil-off gas.
Can be `load` or `unload`. Default is `load`.
`load` - represents the quantity of the selected unit at the time of the loading event.
`unload` - represents the quantity of the selected unit at the time of the unloading event.

# Returns
`TimeSeriesResult`

Expand Down Expand Up @@ -329,6 +337,7 @@ def search(
"timeseries_unit": timeseries_unit,
"timeseries_activity": timeseries_activity or filter_activity,
"timeseries_property": timeseries_property,
"quantity_at_time_of": quantity_at_time_of,
"size": self._MAX_PAGE_RESULT_SIZE,
}

Expand Down
2 changes: 1 addition & 1 deletion vortexasdk/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.13"
__version__ = "1.0.14"
Loading