Vehicular Fog Computing: Simulation Data and Analysis Code
Description
Code, simulation inputs, derived traffic observations, numerical results and execution instructions accompanying the manuscript on traffic-regime-coupled vehicular fog computing. The material includes exposure-based traffic calibration; coupled and independent-driver queueing models; deadline and exit-route analysis; moment-matched benchmarks; service and policy sensitivity calculations; entity-level simulations with exponential and empirical vehicle residence times; transition-rate sensitivity checks; and corrected observation-window validation. Reported traffic observations are generated with SUMO. No licensed highD trajectories are included. Historical results are retained for provenance and are distinguished from the current manuscript results in the README. Version 2 improves standalone verification, figure generation and reproducibility instructions. The analytical model, simulation inputs and numerical results remain unchanged.
Files
Steps to reproduce
1. Download and extract VFC_Mendeley_Data.zip. Read STEPS.txt for quick verification and Reproducibility/README.md for dependencies, execution instructions and the mapping between scripts, stored results and manuscript tables. 2. Install Python 3 and the required packages. For the complete workflow, run: python -m pip install -r Reproducibility/requirements.txt The quick checks require only NumPy, SciPy and Matplotlib, using the dependency ranges in the README. A C++17 compiler (g++) is required for the calibrated task-level simulations. SUMO 1.28.0 and libsumo 1.28.0 are required only when generating new traffic observations. 3. Set OPENBLAS_NUM_THREADS=1 and OMP_NUM_THREADS=1 using the syntax appropriate to your operating system. Navigate to Reproducibility/code/ and run: python verify_results.py python verify_v19.py python verify_v110.py python test_des_window.py python queue_limit_check.py These commands verify stored numerical results and perform short independent checks. Optional manuscript-source checks are reported as skipped when the separate manuscript sources are absent; the numerical checks still run. 4. To regenerate Figures 2–4 from the stored results, run from Reproducibility/code/: python plot_calibrated.py python e2_figs.py The scripts automatically create the figures/ directory at the top level of the extracted dataset. 5. To reproduce the traffic calibration from the supplied observations, navigate to Reproducibility/sumo/ and run: python calibrate.py This calibration step uses the supplied observations and requires neither SUMO nor highD data. To generate new SUMO observations, follow Reproducibility/sumo/README.md, using seeds 1–5 and explicitly specifying 28800 seconds for both build_scenario.py and run_sumo.py. 6. For full analytical recomputation, policy searches, simulation comparisons and statistical diagnostics, follow the commands in Reproducibility/README.md. Current results are stored under Reproducibility/code/results_current/. Several drivers reuse cached outputs; follow the README instructions for fresh recomputation and use a separate working copy. Historical outputs are retained for provenance and should be kept separate from the current manuscript results.
Institutions
- Sangji UniversityGangwon-do, Wŏnju