anyLogistix anyLogistix
Font size

Phase 3. Add a New Vehicle Type

In the previous phase we decreased the number of shipments within the simulation period, increased the minimum vehicle load ratio for direct shipments, and compared the received results. In this phase we will add a new vehicle type to see if it the transportation costs and the overall number of routes can be decreased.

Let us add a new vehicle type to the supply chain.

Create a new vehicle

  1. Navigate to the Vehicle Types table. The table currently contains only the vehicle that we have been using all this time.
  2. Click the Add button in the toolbar of the table editor. A table record with default vehicle type will be created.

  3. Compare the two vehicle types. The new vehicle has larger capacity. We will leave the default parameters of the vehicle as they are.

Simply adding a new vehicle type to the scenario is not enough for the experiment to use it. The new vehicle type must be specified in the:

  • Paths table
  • Vehicle type parameter of the Capacitated TO experiment

Let us start with the Paths table. We will create a new record and define the required parameters for the paths a new vehicle will be using.

Define paths for the new vehicle type

  1. Navigate to the Paths table. The table currently contains the paths that are used by the first vehicle type.
  2. Create a new record by clicking Add. Here we will define the paths for the second vehicle type.
  3. Leave the default (All locations) in the From and To column cells. This will allow our vehicle to travel from the Gabrovo DC to the first customer, between the customers, and from the last customer back to the Gabrovo DC.
  4. Double-click the Fixed delivery cell in the Cost Calculation column and select Distance-based with cost per stop from the drop-down list of available policies.
  5. Now double-click the cell of the Cost Calculation Parameters column.
    A dialog box will open allowing you to modify the policy parameters.

  6. Type 0.04 in the Variable cost field, which is the cost of transporting demanded products to a distance of one kilometer.
  7. Click OK to close the dialog box.
  8. Move on and disable the toggle button in the Straight column. This will allow the vehicle to use actual routes.
  9. And finally specify the new vehicle type for this path by double-clicking the cell in the Vehicle Type column and selecting Vehicle Type 2 from the drop-down list. The table must look like this eventually:

Now we must specify the new vehicle type in the experiment parameters.

Adjust experiment parameters and run the experiment

  1. Navigate to the experiment parameters.
  2. Click the Vehicle Types drop-down list and select the checkbox next to the Vehicle type 2.
  3. Now deselect the checkbox next to the Vehicle type. We already have results with this vehicle type. Besides, optimizing the delivery routes for 2 vehicle types takes more time.
  4. Click Run to launch the experiment.
    The results will be available in the Result 4 sub-item of the Capacitated TO experiment tree branch.

Let us analyze and compare the received data.

Analyze and compare the received results

  1. Navigate to the Generated Paths table and filter the results per shipment. We can see that the number of routes has decreased.
  2. Now check the number of direct shipments in the Solution Type column. We have just 1 direct shipment.

  3. Add this table to comparison. Name it Result 4.
  4. Compare the transportation costs of Result 3 and Result 4. As you can see, the new set of routes is less expensive. We have found cost-efficient routes.

  5. For more details you can navigate to the Generated Path Segments page, which contains details on each segment of every route

We have completed the third phase, and with the last step of this phase we have also completed the Capacitated TO tutorial.

How can we improve this article?