district_heating_network_an.../main.py
2024-06-07 18:44:21 -04:00

14 lines
450 B
Python

from DistrictHeatingNetworkCreator import DistrictHeatingNetworkCreator
# 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.json'
)
# Create the network graph
network_graph = network_creator.run()
network_creator.plot_network_graph(network_graph)