13 lines
444 B
Python
13 lines
444 B
Python
from DistrictHeatingNetworkCreator import DistrictHeatingNetworkCreator
|
|
from Scripts.road_processor import road_processor
|
|
from pathlib import Path
|
|
|
|
|
|
roads_file = road_processor(-73.61038745537758, 45.484399882086215, 0.001)
|
|
|
|
buildings_file = Path('./input_files/buildings.geojson').resolve()
|
|
|
|
dhn_creator = DistrictHeatingNetworkCreator(buildings_file, roads_file)
|
|
network_graph = dhn_creator.run()
|
|
dhn_creator.plot_network_graph()
|