Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 3.59 KB

File metadata and controls

57 lines (39 loc) · 3.59 KB

Scripts Overview

This folder contains supporting scripts for data preparation, validation, and visualisation. These utilities help you build maps, generate user-to-RU mappings, check penalty factors, and create plots. They are not part of the main optimisation logic but are important for data integrity and understanding results.


Structure

📂 scripts/Supporting utilities and preprocessing tools


File Breakdown

Preprocessing

Preprocessing scripts are only needed when you modify the dataset.

  • build_all_paths.py: Run this script if you add, remove, or change the status of devices (e.g., moving devices between "existing" and "new"). This updates all possible connectivity paths between RUs, DUs, and CUs, ensuring the algorithms use the correct network structure.
  • make_user_mapping.py: Use this script when you make changes to RUs, such as adding, removing, or adjusting their coverage radii. It regenerates user-to-RU mappings to reflect the updated coverage and assignments.

Validation

Validation scripts are optional tools for exploring model parameters.

  • check_penalty_factors.py: Use this script if you want to visualise how different penalty factors grow as model parameters change. It helps you compare penalty functions and understand their behaviour, but is not required for standard workflows.

Visualisation

Visualisation scripts help you interpret results and create figures for reports.

  • map_builder/map_modules: Contains plotting tools and legend generators.
  • These tools are useful for understanding results, debugging issues, and preparing publication-quality figures.

Usage Tips