district_heating_network_an.../main.py

14 lines
461 B
Python
Raw Normal View History

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"
# 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)