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
- Navigate to the Vehicle Types table. The table currently contains only the vehicle that we have been using all this time.
- Click the Add button in the toolbar of the table editor.
A table record with default vehicle type will be created.
- 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
- Navigate to the Paths table. The table currently contains the paths that are used by the first vehicle type.
- Create a new record by clicking Add. Here we will define the paths for the second vehicle type.
- 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.
- 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.
- Now double-click the cell of the Cost Calculation Parameters column.
A dialog box will open allowing you to modify the policy parameters.
- Type 0.04 in the Variable cost field, which is the cost of transporting demanded products to a distance of one kilometer.
- Click OK to close the dialog box.
- Move on and disable the toggle button in the Straight column. This will allow the vehicle to use actual routes.
- 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
- Navigate to the experiment parameters.
- Click the Vehicle Types drop-down list and select the checkbox next to the Vehicle type 2.
- 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.
- 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
- Navigate to the Generated Paths table and filter the results per shipment. We can see that the number of routes has decreased.
- Now check the number of direct shipments in the Solution Type column.
We have just 1 direct shipment.
- Add this table to comparison. Name it Result 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.
- 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?