calculation_params
Calculation pramaters that shoudl be used for calculation in case of thie operations locaion object is used.
enter_time object
If the location belongs to a compound zone (fixed time is required to enter the zone where the location is based), fixed field will represent second required to enter the zone.
This is converted into compound zone in the Optimization API.
Fixed component of the service time at the location (or time required to pass the gates to get to the location)
exit_time object
If the location belongs to a compound zone (a fixed time is required to exit the zone where the location is based), the fixed field will represent the seconds required to exit the zone.
This is converted into a compound zone in the Optimization API.
Fixed component of the service time at the location (or the time required to pass the gates to get to the location).
service_time object
Per order service time managemenet for orders being dropped off at this location. It is calculated the total order service time for a given location, considering both a fixed service time and dynamic adjustments based on product kind and booking demand. It uses predefined coefficients to weigh different demand types. The final service time is returned as an integer, rounded up to the nearest whole number.
Fixed per order service time for this location in seconds
coefficients object
Coefficients for dynamic service time calculation with the result in seconds. For example:
{
"coefficients": {
"AMBIENT": {
"cbcm": 0.000018
}
},
"service_time": {
"fixed": 10
}
}
where AMBIENT should match the booking.product_kind field.
cumulative_limitations object
Dispatch per hour limitation for this location when used as pickup location.
Service time for one vehicle at this location in seconds.
Maximum number of vehicles that can be serviced at this location at the same time.
{
"enter_time": {
"fixed": 0
},
"exit_time": {
"fixed": 0
},
"service_time": {
"fixed": 0
},
"coefficients": {},
"cumulative_limitations": {
"depot_service_time": 0,
"max_cumulative_vehicles": 0
}
}