You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-maps/consumption-model.md
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Vehicle consumption models for routing | Microsoft Azure Maps
3
-
description: In this article, you will learn about vehicle consumption models for routing in Microsoft Azure Maps.
3
+
description: In this article, you'll learn about vehicle consumption models for routing in Microsoft Azure Maps.
4
4
author: subbarayudukamma
5
5
ms.author: skamma
6
6
ms.date: 05/08/2018
@@ -13,21 +13,20 @@ manager:
13
13
14
14
# Consumption model
15
15
16
-
Online Routing provides a set of parameters for a detailed description of vehicle-specific Consumption Model.
17
-
Depending on the value of **vehicleEngineType**, two principal Consumption Models are supported: _Combustion_ and _Electric_. Specifying parameters that belong to different models in the same request is an error.
18
-
Consumption Model cannot be used with **travelMode** values _bicycle_ and _pedestrian_.
16
+
The Routing service provides a set of parameters for a detailed description of the vehicle-specific Consumption Model.
17
+
Depending on the value of **vehicleEngineType**, two principal Consumption Models are supported: _Combustion_ and _Electric_. It's incorrect to specify parameters that belong to different models in the same request. Also, Consumption Model parameters can't be used with the following **travelMode** values: _bicycle_ and _pedestrian_.
19
18
20
19
## Parameter constraints for consumption model
21
20
22
-
In both Consumption Models, explicitly specifying some parameters requires specifying some others as well. These dependencies are:
21
+
In both Consumption Models, there are some dependencies when specifying parameters. Meaning that, explicitly specifying some parameters may require specifying some other parameters. Here are these dependencies to be aware of:
23
22
24
-
* All parameters require **constantSpeedConsumption** to be specified by the user. It is an error to specify any other consumption model parameter, with the exception of **vehicleWeight**, if **constantSpeedConsumption** is not specified.
25
-
***accelerationEfficiency** and **decelerationEfficiency** must always be specified as a pair (i.e. both or none).
23
+
* All parameters require **constantSpeedConsumption** to be specified by the user. It is an error to specify any other consumption model parameter, if **constantSpeedConsumption** is not specified. The **vehicleWeight**parameter is an exception for this requirement.
24
+
***accelerationEfficiency** and **decelerationEfficiency** must always be specified as a pair (that is, both or none).
26
25
* If **accelerationEfficiency** and **decelerationEfficiency** are specified, product of their values must not be greater than 1 (to prevent perpetual motion).
27
-
***uphillEfficiency** and **downhillEfficiency** must always be specified as a pair (i.e. both or none).
26
+
***uphillEfficiency** and **downhillEfficiency** must always be specified as a pair (that's, both or none).
28
27
* If **uphillEfficiency** and **downhillEfficiency** are specified, product of their values must not be greater than 1 (to prevent perpetual motion).
29
28
* If the \*__Efficiency__ parameters are specified by the user, then **vehicleWeight** must also be specified. When **vehicleEngineType** is _combustion_, **fuelEnergyDensityInMJoulesPerLiter** must be specified as well.
30
-
***maxChargeInkWh** and **currentChargeInkWh** must always be specified as a pair (i.e. both or none).
29
+
***maxChargeInkWh** and **currentChargeInkWh** must always be specified as a pair (that is, both or none).
31
30
32
31
> [!NOTE]
33
32
> If only **constantSpeedConsumption** is specified, no other consumption aspects like slopes and vehicle acceleration are taken into account for consumption computations.
@@ -64,5 +63,5 @@ The list of parameters that belong to this model are below. Refer to the Paramet
64
63
65
64
## Sensible values of consumption parameters
66
65
67
-
A particular set of consumption parameters can be rejected, even though it might fulfill all the explicit requirements specified above. It happens when the value of a specific parameter, or a combination of values of several parameters, is deemed to lead to unreasonable magnitudes of consumption values. If that happens, it most likely indicates an input error, as proper care is taken to accommodate all sensible values of consumption parameters. In case a particular set of consumption parameters is rejected, the accompanying error message will contain a textual explanation of the reason(s).
66
+
A particular set of consumption parameters can be rejected, even though the set might fulfill all the explicit requirements. It happens when the value of a specific parameter, or a combination of values of several parameters, is considered to lead to unreasonable magnitudes of consumption values. If that happens, it most likely indicates an input error, as proper care is taken to accommodate all sensible values of consumption parameters. In case a particular set of consumption parameters is rejected, the accompanying error message will contain a textual explanation of the reason(s).
68
67
The detailed descriptions of the parameters have examples of sensible values for both models.
0 commit comments