Compare commits
1 Commits
main
...
hadisversi
Author | SHA1 | Date | |
---|---|---|---|
|
1b4fcc3d94 |
@ -98,7 +98,7 @@ class NrcanCatalog(Catalog):
|
|||||||
domestic_hot_water_peak_flow = (
|
domestic_hot_water_peak_flow = (
|
||||||
space_type['service_water_heating_peak_flow_per_area'] *
|
space_type['service_water_heating_peak_flow_per_area'] *
|
||||||
cte.GALLONS_TO_QUBIC_METERS / cte.HOUR_TO_SECONDS
|
cte.GALLONS_TO_QUBIC_METERS / cte.HOUR_TO_SECONDS
|
||||||
)
|
) #m3/(s m2)
|
||||||
space_types_dictionary[usage_type] = {'occupancy_per_area': occupancy_density,
|
space_types_dictionary[usage_type] = {'occupancy_per_area': occupancy_density,
|
||||||
'lighting_per_area': lighting_density,
|
'lighting_per_area': lighting_density,
|
||||||
'electric_equipment_per_area': appliances_density,
|
'electric_equipment_per_area': appliances_density,
|
||||||
|
18
hub/data/construction/Changing names.py
Normal file
18
hub/data/construction/Changing names.py
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
import json
|
||||||
|
from pathlib import Path
|
||||||
|
from hub.catalog_factories.catalog import Catalog
|
||||||
|
from hub.catalog_factories.data_models.construction.content import Content
|
||||||
|
from hub.catalog_factories.construction.construction_helper import ConstructionHelper
|
||||||
|
from hub.catalog_factories.data_models.construction.construction import Construction
|
||||||
|
from hub.catalog_factories.data_models.construction.archetype import Archetype
|
||||||
|
from hub.catalog_factories.data_models.construction.window import Window
|
||||||
|
from hub.catalog_factories.data_models.construction.material import Material
|
||||||
|
from hub.catalog_factories.data_models.construction.layer import Layer
|
||||||
|
import hub.helpers.constants as cte
|
||||||
|
|
||||||
|
_path_constructions = (Path(__file__).parent / 'nrcan_constructions.json').resolve()
|
||||||
|
with open(_path_constructions, 'r', encoding='utf-8') as file:
|
||||||
|
_constructions = json.load(file)
|
||||||
|
|
||||||
|
for surface in _constructions['opaque_surfaces']:
|
||||||
|
print(surface.name)
|
@ -8378,6 +8378,7 @@ CA.10.08 Abitibi-Témiscamingue Abitibi-Temiscamingue 5881941
|
|||||||
CA.04.1306 Albert County Albert County 5883098
|
CA.04.1306 Albert County Albert County 5883098
|
||||||
CA.03.5883398 Alexander Alexander 5883398
|
CA.03.5883398 Alexander Alexander 5883398
|
||||||
CA.08.3557 Algoma Algoma 5883638
|
CA.08.3557 Algoma Algoma 5883638
|
||||||
|
CA.08.3558 Thunder Bay Thunder Bay
|
||||||
CA.03.5884145 Alonsa Alonsa 5884145
|
CA.03.5884145 Alonsa Alonsa 5884145
|
||||||
CA.07.1205 Annapolis County Annapolis County 5885415
|
CA.07.1205 Annapolis County Annapolis County 5885415
|
||||||
CA.07.1214 Antigonish County Antigonish County 5886183
|
CA.07.1214 Antigonish County Antigonish County 5886183
|
||||||
|
@ -58,7 +58,8 @@ class ConstructionHelper:
|
|||||||
'Boucherville': '6',
|
'Boucherville': '6',
|
||||||
'Mascouche': '6',
|
'Mascouche': '6',
|
||||||
'Saint-Leonard': '6',
|
'Saint-Leonard': '6',
|
||||||
'La Prairie': '6'
|
'La Prairie': '6',
|
||||||
|
'Thunder Bay': '7B'
|
||||||
}
|
}
|
||||||
|
|
||||||
_reference_city_to_israel_climate_zone = {
|
_reference_city_to_israel_climate_zone = {
|
||||||
|
@ -25,7 +25,8 @@ class Weather:
|
|||||||
'US.NY.047': 'https://energyplus-weather.s3.amazonaws.com/north_and_central_america_wmo_region_4/USA/NY/USA_NY_New.York.City-Central.Park.94728_TMY/USA_NY_New.York.City-Central.Park.94728_TMY.epw',
|
'US.NY.047': 'https://energyplus-weather.s3.amazonaws.com/north_and_central_america_wmo_region_4/USA/NY/USA_NY_New.York.City-Central.Park.94728_TMY/USA_NY_New.York.City-Central.Park.94728_TMY.epw',
|
||||||
'CA.10.12': 'https://energyplus-weather.s3.amazonaws.com/north_and_central_america_wmo_region_4/CAN/PQ/CAN_PQ_Quebec.717140_CWEC/CAN_PQ_Quebec.717140_CWEC.epw',
|
'CA.10.12': 'https://energyplus-weather.s3.amazonaws.com/north_and_central_america_wmo_region_4/CAN/PQ/CAN_PQ_Quebec.717140_CWEC/CAN_PQ_Quebec.717140_CWEC.epw',
|
||||||
'IL.01.': 'https://energyplus-weather.s3.amazonaws.com/europe_wmo_region_6/ISR/ISR_Eilat.401990_MSI/ISR_Eilat.401990_MSI.epw',
|
'IL.01.': 'https://energyplus-weather.s3.amazonaws.com/europe_wmo_region_6/ISR/ISR_Eilat.401990_MSI/ISR_Eilat.401990_MSI.epw',
|
||||||
'ES.07.PM': 'https://energyplus-weather.s3.amazonaws.com/europe_wmo_region_6/ESP/ESP_Palma.083060_SWEC/ESP_Palma.083060_SWEC.epw'
|
'ES.07.PM': 'https://energyplus-weather.s3.amazonaws.com/europe_wmo_region_6/ESP/ESP_Palma.083060_SWEC/ESP_Palma.083060_SWEC.epw',
|
||||||
|
'CA.10.17': 'https: //energyplus-weather.s3.amazonaws.com/north_and_central_america_wmo_region_4/CAN/ON/CAN_ON_Thunder.Bay.717490_CWEC.epw'
|
||||||
}
|
}
|
||||||
# todo: this dictionary need to be completed, a data science student task?
|
# todo: this dictionary need to be completed, a data science student task?
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user