mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
added missing file
This commit is contained in:
parent
1d3d9b3b01
commit
bbefbea8f0
1 changed files with 355 additions and 0 deletions
355
recommendations/tests/test_data/roof_uvalue_test_cases.py
Normal file
355
recommendations/tests/test_data/roof_uvalue_test_cases.py
Normal file
|
|
@ -0,0 +1,355 @@
|
|||
roof_uvalue_test_cases = [
|
||||
# Pitched roof
|
||||
{
|
||||
'insulation_thickness': '0',
|
||||
'is_loft': True,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': False,
|
||||
'is_pitched': True,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'A',
|
||||
'uvalue': 2.3,
|
||||
},
|
||||
{
|
||||
'insulation_thickness': '12',
|
||||
'is_loft': True,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': False,
|
||||
'is_pitched': True,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'A',
|
||||
'uvalue': 1.5
|
||||
},
|
||||
{
|
||||
'insulation_thickness': '25',
|
||||
'is_loft': True,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': False,
|
||||
'is_pitched': True,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'A',
|
||||
'uvalue': 1
|
||||
},
|
||||
{
|
||||
'insulation_thickness': '50',
|
||||
'is_loft': True,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': False,
|
||||
'is_pitched': True,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'A',
|
||||
'uvalue': 0.68
|
||||
},
|
||||
{
|
||||
'insulation_thickness': '75',
|
||||
'is_loft': True,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': False,
|
||||
'is_pitched': True,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'A',
|
||||
'uvalue': 0.5
|
||||
},
|
||||
{
|
||||
'insulation_thickness': '100',
|
||||
'is_loft': True,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': False,
|
||||
'is_pitched': True,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'A',
|
||||
'uvalue': 0.4
|
||||
},
|
||||
{
|
||||
'insulation_thickness': '150',
|
||||
'is_loft': True,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': False,
|
||||
'is_pitched': True,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'A',
|
||||
'uvalue': 0.3
|
||||
},
|
||||
{
|
||||
'insulation_thickness': '200',
|
||||
'is_loft': True,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': False,
|
||||
'is_pitched': True,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'A',
|
||||
'uvalue': 0.21
|
||||
},
|
||||
{
|
||||
'insulation_thickness': '250',
|
||||
'is_loft': True,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': False,
|
||||
'is_pitched': True,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'A',
|
||||
'uvalue': 0.17
|
||||
},
|
||||
{
|
||||
'insulation_thickness': '270',
|
||||
'is_loft': True,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': False,
|
||||
'is_pitched': True,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'A',
|
||||
'uvalue': 0.16
|
||||
},
|
||||
{
|
||||
'insulation_thickness': '300',
|
||||
'is_loft': True,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': False,
|
||||
'is_pitched': True,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'A',
|
||||
'uvalue': 0.14
|
||||
},
|
||||
{
|
||||
'insulation_thickness': '350',
|
||||
'is_loft': True,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': False,
|
||||
'is_pitched': True,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'A',
|
||||
'uvalue': 0.12
|
||||
},
|
||||
{
|
||||
'insulation_thickness': '400+',
|
||||
'is_loft': True,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': False,
|
||||
'is_pitched': True,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'A',
|
||||
'uvalue': 0.11
|
||||
},
|
||||
# Flat roofs - no insulation
|
||||
{
|
||||
'insulation_thickness': 'none',
|
||||
'is_loft': False,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': True,
|
||||
'is_pitched': False,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'B',
|
||||
'uvalue': 2.3
|
||||
},
|
||||
{
|
||||
'insulation_thickness': 'none',
|
||||
'is_loft': False,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': True,
|
||||
'is_pitched': False,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'D',
|
||||
'uvalue': 2.3
|
||||
},
|
||||
{
|
||||
'insulation_thickness': 'none',
|
||||
'is_loft': False,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': True,
|
||||
'is_pitched': False,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'E',
|
||||
'uvalue': 1.5
|
||||
},
|
||||
{
|
||||
'insulation_thickness': 'none',
|
||||
'is_loft': False,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': True,
|
||||
'is_pitched': False,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'F',
|
||||
'uvalue': 0.68
|
||||
},
|
||||
{
|
||||
'insulation_thickness': 'none',
|
||||
'is_loft': False,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': True,
|
||||
'is_pitched': False,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'G',
|
||||
'uvalue': 0.4
|
||||
},
|
||||
{
|
||||
'insulation_thickness': 'none',
|
||||
'is_loft': False,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': True,
|
||||
'is_pitched': False,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'H',
|
||||
'uvalue': 0.35
|
||||
},
|
||||
# Flat roofs - 50mm insulation
|
||||
{
|
||||
'insulation_thickness': '50',
|
||||
'is_loft': False,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': True,
|
||||
'is_pitched': False,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'B',
|
||||
'uvalue': 0.68
|
||||
},
|
||||
{
|
||||
'insulation_thickness': '50',
|
||||
'is_loft': False,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': True,
|
||||
'is_pitched': False,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'E',
|
||||
'uvalue': 0.68
|
||||
},
|
||||
{
|
||||
'insulation_thickness': '50',
|
||||
'is_loft': False,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': True,
|
||||
'is_pitched': False,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'G',
|
||||
'uvalue': 0.4
|
||||
},
|
||||
{
|
||||
'insulation_thickness': '50',
|
||||
'is_loft': False,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': True,
|
||||
'is_pitched': False,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'I',
|
||||
'uvalue': 0.35
|
||||
},
|
||||
# Flat roofs - 100mm insulation
|
||||
{
|
||||
'insulation_thickness': '100',
|
||||
'is_loft': False,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': True,
|
||||
'is_pitched': False,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'B',
|
||||
'uvalue': 0.4
|
||||
},
|
||||
{
|
||||
'insulation_thickness': '100',
|
||||
'is_loft': False,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': True,
|
||||
'is_pitched': False,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'F',
|
||||
'uvalue': 0.4
|
||||
},
|
||||
{
|
||||
'insulation_thickness': '100',
|
||||
'is_loft': False,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': True,
|
||||
'is_pitched': False,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'J',
|
||||
'uvalue': 0.25
|
||||
},
|
||||
# Flat roofs - 150mm insulation
|
||||
{
|
||||
'insulation_thickness': '150',
|
||||
'is_loft': False,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': True,
|
||||
'is_pitched': False,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'B',
|
||||
'uvalue': 0.3
|
||||
},
|
||||
{
|
||||
'insulation_thickness': '150',
|
||||
'is_loft': False,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': True,
|
||||
'is_pitched': False,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'J',
|
||||
'uvalue': 0.25
|
||||
},
|
||||
{
|
||||
'insulation_thickness': '150',
|
||||
'is_loft': False,
|
||||
'is_roof_room': False,
|
||||
'is_thatched': False,
|
||||
'has_dwelling_above': False,
|
||||
'is_flat': True,
|
||||
'is_pitched': False,
|
||||
'is_at_rafters': False,
|
||||
'age_band': 'L',
|
||||
'uvalue': 0.18
|
||||
},
|
||||
]
|
||||
Loading…
Add table
Reference in a new issue