Examples CHARGING
Posted: Tue Nov 11, 2025 8:08 am
Here are some sample screenshots showing the new feature "charging electric vehicles":
For the locations I defined
The vehicles look like this:
And here are the results:
For the locations I defined
- the maximum power
- 2mins for preparation before the charging process starts
- 2mins completion duration after the charging process
Code: Select all
{
"layover": "WITHOUT_ORDERS",
"id": "Loc-0",
"latitude": 49.01094692,
"longitude": 8.408470917,
"chargingStations": [
{
"id": "132898cd-67f7-4ce5-8953-8eedbaa08adf",
"maximumPower": 100.0,
"preparationDuration": 240,
"completionDuration": 240
}
]
}- Total capacity : 66 kWh
- Initial state 50% loaded (=33 kWh)
- Minumum state that requires charging: 5% (= 3.3kWh)
- Consumption per 100km: 23 kWh
Code: Select all
{
"id": "Vehicle-0-0",
...
"battery": {
"capacity": 66.0,
"stateOfCharge": {
"initial": 0.5,
"minimum": 0.05
},
"consumption": {
"perHundredKilometers": 23.0
}
},
...
},