mabuseif commited on
Commit
303e513
·
verified ·
1 Parent(s): b28fc72

Update data/ashrae_tables.py

Browse files
Files changed (1) hide show
  1. data/ashrae_tables.py +25 -0
data/ashrae_tables.py CHANGED
@@ -186,6 +186,31 @@ class ASHRAETables:
186
  0.75: 1.075, # Medium to Dark surfaces
187
  0.9: 1.15 # Dark surfaces
188
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
189
 
190
  def _load_latitude_correction(self) -> pd.DataFrame:
191
  """
 
186
  0.75: 1.075, # Medium to Dark surfaces
187
  0.9: 1.15 # Dark surfaces
188
  }
189
+
190
+ def _load_month_correction(self) -> Dict[str, float]:
191
+ """
192
+ Load month correction factors for CLTD based on ASHRAE Handbook—Fundamentals (2017, Chapter 18).
193
+ Returns: Dictionary mapping months to correction factors (dimensionless).
194
+ """
195
+ try:
196
+ # Correction factors for CLTD based on month (approximate, for solar radiation variation)
197
+ # Values are placeholders; adjust based on ASHRAE Table 7 or specific project data
198
+ return {
199
+ 'Jan': 0.90,
200
+ 'Feb': 0.92,
201
+ 'Mar': 0.95,
202
+ 'Apr': 0.98,
203
+ 'May': 1.00,
204
+ 'Jun': 1.02,
205
+ 'Jul': 1.03,
206
+ 'Aug': 1.02,
207
+ 'Sep': 0.99,
208
+ 'Oct': 0.96,
209
+ 'Nov': 0.92,
210
+ 'Dec': 0.90
211
+ }
212
+ except Exception as e:
213
+ raise Exception(f"Error loading month correction table: {str(e)}")
214
 
215
  def _load_latitude_correction(self) -> pd.DataFrame:
216
  """