Revision of infiltration parameters

This commit is contained in:
Oriol Gavalda 2023-03-31 12:25:11 -04:00
parent 60d5eb3087
commit dd1b09b2cf
9 changed files with 724 additions and 8 deletions

View File

@ -0,0 +1,129 @@
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"id": 1517,
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-73.54892817129803,
45.605145662442396
],
[
-73.54882817118312,
45.6051322616446
],
[
-73.54801127110323,
45.60502336183873
],
[
-73.54801027105714,
45.60502716237369
],
[
-73.54797037083591,
45.60518346184733
],
[
-73.54871467134495,
45.60528626155178
],
[
-73.54888497056493,
45.6053098615609
],
[
-73.54888507128896,
45.6053098615609
],
[
-73.5488997707078,
45.605253962400525
],
[
-73.54892817129803,
45.605145662442396
]
]
]
},
"properties": {
"OBJECTID_12_13": 1517,
"ID_UEV": "02032924",
"CIVIQUE_DE": " 6255",
"CIVIQUE_FI": " 6255",
"NOM_RUE": "boulevard Joseph-Renaud (ANJ)",
"SUITE_DEBU": " ",
"MUNICIPALI": "50",
"ETAGE_HORS": 3,
"NOMBRE_LOG": 55,
"ANNEE_CONS": 1970,
"CODE_UTILI": "1000",
"LETTRE_DEB": " ",
"LETTRE_FIN": " ",
"LIBELLE_UT": "Logement",
"CATEGORIE_": "R\u00c3\u00a9gulier",
"MATRICULE8": "0151-07-1902-2-000-0000",
"SUPERFICIE": 3768,
"SUPERFIC_1": 4028,
"NO_ARROND_": "REM09",
"Shape_Leng": 0.00218341775519,
"OBJECTID": 1517,
"Join_Count": 1,
"TARGET_FID": 1517,
"feature_id": "480476b7-e71a-4190-853a-9e1be235d6a7",
"md_id": " ",
"acqtech": 1360,
"acqtech_en": "Lidar",
"acqtech_fr": "Lidar",
"provider": 461,
"provideren": "Municipal",
"providerfr": "Municipal",
"datemin": "20151124",
"datemax": "20151208",
"haccmin": 2,
"haccmax": 2,
"vaccmin": 1,
"vaccmax": 1,
"heightmin": 0.51,
"heightmax": 12,
"elevmin": 39.79,
"elevmax": 41.27,
"bldgarea": 1332.57,
"comment": "Detection of Lidar points classified as ground in the building. D\u00c3\u00a9tection de points Lidar classifi\u00c3\u00a9s sol dans le b\u00c3\u00a2timent.",
"OBJECTID_1": 1517,
"Shape_Le_1": 0.00218341775519,
"Shape_Ar_1": 1.53729465013e-07,
"OBJECTID_12": 1517,
"Join_Count_1": 1,
"TARGET_FID_1": 1516,
"g_objectid": "897441",
"g_co_mrc": "66023",
"g_code_mun": "66023",
"g_arrond": "REM09",
"g_anrole": "2019",
"g_usag_pre": "R\u00c3\u00a9sidentiel",
"g_no_lot": "1113068",
"g_nb_poly_": "1",
"g_utilisat": "1000",
"g_nb_logem": "55",
"g_nb_locau": " ",
"g_descript": "Unit\u00c3\u00a9 d'\u00c3\u00a9valuation",
"g_id_provi": "66023015107190220000000",
"g_sup_tota": "3768.1",
"g_geometry": "0.00308212",
"g_geomet_1": "4.34238e-007",
"g_dat_acqu": "2020-02-12 00:00:00.0000000",
"g_dat_char": "2020-02-17 00:00:00.0000000",
"Shape_Leng_1": 0.00218341775519,
"Shape_Area_1": 1.53729465013e-07,
"Shape_Length": 0.0021834176681906903,
"Shape_Area": 1.53729465013e-07
}
}
]
}

View File

@ -0,0 +1,113 @@
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"id": 1724,
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-73.5526870721506,
45.60216746215872
],
[
-73.55268167172176,
45.60216656193734
],
[
-73.5524855718516,
45.602128962181894
],
[
-73.55245337162575,
45.602211962412184
],
[
-73.55265497174952,
45.60225046238901
],
[
-73.5526870721506,
45.60216746215872
]
]
]
},
"properties": {
"OBJECTID_12_13": 1724,
"ID_UEV": "02034834",
"CIVIQUE_DE": " 6340",
"CIVIQUE_FI": " 6340",
"NOM_RUE": "avenue Goncourt (ANJ)",
"SUITE_DEBU": " ",
"MUNICIPALI": "50",
"ETAGE_HORS": 2,
"NOMBRE_LOG": 1,
"ANNEE_CONS": 1959,
"CODE_UTILI": "1000",
"LETTRE_DEB": " ",
"LETTRE_FIN": " ",
"LIBELLE_UT": "Logement",
"CATEGORIE_": "R\u00c3\u00a9gulier",
"MATRICULE8": "0051-63-9861-7-000-0000",
"SUPERFICIE": 539,
"SUPERFIC_1": 194,
"NO_ARROND_": "REM09",
"Shape_Leng": 0.000588408191063,
"OBJECTID": 1724,
"Join_Count": 1,
"TARGET_FID": 1724,
"feature_id": "b21198f4-f67b-439d-80b4-db24e6f4783f",
"md_id": " ",
"acqtech": 1360,
"acqtech_en": "Lidar",
"acqtech_fr": "Lidar",
"provider": 461,
"provideren": "Municipal",
"providerfr": "Municipal",
"datemin": "20151124",
"datemax": "20151208",
"haccmin": 2,
"haccmax": 2,
"vaccmin": 1,
"vaccmax": 1,
"heightmin": 0.52,
"heightmax": 5.97,
"elevmin": 41.61,
"elevmax": 42.01,
"bldgarea": 155.68,
"comment": " ",
"OBJECTID_1": 1724,
"Shape_Le_1": 0.000588408191063,
"Shape_Ar_1": 1.79531500018e-08,
"OBJECTID_12": 1724,
"Join_Count_1": 1,
"TARGET_FID_1": 1723,
"g_objectid": "898189",
"g_co_mrc": "66023",
"g_code_mun": "66023",
"g_arrond": "REM09",
"g_anrole": "2019",
"g_usag_pre": "R\u00c3\u00a9sidentiel",
"g_no_lot": "1113889",
"g_nb_poly_": "1",
"g_utilisat": "1000",
"g_nb_logem": "1",
"g_nb_locau": " ",
"g_descript": "Unit\u00c3\u00a9 d'\u00c3\u00a9valuation",
"g_id_provi": "66023005163986170000000",
"g_sup_tota": "539.4",
"g_geometry": "0.00101107",
"g_geomet_1": "6.23128e-008",
"g_dat_acqu": "2020-02-12 00:00:00.0000000",
"g_dat_char": "2020-02-17 00:00:00.0000000",
"Shape_Leng_1": 0.000588408191063,
"Shape_Area_1": 1.79531500018e-08,
"Shape_Length": 0.0005884092499674609,
"Shape_Area": 1.79531500018e-08
}
}
]
}

View File

@ -0,0 +1,109 @@
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"id": 2195,
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-73.56187987465643,
45.603573161871964
],
[
-73.56154997455167,
45.603344761951234
],
[
-73.56133437468162,
45.603498162010624
],
[
-73.56166427478644,
45.60372666175607
],
[
-73.56187987465643,
45.603573161871964
]
]
]
},
"properties": {
"OBJECTID_12_13": 2195,
"ID_UEV": "02036049",
"CIVIQUE_DE": " 7801",
"CIVIQUE_FI": " 7811",
"NOM_RUE": "boulevard Louis-H.-La Fontaine (ANJ+MTL)",
"SUITE_DEBU": " ",
"MUNICIPALI": "50",
"ETAGE_HORS": 0,
"NOMBRE_LOG": 0,
"ANNEE_CONS": 1977,
"CODE_UTILI": "6000",
"LETTRE_DEB": " ",
"LETTRE_FIN": " ",
"LIBELLE_UT": "Immeuble \u00c3\u00a0 bureaux",
"CATEGORIE_": "R\u00c3\u00a9gulier",
"MATRICULE8": "9951-95-9324-0-000-0000",
"SUPERFICIE": 3138,
"SUPERFIC_1": 5154,
"NO_ARROND_": "REM09",
"Shape_Leng": 0.00133181909486,
"OBJECTID": 2195,
"Join_Count": 1,
"TARGET_FID": 2195,
"feature_id": "0450eea8-8539-49b3-8f82-3012ab8a4fbf",
"md_id": " ",
"acqtech": 1360,
"acqtech_en": "Lidar",
"acqtech_fr": "Lidar",
"provider": 461,
"provideren": "Municipal",
"providerfr": "Municipal",
"datemin": "20151124",
"datemax": "20151208",
"haccmin": 2,
"haccmax": 2,
"vaccmin": 1,
"vaccmax": 1,
"heightmin": 0.88,
"heightmax": 12,
"elevmin": 42.22,
"elevmax": 42.79,
"bldgarea": 865.78,
"comment": " ",
"OBJECTID_1": 2195,
"Shape_Le_1": 0.00133181909486,
"Shape_Ar_1": 9.98769750036e-08,
"OBJECTID_12": 2195,
"Join_Count_1": 1,
"TARGET_FID_1": 2194,
"g_objectid": "899552",
"g_co_mrc": "66023",
"g_code_mun": "66023",
"g_arrond": "REM09",
"g_anrole": "2019",
"g_usag_pre": "Service",
"g_no_lot": "1114291",
"g_nb_poly_": "1",
"g_utilisat": "6000",
"g_nb_logem": " ",
"g_nb_locau": "12",
"g_descript": "Unit\u00c3\u00a9 d'\u00c3\u00a9valuation",
"g_id_provi": "66023995195932400000000",
"g_sup_tota": "3137.8",
"g_geometry": "0.00248417",
"g_geomet_1": "3.5989e-007",
"g_dat_acqu": "2020-02-12 00:00:00.0000000",
"g_dat_char": "2020-02-17 00:00:00.0000000",
"Shape_Leng_1": 0.00133181909486,
"Shape_Area_1": 9.98769750036e-08,
"Shape_Length": 0.001331818832464929,
"Shape_Area": 9.98769750036e-08
}
}
]
}

View File

@ -82,7 +82,7 @@
"vaccmin": 1,
"vaccmax": 1,
"heightmin": 1.17,
"heightmax": 7,
"heightmax": 7.0,
"elevmin": 45.48,
"elevmax": 45.96,
"bldgarea": 193.18,

View File

@ -0,0 +1,109 @@
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"id": 3212,
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-73.56319817555533,
45.607645262419
],
[
-73.56305237566659,
45.60758216238696
],
[
-73.56292617560246,
45.60772556198515
],
[
-73.56307197639057,
45.60778876184196
],
[
-73.56319817555533,
45.607645262419
]
]
]
},
"properties": {
"OBJECTID_12_13": 3212,
"ID_UEV": "02034223",
"CIVIQUE_DE": " 7950",
"CIVIQUE_FI": " 7960",
"NOM_RUE": "boulevard M\u00c3\u00a9tropolitain Est (ANJ+MTE+MTL+SLN)",
"SUITE_DEBU": " ",
"MUNICIPALI": "50",
"ETAGE_HORS": 0,
"NOMBRE_LOG": 0,
"ANNEE_CONS": 1990,
"CODE_UTILI": "6000",
"LETTRE_DEB": " ",
"LETTRE_FIN": " ",
"LIBELLE_UT": "Immeuble \u00c3\u00a0 bureaux",
"CATEGORIE_": "R\u00c3\u00a9gulier",
"MATRICULE8": "9951-89-7779-0-000-0000",
"SUPERFICIE": 1074,
"SUPERFIC_1": 472,
"NO_ARROND_": "REM09",
"Shape_Leng": 0.000699899255932,
"OBJECTID": 3212,
"Join_Count": 1,
"TARGET_FID": 3212,
"feature_id": "c26f3093-10e8-40fa-a891-5b39a78c13a0",
"md_id": " ",
"acqtech": 1360,
"acqtech_en": "Lidar",
"acqtech_fr": "Lidar",
"provider": 461,
"provideren": "Municipal",
"providerfr": "Municipal",
"datemin": "20151124",
"datemax": "20151208",
"haccmin": 2,
"haccmax": 2,
"vaccmin": 1,
"vaccmax": 1,
"heightmin": 1.12,
"heightmax": 11.43,
"elevmin": 41.2,
"elevmax": 41.56,
"bldgarea": 250.44,
"comment": " ",
"OBJECTID_1": 3212,
"Shape_Le_1": 0.000699899255932,
"Shape_Ar_1": 2.888454e-08,
"OBJECTID_12": 3212,
"Join_Count_1": 1,
"TARGET_FID_1": 3211,
"g_objectid": "899600",
"g_co_mrc": "66023",
"g_code_mun": "66023",
"g_arrond": "REM09",
"g_anrole": "2019",
"g_usag_pre": "Service",
"g_no_lot": "1113835",
"g_nb_poly_": "1",
"g_utilisat": "6000",
"g_nb_logem": " ",
"g_nb_locau": "2",
"g_descript": "Unit\u00c3\u00a9 d'\u00c3\u00a9valuation",
"g_id_provi": "66023995189777900000000",
"g_sup_tota": "1074.3",
"g_geometry": "0.00146921",
"g_geomet_1": "1.24096e-007",
"g_dat_acqu": "2020-02-12 00:00:00.0000000",
"g_dat_char": "2020-02-17 00:00:00.0000000",
"Shape_Leng_1": 0.000699899255932,
"Shape_Area_1": 2.888454e-08,
"Shape_Length": 0.0006998985885455892,
"Shape_Area": 2.888454e-08
}
}
]
}

View File

@ -0,0 +1,145 @@
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"id": 4559,
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-73.54161506788103,
45.601481661649416
],
[
-73.5416109678718,
45.601480262304335
],
[
-73.54153516761386,
45.601453861806306
],
[
-73.54158746768746,
45.60137996181584
],
[
-73.54146516798306,
45.60133946174682
],
[
-73.54084306825297,
45.60113376161388
],
[
-73.5406921773021,
45.60108392478338
],
[
-73.54052077461404,
45.60136262198745
],
[
-73.54052156781609,
45.60136286210644
],
[
-73.54137536797879,
45.60162866213312
],
[
-73.54141166821387,
45.60164006193935
],
[
-73.54136246000951,
45.60171796031568
],
[
-73.5414426669455,
45.60174301812583
],
[
-73.54161506788103,
45.601481661649416
]
]
]
},
"properties": {
"OBJECTID_12_13": 4559,
"ID_UEV": "02033470",
"CIVIQUE_DE": " 8200",
"CIVIQUE_FI": " 8200",
"NOM_RUE": "avenue Ch\u00c3\u00a9nier (ANJ)",
"SUITE_DEBU": " ",
"MUNICIPALI": "50",
"ETAGE_HORS": 1,
"NOMBRE_LOG": 0,
"ANNEE_CONS": 1968,
"CODE_UTILI": "7451",
"LETTRE_DEB": " ",
"LETTRE_FIN": " ",
"LIBELLE_UT": "Ar\u00c3\u00a9na et activit\u00c3\u00a9s connexes (patinage sur glace)",
"CATEGORIE_": "R\u00c3\u00a9gulier",
"MATRICULE8": "0151-52-7076-5-000-0000",
"SUPERFICIE": 9352,
"SUPERFIC_1": 2648,
"NO_ARROND_": "REM09",
"Shape_Leng": 0.00286764248284,
"OBJECTID": 4559,
"Join_Count": 1,
"TARGET_FID": 4559,
"feature_id": "7a5f890f-f521-427b-ab99-5865d0c7ec10",
"md_id": " ",
"acqtech": 1360,
"acqtech_en": "Lidar",
"acqtech_fr": "Lidar",
"provider": 461,
"provideren": "Municipal",
"providerfr": "Municipal",
"datemin": "20151124",
"datemax": "20151208",
"haccmin": 2,
"haccmax": 2,
"vaccmin": 1,
"vaccmax": 1,
"heightmin": 0.51,
"heightmax": 11.79,
"elevmin": 33.17,
"elevmax": 36.46,
"bldgarea": 2758.61,
"comment": "Detection of Lidar points classified as ground in the building. D\u00c3\u00a9tection de points Lidar classifi\u00c3\u00a9s sol dans le b\u00c3\u00a2timent.",
"OBJECTID_1": 4559,
"Shape_Le_1": 0.00286764248284,
"Shape_Ar_1": 3.15889298845e-07,
"OBJECTID_12": 4559,
"Join_Count_1": 3,
"TARGET_FID_1": 4558,
"g_objectid": "893321",
"g_co_mrc": "66023",
"g_code_mun": "66023",
"g_arrond": "REM09",
"g_anrole": "2019",
"g_usag_pre": "Institutionnel",
"g_no_lot": "1113274",
"g_nb_poly_": "1",
"g_utilisat": "6813",
"g_nb_logem": " ",
"g_nb_locau": " ",
"g_descript": "Unit\u00c3\u00a9 d'\u00c3\u00a9valuation",
"g_id_provi": "66023015153914960000000",
"g_sup_tota": "13058.8",
"g_geometry": "0.00609962",
"g_geomet_1": "1.50601e-006",
"g_dat_acqu": "2020-02-12 00:00:00.0000000",
"g_dat_char": "2020-02-17 00:00:00.0000000",
"Shape_Leng_1": 0.00286764248284,
"Shape_Area_1": 3.15889298845e-07,
"Shape_Length": 0.0028676439122661468,
"Shape_Area": 3.15889298845e-07
}
}
]
}

View File

@ -0,0 +1,113 @@
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"id": 839,
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-73.53597016639003,
45.594489960643216
],
[
-73.5359648657859,
45.594488360749324
],
[
-73.53570136622506,
45.59440716096174
],
[
-73.53559426596257,
45.59457846112713
],
[
-73.53586306612755,
45.59466126080861
],
[
-73.53597016639003,
45.594489960643216
]
]
]
},
"properties": {
"OBJECTID_12_13": 839,
"ID_UEV": "02053563",
"CIVIQUE_DE": " 7744",
"CIVIQUE_FI": " 7744",
"NOM_RUE": "rue Sherbrooke Est (MTE+MTL)",
"SUITE_DEBU": " ",
"MUNICIPALI": "50",
"ETAGE_HORS": 3,
"NOMBRE_LOG": 0,
"ANNEE_CONS": 1984,
"CODE_UTILI": "6000",
"LETTRE_DEB": " ",
"LETTRE_FIN": " ",
"LIBELLE_UT": "Immeuble \u00c3\u00a0 bureaux",
"CATEGORIE_": "R\u00c3\u00a9gulier",
"MATRICULE8": "0250-05-1114-8-000-0000",
"SUPERFICIE": 899,
"SUPERFIC_1": 1470,
"NO_ARROND_": "REM22",
"Shape_Leng": 0.000966577525564,
"OBJECTID": 839,
"Join_Count": 1,
"TARGET_FID": 839,
"feature_id": "47324f3e-be9b-4567-862b-5b790cc29e31",
"md_id": " ",
"acqtech": 1360,
"acqtech_en": "Lidar",
"acqtech_fr": "Lidar",
"provider": 461,
"provideren": "Municipal",
"providerfr": "Municipal",
"datemin": "20151124",
"datemax": "20151208",
"haccmin": 2,
"haccmax": 2,
"vaccmin": 1,
"vaccmax": 1,
"heightmin": 4.5,
"heightmax": 12,
"elevmin": 28.66,
"elevmax": 31.51,
"bldgarea": 476.19,
"comment": " ",
"OBJECTID_1": 839,
"Shape_Le_1": 0.000966577525564,
"Shape_Ar_1": 5.49089399978e-08,
"OBJECTID_12": 839,
"Join_Count_1": 1,
"TARGET_FID_1": 838,
"g_objectid": "1052007",
"g_co_mrc": "66023",
"g_code_mun": "66023",
"g_arrond": "REM22",
"g_anrole": "2019",
"g_usag_pre": "Service",
"g_no_lot": "1323631",
"g_nb_poly_": "1",
"g_utilisat": "6000",
"g_nb_logem": " ",
"g_nb_locau": "5",
"g_descript": "Unit\u00c3\u00a9 d'\u00c3\u00a9valuation",
"g_id_provi": "66023025005111480000000",
"g_sup_tota": "899.2",
"g_geometry": "0.00137524",
"g_geomet_1": "1.03313e-007",
"g_dat_acqu": "2020-02-12 00:00:00.0000000",
"g_dat_char": "2020-02-17 00:00:00.0000000",
"Shape_Leng_1": 0.000966577525564,
"Shape_Area_1": 5.49089399978e-08,
"Shape_Length": 0.000966578213732475,
"Shape_Area": 5.49089399978e-08
}
}
]
}

View File

@ -272,7 +272,7 @@
"vaccmin": 1,
"vaccmax": 1,
"heightmin": 2.1,
"heightmax": 41.82,
"heightmax": 12,
"elevmin": 38.08,
"elevmax": 38.57,
"bldgarea": 25,

View File

@ -14,7 +14,7 @@ from hub.helpers.dictionaries import Dictionaries
sys.path.append('./')
#try:
file_path = (Path(__file__).parent.parent / 'input_files' / 'selected_building_2864.geojson')
file_path = (Path(__file__).parent.parent / 'input_files' / 'selected_building_839.geojson')
out_path = (Path(__file__).parent.parent / 'out_files')
files = glob.glob(f'{out_path}/*')
for file in files:
@ -46,12 +46,10 @@ print('exporting:')
_idf = EnergyBuildingsExportsFactory('idf', city, out_path).export()
print(' idf exported...')
_idf.run()
csv_file = str((out_path / f'{city.name}_out.csv').resolve())
eso_file = str((out_path / f'{city.name}_out.eso').resolve())
idf_file = str((out_path / f'{city.name}.idf').resolve())
obj_file = str((out_path / f'{city.name}.obj').resolve())
with open((out_path / f'{city.name}_out.csv').resolve()) as f:
reader = csv.reader(f, delimiter=',')
for row in reader:
@ -62,7 +60,7 @@ print(f'info: {idf_file}, {csv_file}, {eso_file}, {area}, {volume}, {obj_file}')
print('[simulation end]')
#except Exception as ex:
# print(ex)
# print('error: ', ex)
# print('[simulation abort]')
# print(ex)
# print('error: ', ex)
#print('[simulation abort]')
sys.stdout.flush()