-
Notifications
You must be signed in to change notification settings - Fork 0
The model is based on Daganzo's distance estimation formula to provide last-mile logistics services operators with a rough estimation of the resources required for distributing in a specific zone. It returns the number of vehicles, the total distance drove and delivery time for distributing to all the nodes within the zone. The routes start and …
License
Horizon-LEAD/2echelon
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
README ----------------------------------------------------------------------------------------- This file contains a description of the files in this folder and guidelines for using the scripts with other data. --------------------------------------------------------------------------------------------------- --COMAND FOR EXECUTING FROM COMAND LINE WINDOWS ----------------------------------------------------------------------------------------------------- 1. Navigate to the \bin subdirectory on your R version directory (C:\Program Files\R\your_R_version_directory \bin) 2. Search & Replace del string U:/20211027ZLC with the name of your directory and run the line below after updating the corresponding directory. 3. Rscript U:/2ECHELON/scenarioASIS_Madrid.R U:/2ECHELON/INPUT/config.csv U:/2ECHELON/INPUT/services.csv U:/2ECHELON/INPUT/facilitiesASIS.csv U:/2ECHELON/INPUT/vehiclesASIS.csv U:/2ECHELON -------------------------------------------------------------------------------------------------------------------------- --INPUTS ----------------------------------------------------------------------------------------------------------------------------- args[1] = csv with the config parameteres "U:/2ECHELON/INPUT/config.csv"; the file in the INPUT FOLDER args[2] = csv with the daily services from the operator "U:/2ECHELON/INPUT/services.csv"; see file in the INPUT FOLDER args[3] = csv with the daily facilities "U:/2ECHELON/INPUT/facilitiesASIS.csv"; see file in the INPUT FOLDER args[4] = csv with the daily vehicles "U:/2ECHELON/INPUT/vehiclesASIS.csv"; see file in the INPUT FOLDER args[5] = working directory "U:/2ECHELON"; to crate the TMP folder and the OUTPUT of the model ----------------------------------------------------------------------------------------------------------- TESTING REQUIREMENTS -------------------------------------------------------------------------------------------------------- platform x86_64-w64-mingw32 arch x86_64 os mingw32 system x86_64, mingw32 status major 4 minor 0.5 year 2021 month 03 day 31 svn rev 80133 language R version.string R version 4.0.5 (2021-03-31) nickname Shake and Throw ---------------------------------------------------------------------------------------- ROOT Folder ----------------------------------------------------------------------------------------- --Shapefile_to_Zone.r: functions for reading geographic data. --TwoEchelonModel_script.r: functions for calculating the number of vehicles, distance and times for delivering for one leg (ASIS) and two legs (TOBE) scenarios. --scenarioASIS_Madrid.r: script for executing the scenario asis and writing the results in a specific document. The information required is in the INPUT folder and the output will be saved in the OUTPUT folder. --scenarioTOBE_Madrid:script for executing the scenario asis and writing the results in a specific document. The information required is in the INPUT folder and the output will be saved in the OUTPUT folder. (NOT WORKING) -------------------------------------------------------------------------------------------------- INPUT FOLDER ------------------------------------------------------------------------------------------------- This folder contains the csv with the information provided by the LSP differentiated by scenario. facilitesASIS.csv: It contains the information of the facility for the asis scenario facilitiesTOBE.csv: It contains the information of the facilities for the tobe scenario - First row: characteristics for the first leg. - Second row: characteristics for the second leg. facilitesASIS.csv: It contains the information of the vechicle for the asis scenario facilitiesTOBE.csv: It contains the information of the vechicles for the tobe scenario - First row: characteristics for the first leg. - Second row: characteristics for the second leg. services.csv: It contains the services. It is the same for the TOBE and ASIS scenarios. -------------------------------------------------------------------------------------------------- OUTPUT FOLDER -------------------------------------------------------------------------------------------------- This folder will contain the result of executing both scenarios. testOutputASIS.txt: It will contain a row with the number of vehicles, kms and delivery time for the ASIS scenario. testOutputTOBE.txt: It will contain two rows: - First row: number of vehicles, kms and delivery time for the first leg. - Second row: number of vehicles, kms and delivery time for the second leg. --------------------------------------------------------------------------------------------------- TEMP FOLDER --------------------------------------------------------------------------------------------------- Folder for unziping the geographic data of the delivery area in the case of Madrid. ----------------------------------------------------------------------------------------------------
About
The model is based on Daganzo's distance estimation formula to provide last-mile logistics services operators with a rough estimation of the resources required for distributing in a specific zone. It returns the number of vehicles, the total distance drove and delivery time for distributing to all the nodes within the zone. The routes start and …
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published