This service returns the fuel consumption of a selected vessel per selected time range.
Arguments
Name | Type | Description |
---|---|---|
imos | [String!]! | The Integrated Marine Observing System (IMOS) unique ID. |
timeRange | ClosedDateTimeRangeInput! | The time range defines the returned fuel consumption data. |
offset | NonNegativeInt! | The number of returned records to skip from the beginning of the record list. |
Returns
Name | Description |
---|---|
[VesselIntelligence] | The vessel-related data. |
VesselIntelligence Fields
Name | Type | Description |
---|---|---|
vesselId | The unique Windward assigned ID of the vessel whose profile is to be displayed. | |
dailyFuelConsumption | This service takes as input a date range and the IMO of a vessel (currently works for tankers only) and returns the fuel consumption computed at midnight UTC for the day that just ended. For example, date: ‘2022-01-02T00:00:00.000Z', 'totalFuelConsumption: 3.391’, that on January 1st, the vessel consumed 3.391 tons of fuel. A single run can go as far as 1 year back. | |
timeRange | The period for which the vessel information applies. |
Example Code
Sample Query
query FuelConsumption($imo: String!, $timeRange: ClosedDateTimeRangeInput) {
vesselByIMO(imo: $imo) {
dailyFuelConsumption(timeRange: $timeRange) {
fuelConsumption {
vesselId
date
totalFuelConsumption
mainEngineFuelConsumption
auxiliaryEngineFuelConsumption
boilerFuelConsumption
}
missingDays
successRate
}
}
}
Variables
{
"imo": "9935521",
"timeRange": {
"from": "2022-09-05",
"to": "2022-09-09"
}
}
Response
{
"data": {
"vesselByIMO": {
"dailyFuelConsumption": {
"fuelConsumption": [
{
"vesselId": "63110ea27b341a53312fe32a",
"date": "2022-09-05T00:00:00.000Z",
"totalFuelConsumption": 3.004198660608381,
"mainEngineFuelConsumption": 0.002690782304853201,
"auxiliaryEngineFuelConsumption": 1.6490262746810913,
"boilerFuelConsumption": 1.3524816036224365
},
{
"vesselId": "63110ea27b341a53312fe32a",
"date": "2022-09-06T00:00:00.000Z",
"totalFuelConsumption": 2.9273069095797837,
"mainEngineFuelConsumption": 0.0028277826495468616,
"auxiliaryEngineFuelConsumption": 1.621910810470581,
"boilerFuelConsumption": 1.3025683164596558
},
{
"vesselId": "63110ea27b341a53312fe32a",
"date": "2022-09-07T00:00:00.000Z",
"totalFuelConsumption": 8.568481802940369,
"mainEngineFuelConsumption": 5.472811698913574,
"auxiliaryEngineFuelConsumption": 2.026127815246582,
"boilerFuelConsumption": 1.0695422887802124
},
{
"vesselId": "63110ea27b341a53312fe32a",
"date": "2022-09-08T00:00:00.000Z",
"totalFuelConsumption": 14.186692357063293,
"mainEngineFuelConsumption": 11.749348640441895,
"auxiliaryEngineFuelConsumption": 2.0242061614990234,
"boilerFuelConsumption": 0.4131375551223755
},
{
"vesselId": "63110ea27b341a53312fe32a",
"date": "2022-09-09T00:00:00.000Z",
"totalFuelConsumption": 11.05387657880783,
"mainEngineFuelConsumption": 8.418131828308105,
"auxiliaryEngineFuelConsumption": 2.0281424522399902,
"boilerFuelConsumption": 0.6076022982597351
}
],
"missingDays": [],
"successRate": "5/5"
}
}
}
}