five

code&data(CBA)_r2

收藏
Figshare2024-09-13 更新2026-04-28 收录
下载链接:
https://figshare.com/articles/dataset/code_data_CBA_r1/26969014
下载链接
链接失效反馈
官方服务:
资源简介:
The compressed code&data(CBA)_r2.zip file contains 7.py files, 1.ipynb file and 3 folders.The Main.ipynb serves as the main file for the calculations, which provides step-by-step explanations and results for distributed execution.The remaining 5.py files are stored in the lib folder. CBA.py includes three functions, named Calculate accessibility, Calculate congestion, and Pareto_optimality. In the Main.ipynb(or Main.py), we use real data to call the functions from CBA.py to reproduce the main experimental part of the paper (Section 5). Additionally, we have incorporated CSA.py and twoSFCA.py, which represent the CSA model and 2SFCA model for comparison, allowing for a method comparison and analysis.The remaining four .py files are auxiliary to CBA.py:· access_demo.py defines an Access class that is primarily used to organize and manage demand, supply, and cost data, while providing various methods for calculating accessibility.· fca.py provides the concrete mathematical calculations and accessibility models, implementing the actual accessibility calculations by focusing on handling demand-supply data and calculating weighted accessibility.· The functions in helpers.py serve as auxiliary tools for the Access class in access_demo.py, mainly for handling and standardizing input data, as well as performing some additional calculations.· weights.py is mainly used to generate different distance or time weighting functions, which are applied in calculating weights for spatial accessibility models.The data folder contains the three original csv files required for the calculations in this paper, including the demand points (chi_demand.csv), the supply points (chi_supply.csv), and the cost data (chi_dist.csv). To ensure data privacy and prevent potential data leakage, we processed the original data by removing sensitive spatial location information.· chi_demand.csv stores the ID and population of each demand grid.· chi_supply.csv stores the ID and power (supply volume) of each charging station.· chi_dist.csv stores the travel time cost from each charging station to the demand grids.The result folder contains the results obtained by using the provided functions, with specific correspondences annotated in Main.ipynb.
创建时间:
2024-09-13
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作