Spaces:
Sleeping
Sleeping
Update utils/solar.py
Browse files- utils/solar.py +2 -2
utils/solar.py
CHANGED
@@ -3,7 +3,7 @@ from typing import List, Dict, Any, Optional, Tuple
|
|
3 |
import math
|
4 |
from datetime import datetime
|
5 |
from app.materials_library import MaterialLibrary, GlazingMaterial, Material
|
6 |
-
from utils.
|
7 |
from app.m_c_data import DEFAULT_WINDOW_PROPERTIES
|
8 |
import logging
|
9 |
|
@@ -261,7 +261,7 @@ class SolarCalculations:
|
|
261 |
"""Calculate solar angles, sol-air temperature, and solar heat gain for hourly data with GHI > 0.
|
262 |
|
263 |
Args:
|
264 |
-
hourly_data (List[Dict]): Hourly weather data containing month, day,
|
265 |
latitude (float): Latitude in degrees.
|
266 |
longitude (float): Longitude in degrees.
|
267 |
timezone (float): Timezone offset in hours.
|
|
|
3 |
import math
|
4 |
from datetime import datetime
|
5 |
from app.materials_library import MaterialLibrary, GlazingMaterial, Material
|
6 |
+
from utils.enums import ComponentType
|
7 |
from app.m_c_data import DEFAULT_WINDOW_PROPERTIES
|
8 |
import logging
|
9 |
|
|
|
261 |
"""Calculate solar angles, sol-air temperature, and solar heat gain for hourly data with GHI > 0.
|
262 |
|
263 |
Args:
|
264 |
+
hourly_data (List[Dict]): Hourly weather data containing month, day, hour, GHI, DNI, DHI, dry_bulb.
|
265 |
latitude (float): Latitude in degrees.
|
266 |
longitude (float): Longitude in degrees.
|
267 |
timezone (float): Timezone offset in hours.
|