Hi,
We are currently working with electric vehicles in xRoute and have a question regarding the usage of electricityConsumption in combination with VehicleParametersAtWaypoint.
In our request, we define electricityConsumption on each waypoint via
VehicleParameters/consumptionValues/electricityConsumption, as described in the documentation for waypoint-based vehicle parameter adjustments.
However, we still receive the following limitation:
"<resultLimitations xmlns:ns4="http://service.xserver.ptvgroup.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns4:ParameterInconsistencyLimitation" parameter="/profile/vehicleProfile/engine/@electricityConsumption" value="0.0" relatedParameter="/profile/vehicleProfile/engine/@engineType" relatedValue="ELECTRIC" message="The electricity consumption must be specified for electric vehicles."/>"
From this behavior, it seems that electricityConsumption must also be set on the base vehicleProfile.engine, even if it is already provided per waypoint.
Could you please confirm:
- Is it mandatory to always define electricityConsumption on the base vehicleProfile.engine for engineType=ELECTRIC?
- Are the values provided in VehicleParametersAtWaypoint only treated as overrides, but not sufficient to satisfy the base validation?
Additionally, we would like to mention that we do not encounter this issue when using fuelConsumption in VehicleParametersAtWaypoint for combustion vehicles - in that case, no similar validation error is returned.
If this is the intended behavior, it would be helpful to clarify this in the documentation, as it may currently suggest that waypoint values alone are sufficient.
Please find the request attached for reference.
Thanks in advance for your clarification.
Best regards