anyLogistix
Expand
Font size

Paths

A path connects location points within your supply chain, allowing a product to be transported from one location to another.

It is obligatory to:

  • Define a vehicle for each path.
  • Define a shipping policy for each path record (in case of SIM scenario type only).

Paths are unidirectional. To define a path for the reverse travel direction, you must create a new table entry.

A pair of locations within your supply chain can be connected by multiple paths.

The defined connections may not be shown on the GIS map for the following reasons.

Paths can be created manually or automatically.

Column Description

From

Defines the starting location point of the path, which can be a:

  • Location taken from the Locations table
  • List of locations taken from the Location Groups table
  • Customer from the Customers table, in case a location is used by this single customer
  • Group from the Groups table

To

Defines the ending location point of the path, which can be a:

  • Location taken from the Locations table
  • List of locations taken from the Location Groups table.
  • Customer from the Customers table, in case a location is used by this single customer.
  • Group from the Groups table.

Cost Calculation

Sets the formula for calculating transportation cost for the path.

In case of the NO experiment, see the following statistics for details:

The available transportation cost calculators:

Cost Calculation Parameters

The field displays the resulting formula for calculating transportation costs for the path in accordance with the selected Cost calculation type. The formula parameters are initially set to zero. The cell contains a dialog box allowing you to set the parameters of the corresponding policies.

CO2 Calculation Parameters

The field displays the resulting formula for calculating CO2 emissions for the path in accordance with the selected Cost calculation type.

The formula parameters are initially set to zero. The cell contains a dialog box allowing you to set the parameters of the corresponding policies:

Currency

The type of currency, in which the payment will be made.

The list of available units comprises the units defined in the Manage units dialog.

Distance

Defines the path length in the measurement unit specified in the Distance Unit column.

If set to zero, the path length at the experiment runtime is calculated according to the Straight column setting.

Distance Unit

Defines the measurement unit that is applied to Distance, Cost Calculation Parameters, CO2 Calculation Parameters of this table record.

The list of available units comprises the units defined in the Manage units dialog.

Transportation Time

Defines the transportation time for the path in the specified Time Unit.

  • If defined, overrides the vehicle speed set in the Vehicle Types table.
  • The value can be either fixed or stochastic (defined by a probability distribution). For details on providing fixed or stochastic value refer to this section.

If Transportation Time is set to zero and:

  • Distance is non-zero, then the path's transportation time is calculated at the experiment runtime as Distance divided by vehicle speed. Vehicle speed is taken from the Vehicle types table or is set to default (50 km/h) if no vehicle type is set.
  • Distance is set to zero, the path's transportation time is calculated at the experiment runtime according to the Straight column setting.
    e.g. If the Straight option is enabled, then the shortest distance between the two objects will be used (straight line, as the crow flies) to calculate the transportation time. If the Straight option is disabled, then the actual roads will be considered for the transportation time calculation.

Time Unit

The measurement unit that the Transportation Time is measured in.

The list of available units comprises the units defined in the Manage units dialog.

Straight

Defines the graphical representation of the path on the map, as well as the method for calculating travel distance and transportation time for the path.

The graphical path representation on the map is regulated as follows:

  • If Straight is enabled, the path is depicted as a straight line.
  • If Straight is disabled [default state], the path is depicted as an actual route. Road network data is obtained from the anyLogistix routing server.

If Transportation Time and Distance are both set to zero, the Straight option defines how the travel distance and the transportation time for the path are calculated:

  • If Straight is enabled, the path travel distance is calculated as the geodesic distance between the From and To location points.
  • If Straight is disabled [default state], the path travel distance is calculated as the length of the actual route. Road network data is obtained from the anyLogistix routing server.

Vehicle Type

The vehicle type (previously defined in the Vehicle Types table) that is used for shipping products along the path.

The selected vehicle provides the Speed value that is used for calculating the path Distance or Transportation Time.

Transportation Policy

[Available in NO scenario type only]

Transportation policy regulates the handling of the orders for the amount smaller than the selected vehicle capacity.

The orders are handled as follows:

  • LTL — Less than Truck Load — the truck does not need to be necessarily fully loaded. Order for any amount is shipped.
  • FTL — Full Truck Load — order(s) will not be shipped until at least one vehicle is fully loaded (in accordance with the Min load, ratio value).

    For example, if an order is received for 0.1 amount of vehicle capacity and Min load, ratio is set to 0.7, the order will not be shipped. If the next order is received for the amount of 1.4 units of a vehicle capacity, the total ordered volume will constitute 1.5 units which is enough to cover the threshold ratio of two trucks. As a result both orders will be shipped in full scope.

    If no Vehicle type is selected for the path, the FTL policy will be similar to LTL, since there will be no basis for comparing the ordered amount with the vehicle capacity.

Min Load, ratio

[Available in NO scenario type only]

[The value is applied only if Transportation Policy is set to FTL]

The value sets the threshold for the ratio between the ordered product amount and the vehicle capacity. If the threshold is exceeded, the vehicle is treated as fully loaded. The value is provided as a fraction in the interval between 0 and 1. For example, the Min load, Ratio of 0.7 implies that if a vehicle load exceeds 0.7 of its capacity, the vehicle is treated as fully loaded.

The system compares the product amount and the vehicle capacity based on their mass and volume characteristics. The data for the comparison is taken from the Products and Vehicle Types tables, respectively. As a result, two separate ratios are produced: the masses ratio and the volumes ratio. If any of these ratios exceeds the Min load, Ratio, the vehicle is treated as fully loaded.

Time Period

The time period during which the paths are used.

Name

[Available in Simulation-based experiments]

Specify the name of the path.

It must be a meaningful name since you will refer to it in the Events table to change the state of the path.

Inclusion Type

The status of the path:

  • Include — the path is included, so vehicles can use it to get to the destination.
  • Exclude — the path is not used in the scenario. If selected, the table record will be grayed out to denote the current inclusion type. The table record stays editable.

Creating a path manually

To create a path manually, you add a new entry to the Paths table and provide the path parameters. These parameters are set depending on the source data you are provided with.

For example, you can be provided with the actual values of the distances between the locations of your supply chain or the transportation times for location pairs. In this case, you can create a path based on these exact values. Alternatively, you can create a path based on a geographical route, which can be either a straight line, or the actual road network segment. In this case, anyLogistix will automatically calculate the corresponding distances and transportation times.

Creating a path automatically

Paths are created automatically when you create a new scenario or run a GFA experiment:

  • When you create a new scenario, a new "All-to-All" path is created. This path serves as the default connection between the sites of your supply chain and uses the All locations system location group as its starting and ending points.
  • When you run a GFA experiment, the system either uses the default "All-to-All" path or, in case the default path is deleted, creates new paths between the proposed locations and the sites of your supply chain. Running any experiment except GFA is not possible until the appropriate paths are defined.

Multiple paths for a pair of locations

A product can be shipped from one location to another by different means of transport: by air or by truck, as for instance. You can define the vehicle parameters in the Vehicle types table and create a path entry for each vehicle type in the Paths table.

  • Air transportation can be described by a path entry with the Straight option enabled. Its length will be calculated as the geodesic distance (as the crow flies) between the location points.
  • Truck transportation can be described by a path entry with the Straight option disabled. Its length will be calculated as the length of the actual route on the road network.

The resulting paths will have different transportation time; transportation costs can also differ for them. Depending on your optimization goal, one of these paths can be more preferable. Each path should have a shipping policy, which will eventually choose the optimal path according to the defined parameters.

Cost calculation policies

Product-based

The product-based calculation policy is calculated as Cost per specified product measurement unit * amount + Add cost, where:

  • Cost is the cost for transporting one item of product in the specified measurement unit no matter the distance.
  • Amount is the amount of the shipment.
  • Add cost is a fixed value. Add cost is commonly treated as the cost of vehicle provisioning.
Product-based policy parameters

0 * amount unit + 0

  • Cost per unit — the cost of transporting one product in the specified Amount unit.
  • Add cost — a fixed value. It is commonly treated as the cost of vehicle provisioning.
  • Amount unit — the product measurement unit.
Product-based CO2 parameters

0 * amount unit + 0

  • CO2 per unit — the amount of CO2 produced per transported product in the specified Amount unit.
  • Add CO2 — a fixed value of produced CO2 per vehicle.
  • Amount unit — the product measurement unit.

Product&distance-based

Product&distance-based is calculated as cost per product measurement unit * volume(unit) * distance, where:

  • cost per product measurement unit — the cost for transporting one item of product in the specified measurement unit to the distance of one kilometer, or the Distance Unit, if defined.
  • volume — the total amount of the shipment.
  • distance — the travel distance.
Product&distance-based policy parameters

0 * amount unit * distance

  • Cost per unit — the cost of transporting one product in the specified Amount unit.
  • Amount unit — the product measurement unit.
Product&distance-based CO2 parameters

0 * amount unit * distance

  • CO2 per unit — the amount of CO2 produced per transported product in the specified Amount unit.
  • Amount unit — the product measurement unit.

Fixed delivery

A fixed Cost value, which is the shipping cost per delivery per vehicle (if vehicle type is defined).

e.g. a vehicle visits 5 customers. The costs will be calculated as delivery cost * N of customers * N of vehicles.
  • If a shipment involves several vehicles, the resulting cost is calculated as Cost * Number of vehicles.
  • If no Vehicle Type is set, the provided value is the total shipping cost. No other parameters are taken into account.
Fixed delivery policy parameters
  • Cost — the fixed shipping cost per delivery per vehicle (if vehicle type is defined)
Fixed delivery CO2 parameters
  • CO2 emissions — the fixed emission amount per delivery per vehicle (if vehicle type is defined)

Distance-based with cost per stop

It is calculated as Variable cost * distance + cost per stop, where:

  • Variable cost — the cost for transporting a product to a distance of one kilometer (or the Distance Unit, if defined) no matter the weight.
  • Distance — the shipping distance. The distance value is either manually defined by the user in the Distance column of this table, or is received from the GIS server.
  • Cost per stop — the user-defined fixed cost that is simply added to the expression. The defined cost is added per every object a vehicle visits but the site the vehicle sets off.
  • If a Vehicle Type is specified, the value of the Cost per stop parameter is applied to each truck, i.e., it is calculated as vehicles amount * (Variable cost * distance + Cost per stop)
  • In case of NO scenarios if the policy is set to LTL, it is calculated as (Variable cost * distance * Cost per stop) * delivered amount of products
Distance-based with cost per stop parameters

0 * distance + 0 per stop

  • Variable Cost — the cost for transporting a product to a distance of one kilometer (or the Distance Unit, if defined) no matter the weight. Note that the Distance Unit is applied, if defined.
  • Cost per stop — the fixed cost that is added to the expression.
Distance-based with cost per stop CO2 parameters

0 * distance + 0 per stop

  • Variable CO2 emissions — the CO2 emissions from transporting a product to a distance of one kilometer (or the Distance Unit, if defined) no matter the weight.
  • CO2 emissions per stop — the fixed CO2 emissions that is added to the expression.

Product&distance-based limited distance

The policy allows you to set distance limit that will prevent vehicles from setting off if violated. Calculated as cost per product measurement unit * volume(unit) * distance, where:

  • Distance range — the min and max distances (specified in the Distance lower limit and Distance upper limit cost calculation parameters) that must not be violated by the delivery path length.
  • Cost per product measurement unit — the cost for transporting one item of product in the specified measurement unit to the distance of one kilometer (or the Distance Unit, if defined).
  • Volume — the total amount of the shipment.
  • Distance — the travel distance.

    Note the following combinations:

    • Vehicles will not set off if the length of the path that is used to deliver the goods is either of the following:
      • Less than the specified Distance lower limit
      • Larger than or equal to the specified Distance upper limit
    • Vehicles will set off if the length of the path that is used to deliver goods is greater than, or equal to the specified Distance lower limit, and is less than the specified Distance upper limit.
Product&distance-based limited distance parameters

Distance [0, 0): 0 * volume * distance

  • Amount unit — the product measurement unit.
  • Cost per unit — the cost for transporting one item of product in the specified measurement unit to the distance of one kilometer. Note that the Distance Unit is applied, if defined.
  • Distance lower limit — the minimum distance.
  • Distance upper limit. — the maximum distance.
Product&distance-based limited distance CO2 parameters

Distance [0, 0): 0 * volume * distance

  • Amount unit — the product measurement unit.
  • CO2 per unit — the CO2 emissions for transporting one item of product in the specified measurement unit to the distance of one kilometer. Note that the Distance Unit is applied, if defined.
  • Distance lower limit — the minimum distance.
  • Distance upper limit. — the maximum distance.

Cost per drop

Cost per drop — works just like the Fixed delivery, except for the returning segment, which is cost-free. The returning segment is a route segment, which is used by the vehicle to return to the positioning site.

This policy type requires the route to be defined by one Path. To create such route, you must define the From and To locations with a group that will contain the required set of sites and customers.

Cost per drop parameters
  • Cost — the fixed shipping cost per delivery per vehicle (if vehicle type is defined).
Cost per drop CO2 parameters
  • CO2 emissions — the fixed shipping CO2 emissions per delivery per vehicle (if vehicle type is defined).

Distance-based with fixed cost

Distance-based with fixed cost — calculated as Variable cost * distance + fixed cost, where:

  • Variable cost — the cost for transporting a product to a distance of one kilometer no matter the weight (or the Distance Unit, if defined).
  • Distance — the shipping distance. The distance value is either manually defined by the user in the Distance column of this table, or is received from the GIS server. Note that the Distance Unit is applied, if defined.
  • Fixed cost — the user-defined fee that is simply added to the expression. The defined fee is added once per trip.

    Note the following:

    • If Vehicle Type is specified, the value of the Fixed cost parameter is applied to each truck, i.e., it is calculated as vehicles amount * (Variable cost * distance + Fixed cost).
    • In case of NO scenarios if the vehicle type is not specified or the policy is set to LTL, it is calculated as Variable cost * distance * Fixed cost.
Distance-based with fixed cost parameters

0 * distance + 0 per trip

  • Variable cost — the cost for transporting a product to a distance per kilometer no matter the weight (or the Distance Unit, if defined).
  • Fixed cost — the user-defined fee that is added to the expression. The defined fee is added once per trip.
Distance-based with fixed cost CO2 parameters

0 * distance + 0 per trip

  • Variable CO2 emissions — the CO2 emissions from transporting a product to a distance per kilometer no matter the weight (or the Distance Unit, if defined).
  • Fixed CO2 emissions — the user-defined CO2 emission that is added to the expression. The defined CO2 emissions is added once per trip.
How can we improve this article?