Rechanged the Minimal.idf to give the necessary results, without additional stuff not used by the tool
This commit is contained in:
parent
082c44b38d
commit
04a56b5695
1541
input_files/output_buildings.geojson
Normal file
1541
input_files/output_buildings.geojson
Normal file
File diff suppressed because it is too large
Load Diff
8
main.py
8
main.py
@ -12,7 +12,7 @@ from sra_engine import SraEngine
|
||||
|
||||
|
||||
try:
|
||||
file_path = (Path(__file__).parent / 'input_files' / 'summerschool_all_buildings.geojson')
|
||||
file_path = (Path(__file__).parent / 'input_files' / 'output_buildings.geojson')
|
||||
construction_format = 'nrcan'
|
||||
usage_format = 'nrcan'
|
||||
energy_systems_format = 'montreal_custom'
|
||||
@ -23,9 +23,9 @@ try:
|
||||
print('[simulation start]')
|
||||
city = GeometryFactory('geojson',
|
||||
path=file_path,
|
||||
height_field='citygml_me',
|
||||
year_of_construction_field='ANNEE_CONS',
|
||||
function_field='CODE_UTILI',
|
||||
height_field='height',
|
||||
year_of_construction_field='year_of_construction',
|
||||
function_field='function',
|
||||
function_to_hub=Dictionaries().montreal_function_to_hub_function).city
|
||||
|
||||
print(f'city created from {file_path}')
|
||||
|
Loading…
Reference in New Issue
Block a user