14 lines
450 B
Python
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)
|