Tungom / EV_Infrastructure_Optimization

ESWA Paper: Hierarchical Framework for Demand Prediction and Iterative Optimization of EV Charging Network Infrastructure Under Uncertainty with Cost and Quality-of-Service Consideration
2 stars 0 forks source link

Two CSV files are missing #1

Closed ChAdilHussainGujjar closed 2 weeks ago

ChAdilHussainGujjar commented 11 months ago

These 2 csv files are missing in the code. can you please share these files? EVinfrastructureZero.csv SupplyPointsDistanceMatrix.csv

Tungom commented 11 months ago

Thanks for bringing that to my attention. I have added a folder called ESWA_Code_Submission in the repository. You can find the dataset there.

ChAdilHussainGujjar commented 11 months ago

Hey, I am facing the ModuleNotFoundError: No module named 'ortools I have already installed the ortools, and i checked it is installed, version 9.7.2996, but still it says the same ModuleNotFoundError

Tungom commented 11 months ago

Add a cell in the beginning of the Jupyter notebook and in the cell add the below code and run for installations. Let me know if it works

!pip install pandas !pip install scipy !pip install numpy !pip install sklearn !pip install ortools==9.4.1874 !pip install pulp !pip install k-means-constrained>=0.7.2

ChAdilHussainGujjar commented 11 months ago

yes it worked now, I face an error in Cell 33, line 15 TypeError: 'float' object cannot be interpreted as an integer

Tungom commented 11 months ago

can you send the screenshot of the cell and error. OR you can check to ensure that the datatypes used are consistent.

ChAdilHussainGujjar commented 11 months ago

here it is.

Screenshot 2023-10-11 at 01 13 42
Tungom commented 11 months ago

Got it. unfortunately I do not encounter this error on my local run. It is a problem with a datatype which is supposed to be an int but is a float. look into the variables profits, weight and capacities to see which you need to asjust. you can also take a look at the googleORtools API.

ChAdilHussainGujjar commented 11 months ago

I tried, but couldn't understand where exactly I needed to fix it. Can you please try if it is possible?