CO2FREIGHT function:
|
Introduction
Parameters
transport_mode : Mandatory. The values for mode of transport are listed here. Deep sea (value: DeepSea) shipping refers to the maritime transport of goods on intercontinental routes, crossing oceans as opposed to short sea (value: ShortSea) shipping over relatively short distances. For Intermodal shipping of 1) Road with Rail and 2) Road with Short Sea, the road distance is assumed to be 10% of the entire journey. The permissible values are:
distance_value : Mandatory. The distance of journey in kilometers (KM). If an undefined value is passed, it will be set to 1.00
- Road
- Rail
- Air
- ShortSea
- DeepSea
- Road-Rail
- Road-ShortSea
distance_value : Mandatory. The distance of journey in kilometers (KM). If an undefined value is passed, it will be set to 1.00
UsageExample |
CO2FREIGHT(transport_mode, freight_weight, distance_value)
CO2FREIGHT("ShortSea","50000","1200")
|
Notes:
If the freight journey has two parts in different transport modes which are not covered in Intermodal shipping options, we suggest that the function is called for each leg. For example, if a journey has a road distance of 500km and international shipping leg of 4,000km then call the functionfor 1) Road (500km) and then 2) DeepSea (4,000km) for the same weight.