mabuseif commited on
Commit
ee8c13b
·
verified ·
1 Parent(s): 70d983b

Update app/materials_library.py

Browse files
Files changed (1) hide show
  1. app/materials_library.py +3 -0
app/materials_library.py CHANGED
@@ -267,6 +267,9 @@ def display_materials_page():
267
  shgc=f["performance"]["shgc"],
268
  u_value=f["performance"]["u_value"],
269
  h_o=f.get("h_o", DEFAULT_WINDOW_PROPERTIES["h_o"]),
 
 
 
270
  is_library=True
271
  )
272
  logger.debug(f"Loaded fenestration: {k}, Type: {f['type']}")
 
267
  shgc=f["performance"]["shgc"],
268
  u_value=f["performance"]["u_value"],
269
  h_o=f.get("h_o", DEFAULT_WINDOW_PROPERTIES["h_o"]),
270
+ visible_transmittance=f["performance"].get("visible_transmittance", 0.7),
271
+ embodied_carbon=f.get("embodied_carbon", 25.0),
272
+ price=f["cost"].get("material", 100.0),
273
  is_library=True
274
  )
275
  logger.debug(f"Loaded fenestration: {k}, Type: {f['type']}")