途中で充電する場合のルートの計算-予備充電

目的地での予備充電の追加が必要な場合があります。 次のような理由が考えられます。

  • 消費モデルはエネルギー消費量を正確に計算するものではなく、ユーザーは目的地に到達できるようにしたいと考えています。
  • 目的地では充電できません。 次の旅程には予備充電が必要です。

この目的で使用できる 3 つのオプションのパラメータがあります。いずれもデフォルトで値0 が設定されています。

  • ev[minChargeAtDestination] 目的地ウェイポイントにのみ使用されます。
  • ev[minChargeAtFirstChargingStation] 最初の充電スタンド ウェイポイント に使用されます。
  • ev[minChargeAtFirstChargingStation] が指定されている場合、最初の 充電スタンドウェイポイント を除くすべてのev[minChargeAtChargingStation]に使用されます。

充電による停車地でも目的地でもないウェイポイントは、予備充電を持つユースケースがないため、対応するパラメーターをサポートしません。

次の例では、充電スタンドの最小充電量として最大充電量の 10% ( 8kWh )を指定するシナリオを示します。 さらに、目的地で必要な最小充電量として 50kWh を指定します。 このため、目的地の近くに追加の充電スタンドがあります。 応答には 3 つのセクションがあります。

curl -X GET \
  https://router.hereapi.com/v8/routes?departureTime=any&origin=52.533959,13.404780&ev[connectorTypes]=iec62196Type2Combo&transportMode=car&destination=51.741505,14.352413&return=summary&ev[freeFlowSpeedTable]=0,0.239,27,0.239,45,0.259,60,0.196,75,0.207,90,0.238,100,0.26,110,0.296,120,0.337,130,0.351,250,0.351&ev[trafficSpeedTable]=0,0.349,27,0.319,45,0.329,60,0.266,75,0.287,90,0.318,100,0.33,110,0.335,120,0.35,130,0.36,250,0.36&ev[auxiliaryConsumption]=1.8&ev[ascent]=9&ev[descent]=4.3&ev[makeReachable]=true&ev[initialCharge]=48&ev[maxCharge]=80&ev[chargingCurve]=0,239,32,199,56,167,60,130,64,111,68,83,72,55,76,33,78,17,80,1&ev[maxChargeAfterChargingStation]=72&ev[minChargeAtChargingStation]=8&ev[minChargeAtDestination]=50&apikey={YOUR_API_KEY}
{
  "routes": [
    {
      "id": "c8dffbf5-d80d-47b1-a881-75a13365ee47",
      "sections": [
        {
          "id": "27ae0759-0b76-4445-ace6-3eac17dc26bd",
          "type": "vehicle",
          "postActions": [
            {
              "action": "charging",
              "duration": 829,
              "consumablePower": 100,
              "arrivalCharge": 40.9789,
              "targetCharge": 64
            }
          ],
          "departure": {
            "place": {
              "type": "place",
              "location": {
                "lat": 52.5338756,
                "lng": 13.4050139,
                "elv": 91
              },
              "originalLocation": {
                "lat": 52.5339589,
                "lng": 13.4047799
              }
            },
            "charge": 48
          },
          "arrival": {
            "place": {
              "type": "chargingStation",
              "location": {
                "lat": 52.4278437,
                "lng": 13.5197486,
                "elv": 75
              },
              "id": "5103"
            },
            "charge": 40.9789
          },
          "summary": {
            "duration": 2603,
            "length": 17982,
            "consumption": -16,
            "baseDuration": 2603
          },
          "transport": {
            "mode": "car"
          }
        },
        {
          "id": "a3983cff-9402-4522-a74f-f5848005faa0",
          "type": "vehicle",
          "postActions": [
            {
              "action": "charging",
              "duration": 2001,
              "consumablePower": 62,
              "arrivalCharge": 21.5392,
              "targetCharge": 56
            }
          ],
          "departure": {
            "place": {
              "type": "chargingStation",
              "location": {
                "lat": 52.4278437,
                "lng": 13.5197486,
                "elv": 75
              },
              "id": "5103"
            },
            "charge": 64
          },
          "arrival": {
            "place": {
              "type": "chargingStation",
              "location": {
                "lat": 51.7486348,
                "lng": 14.3282201,
                "elv": 116
              },
              "id": "5126"
            },
            "charge": 21.5392
          },
          "summary": {
            "duration": 6043,
            "length": 111088,
            "consumption": 8,
            "baseDuration": 6043
          },
          "transport": {
            "mode": "car"
          }
        },
        {
          "id": "f0c912dd-a0e5-40f4-b060-27ef09df2976",
          "type": "vehicle",
          "departure": {
            "place": {
              "type": "chargingStation",
              "location": {
                "lat": 51.7486348,
                "lng": 14.3282201,
                "elv": 116
              },
              "id": "5126"
            },
            "charge": 56
          },
          "arrival": {
            "place": {
              "type": "place",
              "location": {
                "lat": 51.7412356,
                "lng": 14.3525337,
                "elv": 115
              },
              "originalLocation": {
                "lat": 51.741505,
                "lng": 14.3524129
              }
            },
            "charge": 54.142
          },
          "summary": {
            "duration": 525,
            "length": 4135,
            "consumption": 1.858,
            "baseDuration": 525
          },
          "transport": {
            "mode": "car"
          }
        }
      ]
    }
  ]
}

初期充電量が少なすぎる場合 、この制限ev[minChargeAtChargingStation]により充電スタンド に到達できない可能性があります。 1 つの選択肢はこの数値を削減することですが、すべての充電スタンド が低充電で到達するため、望ましくない影響が 1 つあります。 代わり に、 ev[minChargeAtFirstChargingStation]を指定できます。 これにより、車両は最も近い充電スタンド に到達できますが、ルート上の休憩には影響がありません。

次の例では、初期充電量が低く (10kWh)、ev[minChargeAtChargingStation]を 8kWh に設定してもステーションに到達できないシナリオを説明します。 この問題を解決するために ev[minChargeAtFirstChargingStation] を2kWh に設定します

curl -X GET \
  https://router.hereapi.com/v8/routes?&origin=52.853812,13.010695&destination=51.741505,14.352413&return=summary,polyline&transportMode=car&departureTime=any&ev[freeFlowSpeedTable]=0,0.239,27,0.239,45,0.259,60,0.196,75,0.207,90,0.238,100,0.26,110,0.296,120,0.337,130,0.351,250,0.351&ev[trafficSpeedTable]=0,0.349,27,0.319,45,0.329,60,0.266,75,0.287,90,0.318,100,0.33,110,0.335,120,0.35,130,0.36,250,0.36&ev[auxiliaryConsumption]=1.8&ev[ascent]=9&ev[descent]=4.3&ev[initialCharge]=10&ev[maxCharge]=80&ev[chargingCurve]=0,239,32,199,56,167,60,130,64,111,68,83,72,55,76,33,78,17,80,1&ev[maxChargeAfterChargingStation]=72&ev[minChargeAtChargingStation]=8&ev[makeReachable]=true&ev[connectorTypes]=iec62196Type2Combo&ev[minChargeAtFirstChargingStation]=2&apikey={YOUR_API_KEY}
{
  "routes": [
    {
      "id": "f0ebfd19-5300-4339-a8e0-89b8ea0a6dbd",
      "sections": [
        {
          "id": "4d811ce1-ea6a-465c-8886-5735c069a1bd",
          "type": "vehicle",
          "postActions": [
            {
              "action": "charging",
              "duration": 1295,
              "consumablePower": 50,
              "arrivalCharge": 6.0088,
              "targetCharge": 24
            }
          ],
          "departure": {
            "place": {
              "type": "place",
              "location": {
                "lat": 52.8538095,
                "lng": 13.0113435,
                "elv": 86
              },
              "originalLocation": {
                "lat": 52.8538119,
                "lng": 13.010695
              }
            },
            "charge": 10
          },
          "arrival": {
            "place": {
              "type": "chargingStation",
              "location": {
                "lat": 52.7649995,
                "lng": 13.0261866,
                "elv": 77
              },
              "id": "ZW06ZGQ3Mzk3MDVkMGYxZDFmZjQwNjUwOGE4NTU5YjY4Mjk",
              "name": "Lidl Filiale Kremmen",
              "attributes": {
                "power": 50,
                "current": 100,
                "voltage": 500,
                "supplyType": "dc",
                "connectorType": "iec62196Type2Combo"
              },
              "brand": {
                "hrn": "62122cc124eb680ea529b3192602b790",
                "name": "Lidl"
              }
            },
            "charge": 6.0088
          },
          "summary": {
            "duration": 2037,
            "length": 11676,
            "consumption": -14,
            "baseDuration": 2037
          },
          "transport": {
            "mode": "car"
          }
        },
        {
          "id": "86c67225-4fb8-47eb-b2e8-0bed93a55a7b",
          "type": "vehicle",
          "postActions": [
            {
              "action": "charging",
              "duration": 960,
              "consumablePower": 175,
              "arrivalCharge": 9.32,
              "targetCharge": 56
            }
          ],
          "departure": {
            "place": {
              "type": "chargingStation",
              "location": {
                "lat": 52.7649995,
                "lng": 13.0261866,
                "elv": 77
              },
              "id": "ZW06ZGQ3Mzk3MDVkMGYxZDFmZjQwNjUwOGE4NTU5YjY4Mjk",
              "name": "Lidl Filiale Kremmen",
              "attributes": {
                "power": 50,
                "current": 100,
                "voltage": 500,
                "supplyType": "dc",
                "connectorType": "iec62196Type2Combo"
              },
              "brand": {
                "hrn": "62122cc124eb680ea529b3192602b790",
                "name": "Lidl"
              }
            },
            "charge": 24
          },
          "arrival": {
            "place": {
              "type": "chargingStation",
              "location": {
                "lat": 52.56798,
                "lng": 13.3092763,
                "elv": 77
              },
              "id": "ZW06MzBjMTkwNTg2NDJhMWQ2NDg0NWJjMDk1YzFkZWE1MDY",
              "name": "ABBHP_0043",
              "attributes": {
                "power": 175,
                "current": 438,
                "voltage": 400,
                "supplyType": "dc",
                "connectorType": "iec62196Type2Combo"
              },
              "brand": {
                "hrn": "a960a4d02dd7b873d8a7c0cf99f09c39",
                "name": "Shell Recharge"
              }
            },
            "charge": 9.32
          },
          "summary": {
            "duration": 2766,
            "length": 40402,
            "consumption": -32,
            "baseDuration": 2766
          },
          "transport": {
            "mode": "car"
          }
        },
        {
          "id": "6dd2590f-2c85-434c-8bd5-b97687239684",
          "type": "vehicle",
          "departure": {
            "place": {
              "type": "chargingStation",
              "location": {
                "lat": 52.56798,
                "lng": 13.3092763,
                "elv": 77
              },
              "id": "ZW06MzBjMTkwNTg2NDJhMWQ2NDg0NWJjMDk1YzFkZWE1MDY",
              "name": "ABBHP_0043",
              "attributes": {
                "power": 175,
                "current": 438,
                "voltage": 400,
                "supplyType": "dc",
                "connectorType": "iec62196Type2Combo"
              },
              "brand": {
                "hrn": "a960a4d02dd7b873d8a7c0cf99f09c39",
                "name": "Shell Recharge"
              }
            },
            "charge": 56
          },
          "arrival": {
            "place": {
              "type": "place",
              "location": {
                "lat": 51.7412356,
                "lng": 14.3525337,
                "elv": 115
              },
              "originalLocation": {
                "lat": 51.741505,
                "lng": 14.3524129
              }
            },
            "charge": 4.8287
          },
          "summary": {
            "duration": 5703,
            "length": 141533,
            "consumption": 51.1713,
            "baseDuration": 5703
          },
          "transport": {
            "mode": "car"
          }
        }
      ]
    }
  ]
}

」に一致する結果は 件です

    」に一致する結果はありません