194 lines
4.5 KiB
Python
194 lines
4.5 KiB
Python
|
from pathlib import Path
|
||
|
|
||
|
data_path = Path('./data/').resolve()
|
||
|
nrcan_urls = Path('./data/nrcan.xml')
|
||
|
output_path = Path('./output/').resolve()
|
||
|
|
||
|
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
|
||
|
}
|
||
|
|
||
|
heavy_light = {'1000_1979': 0,
|
||
|
'1980_2010': 1,
|
||
|
'2011_2016': 1,
|
||
|
'2017_2019': 1,
|
||
|
'2020_3000': 1}
|
||
|
surface_types = {
|
||
|
"Floor": [
|
||
|
{
|
||
|
"Urea Formaldehyde Foam": 0.1,
|
||
|
"Cast Concrete": 0.1,
|
||
|
"Floor/Roof Screed": 0.07,
|
||
|
"Timber Flooring": 0.03
|
||
|
},
|
||
|
{
|
||
|
"Urea Formaldehyde Foam": 0.1,
|
||
|
"Cast Concrete": 0.1,
|
||
|
"Floor/Roof Screed": 0.07,
|
||
|
"Timber Flooring": 0.03
|
||
|
}
|
||
|
],
|
||
|
"RoofCeiling": [
|
||
|
{
|
||
|
"Asphalt 1": 0.01,
|
||
|
"MW Glass Wool (rolls)": 0.1,
|
||
|
"3_RVAL_3": 0,
|
||
|
"Plasterboard": 0.013
|
||
|
},
|
||
|
{
|
||
|
"Asphalt 1": 0.01,
|
||
|
"MW Glass Wool (rolls)": 0.1,
|
||
|
"3_RVAL_3": 0,
|
||
|
"Plasterboard": 0.013
|
||
|
}
|
||
|
],
|
||
|
"Wall": [
|
||
|
{
|
||
|
"Brickwork Outer": 0.1,
|
||
|
"XPS Extruded Polystyrene - CO2 Blowing": 0.0794,
|
||
|
"Concrete Block (Medium)": 0.1,
|
||
|
"Gypsum Plastering": 0.013
|
||
|
},
|
||
|
{
|
||
|
"Lightweight Metallic Cladding": 0.006,
|
||
|
"XPS Extruded Polystyrene - CO2 Blowing": 0.0877,
|
||
|
"Gypsum Plasterboard": 0.013
|
||
|
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
|
||
|
materials = {
|
||
|
"materials": [
|
||
|
{
|
||
|
"Urea Formaldehyde Foam": {
|
||
|
"conductivity": 0.04,
|
||
|
"density": 10,
|
||
|
"specific_heat": 1400,
|
||
|
"thermal_emittance": 0.9,
|
||
|
"solar_absorptance": 0.6,
|
||
|
"visible_absorptance": 0.6
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"Cast Concrete": {
|
||
|
"conductivity": 1.13,
|
||
|
"density": 2000,
|
||
|
"specific_heat": 1000,
|
||
|
"thermal_emittance": 0.9,
|
||
|
"solar_absorptance": 0.6,
|
||
|
"visible_absorptance": 0.6
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"Floor/Roof Screed": {
|
||
|
"conductivity": 0.41,
|
||
|
"density": 1200,
|
||
|
"specific_heat": 840,
|
||
|
"thermal_emittance": 0.9,
|
||
|
"solar_absorptance": 0.73,
|
||
|
"visible_absorptance": 0.73
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"Timber Flooring": {
|
||
|
"conductivity": 0.14,
|
||
|
"density": 650,
|
||
|
"specific_heat": 1200,
|
||
|
"thermal_emittance": 0.9,
|
||
|
"solar_absorptance": 0.78,
|
||
|
"visible_absorptance": 0.78
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"Asphalt 1": {
|
||
|
"conductivity": 0.7,
|
||
|
"density": 2100,
|
||
|
"specific_heat": 1000,
|
||
|
"thermal_emittance": 0.9,
|
||
|
"solar_absorptance": 0.85,
|
||
|
"visible_absorptance": 0.9
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"MW Glass Wool (rolls)": {
|
||
|
"conductivity": 0.04,
|
||
|
"density": 12,
|
||
|
"specific_heat": 840,
|
||
|
"thermal_emittance": 0.9,
|
||
|
"solar_absorptance": 0.6,
|
||
|
"visible_absorptance": 0.6
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"Plasterboard": {
|
||
|
"conductivity": 0.25,
|
||
|
"density": 2800,
|
||
|
"specific_heat": 896,
|
||
|
"thermal_emittance": 0.9,
|
||
|
"solar_absorptance": 0.5,
|
||
|
"visible_absorptance": 0.5
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"Brickwork Outer": {
|
||
|
"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": {
|
||
|
"conductivity": 0.034,
|
||
|
"density": 35,
|
||
|
"specific_heat": 1400,
|
||
|
"thermal_emittance": 0.9,
|
||
|
"solar_absorptance": 0.6,
|
||
|
"visible_absorptance": 0.6
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"Concrete Block (Medium)": {
|
||
|
"conductivity": 0.51,
|
||
|
"density": 1400,
|
||
|
"specific_heat": 1000,
|
||
|
"thermal_emittance": 0.9,
|
||
|
"solar_absorptance": 0.6,
|
||
|
"visible_absorptance": 0.6
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"Gypsum Plastering": {
|
||
|
"conductivity": 0.4,
|
||
|
"density": 1000,
|
||
|
"specific_heat": 1000,
|
||
|
"thermal_emittance": 0.9,
|
||
|
"solar_absorptance": 0.5,
|
||
|
"visible_absorptance": 0.5
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"Lightweight Metallic Cladding": {
|
||
|
"conductivity": 0.29,
|
||
|
"density": 1250,
|
||
|
"specific_heat": 1000,
|
||
|
"thermal_emittance": 0.9,
|
||
|
"solar_absorptance": 0.4,
|
||
|
"visible_absorptance": 0.4
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|