Spaces:
Sleeping
Sleeping
Update utils/heating_load.py
Browse files- utils/heating_load.py +2 -2
utils/heating_load.py
CHANGED
|
@@ -28,7 +28,7 @@ from utils.psychrometrics import Psychrometrics
|
|
| 28 |
from utils.heat_transfer import HeatTransferCalculations
|
| 29 |
|
| 30 |
# Import data modules
|
| 31 |
-
from
|
| 32 |
|
| 33 |
|
| 34 |
class HeatingLoadCalculator:
|
|
@@ -305,7 +305,7 @@ class HeatingLoadCalculator:
|
|
| 305 |
adjusted_u_value *= adjustment
|
| 306 |
elif hasattr(skylight, 'frame_type') and skylight.frame_type:
|
| 307 |
# Fallback to skylight.frame_type if frame_type not provided
|
| 308 |
-
adjustment = frame_adjustments.get(frame_type, 1.0)
|
| 309 |
adjusted_u_value *= adjustment
|
| 310 |
|
| 311 |
# Adjust U-value for drapery based on drapery_openness
|
|
|
|
| 28 |
from utils.heat_transfer import HeatTransferCalculations
|
| 29 |
|
| 30 |
# Import data modules
|
| 31 |
+
from data.building_components import Wall, Roof, Floor, Window, Door, Orientation, ComponentType, Skylight
|
| 32 |
|
| 33 |
|
| 34 |
class HeatingLoadCalculator:
|
|
|
|
| 305 |
adjusted_u_value *= adjustment
|
| 306 |
elif hasattr(skylight, 'frame_type') and skylight.frame_type:
|
| 307 |
# Fallback to skylight.frame_type if frame_type not provided
|
| 308 |
+
adjustment = frame_adjustments.get(skylight.frame_type, 1.0)
|
| 309 |
adjusted_u_value *= adjustment
|
| 310 |
|
| 311 |
# Adjust U-value for drapery based on drapery_openness
|