mabuseif commited on
Commit
2247b36
·
verified ·
1 Parent(s): 3a0fa23

Update data/ashrae_tables.py

Browse files
Files changed (1) hide show
  1. data/ashrae_tables.py +9 -3
data/ashrae_tables.py CHANGED
@@ -430,10 +430,16 @@ class ASHRAETables:
430
 
431
  def _load_color_correction(self) -> Dict[str, float]:
432
  """
433
- Load color correction factors for CLTD values.
434
- Returns: Dictionary of correction factors for different colors.
435
  """
436
- return {"Dark": 0.0, "Medium": -1.0, "Light": -2.0}
 
 
 
 
 
 
437
 
438
  def _load_month_correction(self) -> Dict[str, float]:
439
  """
 
430
 
431
  def _load_color_correction(self) -> Dict[str, float]:
432
  """
433
+ Load solar absorptivity correction factors based on ASHRAE Handbook—Fundamentals (2017).
434
+ Returns: Dictionary mapping solar absorptivity values to correction factors.
435
  """
436
+ return {
437
+ 0.3: 0.85, # Light surfaces
438
+ 0.45: 0.925, # Light to Medium surfaces
439
+ 0.6: 1.00, # Medium surfaces
440
+ 0.75: 1.075, # Medium to Dark surfaces
441
+ 0.9: 1.15 # Dark surfaces
442
+ }
443
 
444
  def _load_month_correction(self) -> Dict[str, float]:
445
  """