How sel-columbia/accel_tlnd works
Accel-TLND is a geospatial planning script that turns structure locations into clustered transformer locations and low- and medium-voltage network layouts, then reports costs and exports maps and spatial data. The main workflow is driven by scripts/main.py; structure merging is a separate preprocessing capability. The README documents both MST and Gurobi MILP LV design. Relationships for those design stages are shown at the level supported by the main calls and documentation; the unsampled configuration and internal implementation details are not inferred.
Main entry points: main.py Model runner · .gitkeep Generated results · merge_structures.py Structure merging · write_outputs.py Metrics and costs
Components 14
Model workflow
- Geospatial input
inputs/test_example/nodes_for_netdesign.shp - Scenario configuration
scripts/params.yaml - Model runner
scripts/main.py - Outlier exclusion
scripts/outlier_exclusion.py
Structure preparation
- Structure merging
scripts/preparation/merge_structures.py
Network design
- Node clustering
scripts/network_design.py - LV MST design
scripts/network_design.py - LV MILP design
scripts/network_design.py - MV MST design
scripts/network_design.py
Results
- Metrics and costs
scripts/write_outputs.py - Spatial exports
scripts/write_outputs.py - Network visualization
scripts/write_outputs.py - Generated results
results/.gitkeep
Other components
- Planner
Connections 16
- Planner → Model runner: runs
README.md - Model runner → Geospatial input: reads
scripts/main.py - Model runner → Scenario configuration: loads
scripts/main.py - Model runner → Outlier exclusion: optionally filters
scripts/main.py - Model runner → Node clustering: clusters
scripts/main.py - Model runner → LV MST design: selects MST
scripts/main.py - Model runner → LV MILP design: selects MILP
scripts/main.py - Model runner → MV MST design: designs network
scripts/main.py - Planner → Structure merging: runs preprocessing
- Structure merging → Generated results: writes merged data
scripts/preparation/merge_structures.py - Model runner → Metrics and costs: computes metrics
scripts/main.py - Model runner → Spatial exports: requests exports
scripts/main.py - Model runner → Network visualization: requests map
scripts/main.py - Metrics and costs → Generated results: writes summary
scripts/write_outputs.py - Spatial exports → Generated results: writes spatial data
scripts/write_outputs.py - Network visualization → Generated results: saves map
scripts/write_outputs.py