I’m currently working on implementing CO2 emission calculations using PTV’s Developer API and would appreciate some clarification regarding Emission Intensity and about the impact of weight parameters.
I'm referring to the Emission Intensity formula provided in your documentation. I guess we should calculate Emission Intensity by myself, and it is not provided as value in the response.
I would like to ask for clarification on the two components:
- Sum of all great circle distances in km
- Does this refer to the total route distance from start to end of the tour, or is it calculated per delivery leg (i.e. between each pair of stops)?
- Is this value available directly in the response of the CO2 calculation, or do we need to calculate it ourselves based on coordinates?
- Sum of all transported quantities in tons (t)
- Does this refer to the sum of loaded quantities per delivery (i.e., per stop), or the sum of total vehicle load carried during the tour?
- Is it required to track loading/unloading amounts at each stop to get accurate values, or is it enough to use the vehicle’s total loadWeight?
- What is the purpose of Emission Intensity, and in which use cases is it typically applied?
In our request to the PTV API (e.g. calculateRoute), we include the following weight parameters (in vehicle profile):
- emptyWeight
- loadWeight
- totalPermittedWeight
- If yes, which of them has the most impact?
- In your sample CO2 requests or documentation, how are these weight fields typically provided?
- In our internal tests, changing these values does not appear to significantly affect the calculated CO2 values. Is there a minimum threshold, default fallback, or are we possibly missing other required parameters that link with these?
Thank you very much!
Best regards,
Irena