Spaces:
Sleeping
Sleeping
Update utils/solar.py
Browse files- utils/solar.py +1 -1
utils/solar.py
CHANGED
@@ -448,7 +448,7 @@ class SolarCalculations:
|
|
448 |
math.cos(math.radians(azimuth - surface_azimuth)))
|
449 |
cos_theta = max(min(cos_theta, 1.0), 0.0) # Clamp to [0, 1]
|
450 |
|
451 |
-
logger.info(f" Component {comp.get('name', '
|
452 |
f"surface_tilt={surface_tilt:.2f}, surface_azimuth={surface_azimuth:.2f}, "
|
453 |
f"cos_theta={cos_theta:.2f}, h_o={h_o:.2f}")
|
454 |
|
|
|
448 |
math.cos(math.radians(azimuth - surface_azimuth)))
|
449 |
cos_theta = max(min(cos_theta, 1.0), 0.0) # Clamp to [0, 1]
|
450 |
|
451 |
+
logger.info(f" Component {comp.get('name', 'unknown_component')} at {month}/{day}/{hour}: "
|
452 |
f"surface_tilt={surface_tilt:.2f}, surface_azimuth={surface_azimuth:.2f}, "
|
453 |
f"cos_theta={cos_theta:.2f}, h_o={h_o:.2f}")
|
454 |
|