Compare commits

...

3 Commits

Author SHA1 Message Date
01cd52b29e Change of minimal.idf to include monthly summary of data to be able to compare with MEP.
Commenting the EP-Workflow to solve the error given by the output reader. To be solved with Koa
2023-04-04 17:59:19 -04:00
e17578bcba Revision of infiltration parameters 2023-03-31 12:25:07 -04:00
4ea93230eb Changes hub to incorporate change of units in infiltration 2023-03-31 08:28:49 -04:00
9 changed files with 1075 additions and 45 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

@ -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

@ -0,0 +1,311 @@
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"id": 9526,
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-73.56037817321408,
45.57755455739698
],
[
-73.56032347284997,
45.5775361572679
],
[
-73.56031137337112,
45.5775311570373
],
[
-73.56026317330674,
45.57750815687598
],
[
-73.56026297275793,
45.57750795722649
],
[
-73.5602523733483,
45.577524556912806
],
[
-73.56017597324251,
45.577500456880614
],
[
-73.56017337330252,
45.57750445706512
],
[
-73.56015697326569,
45.57752955714341
],
[
-73.56011457292914,
45.57751595669612
],
[
-73.5600934730353,
45.57754835657147
],
[
-73.5596595717318,
45.57740905698245
],
[
-73.55965687196704,
45.57741305716689
],
[
-73.55962537231306,
45.577461056682466
],
[
-73.55958387219789,
45.57744765678399
],
[
-73.55957857159376,
45.57744595706532
],
[
-73.55944467243364,
45.57765675725358
],
[
-73.5594445717096,
45.57765685707835
],
[
-73.55948407173247,
45.577669657129036
],
[
-73.55940487203719,
45.57779035693949
],
[
-73.55953937194442,
45.57783385714686
],
[
-73.5595467715662,
45.577822656990065
],
[
-73.55979037182817,
45.57790145738642
],
[
-73.55977687210492,
45.57792215708196
],
[
-73.55973907180066,
45.577909857054294
],
[
-73.55973397174535,
45.577908456809894
],
[
-73.55968977186546,
45.57798675718317
],
[
-73.55965797183791,
45.57797795731693
],
[
-73.55965787201313,
45.57797805714165
],
[
-73.55963357233145,
45.578015857445905
],
[
-73.55966267169492,
45.578025056611125
],
[
-73.5595531720412,
45.57819585675344
],
[
-73.55955067192593,
45.578199657288394
],
[
-73.55969427207293,
45.578245656711715
],
[
-73.55970147204528,
45.57824795717755
],
[
-73.55990817312363,
45.57793315668988
],
[
-73.56008177285548,
45.57798935712316
],
[
-73.5601113731413,
45.577945956740564
],
[
-73.56037817321408,
45.57755455739698
]
]
],
[
[
[
-73.5593626722495,
45.577468457203565
],
[
-73.55935757219419,
45.57746655693609
],
[
-73.55929927184388,
45.57744455682092
],
[
-73.55927227239744,
45.57747985700985
],
[
-73.55933557207896,
45.57750375739255
],
[
-73.5593626722495,
45.577468457203565
]
]
],
[
[
[
-73.55925947234675,
45.57742965685321
],
[
-73.55925397209307,
45.57742815678404
],
[
-73.5592286723653,
45.57742095681175
],
[
-73.55920957166438,
45.577454356733256
],
[
-73.55920737192264,
45.57745815726821
],
[
-73.5592321716274,
45.57746455684389
],
[
-73.55923657201015,
45.57746605691307
],
[
-73.55925947234675,
45.57742965685321
]
]
]
]
},
"properties": {
"OBJECTID_12_13": 9526,
"ID_UEV": "02055359",
"CIVIQUE_DE": " 5750",
"CIVIQUE_FI": " 5750",
"NOM_RUE": "boulevard Rosemont (MTL)",
"SUITE_DEBU": " ",
"MUNICIPALI": "50",
"ETAGE_HORS": 0,
"NOMBRE_LOG": 0,
"ANNEE_CONS": 1923,
"CODE_UTILI": "6911",
"LETTRE_DEB": " ",
"LETTRE_FIN": " ",
"LIBELLE_UT": "\u00c3\u2030glise, synagogue, mosqu\u00c3\u00a9e et temple",
"CATEGORIE_": "R\u00c3\u00a9gulier",
"MATRICULE8": "0048-16-8416-5-000-0000",
"SUPERFICIE": 24793,
"SUPERFIC_1": 0,
"NO_ARROND_": "REM24",
"Shape_Leng": 0.00384776818364,
"OBJECTID": 9526,
"Join_Count": 3,
"TARGET_FID": 9526,
"feature_id": "5bfd7e8c-95aa-4782-9f2f-ed07d1dd2294",
"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": 2.1,
"heightmax": 12,
"elevmin": 38.08,
"elevmax": 38.57,
"bldgarea": 25,
"comment": " ",
"OBJECTID_1": 9526,
"Shape_Le_1": 0.00384776818364,
"Shape_Ar_1": 3.92694421841e-07,
"OBJECTID_12": 9526,
"Join_Count_1": 1,
"TARGET_FID_1": 9525,
"g_objectid": "1586794",
"g_co_mrc": "66023",
"g_code_mun": "66023",
"g_arrond": "REM24",
"g_anrole": "2019",
"g_usag_pre": "Institutionnel",
"g_no_lot": "1361698",
"g_nb_poly_": "1",
"g_utilisat": "6911",
"g_nb_logem": " ",
"g_nb_locau": "2",
"g_descript": "Unit\u00c3\u00a9 d'\u00c3\u00a9valuation",
"g_id_provi": "66023004816841650000000",
"g_sup_tota": "24792.9",
"g_geometry": "0.00743004",
"g_geomet_1": "2.85762e-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.00384776818364,
"Shape_Area_1": 3.92694421841e-07,
"Shape_Length": 0.0038477700316121004,
"Shape_Area": 3.92694421841e-07
}
}
]
}

90
main.py
View File

@ -10,56 +10,56 @@ from monthly_energy_balance_engine import MonthlyEnergyBalanceEngine
from sra_engine import SraEngine
try:
file_path = (Path(__file__).parent / 'input_files' / 'selected_building.geojson')
climate_reference_city = 'Montreal'
weather_file = 'CAN_PQ_Montreal.Intl.AP.716270_CWEC.epw'
weather_format = 'epw'
construction_format = 'nrcan'
usage_format = 'nrcan'
attic_heated_case = 0
basement_heated_case = 1
#try:
file_path = (Path(__file__).parent / 'input_files' / 'selected_building_1724.geojson')
climate_reference_city = 'Montreal'
weather_file = 'CAN_PQ_Montreal.Intl.AP.716270_CWEC.epw'
weather_format = 'epw'
construction_format = 'nrcan'
usage_format = 'nrcan'
attic_heated_case = 0
basement_heated_case = 1
out_path = (Path(__file__).parent / 'output_files')
tmp_folder = (Path(__file__).parent / 'tmp')
out_path = (Path(__file__).parent / 'output_files')
tmp_folder = (Path(__file__).parent / 'tmp')
print('[simulation start]')
city = GeometryFactory('geojson',
path=file_path,
height_field='building_height',
year_of_construction_field='ANNEE_CONS',
function_field='CODE_UTILI',
function_to_hub=Dictionaries().montreal_function_to_hub_function).city
city.climate_reference_city = climate_reference_city
city.climate_file = (tmp_folder / f'{climate_reference_city}.cli').resolve()
print(f'city created from {file_path}')
WeatherFactory(weather_format, city, file_name=weather_file).enrich()
print('enrich weather... done')
ConstructionFactory(construction_format, city).enrich()
print('enrich constructions... done')
UsageFactory(usage_format, city).enrich()
print('enrich usage... done')
print('[simulation start]')
city = GeometryFactory('geojson',
path=file_path,
height_field='heightmax',
year_of_construction_field='ANNEE_CONS',
function_field='CODE_UTILI',
function_to_hub=Dictionaries().montreal_function_to_hub_function).city
city.climate_reference_city = climate_reference_city
city.climate_file = (tmp_folder / f'{climate_reference_city}.cli').resolve()
print(f'city created from {file_path}')
WeatherFactory(weather_format, city, file_name=weather_file).enrich()
print('enrich weather... done')
ConstructionFactory(construction_format, city).enrich()
print('enrich constructions... done')
UsageFactory(usage_format, city).enrich()
print('enrich usage... done')
print('exporting:')
sra_file = (tmp_folder / f'{city.name}_sra.xml').resolve()
SraEngine(city, sra_file, tmp_folder, weather_file)
# Assign radiation to the city
print(' sra processed...')
print('exporting:')
sra_file = (tmp_folder / f'{city.name}_sra.xml').resolve()
SraEngine(city, sra_file, tmp_folder, weather_file)
# Assign radiation to the city
print(' sra processed...')
for building in city.buildings:
building.attic_heated = attic_heated_case
building.basement_heated = basement_heated_case
MonthlyEnergyBalanceEngine(city, tmp_folder)
print(' insel processed...')
for building in city.buildings:
building.attic_heated = attic_heated_case
building.basement_heated = basement_heated_case
MonthlyEnergyBalanceEngine(city, tmp_folder)
print(' insel processed...')
results = Results(city, out_path)
results.print()
results = Results(city, out_path)
results.print()
print('print results...')
print('print results...')
print('[simulation end]')
print('[simulation end]')
except Exception as ex:
print(ex)
print('error: ', ex)
print('[simulation abort]')
#except Exception as ex:
# print(ex)
# print('error: ', ex)
#print('[simulation abort]')

View File

@ -27,3 +27,4 @@ class MonthlyEnergyBalanceEngine:
subprocess.run(['insel', str(insel_file)], stdout=subprocess.DEVNULL)
except (SubprocessError, TimeoutExpired, CalledProcessError) as error:
raise Exception(error)