Rechanged the Minimal.idf to give the necessary results, without additional stuff not used by the tool

This commit is contained in:
Oriol Gavalda 2024-01-29 11:46:06 -05:00
parent 082c44b38d
commit 04a56b5695
2 changed files with 1545 additions and 4 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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}')