nrcan_catalog_creator/configuration.py

221 lines
5.3 KiB
Python

from pathlib import Path
data_path = Path('./data/').resolve()
nrcan_urls = Path('./data/nrcan.xml')
output_path = Path('./output/').resolve()
transparent_surfaces_path = (output_path / 'transparent_surfaces.json').resolve()
opaque_surfaces_path = (output_path / 'opaque_surfaces.json').resolve()
nrcan_constructions = (output_path / 'nrcan_constructions.json').resolve()
nrcan_archetypes = (output_path / 'nrcan_archetypes.json').resolve()
null_transparent_ratio = {
"north": None,
"east": None,
"south": None,
"west": None
}
shgc_for_canadian_climate_zones = {'4': 0.39, '5': 0.39, '6': 0.39, '7A': 0.49, '7B': 0.49, '8': 0.41}
transparent_surfaces = ['Window', 'Skylight']
opaque_surfaces = ['Wall', 'RoofCeiling', 'Floor']
hdd_canadian_climate_zones = {'4': 2999,
'5': 3999,
'6': 4999,
'7A': 5999,
'7B': 6999,
'8': 10000
}
surface_types = {
"Floor": [
{
"Urea Formaldehyde Foam": 0.1,
"virtual_no_mass": 0,
"Cast Concrete": 0.1,
"Floor/Roof Screed": 0.07,
"Timber Flooring": 0.03
},
{
"Urea Formaldehyde Foam": 0.1,
"virtual_no_mass": 0,
"Cast Concrete": 0.1,
"Floor/Roof Screed": 0.07,
"Timber Flooring": 0.03
}
],
"RoofCeiling": [
{
"Asphalt 1": 0.01,
"virtual_no_mass": 0,
"MW Glass Wool (rolls)": 0.1,
"Plasterboard": 0.013
},
{
"Asphalt 1": 0.01,
"virtual_no_mass": 0,
"MW Glass Wool (rolls)": 0.1,
"Plasterboard": 0.013
}
],
"Wall": [
{
"Brickwork Outer": 0.1,
"virtual_no_mass": 0,
"XPS Extruded Polystyrene- CO2 Blowing": 0.0794,
"Concrete Block (Medium)": 0.1,
"Gypsum Plastering": 0.013
},
{
"Lightweight Metallic Cladding": 0.006,
"virtual_no_mass": 0,
"XPS Extruded Polystyrene- CO2 Blowing": 0.0877,
"Gypsum Plastering": 0.013
}
]
}
heavy_light = {'1000_1979': 0,
'1980_2010': 1,
'2011_2016': 1,
'2017_2019': 1,
'2020_3000': 1}
materials = {
"materials": [
{
"Urea Formaldehyde Foam": {
"no_mass": False,
"conductivity": 0.04,
"density": 10,
"specific_heat": 1400,
"thermal_emittance": 0.9,
"solar_absorptance": 0.6,
"visible_absorptance": 0.6
}
},
{
"Cast Concrete": {
"no_mass": False,
"conductivity": 1.13,
"density": 2000,
"specific_heat": 1000,
"thermal_emittance": 0.9,
"solar_absorptance": 0.6,
"visible_absorptance": 0.6
}
},
{
"Floor/Roof Screed": {
"no_mass": False,
"conductivity": 0.41,
"density": 1200,
"specific_heat": 840,
"thermal_emittance": 0.9,
"solar_absorptance": 0.73,
"visible_absorptance": 0.73
}
},
{
"Timber Flooring": {
"no_mass": False,
"conductivity": 0.14,
"density": 650,
"specific_heat": 1200,
"thermal_emittance": 0.9,
"solar_absorptance": 0.78,
"visible_absorptance": 0.78
}
},
{
"Asphalt 1": {
"no_mass": False,
"conductivity": 0.7,
"density": 2100,
"specific_heat": 1000,
"thermal_emittance": 0.9,
"solar_absorptance": 0.85,
"visible_absorptance": 0.9
}
},
{
"MW Glass Wool (rolls)": {
"no_mass": False,
"conductivity": 0.04,
"density": 12,
"specific_heat": 840,
"thermal_emittance": 0.9,
"solar_absorptance": 0.6,
"visible_absorptance": 0.6
}
},
{
"Plasterboard": {
"no_mass": False,
"conductivity": 0.25,
"density": 2800,
"specific_heat": 896,
"thermal_emittance": 0.9,
"solar_absorptance": 0.5,
"visible_absorptance": 0.5
}
},
{
"Brickwork Outer": {
"no_mass": False,
"conductivity": 0.84,
"density": 1700,
"specific_heat": 800,
"thermal_emittance": 0.9,
"solar_absorptance": 0.7,
"visible_absorptance": 0.7
}
},
{
"XPS Extruded Polystyrene- CO2 Blowing": {
"no_mass": False,
"conductivity": 0.034,
"density": 35,
"specific_heat": 1400,
"thermal_emittance": 0.9,
"solar_absorptance": 0.6,
"visible_absorptance": 0.6
}
},
{
"Concrete Block (Medium)": {
"no_mass": False,
"conductivity": 0.51,
"density": 1400,
"specific_heat": 1000,
"thermal_emittance": 0.9,
"solar_absorptance": 0.6,
"visible_absorptance": 0.6
}
},
{
"Gypsum Plastering": {
"no_mass": False,
"conductivity": 0.4,
"density": 1000,
"specific_heat": 1000,
"thermal_emittance": 0.9,
"solar_absorptance": 0.5,
"visible_absorptance": 0.5
}
},
{
"Lightweight Metallic Cladding": {
"no_mass": False,
"conductivity": 0.29,
"density": 1250,
"specific_heat": 1000,
"thermal_emittance": 0.9,
"solar_absorptance": 0.4,
"visible_absorptance": 0.4
}
}
]
}