How sel-columbia/netplan works
Netplan is an end-to-end buildings-to-network planning repository, with a documented focus on running network planning. Its apparent user workflow is to load and prepare planning inputs, estimate demand and technology costs, plan network connections, and produce reports. The graph also shows the network-building runtime and its geospatial support. The README is sparse, and several source excerpts are incomplete, so some subsystem relationships are supported only by the SOURCE INDEX; uncertain runtime details are omitted.
Main entry points: plan.py Planning runner · networker_runner.py Network runner · geograph.py Geographic graph · mod_boruvka.py Spanning forest
Components 23
Planning workflow
- Planning runner
netplan/plan.py - Input parsing
netplan/infrastructure_planning/parsers.py - Input preprocessing
netplan/infrastructure_planning/preprocessors.py - Population growth
netplan/infrastructure_planning/demography/exponential.py - Consumption estimates
netplan/infrastructure_planning/electricity/consumption/linear.py - Electricity demand
netplan/infrastructure_planning/electricity/demand.py - Electricity analysis
netplan/infrastructure_planning/electricity/analysis.py - Technology costs
netplan/infrastructure_planning/electricity/cost/grid.py - Financial valuation
netplan/infrastructure_planning/finance/valuation.py - Planning reports
netplan/infrastructure_planning/electricity/report.py
Network planning
- Electric network planner
netplan/infrastructure_planning/electricity/network.py - Network runner
netplan/networker/networker_runner.py - Spanning forest
netplan/networker/algorithms/mod_boruvka.py - Geographic graph
netplan/networker/classes/geograph.py - Spatial index
netplan/networker/classes/kdtree.py - Component tracking
netplan/networker/classes/unionfind.py
Geospatial data
- Network file IO
netplan/networker/io/__init__.py - Geometry file IO
netplan/geometryIO/__init__.py - Geographic math
netplan/networker/geomath.py
Shared calculations
- Planning utilities
netplan/infrastructure_planning/macros.py - Calculation helpers
netplan/invisibleroads_macros/calculator.py - File utilities
netplan/invisibleroads_macros/disk.py
Other components
- Planner
Connections 30
- Planner → Planning runner: runs
- Planning runner → Input parsing: loads inputs
netplan/plan.py - Planning runner → Input preprocessing: prepares data
netplan/plan.py - Planning runner → Population growth: estimates growth
netplan/plan.py - Planning runner → Consumption estimates: estimates use
netplan/plan.py - Planning runner → Electricity demand: computes demand
netplan/plan.py - Planning runner → Electricity analysis: analyzes electricity
netplan/plan.py - Planning runner → Technology costs: estimates costs
netplan/plan.py - Planning runner → Electric network planner: plans connections
netplan/plan.py - Planning runner → Planning reports: generates reports
netplan/plan.py - Input parsing → Geometry file IO: loads geotables
netplan/infrastructure_planning/parsers.py - Technology costs → Financial valuation: discounts cash flows
netplan/infrastructure_planning/electricity/cost/grid.py - Technology costs → Calculation helpers: uses calculations
netplan/infrastructure_planning/electricity/cost/grid.py - Planning runner → Planning utilities: uses utilities
netplan/plan.py - Electric network planner → Network runner: runs networker
netplan/infrastructure_planning/electricity/network.py - Network runner → Network file IO: loads and writes
netplan/networker/networker_runner.py - Network runner → Geographic graph: builds network
netplan/networker/networker_runner.py - Network runner → Spanning forest: selects algorithm
netplan/networker/networker_runner.py - Network runner → Component tracking: tracks components
netplan/networker/networker_runner.py - Spanning forest → Geographic graph: operates on graph
netplan/networker/algorithms/mod_boruvka.py - Spanning forest → Spatial index: queries spatial index
netplan/networker/algorithms/mod_boruvka.py - Spanning forest → Component tracking: merges components
netplan/networker/algorithms/mod_boruvka.py - Geographic graph → Spatial index: indexes coordinates
netplan/networker/classes/geograph.py - Geographic graph → Geographic math: uses geographic math
netplan/networker/classes/geograph.py - Network file IO → Geographic graph: creates graph
netplan/networker/io/__init__.py - Network file IO → Geographic math: uses projections
netplan/networker/io/__init__.py - Network file IO → Geometry file IO: uses shapefile utilities
netplan/networker/io/__init__.py - Planning utilities → Geometry file IO: loads geometry
netplan/infrastructure_planning/macros.py - Planning utilities → File utilities: uses file utilities
netplan/infrastructure_planning/macros.py - Planning reports → File utilities: creates report folders
netplan/infrastructure_planning/electricity/report.py