mabuseif commited on
Commit
2884b2a
·
verified ·
1 Parent(s): e8a4df2

Update data/material_library.py

Browse files
Files changed (1) hide show
  1. data/material_library.py +101 -81
data/material_library.py CHANGED
@@ -1,5 +1,6 @@
1
  """
2
  Material Library for HVAC Load Calculator
 
3
  Updated 2025-05-17: Removed original materials and constructions, deleted ASHRAE materials starting with 'R' followed by number (e.g., R01, R25), verified constructions use valid materials.
4
  Updated 2025-05-17: Added all materials and constructions from ASHRAE_2005_HOF_Materials.idf with Australian-specific embodied carbon and prices.
5
  Updated 2025-05-17: Added GlazingMaterial and DoorMaterial classes, included library_glazing_materials and library_door_materials with comprehensive data.
@@ -31,7 +32,7 @@ class ThermalMass(Enum):
31
  class Material:
32
  def __init__(self, name: str, category: MaterialCategory, conductivity: float, density: float,
33
  specific_heat: float, default_thickness: float, embodied_carbon: float,
34
- solar_absorption: float, price: float, is_library: bool = True):
35
  self.name = name
36
  self.category = category
37
  self.conductivity = max(0.01, conductivity) # W/m·K
@@ -41,6 +42,7 @@ class Material:
41
  self.embodied_carbon = max(0.0, embodied_carbon) # kgCO₂e/kg
42
  self.solar_absorption = min(max(0.0, solar_absorption), 1.0)
43
  self.price = max(0.0, price) # USD/m²
 
44
  self.is_library = is_library
45
 
46
  def get_thermal_mass(self) -> ThermalMass:
@@ -57,21 +59,30 @@ class Material:
57
  return self.conductivity / self.default_thickness if self.default_thickness > 0 else 0.1
58
 
59
  class GlazingMaterial:
60
- def __init__(self, name: str, u_value: float, shgc: float, embodied_carbon: float, price: float, is_library: bool = True):
61
  self.name = name
62
  self.u_value = max(0.1, u_value) # W/m²·K
63
  self.shgc = min(max(0.0, shgc), 1.0) # Solar Heat Gain Coefficient
64
  self.embodied_carbon = max(0.0, embodied_carbon) # kgCO₂e/m²
65
  self.price = max(0.0, price) # USD/m²
 
66
  self.is_library = is_library
67
 
68
  class DoorMaterial:
69
- def __init__(self, name: str, u_value: float, solar_absorption: float, embodied_carbon: float, price: float, is_library: bool = True):
 
 
70
  self.name = name
 
 
 
 
 
71
  self.u_value = max(0.1, u_value) # W/m²·K
72
  self.solar_absorption = min(max(0.0, solar_absorption), 1.0)
73
  self.embodied_carbon = max(0.0, embodied_carbon) # kgCO₂e/m²
74
  self.price = max(0.0, price) # USD/m²
 
75
  self.is_library = is_library
76
 
77
  class Construction:
@@ -121,95 +132,95 @@ class MaterialLibrary:
121
  def initialize_materials(self) -> Dict[str, Material]:
122
  materials = [
123
  # ASHRAE 2005 HOF Materials (excluding 'R'-prefixed materials)
124
- Material("F04 Wall air space resistance", MaterialCategory.INSULATION, 0.01, 1.0, 1000.0, 0.01, 0.01, 0.5, 0.5),
125
- Material("F05 Ceiling air space resistance", MaterialCategory.INSULATION, 0.01, 1.0, 1000.0, 0.01, 0.01, 0.5, 0.5),
126
- Material("F06 EIFS finish", MaterialCategory.FINISHING_MATERIALS, 0.72, 1856.0, 840.0, 0.0095, 0.3, 0.5, 17.6),
127
- Material("F07 25mm stucco", MaterialCategory.FINISHING_MATERIALS, 0.72, 1856.0, 840.0, 0.0254, 0.2, 0.6, 14.1),
128
- Material("F08 Metal surface", MaterialCategory.SUB_STRUCTURAL_MATERIALS, 45.28, 7824.0, 500.0, 0.001, 2.2, 0.7, 25.0),
129
- Material("F09 25mm cement plaster", MaterialCategory.FINISHING_MATERIALS, 0.72, 1856.0, 840.0, 0.0254, 0.2, 0.6, 14.1),
130
- Material("F10 13mm gypsum board", MaterialCategory.FINISHING_MATERIALS, 0.16, 800.0, 1090.0, 0.0127, 0.25, 0.4, 5.1),
131
- Material("F11 16mm gypsum board", MaterialCategory.FINISHING_MATERIALS, 0.16, 800.0, 1090.0, 0.0159, 0.25, 0.4, 6.4),
132
- Material("F12 19mm gypsum board", MaterialCategory.FINISHING_MATERIALS, 0.16, 800.0, 1090.0, 0.0191, 0.25, 0.4, 7.6),
133
- Material("F13 13mm cement plaster", MaterialCategory.FINISHING_MATERIALS, 0.72, 1856.0, 840.0, 0.0127, 0.2, 0.6, 7.1),
134
- Material("F14 13mm lime plaster", MaterialCategory.FINISHING_MATERIALS, 0.72, 1600.0, 840.0, 0.0127, 0.2, 0.5, 6.1),
135
- Material("F15 22mm cement plaster", MaterialCategory.FINISHING_MATERIALS, 0.72, 1856.0, 840.0, 0.0222, 0.2, 0.6, 12.4),
136
- Material("F16 Acoustic tile", MaterialCategory.FINISHING_MATERIALS, 0.06, 368.0, 590.0, 0.0191, 1.0, 0.4, 14.0),
137
- Material("F17 13mm slag", MaterialCategory.FINISHING_MATERIALS, 0.16, 960.0, 1090.0, 0.0127, 0.2, 0.5, 1.0),
138
- Material("F18 25mm slag", MaterialCategory.FINISHING_MATERIALS, 0.16, 960.0, 1090.0, 0.0254, 0.2, 0.5, 1.9),
139
- Material("G01 13mm gypsum board", MaterialCategory.FINISHING_MATERIALS, 0.16, 800.0, 1090.0, 0.0127, 0.25, 0.4, 5.1),
140
- Material("G01a 19mm gypsum board", MaterialCategory.FINISHING_MATERIALS, 0.16, 800.0, 1090.0, 0.0191, 0.25, 0.4, 7.6),
141
- Material("G02 25mm cement plaster", MaterialCategory.FINISHING_MATERIALS, 0.72, 1856.0, 840.0, 0.0254, 0.2, 0.6, 14.1),
142
- Material("G03 13mm lime plaster", MaterialCategory.FINISHING_MATERIALS, 0.72, 1600.0, 840.0, 0.0127, 0.25, 0.5, 6.1),
143
- Material("G04 13mm cement plaster", MaterialCategory.FINISHING_MATERIALS, 0.72, 1856.0, 840.0, 0.0127, 0.2, 0.6, 7.1),
144
- Material("G05 25mm wood", MaterialCategory.SUB_STRUCTURAL_MATERIALS, 0.15, 608.0, 1630.0, 0.0254, 0.3, 0.5, 15.4),
145
- Material("G06 19mm wood", MaterialCategory.SUB_STRUCTURAL_MATERIALS, 0.15, 608.0, 1630.0, 0.0191, 0.3, 0.5, 11.6),
146
- Material("I01 25mm insulation board", MaterialCategory.INSULATION, 0.03, 43.0, 1210.0, 0.0254, 2.5, 0.5, 1.1),
147
- Material("I02 50mm insulation board", MaterialCategory.INSULATION, 0.03, 43.0, 1210.0, 0.0508, 2.5, 0.5, 2.2),
148
- Material("I03 75mm insulation board", MaterialCategory.INSULATION, 0.03, 43.0, 1210.0, 0.0762, 2.5, 0.5, 3.3),
149
- Material("M01 100mm brick", MaterialCategory.STRUCTURAL_MATERIALS, 0.89, 1920.0, 790.0, 0.1016, 0.3, 0.7, 19.5),
150
- Material("M02 100mm face brick", MaterialCategory.STRUCTURAL_MATERIALS, 1.33, 2000.0, 790.0, 0.1016, 0.3, 0.7, 20.3),
151
- Material("M03 150mm brick", MaterialCategory.STRUCTURAL_MATERIALS, 0.89, 1920.0, 790.0, 0.1524, 0.3, 0.7, 29.3),
152
- Material("M04 200mm concrete block", MaterialCategory.STRUCTURAL_MATERIALS, 0.51, 800.0, 920.0, 0.2032, 0.2, 0.65, 13.0),
153
- Material("M05 200mm concrete block", MaterialCategory.STRUCTURAL_MATERIALS, 1.11, 1280.0, 920.0, 0.2032, 0.2, 0.65, 20.8),
154
- Material("M06 150mm concrete block", MaterialCategory.STRUCTURAL_MATERIALS, 0.51, 800.0, 920.0, 0.1524, 0.2, 0.65, 9.8),
155
- Material("M07 100mm concrete block", MaterialCategory.STRUCTURAL_MATERIALS, 0.51, 800.0, 920.0, 0.1016, 0.2, 0.65, 6.5),
156
- Material("M08 150mm concrete block", MaterialCategory.STRUCTURAL_MATERIALS, 1.11, 1280.0, 920.0, 0.1524, 0.2, 0.65, 15.6),
157
- Material("M09 100mm concrete block", MaterialCategory.STRUCTURAL_MATERIALS, 1.11, 1280.0, 920.0, 0.1016, 0.2, 0.65, 10.4),
158
- Material("M10 100mm lightweight concrete", MaterialCategory.STRUCTURAL_MATERIALS, 0.53, 1280.0, 840.0, 0.1016, 0.15, 0.65, 7.8),
159
- Material("M11 100mm lightweight concrete", MaterialCategory.STRUCTURAL_MATERIALS, 0.53, 1280.0, 840.0, 0.1016, 0.15, 0.65, 7.8),
160
- Material("M12 150mm lightweight concrete", MaterialCategory.STRUCTURAL_MATERIALS, 0.53, 1280.0, 840.0, 0.1524, 0.15, 0.65, 11.7),
161
- Material("M13 200mm lightweight concrete", MaterialCategory.STRUCTURAL_MATERIALS, 0.53, 1280.0, 840.0, 0.2032, 0.15, 0.65, 15.6),
162
- Material("M14 100mm heavyweight concrete", MaterialCategory.STRUCTURAL_MATERIALS, 1.95, 2240.0, 900.0, 0.1016, 0.2, 0.65, 18.2),
163
- Material("M14a 100mm heavyweight concrete", MaterialCategory.STRUCTURAL_MATERIALS, 1.95, 2240.0, 900.0, 0.1016, 0.2, 0.65, 18.2),
164
- Material("M15 200mm heavyweight concrete", MaterialCategory.STRUCTURAL_MATERIALS, 1.95, 2240.0, 900.0, 0.2032, 0.2, 0.65, 36.4),
165
- Material("M16 300mm heavyweight concrete", MaterialCategory.STRUCTURAL_MATERIALS, 1.95, 2240.0, 900.0, 0.3048, 0.2, 0.65, 54.6),
166
- Material("M17 100mm stone", MaterialCategory.STRUCTURAL_MATERIALS, 2.10, 2240.0, 880.0, 0.1016, 0.2, 0.7, 22.8),
167
- Material("M18 150mm stone", MaterialCategory.STRUCTURAL_MATERIALS, 2.10, 2240.0, 880.0, 0.1524, 0.2, 0.7, 34.1),
168
- Material("M19 100mm limestone", MaterialCategory.STRUCTURAL_MATERIALS, 1.80, 2320.0, 880.0, 0.1016, 0.2, 0.6, 23.6),
169
- Material("M20 150mm limestone", MaterialCategory.STRUCTURAL_MATERIALS, 1.80, 2320.0, 880.0, 0.1524, 0.2, 0.6, 35.4),
170
- Material("M21 200mm limestone", MaterialCategory.STRUCTURAL_MATERIALS, 1.80, 2320.0, 880.0, 0.2032, 0.2, 0.6, 47.1),
171
- Material("M22 100mm granite", MaterialCategory.STRUCTURAL_MATERIALS, 2.80, 2640.0, 880.0, 0.1016, 0.2, 0.7, 26.8),
172
- Material("M23 150mm granite", MaterialCategory.STRUCTURAL_MATERIALS, 2.80, 2640.0, 880.0, 0.1524, 0.2, 0.7, 40.2),
173
- Material("M24 200mm granite", MaterialCategory.STRUCTURAL_MATERIALS, 2.80, 2640.0, 880.0, 0.2032, 0.2, 0.7, 53.6),
174
- Material("M25 100mm marble", MaterialCategory.STRUCTURAL_MATERIALS, 2.50, 2720.0, 880.0, 0.1016, 0.2, 0.6, 27.6),
175
- Material("M26 150mm marble", MaterialCategory.STRUCTURAL_MATERIALS, 2.50, 2720.0, 880.0, 0.1524, 0.2, 0.6, 41.4),
176
- Material("M27 200mm marble", MaterialCategory.STRUCTURAL_MATERIALS, 2.50, 2720.0, 880.0, 0.2032, 0.2, 0.6, 55.3),
177
  ]
178
  return {mat.name: mat for mat in materials}
179
 
180
  def initialize_glazing_materials(self) -> Dict[str, GlazingMaterial]:
181
  glazing_materials = [
182
  # ASHRAE-based glazing materials with Australian pricing
183
- GlazingMaterial("Single Clear 3mm", 5.8, 0.81, 25.0, 50.0), # High U-value, high SHGC
184
- GlazingMaterial("Single Clear 6mm", 5.7, 0.78, 28.0, 60.0), # Slightly lower SHGC
185
- GlazingMaterial("Single Tinted 6mm", 5.7, 0.55, 30.0, 70.0), # Reduced SHGC for solar control
186
- GlazingMaterial("Double Clear 6mm/13mm Air", 2.7, 0.70, 40.0, 100.0), # Improved insulation
187
- GlazingMaterial("Double Low-E 6mm/13mm Air", 1.8, 0.60, 45.0, 120.0), # Low-E coating
188
- GlazingMaterial("Double Tinted 6mm/13mm Air", 2.7, 0.45, 42.0, 110.0), # Tinted for solar control
189
- GlazingMaterial("Double Low-E 6mm/13mm Argon", 1.5, 0.55, 48.0, 130.0), # Argon-filled, better U-value
190
- GlazingMaterial("Triple Clear 4mm/12mm Air", 1.8, 0.62, 55.0, 150.0), # Triple glazing
191
- GlazingMaterial("Triple Low-E 4mm/12mm Argon", 0.9, 0.50, 60.0, 180.0), # High-performance
192
- GlazingMaterial("Single Low-E Reflective 6mm", 5.6, 0.35, 35.0, 90.0), # Reflective coating
193
- GlazingMaterial("Double Reflective 6mm/13mm Air", 2.5, 0.30, 50.0, 140.0), # Low SHGC
194
- GlazingMaterial("Electrochromic 6mm/13mm Air", 2.0, 0.40, 70.0, 200.0), # Dynamic glazing
195
  ]
196
  return {mat.name: mat for mat in glazing_materials}
197
 
198
  def initialize_door_materials(self) -> Dict[str, DoorMaterial]:
199
  door_materials = [
200
- # Door materials with ASHRAE-based properties and Australian pricing
201
- DoorMaterial("Solid Wood 45mm", 2.5, 0.50, 15.0, 200.0), # Standard wooden door
202
- DoorMaterial("Insulated Wood 50mm", 1.8, 0.45, 18.0, 250.0), # Better insulation
203
- DoorMaterial("Hollow Core Wood 40mm", 3.5, 0.50, 12.0, 150.0), # Less insulation
204
- DoorMaterial("Steel Uninsulated 45mm", 5.0, 0.70, 20.0, 180.0), # High U-value
205
- DoorMaterial("Steel Insulated 50mm", 2.0, 0.65, 25.0, 220.0), # Foam-insulated
206
- DoorMaterial("Aluminum Uninsulated 45mm", 6.0, 0.75, 22.0, 200.0), # Poor insulation
207
- DoorMaterial("Aluminum Insulated 50mm", 2.5, 0.70, 28.0, 240.0), # Thermal break
208
- DoorMaterial("Glass Single 6mm", 5.7, 0.78, 28.0, 100.0), # Same as single glazing
209
- DoorMaterial("Glass Double 6mm/13mm Air", 2.7, 0.70, 40.0, 150.0), # Double-glazed door
210
- DoorMaterial("Fiberglass Insulated 50mm", 1.5, 0.60, 20.0, 230.0), # High performance
211
- DoorMaterial("PVC Insulated 50mm", 1.7, 0.55, 18.0, 210.0), # Durable, insulated
212
- DoorMaterial("Wood with Glass Insert", 3.0, 0.65, 16.0, 190.0), # Mixed properties
213
  ]
214
  return {mat.name: mat for mat in door_materials}
215
 
@@ -343,6 +354,7 @@ class MaterialLibrary:
343
  comp.glazing_material = new_material
344
  comp.u_value = new_material.u_value
345
  comp.shgc = new_material.shgc
 
346
  project_glazing_materials.pop(old_name)
347
  project_glazing_materials[new_material.name] = new_material
348
  return True, f"Glazing material '{old_name}' updated to '{new_material.name}'."
@@ -454,6 +466,7 @@ class MaterialLibrary:
454
  "Embodied Carbon (kgCO₂e/kg)": mat.embodied_carbon,
455
  "Solar Absorption": mat.solar_absorption,
456
  "Price (USD/m²)": mat.price,
 
457
  "Source": "Project" if not mat.is_library else "Library"
458
  })
459
  return pd.DataFrame(data)
@@ -486,6 +499,7 @@ class MaterialLibrary:
486
  "SHGC": mat.shgc,
487
  "Embodied Carbon (kgCO₂e/m²)": mat.embodied_carbon,
488
  "Price (USD/m²)": mat.price,
 
489
  "Source": "Project" if not mat.is_library else "Library"
490
  })
491
  return pd.DataFrame(data)
@@ -495,10 +509,16 @@ class MaterialLibrary:
495
  for mat in door_materials:
496
  data.append({
497
  "Name": mat.name,
 
 
 
 
 
498
  "U-Value (W/m²·K)": mat.u_value,
499
  "Solar Absorption": mat.solar_absorption,
500
  "Embodied Carbon (kgCO₂e/m²)": mat.embodied_carbon,
501
  "Price (USD/m²)": mat.price,
 
502
  "Source": "Project" if not mat.is_library else "Library"
503
  })
504
  return pd.DataFrame(data)
 
1
  """
2
  Material Library for HVAC Load Calculator
3
+ Updated 2025-05-26: Added emissivity to Material, h_o to GlazingMaterial, and expanded DoorMaterial to include all Material properties plus emissivity. Assigned values based on provided data and inferred for doors.
4
  Updated 2025-05-17: Removed original materials and constructions, deleted ASHRAE materials starting with 'R' followed by number (e.g., R01, R25), verified constructions use valid materials.
5
  Updated 2025-05-17: Added all materials and constructions from ASHRAE_2005_HOF_Materials.idf with Australian-specific embodied carbon and prices.
6
  Updated 2025-05-17: Added GlazingMaterial and DoorMaterial classes, included library_glazing_materials and library_door_materials with comprehensive data.
 
32
  class Material:
33
  def __init__(self, name: str, category: MaterialCategory, conductivity: float, density: float,
34
  specific_heat: float, default_thickness: float, embodied_carbon: float,
35
+ solar_absorption: float, price: float, emissivity: float, is_library: bool = True):
36
  self.name = name
37
  self.category = category
38
  self.conductivity = max(0.01, conductivity) # W/m·K
 
42
  self.embodied_carbon = max(0.0, embodied_carbon) # kgCO₂e/kg
43
  self.solar_absorption = min(max(0.0, solar_absorption), 1.0)
44
  self.price = max(0.0, price) # USD/m²
45
+ self.emissivity = min(max(0.0, emissivity), 1.0) # Dimensionless
46
  self.is_library = is_library
47
 
48
  def get_thermal_mass(self) -> ThermalMass:
 
59
  return self.conductivity / self.default_thickness if self.default_thickness > 0 else 0.1
60
 
61
  class GlazingMaterial:
62
+ def __init__(self, name: str, u_value: float, shgc: float, embodied_carbon: float, price: float, h_o: float, is_library: bool = True):
63
  self.name = name
64
  self.u_value = max(0.1, u_value) # W/m²·K
65
  self.shgc = min(max(0.0, shgc), 1.0) # Solar Heat Gain Coefficient
66
  self.embodied_carbon = max(0.0, embodied_carbon) # kgCO₂e/m²
67
  self.price = max(0.0, price) # USD/m²
68
+ self.h_o = max(0.0, h_o) # W/m²·K, exterior convective heat transfer coefficient
69
  self.is_library = is_library
70
 
71
  class DoorMaterial:
72
+ def __init__(self, name: str, category: MaterialCategory, conductivity: float, density: float,
73
+ specific_heat: float, default_thickness: float, u_value: float, solar_absorption: float,
74
+ embodied_carbon: float, price: float, emissivity: float, is_library: bool = True):
75
  self.name = name
76
+ self.category = category
77
+ self.conductivity = max(0.01, conductivity) # W/m·K
78
+ self.density = max(1.0, density) # kg/m³
79
+ self.specific_heat = max(100.0, specific_heat) # J/kg·K
80
+ self.default_thickness = max(0.01, default_thickness) # m
81
  self.u_value = max(0.1, u_value) # W/m²·K
82
  self.solar_absorption = min(max(0.0, solar_absorption), 1.0)
83
  self.embodied_carbon = max(0.0, embodied_carbon) # kgCO₂e/m²
84
  self.price = max(0.0, price) # USD/m²
85
+ self.emissivity = min(max(0.0, emissivity), 1.0) # Dimensionless
86
  self.is_library = is_library
87
 
88
  class Construction:
 
132
  def initialize_materials(self) -> Dict[str, Material]:
133
  materials = [
134
  # ASHRAE 2005 HOF Materials (excluding 'R'-prefixed materials)
135
+ Material("F04 Wall air space resistance", MaterialCategory.INSULATION, 0.01, 1.0, 1000.0, 0.01, 0.01, 0.5, 0.5, 0.925),
136
+ Material("F05 Ceiling air space resistance", MaterialCategory.INSULATION, 0.01, 1.0, 1000.0, 0.01, 0.01, 0.5, 0.5, 0.925),
137
+ Material("F06 EIFS finish", MaterialCategory.FINISHING_MATERIALS, 0.72, 1856.0, 840.0, 0.0095, 0.3, 0.5, 17.6, 0.925),
138
+ Material("F07 25mm stucco", MaterialCategory.FINISHING_MATERIALS, 0.72, 1856.0, 840.0, 0.0254, 0.2, 0.6, 14.1, 0.91),
139
+ Material("F08 Metal surface", MaterialCategory.SUB_STRUCTURAL_MATERIALS, 45.28, 7824.0, 500.0, 0.001, 2.2, 0.7, 25.0, 0.075),
140
+ Material("F09 25mm cement plaster", MaterialCategory.FINISHING_MATERIALS, 0.72, 1856.0, 840.0, 0.0254, 0.2, 0.6, 14.1, 0.91),
141
+ Material("F10 13mm gypsum board", MaterialCategory.FINISHING_MATERIALS, 0.16, 800.0, 1090.0, 0.0127, 0.25, 0.4, 5.1, 0.925),
142
+ Material("F11 16mm gypsum board", MaterialCategory.FINISHING_MATERIALS, 0.16, 800.0, 1090.0, 0.0159, 0.25, 0.4, 6.4, 0.925),
143
+ Material("F12 19mm gypsum board", MaterialCategory.FINISHING_MATERIALS, 0.16, 800.0, 1090.0, 0.0191, 0.25, 0.4, 7.6, 0.925),
144
+ Material("F13 13mm cement plaster", MaterialCategory.FINISHING_MATERIALS, 0.72, 1856.0, 840.0, 0.0127, 0.2, 0.6, 7.1, 0.91),
145
+ Material("F14 13mm lime plaster", MaterialCategory.FINISHING_MATERIALS, 0.72, 1600.0, 840.0, 0.0127, 0.2, 0.5, 6.1, 0.90),
146
+ Material("F15 22mm cement plaster", MaterialCategory.FINISHING_MATERIALS, 0.72, 1856.0, 840.0, 0.0222, 0.2, 0.6, 12.4, 0.91),
147
+ Material("F16 Acoustic tile", MaterialCategory.FINISHING_MATERIALS, 0.06, 368.0, 590.0, 0.0191, 1.0, 0.4, 14.0, 0.925),
148
+ Material("F17 13mm slag", MaterialCategory.FINISHING_MATERIALS, 0.16, 960.0, 1090.0, 0.0127, 0.2, 0.5, 1.0, 0.925),
149
+ Material("F18 25mm slag", MaterialCategory.FINISHING_MATERIALS, 0.16, 960.0, 1090.0, 0.0254, 0.2, 0.5, 1.9, 0.925),
150
+ Material("G01 13mm gypsum board", MaterialCategory.FINISHING_MATERIALS, 0.16, 800.0, 1090.0, 0.0127, 0.25, 0.4, 5.1, 0.925),
151
+ Material("G01a 19mm gypsum board", MaterialCategory.FINISHING_MATERIALS, 0.16, 800.0, 1090.0, 0.0191, 0.25, 0.4, 7.6, 0.925),
152
+ Material("G02 25mm cement plaster", MaterialCategory.FINISHING_MATERIALS, 0.72, 1856.0, 840.0, 0.0254, 0.2, 0.6, 14.1, 0.91),
153
+ Material("G03 13mm lime plaster", MaterialCategory.FINISHING_MATERIALS, 0.72, 1600.0, 840.0, 0.0127, 0.25, 0.5, 6.1, 0.90),
154
+ Material("G04 13mm cement plaster", MaterialCategory.FINISHING_MATERIALS, 0.72, 1856.0, 840.0, 0.0127, 0.2, 0.6, 7.1, 0.91),
155
+ Material("G05 25mm wood", MaterialCategory.SUB_STRUCTURAL_MATERIALS, 0.15, 608.0, 1630.0, 0.0254, 0.3, 0.5, 15.4, 0.925),
156
+ Material("G06 19mm wood", MaterialCategory.SUB_STRUCTURAL_MATERIALS, 0.15, 608.0, 1630.0, 0.0191, 0.3, 0.5, 11.6, 0.925),
157
+ Material("I01 25mm insulation board", MaterialCategory.INSULATION, 0.03, 43.0, 1210.0, 0.0254, 2.5, 0.5, 1.1, 0.925),
158
+ Material("I02 50mm insulation board", MaterialCategory.INSULATION, 0.03, 43.0, 1210.0, 0.0508, 2.5, 0.5, 2.2, 0.925),
159
+ Material("I03 75mm insulation board", MaterialCategory.INSULATION, 0.03, 43.0, 1210.0, 0.0762, 2.5, 0.5, 3.3, 0.925),
160
+ Material("M01 100mm brick", MaterialCategory.STRUCTURAL_MATERIALS, 0.89, 1920.0, 790.0, 0.1016, 0.3, 0.7, 19.5, 0.93),
161
+ Material("M02 100mm face brick", MaterialCategory.STRUCTURAL_MATERIALS, 1.33, 2000.0, 790.0, 0.1016, 0.3, 0.7, 20.3, 0.93),
162
+ Material("M03 150mm brick", MaterialCategory.STRUCTURAL_MATERIALS, 0.89, 1920.0, 790.0, 0.1524, 0.3, 0.7, 29.3, 0.93),
163
+ Material("M04 200mm concrete block", MaterialCategory.STRUCTURAL_MATERIALS, 0.51, 800.0, 920.0, 0.2032, 0.2, 0.65, 13.0, 0.925),
164
+ Material("M05 200mm concrete block", MaterialCategory.STRUCTURAL_MATERIALS, 1.11, 1280.0, 920.0, 0.2032, 0.2, 0.65, 20.8, 0.925),
165
+ Material("M06 150mm concrete block", MaterialCategory.STRUCTURAL_MATERIALS, 0.51, 800.0, 920.0, 0.1524, 0.2, 0.65, 9.8, 0.925),
166
+ Material("M07 100mm concrete block", MaterialCategory.STRUCTURAL_MATERIALS, 0.51, 800.0, 920.0, 0.1016, 0.2, 0.65, 6.5, 0.925),
167
+ Material("M08 150mm concrete block", MaterialCategory.STRUCTURAL_MATERIALS, 1.11, 1280.0, 920.0, 0.1524, 0.2, 0.65, 15.6, 0.925),
168
+ Material("M09 100mm concrete block", MaterialCategory.STRUCTURAL_MATERIALS, 1.11, 1280.0, 920.0, 0.1016, 0.2, 0.65, 10.4, 0.925),
169
+ Material("M10 100mm lightweight concrete", MaterialCategory.STRUCTURAL_MATERIALS, 0.53, 1280.0, 840.0, 0.1016, 0.15, 0.65, 7.8, 0.925),
170
+ Material("M11 100mm lightweight concrete", MaterialCategory.STRUCTURAL_MATERIALS, 0.53, 1280.0, 840.0, 0.1016, 0.15, 0.65, 7.8, 0.925),
171
+ Material("M12 150mm lightweight concrete", MaterialCategory.STRUCTURAL_MATERIALS, 0.53, 1280.0, 840.0, 0.1524, 0.15, 0.65, 11.7, 0.925),
172
+ Material("M13 200mm lightweight concrete", MaterialCategory.STRUCTURAL_MATERIALS, 0.53, 1280.0, 840.0, 0.2032, 0.15, 0.65, 15.6, 0.925),
173
+ Material("M14 100mm heavyweight concrete", MaterialCategory.STRUCTURAL_MATERIALS, 1.95, 2240.0, 900.0, 0.1016, 0.2, 0.65, 18.2, 0.925),
174
+ Material("M14a 100mm heavyweight concrete", MaterialCategory.STRUCTURAL_MATERIALS, 1.95, 2240.0, 900.0, 0.1016, 0.2, 0.65, 18.2, 0.925),
175
+ Material("M15 200mm heavyweight concrete", MaterialCategory.STRUCTURAL_MATERIALS, 1.95, 2240.0, 900.0, 0.2032, 0.2, 0.65, 36.4, 0.925),
176
+ Material("M16 300mm heavyweight concrete", MaterialCategory.STRUCTURAL_MATERIALS, 1.95, 2240.0, 900.0, 0.3048, 0.2, 0.65, 54.6, 0.925),
177
+ Material("M17 100mm stone", MaterialCategory.STRUCTURAL_MATERIALS, 2.10, 2240.0, 880.0, 0.1016, 0.2, 0.7, 22.8, 0.925),
178
+ Material("M18 150mm stone", MaterialCategory.STRUCTURAL_MATERIALS, 2.10, 2240.0, 880.0, 0.1524, 0.2, 0.7, 34.1, 0.925),
179
+ Material("M19 100mm limestone", MaterialCategory.STRUCTURAL_MATERIALS, 1.80, 2320.0, 880.0, 0.1016, 0.2, 0.6, 23.6, 0.925),
180
+ Material("M20 150mm limestone", MaterialCategory.STRUCTURAL_MATERIALS, 1.80, 2320.0, 880.0, 0.1524, 0.2, 0.6, 35.4, 0.925),
181
+ Material("M21 200mm limestone", MaterialCategory.STRUCTURAL_MATERIALS, 1.80, 2320.0, 880.0, 0.2032, 0.2, 0.6, 47.1, 0.925),
182
+ Material("M22 100mm granite", MaterialCategory.STRUCTURAL_MATERIALS, 2.80, 2640.0, 880.0, 0.1016, 0.2, 0.7, 26.8, 0.925),
183
+ Material("M23 150mm granite", MaterialCategory.STRUCTURAL_MATERIALS, 2.80, 2640.0, 880.0, 0.1524, 0.2, 0.7, 40.2, 0.925),
184
+ Material("M24 200mm granite", MaterialCategory.STRUCTURAL_MATERIALS, 2.80, 2640.0, 880.0, 0.2032, 0.2, 0.7, 53.6, 0.925),
185
+ Material("M25 100mm marble", MaterialCategory.STRUCTURAL_MATERIALS, 2.50, 2720.0, 880.0, 0.1016, 0.2, 0.6, 27.6, 0.925),
186
+ Material("M26 150mm marble", MaterialCategory.STRUCTURAL_MATERIALS, 2.50, 2720.0, 880.0, 0.1524, 0.2, 0.6, 41.4, 0.925),
187
+ Material("M27 200mm marble", MaterialCategory.STRUCTURAL_MATERIALS, 2.50, 2720.0, 880.0, 0.2032, 0.2, 0.6, 55.3, 0.925),
188
  ]
189
  return {mat.name: mat for mat in materials}
190
 
191
  def initialize_glazing_materials(self) -> Dict[str, GlazingMaterial]:
192
  glazing_materials = [
193
  # ASHRAE-based glazing materials with Australian pricing
194
+ GlazingMaterial("Single Clear 3mm", 5.8, 0.81, 25.0, 50.0, 17.8),
195
+ GlazingMaterial("Single Clear 6mm", 5.7, 0.78, 28.0, 60.0, 17.8),
196
+ GlazingMaterial("Single Tinted 6mm", 5.7, 0.55, 30.0, 70.0, 17.8),
197
+ GlazingMaterial("Double Clear 6mm/13mm Air", 2.7, 0.70, 40.0, 100.0, 17.8),
198
+ GlazingMaterial("Double Low-E 6mm/13mm Air", 1.8, 0.60, 45.0, 120.0, 17.8),
199
+ GlazingMaterial("Double Tinted 6mm/13mm Air", 2.7, 0.45, 42.0, 110.0, 17.8),
200
+ GlazingMaterial("Double Low-E 6mm/13mm Argon", 1.5, 0.55, 48.0, 130.0, 17.8),
201
+ GlazingMaterial("Triple Clear 4mm/12mm Air", 1.8, 0.62, 55.0, 150.0, 17.8),
202
+ GlazingMaterial("Triple Low-E 4mm/12mm Argon", 0.9, 0.50, 60.0, 180.0, 17.8),
203
+ GlazingMaterial("Single Low-E Reflective 6mm", 5.6, 0.35, 35.0, 90.0, 13.0),
204
+ GlazingMaterial("Double Reflective 6mm/13mm Air", 2.5, 0.30, 50.0, 140.0, 13.0),
205
+ GlazingMaterial("Electrochromic 6mm/13mm Air", 2.0, 0.40, 70.0, 200.0, 17.8),
206
  ]
207
  return {mat.name: mat for mat in glazing_materials}
208
 
209
  def initialize_door_materials(self) -> Dict[str, DoorMaterial]:
210
  door_materials = [
211
+ # Door materials with ASHRAE-based properties, Australian pricing, and inferred properties
212
+ DoorMaterial("Solid Wood 45mm", MaterialCategory.SUB_STRUCTURAL_MATERIALS, 0.15, 608.0, 1630.0, 0.045, 2.5, 0.50, 15.0, 200.0, 0.925),
213
+ DoorMaterial("Insulated Wood 50mm", MaterialCategory.SUB_STRUCTURAL_MATERIALS, 0.10, 500.0, 1400.0, 0.050, 1.8, 0.45, 18.0, 250.0, 0.925),
214
+ DoorMaterial("Hollow Core Wood 40mm", MaterialCategory.SUB_STRUCTURAL_MATERIALS, 0.15, 400.0, 1630.0, 0.040, 3.5, 0.50, 12.0, 150.0, 0.925),
215
+ DoorMaterial("Steel Uninsulated 45mm", MaterialCategory.SUB_STRUCTURAL_MATERIALS, 45.28, 7824.0, 500.0, 0.045, 5.0, 0.70, 20.0, 180.0, 0.075),
216
+ DoorMaterial("Steel Insulated 50mm", MaterialCategory.SUB_STRUCTURAL_MATERIALS, 0.10, 2000.0, 1000.0, 0.050, 2.0, 0.65, 25.0, 220.0, 0.925),
217
+ DoorMaterial("Aluminum Uninsulated 45mm", MaterialCategory.SUB_STRUCTURAL_MATERIALS, 160.0, 2700.0, 900.0, 0.045, 6.0, 0.75, 22.0, 200.0, 0.075),
218
+ DoorMaterial("Aluminum Insulated 50mm", MaterialCategory.SUB_STRUCTURAL_MATERIALS, 0.15, 1800.0, 1100.0, 0.050, 2.5, 0.70, 28.0, 240.0, 0.925),
219
+ DoorMaterial("Glass Single 6mm", MaterialCategory.STRUCTURAL_MATERIALS, 0.53, 1280.0, 840.0, 0.006, 5.7, 0.78, 28.0, 100.0, 0.90),
220
+ DoorMaterial("Glass Double 6mm/13mm Air", MaterialCategory.STRUCTURAL_MATERIALS, 0.40, 1280.0, 840.0, 0.025, 2.7, 0.70, 40.0, 150.0, 0.90),
221
+ DoorMaterial("Fiberglass Insulated 50mm", MaterialCategory.INSULATION, 0.03, 43.0, 1210.0, 0.050, 1.5, 0.60, 20.0, 230.0, 0.925),
222
+ DoorMaterial("PVC Insulated 50mm", MaterialCategory.INSULATION, 0.05, 1400.0, 1000.0, 0.050, 1.7, 0.55, 18.0, 210.0, 0.925),
223
+ DoorMaterial("Wood with Glass Insert", MaterialCategory.SUB_STRUCTURAL_MATERIALS, 0.15, 608.0, 1630.0, 0.045, 3.0, 0.65, 16.0, 190.0, 0.925),
224
  ]
225
  return {mat.name: mat for mat in door_materials}
226
 
 
354
  comp.glazing_material = new_material
355
  comp.u_value = new_material.u_value
356
  comp.shgc = new_material.shgc
357
+ comp.h_o = new_material.h_o
358
  project_glazing_materials.pop(old_name)
359
  project_glazing_materials[new_material.name] = new_material
360
  return True, f"Glazing material '{old_name}' updated to '{new_material.name}'."
 
466
  "Embodied Carbon (kgCO₂e/kg)": mat.embodied_carbon,
467
  "Solar Absorption": mat.solar_absorption,
468
  "Price (USD/m²)": mat.price,
469
+ "Emissivity": mat.emissivity,
470
  "Source": "Project" if not mat.is_library else "Library"
471
  })
472
  return pd.DataFrame(data)
 
499
  "SHGC": mat.shgc,
500
  "Embodied Carbon (kgCO₂e/m²)": mat.embodied_carbon,
501
  "Price (USD/m²)": mat.price,
502
+ "h_o (W/m²·K)": mat.h_o,
503
  "Source": "Project" if not mat.is_library else "Library"
504
  })
505
  return pd.DataFrame(data)
 
509
  for mat in door_materials:
510
  data.append({
511
  "Name": mat.name,
512
+ "Category": mat.category.value,
513
+ "Conductivity (W/m·K)": mat.conductivity,
514
+ "Density (kg/m³)": mat.density,
515
+ "Specific Heat (J/kg·K)": mat.specific_heat,
516
+ "Default Thickness (m)": mat.default_thickness,
517
  "U-Value (W/m²·K)": mat.u_value,
518
  "Solar Absorption": mat.solar_absorption,
519
  "Embodied Carbon (kgCO₂e/m²)": mat.embodied_carbon,
520
  "Price (USD/m²)": mat.price,
521
+ "Emissivity": mat.emissivity,
522
  "Source": "Project" if not mat.is_library else "Library"
523
  })
524
  return pd.DataFrame(data)