2024-01-24 17:39:05 -05:00
|
|
|
from DistrictHeatingNetworkCreator import DistrictHeatingNetworkCreator
|
2024-06-07 09:23:01 -04:00
|
|
|
# building_file = "./input_files/buildings.geojson"
|
|
|
|
# road_file = "./input_files/roads/geobase_mtl.shp"
|
2024-01-24 17:39:05 -05:00
|
|
|
# Initialize the class
|
|
|
|
network_creator = DistrictHeatingNetworkCreator(
|
|
|
|
'./input_files/buildings.geojson',
|
|
|
|
'./input_files/roads/geobase_mtl.shp'
|
|
|
|
)
|
|
|
|
|
|
|
|
# Create the network graph
|
|
|
|
network_graph = network_creator.run()
|
|
|
|
|
2024-06-07 09:23:01 -04:00
|
|
|
network_creator.plot_network_graph(network_graph)
|