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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Enhanced ASHRAE tables module for HVAC Load Calculator, compliant with ASHRAE Handbook—Fundamentals (2017, Chapter 18).
|
| 3 |
+
Provides CLTD, SCL, CLF tables, climatic corrections, and visualization for cooling load calculations.
|
| 4 |
+
Integrates data from ASHRAE Tables 7 (CLTD), 12 (CLF), and other sources for accurate HVAC load calculations.
|
| 5 |
+
|
| 6 |
+
ENHANCEMENTS:
|
| 7 |
+
- Expanded CLTD tables for walls and roofs at 24°N, 32°N, 36°N, 44°N, 56°N (ASHRAE Table 7).
|
| 8 |
+
- Added interpolation for CLTD and SCL values at intermediate latitudes.
|
| 9 |
+
- Implemented caching for CLTD, SCL, and CLF lookups to optimize performance.
|
| 10 |
+
- Aligned SCL tables to include 44°N explicitly.
|
| 11 |
+
- Added detailed occupancy and equipment heat gain tables for precise internal load calculations.
|
| 12 |
+
- Included climatic corrections for latitude, month, color, and temperature differences.
|
| 13 |
+
- Added visualization of cooling load profiles.
|
| 14 |
+
- Validated data against ASHRAE Handbook—Fundamentals (2017).
|
| 15 |
+
"""
|
| 16 |
+
|
| 17 |
+
from typing import Dict, List, Any, Optional, Tuple
|
| 18 |
+
import pandas as pd
|
| 19 |
+
import numpy as np
|
| 20 |
+
import os
|
| 21 |
+
import matplotlib.pyplot as plt
|
| 22 |
+
from enum import Enum
|
| 23 |
+
from functools import lru_cache
|
| 24 |
+
|
| 25 |
+
# Define paths
|
| 26 |
+
DATA_DIR = os.path.dirname(os.path.abspath(__file__))
|
| 27 |
+
|
| 28 |
+
class WallGroup(Enum):
|
| 29 |
+
"""Enumeration for ASHRAE wall groups."""
|
| 30 |
+
A = "A" # Light construction
|
| 31 |
+
B = "B"
|
| 32 |
+
C = "C"
|
| 33 |
+
D = "D"
|
| 34 |
+
E = "E"
|
| 35 |
+
F = "F"
|
| 36 |
+
G = "G"
|
| 37 |
+
H = "H" # Heavy construction
|
| 38 |
+
|
| 39 |
+
class RoofGroup(Enum):
|
| 40 |
+
"""Enumeration for ASHRAE roof groups."""
|
| 41 |
+
A = "A" # Light construction
|
| 42 |
+
B = "B"
|
| 43 |
+
C = "C"
|
| 44 |
+
D = "D"
|
| 45 |
+
E = "E"
|
| 46 |
+
F = "F"
|
| 47 |
+
G = "G" # Heavy construction
|
| 48 |
+
|
| 49 |
+
class Orientation(Enum):
|
| 50 |
+
"""Enumeration for building component orientations."""
|
| 51 |
+
N = "North"
|
| 52 |
+
NE = "Northeast"
|
| 53 |
+
E = "East"
|
| 54 |
+
SE = "Southeast"
|
| 55 |
+
S = "South"
|
| 56 |
+
SW = "Southwest"
|
| 57 |
+
W = "West"
|
| 58 |
+
NW = "Northwest"
|
| 59 |
+
HOR = "Horizontal" # For roofs and floors
|
| 60 |
+
|
| 61 |
+
class OccupancyType(Enum):
|
| 62 |
+
"""Enumeration for occupancy types."""
|
| 63 |
+
SEATED_RESTING = "Seated, resting"
|
| 64 |
+
SEATED_LIGHT_WORK = "Seated, light work"
|
| 65 |
+
SEATED_TYPING = "Seated, typing"
|
| 66 |
+
STANDING_LIGHT_WORK = "Standing, light work"
|
| 67 |
+
STANDING_MEDIUM_WORK = "Standing, medium work"
|
| 68 |
+
WALKING = "Walking"
|
| 69 |
+
LIGHT_EXERCISE = "Light exercise"
|
| 70 |
+
MEDIUM_EXERCISE = "Medium exercise"
|
| 71 |
+
HEAVY_EXERCISE = "Heavy exercise"
|
| 72 |
+
DANCING = "Dancing"
|
| 73 |
+
|
| 74 |
+
class EquipmentType(Enum):
|
| 75 |
+
"""Enumeration for equipment types."""
|
| 76 |
+
COMPUTER = "Computer"
|
| 77 |
+
MONITOR = "Monitor"
|
| 78 |
+
PRINTER_SMALL = "Printer (small)"
|
| 79 |
+
PRINTER_LARGE = "Printer (large)"
|
| 80 |
+
COPIER_SMALL = "Copier (small)"
|
| 81 |
+
COPIER_LARGE = "Copier (large)"
|
| 82 |
+
SERVER = "Server"
|
| 83 |
+
REFRIGERATOR_SMALL = "Refrigerator (small)"
|
| 84 |
+
REFRIGERATOR_LARGE = "Refrigerator (large)"
|
| 85 |
+
MICROWAVE = "Microwave"
|
| 86 |
+
COFFEE_MAKER = "Coffee maker"
|
| 87 |
+
TV_SMALL = "TV (small)"
|
| 88 |
+
TV_LARGE = "TV (large)"
|
| 89 |
+
PROJECTOR = "Projector"
|
| 90 |
+
LAB_EQUIPMENT = "Lab equipment"
|
| 91 |
+
|
| 92 |
+
class ASHRAETables:
|
| 93 |
+
"""Class for managing ASHRAE tables for load calculations, compliant with ASHRAE Handbook—Fundamentals (2017, Chapter 18)."""
|
| 94 |
+
|
| 95 |
+
def __init__(self):
|
| 96 |
+
"""Initialize ASHRAE tables with CLTD, SCL, CLF, heat gain, and correction factors."""
|
| 97 |
+
# Load tables
|
| 98 |
+
self.cltd_wall = self._load_cltd_wall_table()
|
| 99 |
+
self.cltd_roof = self._load_cltd_roof_table()
|
| 100 |
+
self.scl = self._load_scl_table()
|
| 101 |
+
self.clf_lights = self._load_clf_lights_table()
|
| 102 |
+
self.clf_people = self._load_clf_people_table()
|
| 103 |
+
self.clf_equipment = self._load_clf_equipment_table()
|
| 104 |
+
self.heat_gain = self._load_heat_gain_table()
|
| 105 |
+
self.occupancy_heat_gain = self._load_occupancy_heat_gain_table() # ENHANCEMENT: Added detailed occupancy heat gain table
|
| 106 |
+
self.equipment_heat_gain = self._load_equipment_heat_gain_table() # ENHANCEMENT: Added detailed equipment heat gain table
|
| 107 |
+
|
| 108 |
+
# Load correction factors
|
| 109 |
+
self.latitude_correction = self._load_latitude_correction()
|
| 110 |
+
self.color_correction = self._load_color_correction()
|
| 111 |
+
self.month_correction = self._load_month_correction()
|
| 112 |
+
|
| 113 |
+
# Load thermal properties and roof classifications
|
| 114 |
+
self.thermal_properties = self._load_thermal_properties()
|
| 115 |
+
self.roof_classifications = self._load_roof_classifications()
|
| 116 |
+
|
| 117 |
+
def _validate_cltd_inputs(self, group: str, orientation: str, hour: int, latitude: str, month: str, color: str, is_wall: bool = True) -> Tuple[bool, str]:
|
| 118 |
+
"""
|
| 119 |
+
Validate inputs for CLTD calculations.
|
| 120 |
+
|
| 121 |
+
Args:
|
| 122 |
+
group (str): Wall or roof group (e.g., 'A', 'B').
|
| 123 |
+
orientation (str): Orientation (e.g., 'North', 'Horizontal').
|
| 124 |
+
hour (int): Hour of the day (0-23).
|
| 125 |
+
latitude (str): Latitude (e.g., '24N').
|
| 126 |
+
month (str): Month (e.g., 'Jul').
|
| 127 |
+
color (str): Surface color ('Dark', 'Medium', 'Light').
|
| 128 |
+
is_wall (bool): True if validating for walls, False for roofs.
|
| 129 |
+
|
| 130 |
+
Returns:
|
| 131 |
+
Tuple[bool, str]: (is_valid, error_message).
|
| 132 |
+
"""
|
| 133 |
+
valid_groups = [e.value for e in WallGroup] if is_wall else [e.value for e in RoofGroup]
|
| 134 |
+
valid_orientations = [e.value for e in Orientation]
|
| 135 |
+
valid_latitudes = ['24N', '32N', '36N', '44N', '56N']
|
| 136 |
+
valid_months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
|
| 137 |
+
valid_colors = ['Dark', 'Medium', 'Light']
|
| 138 |
+
|
| 139 |
+
if group not in valid_groups:
|
| 140 |
+
return False, f"Invalid {'wall' if is_wall else 'roof'} group: {group}. Valid groups: {valid_groups}"
|
| 141 |
+
if orientation not in valid_orientations:
|
| 142 |
+
return False, f"Invalid orientation: {orientation}. Valid orientations: {valid_orientations}"
|
| 143 |
+
if hour not in range(24):
|
| 144 |
+
return False, "Hour must be between 0 and 23."
|
| 145 |
+
if latitude not in valid_latitudes:
|
| 146 |
+
return False, f"Invalid latitude: {latitude}. Valid latitudes: {valid_latitudes}"
|
| 147 |
+
if month not in valid_months:
|
| 148 |
+
return False, f"Invalid month: {month}. Valid months: {valid_months}"
|
| 149 |
+
if color not in valid_colors:
|
| 150 |
+
return False, f"Invalid color: {color}. Valid colors: {valid_colors}"
|
| 151 |
+
return True, "Valid inputs."
|
| 152 |
+
|
| 153 |
+
def interpolate_cltd(self, latitude: float, cltd_table_low: pd.DataFrame, cltd_table_high: pd.DataFrame, lat_low: float, lat_high: float) -> pd.DataFrame:
|
| 154 |
+
"""
|
| 155 |
+
Interpolate CLTD or SCL values between two latitudes.
|
| 156 |
+
|
| 157 |
+
Args:
|
| 158 |
+
latitude (float): Target latitude for interpolation.
|
| 159 |
+
cltd_table_low (pd.DataFrame): CLTD/SCL table for lower latitude.
|
| 160 |
+
cltd_table_high (pd.DataFrame): CLTD/SCL table for higher latitude.
|
| 161 |
+
lat_low (float): Lower latitude value.
|
| 162 |
+
lat_high (float): Higher latitude value.
|
| 163 |
+
|
| 164 |
+
Returns:
|
| 165 |
+
pd.DataFrame: Interpolated CLTD/SCL table.
|
| 166 |
+
"""
|
| 167 |
+
weight = (latitude - lat_low) / (lat_high - lat_low)
|
| 168 |
+
return (1 - weight) * cltd_table_low + weight * cltd_table_high
|
| 169 |
+
|
| 170 |
+
def _load_cltd_wall_table(self) -> Dict[str, pd.DataFrame]:
|
| 171 |
+
"""
|
| 172 |
+
Load CLTD tables for walls at 24°N, 32°N, 36°N, 44°N, 56°N (July), based on ASHRAE Handbook—Fundamentals (2017, Chapter 18, Table 7).
|
| 173 |
+
Returns: Dictionary of DataFrames with CLTD values for each wall group and latitude.
|
| 174 |
+
"""
|
| 175 |
+
hours = list(range(24))
|
| 176 |
+
# CLTD data for wall types mapped to groups A-H across latitudes
|
| 177 |
+
wall_data = {
|
| 178 |
+
"24N": {
|
| 179 |
+
"A": { # Type 1: Lightest construction
|
| 180 |
+
'North': [1, 0, -1, -2, -3, -2, 5, 13, 17, 18, 19, 22, 26, 28, 30, 32, 34, 34, 27, 17, 11, 7, 5, 3],
|
| 181 |
+
'Northeast': [1, 0, -1, -2, -3, 0, 17, 39, 51, 53, 48, 39, 32, 30, 30, 30, 30, 28, 24, 18, 13, 10, 7, 5],
|
| 182 |
+
'East': [1, 0, -1, -2, -3, 0, 18, 44, 59, 63, 59, 48, 36, 32, 31, 30, 32, 32, 29, 24, 19, 13, 10, 7],
|
| 183 |
+
'Southeast': [1, 0, -1, -2, -3, -2, 8, 25, 38, 44, 45, 42, 35, 32, 31, 30, 32, 32, 27, 24, 18, 13, 10, 7],
|
| 184 |
+
'South': [1, 0, -1, -2, -3, -3, -1, 3, 8, 12, 18, 24, 29, 31, 31, 30, 32, 32, 27, 23, 18, 13, 9, 7],
|
| 185 |
+
'Southwest': [1, 0, 1, 2, 3, 3, 1, 3, 8, 13, 17, 22, 27, 42, 59, 73, 30, 32, 27, 23, 18, 20, 12, 8],
|
| 186 |
+
'West': [2, 0, 2, 2, 3, 1, 3, 8, 13, 17, 22, 27, 42, 59, 73, 30, 32, 27, 23, 18, 20, 12, 8, 5],
|
| 187 |
+
'Northwest': [2, 0, 1, 2, 2, 3, 1, 3, 8, 13, 17, 22, 27, 42, 59, 73, 30, 32, 27, 23, 18, 20, 12, 8]
|
| 188 |
+
},
|
| 189 |
+
"B": { # Type 2
|
| 190 |
+
'North': [2, 1, 0, -1, -2, -1, 6, 14, 18, 19, 20, 23, 27, 29, 31, 33, 35, 35, 28, 18, 12, 8, 6, 4],
|
| 191 |
+
'Northeast': [2, 1, 0, -1, -2, 1, 18, 40, 52, 54, 49, 40, 33, 31, 31, 31, 31, 29, 25, 19, 14, 11, 8, 6],
|
| 192 |
+
'East': [2, 1, 0, -1, -2, 1, 19, 45, 60, 64, 60, 49, 37, 33, 32, 31, 33, 33, 30, 25, 20, 14, 11, 8],
|
| 193 |
+
'Southeast': [2, 1, 0, -1, -2, -1, 9, 26, 39, 45, 46, 43, 36, 33, 32, 31, 33, 33, 28, 25, 19, 14, 11, 8],
|
| 194 |
+
'South': [2, 1, 0, -1, -2, -2, 0, 4, 9, 13, 19, 25, 30, 32, 32, 31, 33, 33, 28, 24, 19, 14, 10, 8],
|
| 195 |
+
'Southwest': [2, 1, 2, 3, 4, 4, 2, 4, 9, 14, 18, 23, 28, 43, 60, 74, 31, 33, 28, 24, 19, 21, 13, 9],
|
| 196 |
+
'West': [3, 1, 3, 3, 4, 2, 4, 9, 14, 18, 23, 28, 43, 60, 74, 31, 33, 28, 24, 19, 21, 13, 9, 6],
|
| 197 |
+
'Northwest': [3, 1, 2, 3, 3, 4, 2, 4, 9, 14, 18, 23, 28, 43, 60, 74, 31, 33, 28, 24, 19, 21, 13, 9]
|
| 198 |
+
},
|
| 199 |
+
"C": { # Type 3
|
| 200 |
+
'North': [3, 2, 1, 0, -1, 0, 7, 15, 19, 20, 21, 24, 28, 30, 32, 34, 36, 36, 29, 19, 13, 9, 7, 5],
|
| 201 |
+
'Northeast': [3, 2, 1, 0, -1, 2, 19, 41, 53, 55, 50, 41, 34, 32, 32, 32, 32, 30, 26, 20, 15, 12, 9, 7],
|
| 202 |
+
'East': [3, 2, 1, 0, -1, 2, 20, 46, 61, 65, 61, 50, 38, 34, 33, 32, 34, 34, 31, 26, 21, 15, 12, 9],
|
| 203 |
+
'Southeast': [3, 2, 1, 0, -1, 0, 10, 27, 40, 46, 47, 44, 37, 34, 33, 32, 34, 34, 29, 26, 20, 15, 12, 9],
|
| 204 |
+
'South': [3, 2, 1, 0, -1, -1, 1, 5, 10, 14, 20, 26, 31, 33, 33, 32, 34, 34, 29, 25, 20, 15, 11, 9],
|
| 205 |
+
'Southwest': [3, 2, 3, 4, 5, 5, 3, 5, 10, 15, 19, 24, 29, 44, 61, 75, 32, 34, 29, 25, 20, 22, 14, 10],
|
| 206 |
+
'West': [4, 2, 4, 4, 5, 3, 5, 10, 15, 19, 24, 29, 44, 61, 75, 32, 34, 29, 25, 20, 22, 14, 10, 7],
|
| 207 |
+
'Northwest': [4, 2, 3, 4, 4, 5, 3, 5, 10, 15, 19, 24, 29, 44, 61, 75, 32, 34, 29, 25, 20, 22, 14, 10]
|
| 208 |
+
},
|
| 209 |
+
"D": { # Type 4
|
| 210 |
+
'North': [4, 3, 2, 1, 0, 1, 8, 16, 20, 21, 22, 25, 29, 31, 33, 35, 37, 37, 30, 20, 14, 10, 8, 6],
|
| 211 |
+
'Northeast': [4, 3, 2, 1, 0, 3, 20, 42, 54, 56, 51, 42, 35, 33, 33, 33, 33, 31, 27, 21, 16, 13, 10, 8],
|
| 212 |
+
'East': [4, 3, 2, 1, 0, 3, 21, 47, 62, 66, 62, 51, 39, 35, 34, 33, 35, 35, 32, 27, 22, 16, 13, 10],
|
| 213 |
+
'Southeast': [4, 3, 2, 1, 0, 1, 11, 28, 41, 47, 48, 45, 38, 35, 34, 33, 35, 35, 30, 27, 21, 16, 13, 10],
|
| 214 |
+
'South': [4, 3, 2, 1, 0, 0, 2, 6, 11, 15, 21, 27, 32, 34, 34, 33, 35, 35, 30, 26, 21, 16, 12, 10],
|
| 215 |
+
'Southwest': [4, 3, 4, 5, 6, 6, 4, 6, 11, 16, 20, 25, 30, 45, 62, 76, 33, 35, 30, 26, 21, 23, 15, 11],
|
| 216 |
+
'West': [5, 3, 5, 5, 6, 4, 6, 11, 16, 20, 25, 30, 45, 62, 76, 33, 35, 30, 26, 21, 23, 15, 11, 8],
|
| 217 |
+
'Northwest': [5, 3, 4, 5, 5, 6, 4, 6, 11, 16, 20, 25, 30, 45, 62, 76, 33, 35, 30, 26, 21, 23, 15, 11]
|
| 218 |
+
},
|
| 219 |
+
"E": { # Type 5
|
| 220 |
+
'North': [13, 11, 9, 7, 5, 3, 2, 3, 5, 7, 10, 12, 14, 16, 19, 21, 23, 25, 27, 27, 25, 22, 20, 16],
|
| 221 |
+
'Northeast': [13, 11, 8, 7, 5, 3, 3, 6, 12, 20, 26, 31, 33, 33, 32, 32, 32, 33, 31, 29, 27, 24, 21, 18],
|
| 222 |
+
'East': [14, 11, 9, 7, 5, 4, 3, 6, 13, 22, 31, 36, 39, 39, 39, 39, 39, 31, 31, 29, 26, 22, 19, 18],
|
| 223 |
+
'Southeast': [13, 10, 8, 6, 5, 3, 2, 4, 8, 14, 20, 25, 28, 30, 30, 30, 30, 30, 28, 26, 24, 21, 18, 16],
|
| 224 |
+
'South': [11, 9, 7, 6, 4, 3, 2, 1, 1, 3, 5, 7, 11, 14, 16, 20, 22, 23, 23, 23, 20, 18, 16, 14],
|
| 225 |
+
'Southwest': [18, 15, 12, 9, 7, 5, 3, 3, 3, 4, 5, 8, 11, 14, 16, 20, 26, 32, 33, 31, 41, 40, 36, 31],
|
| 226 |
+
'West': [23, 19, 15, 12, 9, 7, 5, 4, 4, 4, 6, 8, 11, 14, 16, 20, 28, 37, 35, 31, 51, 41, 41, 41],
|
| 227 |
+
'Northwest': [21, 17, 14, 11, 8, 6, 4, 3, 3, 4, 6, 8, 11, 14, 16, 20, 28, 37, 35, 31, 41, 41, 41, 41]
|
| 228 |
+
},
|
| 229 |
+
"F": { # Type 6
|
| 230 |
+
'North': [10, 8, 6, 4, 2, 1, 1, 2, 4, 6, 9, 11, 13, 15, 18, 20, 22, 24, 26, 26, 24, 21, 19, 15],
|
| 231 |
+
'Northeast': [10, 8, 6, 4, 2, 2, 2, 5, 11, 19, 25, 30, 32, 32, 31, 31, 31, 32, 30, 28, 26, 23, 20, 17],
|
| 232 |
+
'East': [11, 8, 6, 4, 2, 3, 2, 5, 12, 21, 30, 35, 38, 38, 38, 38, 38, 30, 30, 28, 25, 21, 18, 17],
|
| 233 |
+
'Southeast': [10, 7, 5, 3, 2, 2, 1, 3, 7, 13, 19, 24, 27, 29, 29, 29, 29, 29, 27, 25, 23, 20, 17, 15],
|
| 234 |
+
'South': [8, 6, 4, 3, 1, 2, 1, 0, 0, 2, 4, 6, 10, 13, 15, 19, 21, 22, 22, 22, 19, 17, 15, 13],
|
| 235 |
+
'Southwest': [15, 12, 9, 6, 4, 3, 2, 2, 2, 3, 4, 7, 10, 13, 15, 19, 25, 31, 32, 30, 40, 39, 35, 30],
|
| 236 |
+
'West': [20, 16, 12, 9, 6, 4, 3, 3, 3, 3, 5, 7, 10, 13, 15, 19, 27, 36, 34, 30, 50, 40, 40, 40],
|
| 237 |
+
'Northwest': [18, 14, 11, 8, 5, 4, 3, 2, 2, 3, 5, 7, 10, 13, 15, 19, 27, 36, 34, 30, 40, 40, 40, 40]
|
| 238 |
+
},
|
| 239 |
+
"G": { # Type 7
|
| 240 |
+
'North': [7, 5, 3, 1, -1, 0, 0, 1, 3, 5, 8, 10, 12, 14, 17, 19, 21, 23, 25, 25, 23, 20, 18, 14],
|
| 241 |
+
'Northeast': [7, 5, 3, 1, -1, 1, 1, 4, 10, 18, 24, 29, 31, 31, 30, 30, 30, 31, 29, 27, 25, 22, 19, 16],
|
| 242 |
+
'East': [8, 5, 3, 1, -1, 2, 1, 4, 11, 20, 29, 34, 37, 37, 37, 37, 37, 29, 29, 27, 24, 20, 17, 16],
|
| 243 |
+
'Southeast': [7, 4, 2, 0, -1, 1, 0, 2, 6, 12, 18, 23, 26, 28, 28, 28, 28, 28, 26, 24, 22, 19, 16, 14],
|
| 244 |
+
'South': [5, 3, 1, 0, -2, 1, 0, -1, -1, 1, 3, 5, 9, 12, 14, 18, 20, 21, 21, 21, 18, 16, 14, 12],
|
| 245 |
+
'Southwest': [12, 9, 6, 3, 1, 2, 1, 1, 1, 2, 3, 6, 9, 12, 14, 18, 24, 30, 31, 29, 39, 38, 34, 29],
|
| 246 |
+
'West': [17, 13, 9, 6, 3, 2, 2, 2, 2, 2, 4, 6, 9, 12, 14, 18, 26, 35, 33, 29, 49, 39, 39, 39],
|
| 247 |
+
'Northwest': [15, 11, 8, 5, 2, 3, 2, 1, 1, 2, 4, 6, 9, 12, 14, 18, 26, 35, 33, 29, 39, 39, 39, 39]
|
| 248 |
+
},
|
| 249 |
+
"H": { # Type 8: Heaviest construction
|
| 250 |
+
'North': [4, 2, 0, -2, -4, -3, -2, -1, 1, 3, 6, 8, 10, 12, 15, 17, 19, 21, 23, 23, 21, 18, 16, 12],
|
| 251 |
+
'Northeast': [4, 2, 0, -2, -4, 0, 0, 3, 9, 17, 23, 28, 30, 30, 29, 29, 29, 30, 28, 26, 24, 21, 18, 15],
|
| 252 |
+
'East': [5, 2, 0, -2, -4, 1, 0, 3, 10, 19, 28, 33, 36, 36, 36, 36, 36, 28, 28, 26, 23, 19, 16, 15],
|
| 253 |
+
'Southeast': [4, 1, -1, -3, -4, 0, -1, 1, 5, 11, 17, 22, 25, 27, 27, 27, 27, 27, 25, 23, 21, 18, 15, 13],
|
| 254 |
+
'South': [2, 0, -2, -3, -5, -2, -1, -2, -2, 0, 2, 4, 8, 11, 13, 17, 19, 20, 20, 20, 17, 15, 13, 11],
|
| 255 |
+
'Southwest': [9, 6, 3, 0, -2, 1, 0, 0, 0, 1, 2, 5, 8, 11, 13, 17, 23, 29, 30, 28, 38, 37, 33, 28],
|
| 256 |
+
'West': [14, 10, 6, 3, 0, 0, 1, 1, 1, 1, 3, 5, 8, 11, 13, 17, 25, 34, 32, 28, 48, 38, 38, 38],
|
| 257 |
+
'Northwest': [12, 8, 5, 2, -1, 2, 1, 0, 0, 1, 3, 5, 8, 11, 13, 17, 25, 34, 32, 28, 38, 38, 38, 38]
|
| 258 |
+
}
|
| 259 |
+
},
|
| 260 |
+
"32N": {
|
| 261 |
+
"A": {
|
| 262 |
+
'North': [2, 1, 0, -1, -2, -1, 6, 14, 18, 19, 20, 23, 27, 29, 31, 33, 35, 35, 28, 18, 12, 8, 6, 4],
|
| 263 |
+
'Northeast': [2, 1, 0, -1, -2, 1, 18, 40, 52, 54, 49, 40, 33, 31, 31, 31, 31, 29, 25, 19, 14, 11, 8, 6],
|
| 264 |
+
'East': [2, 1, 0, -1, -2, 1, 19, 45, 60, 64, 60, 49, 37, 33, 32, 31, 33, 33, 30, 25, 20, 14, 11, 8],
|
| 265 |
+
'Southeast': [2, 1, 0, -1, -2, -1, 9, 26, 39, 45, 46, 43, 36, 33, 32, 31, 33, 33, 28, 25, 19, 14, 11, 8],
|
| 266 |
+
'South': [2, 1, 0, -1, -2, -2, 0, 4, 9, 13, 19, 25, 30, 32, 32, 31, 33, 33, 28, 24, 19, 14, 10, 8],
|
| 267 |
+
'Southwest': [2, 1, 2, 3, 4, 4, 2, 4, 9, 14, 18, 23, 28, 43, 60, 74, 31, 33, 28, 24, 19, 21, 13, 9],
|
| 268 |
+
'West': [3, 1, 3, 3, 4, 2, 4, 9, 14, 18, 23, 28, 43, 60, 74, 31, 33, 28, 24, 19, 21, 13, 9, 6],
|
| 269 |
+
'Northwest': [3, 1, 2, 3, 3, 4, 2, 4, 9, 14, 18, 23, 28, 43, 60, 74, 31, 33, 28, 24, 19, 21, 13, 9]
|
| 270 |
+
},
|
| 271 |
+
"B": {
|
| 272 |
+
'North': [3, 2, 1, 0, -1, 0, 7, 15, 19, 20, 21, 24, 28, 30, 32, 34, 36, 36, 29, 19, 13, 9, 7, 5],
|
| 273 |
+
'Northeast': [3, 2, 1, 0, -1, 2, 19, 41, 53, 55, 50, 41, 34, 32, 32, 32, 32, 30, 26, 20, 15, 12, 9, 7],
|
| 274 |
+
'East': [3, 2, 1, 0, -1, 2, 20, 46, 61, 65, 61, 50, 38, 34, 33, 32, 34, 34, 31, 26, 21, 15, 12, 9],
|
| 275 |
+
'Southeast': [3, 2, 1, 0, -1, 0, 10, 27, 40, 46, 47, 44, 37, 34, 33, 32, 34, 34, 29, 26, 20, 15, 12, 9],
|
| 276 |
+
'South': [3, 2, 1, 0, -1, -1, 1, 5, 10, 14, 20, 26, 31, 33, 33, 32, 34, 34, 29, 25, 20, 15, 11, 9],
|
| 277 |
+
'Southwest': [3, 2, 3, 4, 5, 5, 3, 5, 10, 15, 19, 24, 29, 44, 61, 75, 32, 34, 29, 25, 20, 22, 14, 10],
|
| 278 |
+
'West': [4, 2, 4, 4, 5, 3, 5, 10, 15, 19, 24, 29, 44, 61, 75, 32, 34, 29, 25, 20, 22, 14, 10, 7],
|
| 279 |
+
'Northwest': [4, 2, 3, 4, 4, 5, 3, 5, 10, 15, 19, 24, 29, 44, 61, 75, 32, 34, 29, 25, 20, 22, 14, 10]
|
| 280 |
+
},
|
| 281 |
+
"C": {
|
| 282 |
+
'North': [4, 3, 2, 1, 0, 1, 8, 16, 20, 21, 22, 25, 29, 31, 33, 35, 37, 37, 30, 20, 14, 10, 8, 6],
|
| 283 |
+
'Northeast': [4, 3, 2, 1, 0, 3, 20, 42, 54, 56, 51, 42, 35, 33, 33, 33, 33, 31, 27, 21, 16, 13, 10, 8],
|
| 284 |
+
'East': [4, 3, 2, 1, 0, 3, 21, 47, 62, 66, 62, 51, 39, 35, 34, 33, 35, 35, 32, 27, 22, 16, 13, 10],
|
| 285 |
+
'Southeast': [4, 3, 2, 1, 0, 1, 11, 28, 41, 47, 48, 45, 38, 35, 34, 33, 35, 35, 30, 27, 21, 16, 13, 10],
|
| 286 |
+
'South': [4, 3, 2, 1, 0, 0, 2, 6, 11, 15, 21, 27, 32, 34, 34, 33, 35, 35, 30, 26, 21, 16, 12, 10],
|
| 287 |
+
'Southwest': [4, 3, 4, 5, 6, 6, 4, 6, 11, 16, 20, 25, 30, 45, 62, 76, 33, 35, 30, 26, 21, 23, 15, 11],
|
| 288 |
+
'West': [5, 3, 5, 5, 6, 4, 6, 11, 16, 20, 25, 30, 45, 62, 76, 33, 35, 30, 26, 21, 23, 15, 11, 8],
|
| 289 |
+
'Northwest': [5, 3, 4, 5, 5, 6, 4, 6, 11, 16, 20, 25, 30, 45, 62, 76, 33, 35, 30, 26, 21, 23, 15, 11]
|
| 290 |
+
},
|
| 291 |
+
"D": {
|
| 292 |
+
'North': [5, 4, 3, 2, 1, 2, 9, 17, 21, 22, 23, 26, 30, 32, 34, 36, 38, 38, 31, 21, 15, 11, 9, 7],
|
| 293 |
+
'Northeast': [5, 4, 3, 2, 1, 4, 21, 43, 55, 57, 52, 43, 36, 34, 34, 34, 34, 32, 28, 22, 17, 14, 11, 9],
|
| 294 |
+
'East': [5, 4, 3, 2, 1, 4, 22, 48, 63, 67, 63, 52, 40, 36, 35, 34, 36, 36, 33, 28, 23, 17, 14, 11],
|
| 295 |
+
'Southeast': [5, 4, 3, 2, 1, 2, 12, 29, 42, 48, 49, 46, 39, 36, 35, 34, 36, 36, 31, 28, 22, 17, 14, 11],
|
| 296 |
+
'South': [5, 4, 3, 2, 1, 1, 3, 7, 12, 16, 22, 28, 33, 35, 35, 34, 36, 36, 31, 27, 22, 17, 13, 11],
|
| 297 |
+
'Southwest': [5, 4, 5, 6, 7, 7, 5, 7, 12, 17, 21, 26, 31, 46, 63, 77, 34, 36, 31, 27, 22, 24, 16, 12],
|
| 298 |
+
'West': [6, 4, 6, 6, 7, 5, 7, 12, 17, 21, 26, 31, 46, 63, 77, 34, 36, 31, 27, 22, 24, 16, 12, 9],
|
| 299 |
+
'Northwest': [6, 4, 5, 6, 6, 7, 5, 7, 12, 17, 21, 26, 31, 46, 63, 77, 34, 36, 31, 27, 22, 24, 16, 12]
|
| 300 |
+
},
|
| 301 |
+
"E": {
|
| 302 |
+
'North': [14, 12, 10, 8, 6, 4, 3, 4, 6, 8, 11, 13, 15, 17, 20, 22, 24, 26, 28, 28, 26, 23, 21, 17],
|
| 303 |
+
'Northeast': [14, 12, 9, 8, 6, 4, 4, 7, 13, 21, 27, 32, 34, 34, 33, 33, 33, 34, 32, 30, 28, 25, 22, 19],
|
| 304 |
+
'East': [15, 12, 10, 8, 6, 5, 4, 7, 14, 23, 32, 37, 40, 40, 40, 40, 40, 32, 32, 30, 27, 23, 20, 19],
|
| 305 |
+
'Southeast': [14, 11, 9, 7, 6, 4, 3, 5, 9, 15, 21, 26, 29, 31, 31, 31, 31, 31, 29, 27, 25, 22, 19, 17],
|
| 306 |
+
'South': [12, 10, 8, 7, 5, 4, 3, 2, 2, 4, 6, 8, 12, 15, 17, 21, 23, 24, 24, 24, 21, 19, 17, 15],
|
| 307 |
+
'Southwest': [19, 16, 13, 10, 8, 6, 4, 4, 4, 5, 6, 9, 12, 15, 17, 21, 27, 33, 34, 32, 42, 41, 37, 32],
|
| 308 |
+
'West': [24, 20, 16, 13, 10, 8, 6, 5, 5, 5, 7, 9, 12, 15, 17, 21, 29, 38, 36, 32, 52, 42, 42, 42],
|
| 309 |
+
'Northwest': [22, 18, 15, 12, 9, 7, 5, 4, 4, 5, 7, 9, 12, 15, 17, 21, 29, 38, 36, 32, 42, 42, 42, 42]
|
| 310 |
+
},
|
| 311 |
+
"F": {
|
| 312 |
+
'North': [11, 9, 7, 5, 3, 2, 2, 3, 5, 7, 10, 12, 14, 16, 19, 21, 23, 25, 27, 27, 25, 22, 20, 16],
|
| 313 |
+
'Northeast': [11, 9, 7, 5, 3, 3, 3, 6, 12, 20, 26, 31, 33, 33, 32, 32, 32, 33, 31, 29, 27, 24, 21, 18],
|
| 314 |
+
'East': [12, 9, 7, 5, 3, 4, 3, 6, 13, 22, 31, 36, 39, 39, 39, 39, 39, 31, 31, 29, 26, 22, 19, 18],
|
| 315 |
+
'Southeast': [11, 8, 6, 4, 3, 3, 2, 4, 8, 14, 20, 25, 28, 30, 30, 30, 30, 30, 28, 26, 24, 21, 18, 16],
|
| 316 |
+
'South': [9, 7, 5, 4, 2, 3, 2, 1, 1, 3, 5, 7, 11, 14, 16, 20, 22, 23, 23, 23, 20, 18, 16, 14],
|
| 317 |
+
'Southwest': [16, 13, 10, 7, 5, 4, 3, 3, 3, 4, 5, 8, 11, 14, 16, 20, 26, 32, 33, 31, 41, 40, 36, 31],
|
| 318 |
+
'West': [21, 17, 13, 10, 7, 5, 4, 4, 4, 4, 6, 8, 11, 14, 16, 20, 28, 37, 35, 31, 51, 41, 41, 41],
|
| 319 |
+
'Northwest': [19, 15, 12, 9, 6, 5, 4, 3, 3, 4, 6, 8, 11, 14, 16, 20, 28, 37, 35, 31, 41, 41, 41, 41]
|
| 320 |
+
},
|
| 321 |
+
"G": {
|
| 322 |
+
'North': [8, 6, 4, 2, 0, 1, 1, 2, 4, 6, 9, 11, 13, 15, 18, 20, 22, 24, 26, 26, 24, 21, 19, 15],
|
| 323 |
+
'Northeast': [8, 6, 4, 2, 0, 2, 2, 5, 11, 19, 25, 30, 32, 32, 31, 31, 31, 32, 30, 28, 26, 23, 20, 17],
|
| 324 |
+
'East': [9, 6, 4, 2, 0, 3, 2, 5, 12, 21, 30, 35, 38, 38, 38, 38, 38, 30, 30, 28, 25, 21, 18, 17],
|
| 325 |
+
'Southeast': [8, 5, 3, 1, 0, 2, 1, 3, 7, 13, 19, 24, 27, 29, 29, 29, 29, 29, 27, 25, 23, 20, 17, 15],
|
| 326 |
+
'South': [6, 4, 2, 1, -1, 2, 1, 0, 0, 2, 4, 6, 10, 13, 15, 19, 21, 22, 22, 22, 19, 17, 15, 13],
|
| 327 |
+
'Southeast': [13, 10, 7, 4, 2, 3, 2, 2, 2, 3, 4, 7, 10, 13, 15, 19, 25, 31, 32, 30, 40, 39, 35, 30],
|
| 328 |
+
'West': [18, 14, 10, 7, 4, 3, 3, 3, 3, 3, 5, 7, 10, 13, 15, 19, 27, 36, 34, 30, 50, 40, 40, 40],
|
| 329 |
+
'Northwest': [16, 12, 9, 6, 3, 4, 3, 2, 2, 3, 5, 7, 10, 13, 15, 19, 27, 36, 34, 30, 40, 40, 40, 40]
|
| 330 |
+
},
|
| 331 |
+
"H": {
|
| 332 |
+
'North': [5, 3, 1, -1, -3, -2, -1, 0, 2, 4, 7, 9, 11, 13, 16, 18, 20, 22, 24, 24, 22, 19, 17, 13],
|
| 333 |
+
'Northeast': [5, 3, 1, -1, -3, 1, 1, 4, 10, 18, 24, 29, 31, 31, 30, 30, 30, 31, 29, 27, 25, 22, 19, 16],
|
| 334 |
+
'East': [6, 3, 1, -1, -3, 2, 1, 4, 11, 20, 29, 34, 37, 37, 37, 37, 37, 29, 29, 27, 24, 20, 17, 16],
|
| 335 |
+
'Southeast': [5, 2, 0, -2, -3, 1, 0, 2, 6, 12, 18, 23, 26, 28, 28, 28, 28, 28, 26, 24, 22, 19, 16, 14],
|
| 336 |
+
'South': [3, 1, -1, -2, -4, -1, 0, -1, -1, 1, 3, 5, 9, 12, 14, 18, 20, 21, 21, 21, 18, 16, 14, 12],
|
| 337 |
+
'Southwest': [10, 7, 4, 1, -1, 2, 1, 1, 1, 2, 3, 6, 9, 12, 14, 18, 24, 30, 31, 29, 39, 38, 34, 29],
|
| 338 |
+
'West': [15, 11, 7, 4, 1, 1, 2, 2, 2, 2, 4, 6, 9, 12, 14, 18, 26, 35, 33, 29, 49, 39, 39, 39],
|
| 339 |
+
'Northwest': [13, 9, 6, 3, 0, 3, 2, 1, 1, 2, 4, 6, 9, 12, 14, 18, 26, 35, 33, 29, 39, 39, 39, 39]
|
| 340 |
+
}
|
| 341 |
+
},
|
| 342 |
+
"36N": {
|
| 343 |
+
"A": {
|
| 344 |
+
'North': [3, 2, 1, 0, -1, 0, 7, 15, 19, 20, 21, 24, 28, 30, 32, 34, 36, 36, 29, 19, 13, 9, 7, 5],
|
| 345 |
+
'Northeast': [3, 2, 1, 0, -1, 2, 19, 41, 53, 55, 50, 41, 34, 32, 32, 32, 32, 30, 26, 20, 15, 12, 9, 7],
|
| 346 |
+
'East': [3, 2, 1, 0, -1, 2, 20, 46, 61, 65, 61, 50, 38, 34, 33, 32, 34, 34, 31, 26, 21, 15, 12, 9],
|
| 347 |
+
'Southeast': [3, 2, 1, 0, -1, 0, 10, 27, 40, 46, 47, 44, 37, 34, 33, 32, 34, 34, 29, 26, 20, 15, 12, 9],
|
| 348 |
+
'South': [3, 2, 1, 0, -1, -1, 1, 5, 10, 14, 20, 26, 31, 33, 33, 32, 34, 34, 29, 25, 20, 15, 11, 9],
|
| 349 |
+
'Southwest': [3, 2, 3, 4, 5, 5, 3, 5, 10, 15, 19, 24, 29, 44, 61, 75, 32, 34, 29, 25, 20, 22, 14, 10],
|
| 350 |
+
'West': [4, 2, 4, 4, 5, 3, 5, 10, 15, 19, 24, 29, 44, 61, 75, 32, 34, 29, 25, 20, 22, 14, 10, 7],
|
| 351 |
+
'Northwest': [4, 2, 3, 4, 4, 5, 3, 5, 10, 15, 19, 24, 29, 44, 61, 75, 32, 34, 29, 25, 20, 22, 14, 10]
|
| 352 |
+
},
|
| 353 |
+
"B": {
|
| 354 |
+
'North': [4, 3, 2, 1, 0, 1, 8, 16, 20, 21, 22, 25, 29, 31, 33, 35, 37, 37, 30, 20, 14, 10, 8, 6],
|
| 355 |
+
'Northeast': [4, 3, 2, 1, 0, 3, 20, 42, 54, 56, 51, 42, 35, 33, 33, 33, 33, 31, 27, 21, 16, 13, 10, 8],
|
| 356 |
+
'East': [4, 3, 2, 1, 0, 3, 21, 47, 62, 66, 62, 51, 39, 35, 34, 33, 35, 35, 32, 27, 22, 16, 13, 10],
|
| 357 |
+
'Southeast': [4, 3, 2, 1, 0, 1, 11, 28, 41, 47, 48, 45, 38, 35, 34, 33, 35, 35, 30, 27, 21, 16, 13, 10],
|
| 358 |
+
'South': [4, 3, 2, 1, 0, 0, 2, 6, 11, 15, 21, 27, 32, 34, 34, 33, 35, 35, 30, 26, 21, 16, 12, 10],
|
| 359 |
+
'Southwest': [4, 3, 4, 5, 6, 6, 4, 6, 11, 16, 20, 25, 30, 45, 62, 76, 33, 35, 30, 26, 21, 23, 15, 11],
|
| 360 |
+
'West': [5, 3, 5, 5, 6, 4, 6, 11, 16, 20, 25, 30, 45, 62, 76, 33, 35, 30, 26, 21, 23, 15, 11, 8],
|
| 361 |
+
'Northwest': [5, 3, 4, 5, 5, 6, 4, 6, 11, 16, 20, 25, 30, 45, 62, 76, 33, 35, 30, 26, 21, 23, 15, 11]
|
| 362 |
+
},
|
| 363 |
+
"C": {
|
| 364 |
+
'North': [5, 4, 3, 2, 1, 2, 9, 17, 21, 22, 23, 26, 30, 32, 34, 36, 38, 38, 31, 21, 15, 11, 9, 7],
|
| 365 |
+
'Northeast': [5, 4, 3, 2, 1, 4, 21, 43, 55, 57, 52, 43, 36, 34, 34, 34, 34, 32, 28, 22, 17, 14, 11, 9],
|
| 366 |
+
'East': [5, 4, 3, 2, 1, 4, 22, 48, 63, 67, 63, 52, 40, 36, 35, 34, 36, 36, 33, 28, 23, 17, 14, 11],
|
| 367 |
+
'Southeast': [5, 4, 3, 2, 1, 2, 12, 29, 42, 48, 49, 46, 39, 36, 35, 34, 36, 36, 31, 28, 22, 17, 14, 11],
|
| 368 |
+
'South': [5, 4, 3, 2, 1, 1, 3, 7, 12, 16, 22, 28, 33, 35, 35, 34, 36, 36, 31, 27, 22, 17, 13, 11],
|
| 369 |
+
'Southwest': [5, 4, 5, 6, 7, 7, 5, 7, 12, 17, 21, 26, 31, 46, 63, 77, 34, 36, 31, 27, 22, 24, 16, 12],
|
| 370 |
+
'West': [6, 4, 6, 6, 7, 5, 7, 12, 17, 21, 26, 31, 46, 63, 77, 34, 36, 31, 27, 22, 24, 16, 12, 9],
|
| 371 |
+
'Northwest': [6, 4, 5, 6, 6, 7, 5, 7, 12, 17, 21, 26, 31, 46, 63, 77, 34, 36, 31, 27, 22, 24, 16, 12]
|
| 372 |
+
},
|
| 373 |
+
"D": {
|
| 374 |
+
'North': [6, 5, 4, 3, 2, 3, 10, 18, 22, 23, 24, 27, 31, 33, 35, 37, 39, 39, 32, 22, 16, 12, 10, 8],
|
| 375 |
+
'Northeast': [6, 5, 4, 3, 2, 5, 22, 44, 56, 58, 53, 44, 37, 35, 35, 35, 35, 33, 29, 23, 18, 15, 12, 10],
|
| 376 |
+
'East': [6, 5, 4, 3, 2, 5, 23, 49, 64, 68, 64, 53, 41, 37, 36, 35, 37, 37, 34, 29, 24, 18, 15, 12],
|
| 377 |
+
'Southeast': [6, 5, 4, 3, 2, 3, 13, 30, 43, 49, 50, 47, 40, 37, 36, 35, 37, 37, 32, 29, 23, 18, 15, 12],
|
| 378 |
+
'South': [6, 5, 4, 3, 2, 2, 4, 8, 13, 17, 23, 29, 34, 36, 36, 35, 37, 37, 32, 28, 23, 18, 14, 12],
|
| 379 |
+
'Southwest': [6, 5, 6, 7, 8, 8, 6, 8, 13, 18, 22, 27, 32, 47, 64, 78, 35, 37, 32, 28, 23, 25, 17, 13],
|
| 380 |
+
'West': [7, 5, 7, 7, 8, 6, 8, 13, 18, 22, 27, 32, 47, 64, 78, 35, 37, 32, 28, 23, 25, 17, 13, 10],
|
| 381 |
+
'Northwest': [7, 5, 6, 7, 7, 8, 6, 8, 13, 18, 22, 27, 32, 47, 64, 78, 35, 37, 32, 28, 23, 25, 17, 13]
|
| 382 |
+
},
|
| 383 |
+
"E": {
|
| 384 |
+
'North': [15, 13, 11, 9, 7, 5, 4, 5, 7, 9, 12, 14, 16, 18, 21, 23, 25, 27, 29, 29, 27, 24, 22, 18],
|
| 385 |
+
'Northeast': [15, 13, 10, 9, 7, 5, 5, 8, 14, 22, 28, 33, 35, 35, 34, 34, 34, 35, 33, 31, 29, 26, 23, 20],
|
| 386 |
+
'East': [16, 13, 11, 9, 7, 6, 5, 8, 15, 24, 33, 38, 41, 41, 41, 41, 41, 33, 33, 31, 28, 24, 21, 20],
|
| 387 |
+
'Southeast': [15, 12, 10, 8, 7, 5, 4, 6, 10, 16, 22, 27, 30, 32, 32, 32, 32, 32, 30, 28, 26, 23, 20, 18],
|
| 388 |
+
'South': [13, 11, 9, 8, 6, 5, 4, 3, 3, 5, 7, 9, 13, 16, 18, 22, 24, 25, 25, 25, 22, 20, 18, 16],
|
| 389 |
+
'Southwest': [20, 17, 14, 11, 9, 7, 5, 5, 5, 6, 7, 10, 13, 16, 18, 22, 28, 34, 35, 33, 43, 42, 38, 33],
|
| 390 |
+
'West': [25, 21, 17, 14, 11, 9, 7, 6, 6, 6, 8, 10, 13, 16, 18, 22, 30, 39, 37, 33, 53, 43, 43, 43],
|
| 391 |
+
'Northwest': [23, 19, 16, 13, 10, 8, 6, 5, 5, 6, 8, 10, 13, 16, 18, 22, 30, 39, 37, 33, 43, 43, 43, 43]
|
| 392 |
+
},
|
| 393 |
+
"F": {
|
| 394 |
+
'North': [12, 10, 8, 6, 4, 3, 3, 4, 6, 8, 11, 13, 15, 17, 20, 22, 24, 26, 28, 28, 26, 23, 21, 17],
|
| 395 |
+
'Northeast': [12, 10, 8, 6, 4, 4, 4, 7, 13, 21, 27, 32, 34, 34, 33, 33, 33, 34, 32, 30, 28, 25, 22, 19],
|
| 396 |
+
'East': [13, 10, 8, 6, 4, 5, 4, 7, 14, 23, 32, 37, 40, 40, 40, 40, 40, 32, 32, 30, 27, 23, 20, 19],
|
| 397 |
+
'Southeast': [12, 9, 7, 5, 4, 4, 3, 5, 9, 15, 21, 26, 29, 31, 31, 31, 31, 31, 29, 27, 25, 22, 19, 17],
|
| 398 |
+
'South': [10, 8, 6, 5, 3, 4, 3, 2, 2, 4, 6, 8, 12, 15, 17, 21, 23, 24, 24, 24, 21, 19, 17, 15],
|
| 399 |
+
'Southwest': [17, 14, 11, 8, 6, 5, 4, 4, 4, 5, 6, 9, 12, 15, 17, 21, 27, 33, 34, 32, 42, 41, 37, 32],
|
| 400 |
+
'West': [22, 18, 14, 11, 8, 6, 5, 5, 5, 5, 7, 9, 12, 15, 17, 21, 29, 38, 36, 32, 52, 42, 42, 42],
|
| 401 |
+
'Northwest': [20, 16, 13, 10, 7, 6, 5, 4, 4, 5, 7, 9, 12, 15, 17, 21, 29, 38, 36, 32, 42, 42, 42, 42]
|
| 402 |
+
},
|
| 403 |
+
"G": {
|
| 404 |
+
'North': [9, 7, 5, 3, 1, 2, 2, 3, 5, 7, 10, 12, 14, 16, 19, 21, 23, 25, 27, 27, 25, 22, 20, 16],
|
| 405 |
+
'Northeast': [9, 7, 5, 3, 1, 3, 3, 6, 12, 20, 26, 31, 33, 33, 32, 32, 32, 33, 31, 29, 27, 24, 21, 18],
|
| 406 |
+
'East': [10, 7, 5, 3, 1, 4, 3, 6, 13, 22, 31, 36, 39, 39, 39, 39, 39, 31, 31, 29, 26, 22, 19, 18],
|
| 407 |
+
'Southeast': [9, 6, 4, 2, 1, 3, 2, 4, 8, 14, 20, 25, 28, 30, 30, 30, 30, 30, 28, 26, 24, 21, 18, 16],
|
| 408 |
+
'South': [7, 5, 3, 2, 0, 3, 2, 1, 1, 3, 5, 7, 11, 14, 16, 20, 22, 23, 23, 23, 20, 18, 16, 14],
|
| 409 |
+
'Southwest': [14, 11, 8, 5, 3, 4, 3, 3, 3, 4, 5, 8, 11, 14, 16, 20, 26, 32, 33, 31, 41, 40, 36, 31],
|
| 410 |
+
'West': [19, 15, 11, 8, 5, 4, 4, 4, 4, 4, 6, 8, 11, 14, 16, 20, 28, 37, 35, 31, 51, 41, 41, 41],
|
| 411 |
+
'Northwest': [17, 13, 10, 7, 4, 5, 4, 3, 3, 4, 6, 8, 11, 14, 16, 20, 28, 37, 35, 31, 41, 41, 41, 41]
|
| 412 |
+
},
|
| 413 |
+
"H": {
|
| 414 |
+
'North': [6, 4, 2, 0, -2, -1, 0, 1, 3, 5, 8, 10, 12, 14, 17, 19, 21, 23, 25, 25, 23, 20, 18, 14],
|
| 415 |
+
'Northeast': [6, 4, 2, 0, -2, 2, 2, 5, 11, 19, 25, 30, 32, 32, 31, 31, 31, 32, 30, 28, 26, 23, 20, 17],
|
| 416 |
+
'East': [7, 4, 2, 0, -2, 3, 2, 5, 12, 21, 30, 35, 38, 38, 38, 38, 38, 30, 30, 28, 25, 21, 18, 17],
|
| 417 |
+
'Southeast': [6, 3, 1, -1, -2, 2, 1, 3, 7, 13, 19, 24, 27, 29, 29, 29, 29, 29, 27, 25, 23, 20, 17, 15],
|
| 418 |
+
'South': [4, 2, 0, -1, -3, 0, 1, 0, 0, 2, 4, 6, 10, 13, 15, 19, 21, 22, 22, 22, 19, 17, 15, 13],
|
| 419 |
+
'Southwest': [11, 8, 5, 2, 0, 3, 2, 2, 2, 3, 4, 7, 10, 13, 15, 19, 25, 31, 32, 30, 40, 39, 35, 30],
|
| 420 |
+
'West': [16, 12, 8, 5, 2, 2, 3, 3, 3, 3, 5, 7, 10, 13, 15, 19, 27, 36, 34, 30, 50, 40, 40, 40],
|
| 421 |
+
'Northwest': [14, 10, 7, 4, 1, 4, 3, 2, 2, 3, 5, 7, 10, 13, 15, 19, 27, 36, 34, 30, 40, 40, 40, 40]
|
| 422 |
+
}
|
| 423 |
+
},
|
| 424 |
+
"44N": {
|
| 425 |
+
"A": {
|
| 426 |
+
'North': [5, 4, 3, 2, 1, 2, 9, 17, 21, 22, 23, 26, 30, 32, 34, 36, 38, 38, 31, 21, 15, 11, 9, 7],
|
| 427 |
+
'Northeast': [5, 4, 3, 2, 1, 4, 21, 43, 55, 57, 52, 43, 36, 34, 34, 34, 34, 32, 28, 22, 17, 14, 11, 9],
|
| 428 |
+
'East': [5, 4, 3, 2, 1, 4, 22, 48, 63, 67, 63, 52, 40, 36, 35, 34, 36, 36, 33, 28, 23, 17, 14, 11],
|
| 429 |
+
'Southeast': [5, 4, 3, 2, 1, 2, 12, 29, 42, 48, 49, 46, 39, 36, 35, 34, 36, 36, 31, 28, 22, 17, 14, 11],
|
| 430 |
+
'South': [5, 4, 3, 2, 1, 1, 3, 7, 12, 16, 22, 28, 33, 35, 35, 34, 36, 36, 31, 27, 22, 17, 13, 11],
|
| 431 |
+
'Southwest': [5, 4, 5, 6, 7, 7, 5, 7, 12, 17, 21, 26, 31, 46, 63, 77, 34, 36, 31, 27, 22, 24, 16, 12],
|
| 432 |
+
'West': [6, 4, 6, 6, 7, 5, 7, 12, 17, 21, 26, 31, 46, 63, 77, 34, 36, 31, 27, 22, 24, 16, 12, 9],
|
| 433 |
+
'Northwest': [6, 4, 5, 6, 6, 7, 5, 7, 12, 17, 21, 26, 31, 46, 63, 77, 34, 36, 31, 27, 22, 24, 16, 12]
|
| 434 |
+
},
|
| 435 |
+
"B": {
|
| 436 |
+
'North': [6, 5, 4, 3, 2, 3, 10, 18, 22, 23, 24, 27, 31, 33, 35, 37, 39, 39, 32, 22, 16, 12, 10, 8],
|
| 437 |
+
'Northeast': [6, 5, 4, 3, 2, 5, 22, 44, 56, 58, 53, 44, 37, 35, 35, 35, 35, 33, 29, 23, 18, 15, 12, 10],
|
| 438 |
+
'East': [6, 5, 4, 3, 2, 5, 23, 49, 64, 68, 64, 53, 41, 37, 36, 35, 37, 37, 34, 29, 24, 18, 15, 12],
|
| 439 |
+
'Southeast': [6, 5, 4, 3, 2, 3, 13, 30, 43, 49, 50, 47, 40, 37, 36, 35, 37, 37, 32, 29, 23, 18, 15, 12],
|
| 440 |
+
'South': [6, 5, 4, 3, 2, 2, 4, 8, 13, 17, 23, 29, 34, 36, 36, 35, 37, 37, 32, 28, 23, 18, 14, 12],
|
| 441 |
+
'Southwest': [6, 5, 6, 7, 8, 8, 6, 8, 13, 18, 22, 27, 32, 47, 64, 78, 35, 37, 32, 28, 23, 25, 17, 13],
|
| 442 |
+
'West': [7, 5, 7, 7, 8, 6, 8, 13, 18, 22, 27, 32, 47, 64, 78, 35, 37, 32, 28, 23, 25, 17, 13, 10],
|
| 443 |
+
'Northwest': [7, 5, 6, 7, 7, 8, 6, 8, 13, 18, 22, 27, 32, 47, 64, 78, 35, 37, 32, 28, 23, 25, 17, 13]
|
| 444 |
+
},
|
| 445 |
+
"C": {
|
| 446 |
+
'North': [7, 6, 5, 4, 3, 4, 11, 19, 23, 24, 25, 28, 32, 34, 36, 38, 40, 40, 33, 23, 17, 13, 11, 9],
|
| 447 |
+
'Northeast': [7, 6, 5, 4, 3, 6, 23, 45, 57, 59, 54, 45, 38, 36, 36, 36, 36, 34, 30, 24, 19, 16, 13, 11],
|
| 448 |
+
'East': [7, 6, 5, 4, 3, 6, 24, 50, 65, 69, 65, 54, 42, 38, 37, 36, 38, 38, 35, 30, 25, 19, 16, 13],
|
| 449 |
+
'Southeast': [7, 6, 5, 4, 3, 4, 14, 31, 44, 50, 51, 48, 41, 38, 37, 36, 38, 38, 33, 30, 24, 19, 16, 13],
|
| 450 |
+
'South': [7, 6, 5, 4, 3, 3, 5, 9, 14, 18, 24, 30, 35, 37, 37, 36, 38, 38, 33, 29, 24, 19, 15, 13],
|
| 451 |
+
'Southwest': [7, 6, 7, 8, 9, 9, 7, 9, 14, 19, 23, 28, 33, 48, 65, 79, 36, 38, 33, 29, 24, 26, 18, 14],
|
| 452 |
+
'West': [8, 6, 8, 8, 9, 7, 9, 14, 19, 23, 28, 33, 48, 65, 79, 36, 38, 33, 29, 24, 26, 18, 14, 11],
|
| 453 |
+
'Northwest': [8, 6, 7, 8, 8, 9, 7, 9, 14, 19, 23, 28, 33, 48, 65, 79, 36, 38, 33, 29, 24, 26, 18, 14]
|
| 454 |
+
},
|
| 455 |
+
"D": {
|
| 456 |
+
'North': [8, 7, 6, 5, 4, 5, 12, 20, 24, 25, 26, 29, 33, 35, 37, 39, 41, 41, 34, 24, 18, 14, 12, 10],
|
| 457 |
+
'Northeast': [8, 7, 6, 5, 4, 7, 24, 46, 58, 60, 55, 46, 39, 37, 37, 37, 37, 35, 31, 25, 20, 17, 14, 12],
|
| 458 |
+
'East': [8, 7, 6, 5, 4, 7, 25, 51, 66, 70, 66, 55, 43, 39, 38, 37, 39, 39, 36, 31, 26, 20, 17, 14],
|
| 459 |
+
'Southeast': [8, 7, 6, 5, 4, 5, 15, 32, 45, 51, 52, 49, 42, 39, 38, 37, 39, 39, 34, 31, 25, 20, 17, 14],
|
| 460 |
+
'South': [8, 7, 6, 5, 4, 4, 6, 10, 15, 19, 25, 31, 36, 38, 38, 37, 39, 39, 34, 30, 25, 20, 16, 14],
|
| 461 |
+
'Southwest': [8, 7, 8, 9, 10, 10, 8, 10, 15, 20, 24, 29, 34, 49, 66, 80, 37, 39, 34, 30, 25, 27, 19, 15],
|
| 462 |
+
'West': [9, 7, 9, 9, 10, 8, 10, 15, 20, 24, 29, 34, 49, 66, 80, 37, 39, 34, 30, 25, 27, 19, 15, 12],
|
| 463 |
+
'Northwest': [9, 7, 8, 9, 9, 10, 8, 10, 15, 20, 24, 29, 34, 49, 66, 80, 37, 39, 34, 30, 25, 27, 19, 15]
|
| 464 |
+
},
|
| 465 |
+
"E": {
|
| 466 |
+
'North': [17, 15, 13, 11, 9, 7, 6, 7, 9, 11, 14, 16, 18, 20, 23, 25, 27, 29, 31, 31, 29, 26, 24, 20],
|
| 467 |
+
'Northeast': [17, 15, 12, 11, 9, 7, 7, 10, 16, 24, 30, 35, 37, 37, 36, 36, 36, 37, 35, 33, 31, 28, 25, 22],
|
| 468 |
+
'East': [18, 15, 13, 11, 9, 8, 7, 10, 17, 26, 35, 40, 43, 43, 43, 43, 43, 35, 35, 33, 30, 26, 23, 22],
|
| 469 |
+
'Southeast': [17, 14, 12, 10, 9, 7, 6, 8, 12, 18, 24, 29, 32, 34, 34, 34, 34, 34, 32, 30, 28, 25, 22, 20],
|
| 470 |
+
'South': [15, 13, 11, 10, 8, 7, 6, 5, 5, 7, 9, 11, 15, 18, 20, 24, 26, 27, 27, 27, 24, 22, 20, 18],
|
| 471 |
+
'Southwest': [22, 19, 16, 13, 11, 9, 7, 7, 7, 8, 9, 12, 15, 18, 20, 24, 30, 36, 37, 35, 45, 44, 40, 35],
|
| 472 |
+
'West': [27, 23, 19, 16, 13, 11, 9, 8, 8, 8, 10, 12, 15, 18, 20, 24, 32, 41, 39, 35, 55, 45, 45, 45],
|
| 473 |
+
'Northwest': [25, 21, 18, 15, 12, 10, 8, 7, 7, 8, 10, 12, 15, 18, 20, 24, 32, 41, 39, 35, 45, 45, 45, 45]
|
| 474 |
+
},
|
| 475 |
+
"F": {
|
| 476 |
+
'North': [14, 12, 10, 8, 6, 5, 5, 6, 8, 10, 13, 15, 17, 19, 22, 24, 26, 28, 30, 30, 28, 25, 23, 19],
|
| 477 |
+
'Northeast': [14, 12, 10, 8, 6, 6, 6, 9, 15, 23, 29, 34, 36, 36, 35, 35, 35, 36, 34, 32, 30, 27, 24, 21],
|
| 478 |
+
'East': [15, 12, 10, 8, 6, 7, 6, 9, 16, 25, 34, 39, 42, 42, 42, 42, 42, 34, 34, 32, 29, 25, 22, 21],
|
| 479 |
+
'Southeast': [14, 11, 9, 7, 6, 6, 5, 7, 11, 17, 23, 28, 31, 33, 33, 33, 33, 33, 31, 29, 27, 24, 21, 19],
|
| 480 |
+
'South': [12, 10, 8, 7, 5, 6, 5, 4, 4, 6, 8, 10, 14, 17, 19, 23, 25, 26, 26, 26, 23, 21, 19, 17],
|
| 481 |
+
'Southwest': [19, 16, 13, 10, 8, 7, 6, 6, 6, 7, 8, 11, 14, 17, 19, 23, 29, 35, 36, 34, 44, 43, 39, 34],
|
| 482 |
+
'West': [24, 20, 16, 13, 10, 8, 7, 7, 7, 7, 9, 11, 14, 17, 19, 23, 31, 40, 38, 34, 54, 44, 44, 44],
|
| 483 |
+
'Northwest': [22, 18, 15, 12, 9, 8, 7, 6, 6, 7, 9, 11, 14, 17, 19, 23, 31, 40, 38, 34, 44, 44, 44, 44]
|
| 484 |
+
},
|
| 485 |
+
"G": {
|
| 486 |
+
'North': [11, 9, 7, 5, 3, 4, 4, 5, 7, 9, 12, 14, 16, 18, 21, 23, 25, 27, 29, 29, 27, 24, 22, 18],
|
| 487 |
+
'Northeast': [11, 9, 7, 5, 3, 5, 5, 8, 14, 22, 28, 33, 35, 35, 34, 34, 34, 35, 33, 31, 29, 26, 23, 20],
|
| 488 |
+
'East': [12, 9, 7, 5, 3, 6, 5, 8, 15, 24, 33, 38, 41, 41, 41, 41, 41, 33, 33, 31, 28, 24, 21, 20],
|
| 489 |
+
'Southeast': [11, 8, 6, 4, 3, 5, 4, 6, 10, 16, 22, 27, 30, 32, 32, 32, 32, 32, 30, 28, 26, 23, 20, 18],
|
| 490 |
+
'South': [9, 7, 5, 4, 2, 5, 4, 3, 3, 5, 7, 9, 13, 16, 18, 22, 24, 25, 25, 25, 22, 20, 18, 16],
|
| 491 |
+
'Southwest': [16, 13, 10, 7, 5, 6, 5, 5, 5, 6, 7, 10, 13, 16, 18, 22, 28, 34, 35, 33, 43, 42, 38, 33],
|
| 492 |
+
'West': [21, 17, 13, 10, 7, 6, 6, 6, 6, 6, 8, 10, 13, 16, 18, 22, 30, 39, 37, 33, 53, 43, 43, 43],
|
| 493 |
+
'Northwest': [19, 15, 12, 9, 6, 7, 6, 5, 5, 6, 8, 10, 13, 16, 18, 22, 30, 39, 37, 33, 43, 43, 43, 43]
|
| 494 |
+
},
|
| 495 |
+
"H": {
|
| 496 |
+
'North': [8, 6, 4, 2, 0, 3, 3, 4, 6, 8, 11, 13, 15, 17, 20, 22, 24, 26, 28, 28, 26, 23, 21, 17],
|
| 497 |
+
'Northeast': [8, 6, 4, 2, 0, 4, 4, 7, 13, 21, 27, 32, 34, 34, 33, 33, 33, 34, 32, 30, 28, 25, 22, 19],
|
| 498 |
+
'East': [9, 6, 4, 2, 0, 5, 4, 7, 14, 23, 32, 37, 40, 40, 40, 40, 40, 32, 32, 30, 27, 23, 20, 19],
|
| 499 |
+
'Southeast': [8, 5, 3, 1, 0, 4, 3, 5, 9, 15, 21, 26, 29, 31, 31, 31, 31, 31, 29, 27, 25, 22, 19, 17],
|
| 500 |
+
'South': [6, 4, 2, 1, -1, 2, 3, 2, 2, 4, 6, 8, 12, 15, 17, 21, 23, 24, 24, 24, 21, 19, 17, 15],
|
| 501 |
+
'Southwest': [13, 10, 7, 4, 2, 5, 4, 4, 4, 5, 6, 9, 12, 15, 17, 21, 27, 33, 34, 32, 42, 41, 37, 32],
|
| 502 |
+
'West': [18, 14, 10, 7, 4, 4, 5, 5, 5, 5, 7, 9, 12, 15, 17, 21, 29, 38, 36, 32, 52, 42, 42, 42],
|
| 503 |
+
'Northwest': [16, 12, 9, 6, 3, 6, 5, 4, 4, 5, 7, 9, 12, 15, 17, 21, 29, 38, 36, 32, 42, 42, 42, 42]
|
| 504 |
+
}
|
| 505 |
+
},
|
| 506 |
+
"56N": {
|
| 507 |
+
"A": {
|
| 508 |
+
'North': [7, 6, 5, 4, 3, 4, 11, 19, 23, 24, 25, 28, 32, 34, 36, 38, 40, 40, 33, 23, 17, 13, 11, 9],
|
| 509 |
+
'Northeast': [7, 6, 5, 4, 3, 6, 23, 45, 57, 59, 54, 45, 38, 36, 36, 36, 36, 34, 30, 24, 19, 16, 13, 11],
|
| 510 |
+
'East': [7, 6, 5, 4, 3, 6, 24, 50, 65, 69, 65, 54, 42, 38, 37, 36, 38, 38, 35, 30, 25, 19, 16, 13],
|
| 511 |
+
'Southeast': [7, 6, 5, 4, 3, 4, 14, 31, 44, 50, 51, 48, 41, 38, 37, 36, 38, 38, 33, 30, 24, 19, 16, 13],
|
| 512 |
+
'South': [7, 6, 5, 4, 3, 3, 5, 9, 14, 18, 24, 30, 35, 37, 37, 36, 38, 38, 33, 29, 24, 19, 15, 13],
|
| 513 |
+
'Southwest': [7, 6, 7, 8, 9, 9, 7, 9, 14, 19, 23, 28, 33, 48, 65, 79, 36, 38, 33, 29, 24, 26, 18, 14],
|
| 514 |
+
'West': [8, 6, 8, 8, 9, 7, 9, 14, 19, 23, 28, 33, 48, 65, 79, 36, 38, 33, 29, 24, 26, 18, 14, 11],
|
| 515 |
+
'Northwest': [8, 6, 7, 8, 8, 9, 7, 9, 14, 19, 23, 28, 33, 48, 65, 79, 36, 38, 33, 29, 24, 26, 18, 14]
|
| 516 |
+
},
|
| 517 |
+
"B": {
|
| 518 |
+
'North': [8, 7, 6, 5, 4, 5, 12, 20, 24, 25, 26, 29, 33, 35, 37, 39, 41, 41, 34, 24, 18, 14, 12, 10],
|
| 519 |
+
'Northeast': [8, 7, 6, 5, 4, 7, 24, 46, 58, 60, 55, 46, 39, 37, 37, 37, 37, 35, 31, 25, 20, 17, 14, 12],
|
| 520 |
+
'East': [8, 7, 6, 5, 4, 7, 25, 51, 66, 70, 66, 55, 43, 39, 38, 37, 39, 39, 36, 31, 26, 20, 17, 14],
|
| 521 |
+
'Southeast': [8, 7, 6, 5, 4, 5, 15, 32, 45, 51, 52, 49, 42, 39, 38, 37, 39, 39, 34, 31, 25, 20, 17, 14],
|
| 522 |
+
'South': [8, 7, 6, 5, 4, 4, 6, 10, 15, 19, 25, 31, 36, 38, 38, 37, 39, 39, 34, 30, 25, 20, 16, 14],
|
| 523 |
+
'Southwest': [8, 7, 8, 9, 10, 10, 8, 10, 15, 20, 24, 29, 34, 49, 66, 80, 37, 39, 34, 30, 25, 27, 19, 15],
|
| 524 |
+
'West': [9, 7, 9, 9, 10, 8, 10, 15, 20, 24, 29, 34, 49, 66, 80, 37, 39, 34, 30, 25, 27, 19, 15, 12],
|
| 525 |
+
'Northwest': [9, 7, 8, 9, 9, 10, 8, 10, 15, 20, 24, 29, 34, 49, 66, 80, 37, 39, 34, 30, 25, 27, 19, 15]
|
| 526 |
+
},
|
| 527 |
+
"C": {
|
| 528 |
+
'North': [9, 8, 7, 6, 5, 6, 13, 21, 25, 26, 27, 30, 34, 36, 38, 40, 42, 42, 35, 25, 19, 15, 13, 11],
|
| 529 |
+
'Northeast': [9, 8, 7, 6, 5, 8, 25, 47, 59, 61, 56, 47, 40, 38, 38, 38, 38, 36, 32, 26, 21, 18, 15, 13],
|
| 530 |
+
'East': [9, 8, 7, 6, 5, 8, 26, 52, 67, 71, 67, 56, 44, 40, 39, 38, 40, 40, 37, 32, 27, 21, 18, 15],
|
| 531 |
+
'Southeast': [9, 8, 7, 6, 5, 6, 16, 33, 46, 52, 53, 50, 43, 40, 39, 38, 40, 40, 35, 32, 26, 21, 18, 15],
|
| 532 |
+
'South': [9, 8, 7, 6, 5, 5, 7, 11, 16, 20, 26, 32, 37, 39, 39, 38, 40, 40, 35, 31, 26, 21, 17, 15],
|
| 533 |
+
'Southwest': [9, 8, 9, 10, 11, 11, 9, 11, 16, 21, 25, 30, 35, 50, 67, 81, 38, 40, 35, 31, 26, 28, 20, 16],
|
| 534 |
+
'West': [10, 8, 10, 10, 11, 9, 11, 16, 21, 25, 30, 35, 50, 67, 81, 38, 40, 35, 31, 26, 28, 20, 16, 13],
|
| 535 |
+
'Northwest': [10, 8, 9, 10, 10, 11, 9, 11, 16, 21, 25, 30, 35, 50, 67, 81, 38, 40, 35, 31, 26, 28, 20, 16]
|
| 536 |
+
},
|
| 537 |
+
"D": {
|
| 538 |
+
'North': [10, 9, 8, 7, 6, 7, 14, 22, 26, 27, 28, 31, 35, 37, 39, 41, 43, 43, 36, 26, 20, 16, 14, 12],
|
| 539 |
+
'Northeast': [10, 9, 8, 7, 6, 9, 26, 48, 60, 62, 57, 48, 41, 39, 39, 39, 39, 37, 33, 27, 22, 19, 16, 14],
|
| 540 |
+
'East': [10, 9, 8, 7, 6, 9, 27, 53, 68, 72, 68, 57, 45, 41, 40, 39, 41, 41, 38, 33, 28, 22, 19, 16],
|
| 541 |
+
'Southeast': [10, 9, 8, 7, 6, 7, 17, 34, 47, 53, 54, 51, 44, 41, 40, 39, 41, 41, 36, 33, 27, 22, 19, 16],
|
| 542 |
+
'South': [10, 9, 8, 7, 6, 6, 8, 12, 17, 21, 27, 33, 38, 40, 40, 39, 41, 41, 36, 32, 27, 22, 18, 16],
|
| 543 |
+
'Southwest': [10, 9, 10, 11, 12, 12, 10, 12, 17, 22, 26, 31, 36, 51, 68, 82, 39, 41, 36, 32, 27, 29, 21, 17],
|
| 544 |
+
'West': [11, 9, 11, 11, 12, 10, 12, 17, 22, 26, 31, 36, 51, 68, 82, 39, 41, 36, 32, 27, 29, 21, 17, 14],
|
| 545 |
+
'Northwest': [11, 9, 10, 11, 11, 12, 10, 12, 17, 22, 26, 31, 36, 51, 68, 82, 39, 41, 36, 32, 27, 29, 21, 17]
|
| 546 |
+
},
|
| 547 |
+
"E": {
|
| 548 |
+
'North': [19, 17, 15, 13, 11, 9, 8, 9, 11, 13, 16, 18, 20, 22, 25, 27, 29, 31, 33, 33, 31, 28, 26, 22],
|
| 549 |
+
'Northeast': [19, 17, 14, 13, 11, 9, 9, 12, 18, 26, 32, 37, 39, 39, 38, 38, 38, 39, 37, 35, 33, 30, 27, 24],
|
| 550 |
+
'East': [20, 17, 15, 13, 11, 10, 9, 12, 19, 28, 37, 42, 45, 45, 45, 45, 45, 37, 37, 35, 32, 28, 25, 24],
|
| 551 |
+
'Southeast': [19, 16, 14, 12, 11, 9, 8, 10, 14, 20, 26, 31, 34, 36, 36, 36, 36, 36, 34, 32, 30, 27, 24, 22],
|
| 552 |
+
'South': [17, 15, 13, 12, 10, 9, 8, 7, 7, 9, 11, 13, 17, 20, 22, 26, 28, 29, 29, 29, 26, 24, 22, 20],
|
| 553 |
+
'Southwest': [24, 21, 18, 15, 13, 11, 9, 9, 9, 10, 11, 14, 17, 20, 22, 26, 32, 38, 39, 37, 47, 46, 42, 37],
|
| 554 |
+
'West': [29, 25, 21, 18, 15, 13, 11, 10, 10, 10, 12, 14, 17, 20, 22, 26, 34, 43, 41, 37, 57, 47, 47, 47],
|
| 555 |
+
'Northwest': [27, 23, 20, 17, 14, 12, 10, 9, 9, 10, 12, 14, 17, 20, 22, 26, 34, 43, 41, 37, 47, 47, 47, 47]
|
| 556 |
+
},
|
| 557 |
+
"F": {
|
| 558 |
+
'North': [16, 14, 12, 10, 8, 7, 7, 8, 10, 12, 15, 17, 19, 21, 24, 26, 28, 30, 32, 32, 30, 27, 25, 21],
|
| 559 |
+
'Northeast': [16, 14, 12, 10, 8, 8, 8, 11, 17, 25, 31, 36, 38, 38, 37, 37, 37, 38, 36, 34, 32, 29, 26, 23],
|
| 560 |
+
'East': [17, 14, 12, 10, 8, 9, 8, 11, 18, 27, 36, 41, 44, 44, 44, 44, 44, 36, 36, 34, 31, 27, 24, 23],
|
| 561 |
+
'Southeast': [16, 13, 11, 9, 8, 8, 7, 9, 13, 19, 25, 30, 33, 35, 35, 35, 35, 35, 33, 31, 29, 26, 23, 21],
|
| 562 |
+
'South': [14, 12, 10, 9, 7, 8, 7, 6, 6, 8, 10, 12, 16, 19, 21, 25, 27, 28, 28, 28, 25, 23, 21, 19],
|
| 563 |
+
'Southwest': [21, 18, 15, 12, 10, 9, 8, 8, 8, 9, 10, 13, 16, 19, 21, 25, 31, 37, 38, 36, 46, 45, 41, 36],
|
| 564 |
+
'West': [26, 22, 18, 15, 12, 10, 9, 9, 9, 9, 11, 13, 16, 19, 21, 25, 33, 42, 40, 36, 56, 46, 46, 46],
|
| 565 |
+
'Northwest': [24, 20, 17, 14, 11, 10, 9, 8, 8, 9, 11, 13, 16, 19, 21, 25, 33, 42, 40, 36, 46, 46, 46, 46]
|
| 566 |
+
},
|
| 567 |
+
"G": {
|
| 568 |
+
'North': [13, 11, 9, 7, 5, 6, 6, 7, 9, 11, 14, 16, 18, 20, 23, 25, 27, 29, 31, 31, 29, 26, 24, 20],
|
| 569 |
+
'Northeast': [13, 11, 9, 7, 5, 7, 7, 10, 16, 24, 30, 35, 37, 37, 36, 36, 36, 37, 35, 33, 31, 28, 25, 22],
|
| 570 |
+
'East': [14, 11, 9, 7, 5, 8, 7, 10, 17, 26, 35, 40, 43, 43, 43, 43, 43, 35, 35, 33, 30, 26, 23, 22],
|
| 571 |
+
'Southeast': [13, 10, 8, 6, 5, 7, 6, 8, 12, 18, 24, 29, 32, 34, 34, 34, 34, 34, 32, 30, 28, 25, 22, 20],
|
| 572 |
+
'South': [11, 9, 7, 6, 4, 7, 6, 5, 5, 7, 9, 11, 15, 18, 20, 24, 26, 27, 27, 27, 24, 22, 20, 18],
|
| 573 |
+
'Southwest': [18, 15, 12, 9, 7, 8, 7, 7, 7, 8, 9, 12, 15, 18, 20, 24, 30, 36, 37, 35, 45, 44, 40, 35],
|
| 574 |
+
'West': [23, 19, 15, 12, 9, 8, 8, 8, 8, 8, 10, 12, 15, 18, 20, 24, 32, 41, 39, 35, 55, 45, 45, 45],
|
| 575 |
+
'Northwest': [21, 17, 14, 11, 8, 9, 8, 7, 7, 8, 10, 12, 15, 18, 20, 24, 32, 41, 39, 35, 45, 45, 45, 45]
|
| 576 |
+
},
|
| 577 |
+
"H": {
|
| 578 |
+
'North': [10, 8, 6, 4, 2, 5, 5, 6, 8, 10, 13, 15, 17, 19, 22, 24, 26, 28, 30, 30, 28, 25, 23, 19],
|
| 579 |
+
'Northeast': [10, 8, 6, 4, 2, 6, 6, 9, 15, 23, 29, 34, 36, 36, 35, 35, 35, 36, 34, 32, 30, 27, 24, 21],
|
| 580 |
+
'East': [11, 8, 6, 4, 2, 7, 6, 9, 16, 25, 34, 39, 42, 42, 42, 42, 42, 34, 34, 32, 29, 25, 22, 21],
|
| 581 |
+
'Southeast': [10, 7, 5, 3, 2, 6, 5, 7, 11, 17, 23, 28, 31, 33, 33, 33, 33, 33, 31, 29, 27, 24, 21, 19],
|
| 582 |
+
'South': [8, 6, 4, 3, 1, 4, 5, 4, 4, 6, 8, 10, 14, 17, 19, 23, 25, 26, 26, 26, 23, 21, 19, 17],
|
| 583 |
+
'Southwest': [15, 12, 9, 6, 4, 7, 6, 6, 6, 7, 8, 11, 14, 17, 19, 23, 29, 35, 36, 34, 44, 43, 39, 34],
|
| 584 |
+
'West': [20, 16, 12, 9, 6, 6, 7, 7, 7, 7, 9, 11, 14, 17, 19, 23, 31, 40, 38, 34, 54, 44, 44, 44],
|
| 585 |
+
'Northwest': [18, 14, 11, 8, 5, 8, 7, 6, 6, 7, 9, 11, 14, 17, 19, 23, 31, 40, 38, 34, 44, 44, 44, 44]
|
| 586 |
+
}
|
| 587 |
+
}
|
| 588 |
+
}
|
| 589 |
+
# Generate DataFrames for each group and latitude
|
| 590 |
+
return {f"{group}_{lat}": pd.DataFrame(data, index=hours) for lat, groups in wall_data.items() for group, data in groups.items()}
|
| 591 |
+
|
| 592 |
+
def _load_cltd_roof_table(self) -> Dict[str, pd.DataFrame]:
|
| 593 |
+
"""
|
| 594 |
+
Load CLTD tables for roofs at 24°N, 32°N, 36°N, 44°N, 56°N (July), based on ASHRAE Handbook—Fundamentals (2017, Chapter 18, Table 7).
|
| 595 |
+
Returns: Dictionary of DataFrames with CLTD values for each roof group and latitude.
|
| 596 |
+
"""
|
| 597 |
+
hours = list(range(24))
|
| 598 |
+
# CLTD data for roof types mapped to groups A-G
|
| 599 |
+
roof_data = {
|
| 600 |
+
"24N": {
|
| 601 |
+
"A": {
|
| 602 |
+
'Horizontal': [12, 8, 5, 2, 0, -1, 0, 3, 8, 14, 20, 26, 31, 35, 38, 39, 39, 37, 34, 30, 26, 22, 18, 15]
|
| 603 |
+
},
|
| 604 |
+
"B": {
|
| 605 |
+
'Horizontal': [14, 10, 7, 4, 2, 1, 2, 5, 10, 16, 22, 28, 33, 37, 40, 41, 41, 39, 36, 32, 28, 24, 20, 17]
|
| 606 |
+
},
|
| 607 |
+
"C": {
|
| 608 |
+
'Horizontal': [16, 12, 9, 6, 4, 3, 4, 7, 12, 18, 24, 30, 35, 39, 42, 43, 43, 41, 38, 34, 30, 26, 22, 19]
|
| 609 |
+
},
|
| 610 |
+
"D": {
|
| 611 |
+
'Horizontal': [18, 14, 11, 8, 6, 5, 6, 9, 14, 20, 26, 32, 37, 41, 44, 45, 45, 43, 40, 36, 32, 28, 24, 21]
|
| 612 |
+
},
|
| 613 |
+
"E": {
|
| 614 |
+
'Horizontal': [20, 16, 13, 10, 8, 7, 8, 11, 16, 22, 28, 34, 39, 43, 46, 47, 47, 45, 42, 38, 34, 30, 26, 23]
|
| 615 |
+
},
|
| 616 |
+
"F": {
|
| 617 |
+
'Horizontal': [22, 18, 15, 12, 10, 9, 10, 13, 18, 24, 30, 36, 41, 45, 48, 49, 49, 47, 44, 40, 36, 32, 28, 25]
|
| 618 |
+
},
|
| 619 |
+
"G": {
|
| 620 |
+
'Horizontal': [24, 20, 17, 14, 12, 11, 12, 15, 20, 26, 32, 38, 43, 47, 50, 51, 51, 49, 46, 42, 38, 34, 30, 27]
|
| 621 |
+
}
|
| 622 |
+
},
|
| 623 |
+
"32N": {
|
| 624 |
+
"A": {
|
| 625 |
+
'Horizontal': [14, 10, 7, 4, 2, 1, 2, 5, 10, 16, 22, 28, 33, 37, 40, 41, 41, 39, 36, 32, 28, 24, 20, 17]
|
| 626 |
+
},
|
| 627 |
+
"B": {
|
| 628 |
+
'Horizontal': [16, 12, 9, 6, 4, 3, 4, 7, 12, 18, 24, 30, 35, 39, 42, 43, 43, 41, 38, 34, 30, 26, 22, 19]
|
| 629 |
+
},
|
| 630 |
+
"C": {
|
| 631 |
+
'Horizontal': [18, 14, 11, 8, 6, 5, 6, 9, 14, 20, 26, 32, 37, 41, 44, 45, 45, 43, 40, 36, 32, 28, 24, 21]
|
| 632 |
+
},
|
| 633 |
+
"D": {
|
| 634 |
+
'Horizontal': [20, 16, 13, 10, 8, 7, 8, 11, 16, 22, 28, 34, 39, 43, 46, 47, 47, 45, 42, 38, 34, 30, 26, 23]
|
| 635 |
+
},
|
| 636 |
+
"E": {
|
| 637 |
+
'Horizontal': [22, 18, 15, 12, 10, 9, 10, 13, 18, 24, 30, 36, 41, 45, 48, 49, 49, 47, 44, 40, 36, 32, 28, 25]
|
| 638 |
+
},
|
| 639 |
+
"F": {
|
| 640 |
+
'Horizontal': [24, 20, 17, 14, 12, 11, 12, 15, 20, 26, 32, 38, 43, 47, 50, 51, 51, 49, 46, 42, 38, 34, 30, 27]
|
| 641 |
+
},
|
| 642 |
+
"G": {
|
| 643 |
+
'Horizontal': [26, 22, 19, 16, 14, 13, 14, 17, 22, 28, 34, 40, 45, 49, 52, 53, 53, 51, 48, 44, 40, 36, 32, 29]
|
| 644 |
+
}
|
| 645 |
+
},
|
| 646 |
+
"36N": {
|
| 647 |
+
"A": {
|
| 648 |
+
'Horizontal': [15, 11, 8, 5, 3, 2, 3, 6, 11, 17, 23, 29, 34, 38, 41, 42, 42, 40, 37, 33, 29, 25, 21, 18]
|
| 649 |
+
},
|
| 650 |
+
"B": {
|
| 651 |
+
'Horizontal': [17, 13, 10, 7, 5, 4, 5, 8, 13, 19, 25, 31, 36, 40, 43, 44, 44, 42, 39, 35, 31, 27, 23, 20]
|
| 652 |
+
},
|
| 653 |
+
"C": {
|
| 654 |
+
'Horizontal': [19, 15, 12, 9, 7, 6, 7, 10, 15, 21, 27, 33, 38, 42, 45, 46, 46, 44, 41, 37, 33, 29, 25, 22]
|
| 655 |
+
},
|
| 656 |
+
"D": {
|
| 657 |
+
'Horizontal': [21, 17, 14, 11, 9, 8, 9, 12, 17, 23, 29, 35, 40, 44, 47, 48, 48, 46, 43, 39, 35, 31, 27, 24]
|
| 658 |
+
},
|
| 659 |
+
"E": {
|
| 660 |
+
'Horizontal': [23, 19, 16, 13, 11, 10, 11, 14, 19, 25, 31, 37, 42, 46, 49, 50, 50, 48, 45, 41, 37, 33, 29, 26]
|
| 661 |
+
},
|
| 662 |
+
"F": {
|
| 663 |
+
'Horizontal': [25, 21, 18, 15, 13, 12, 13, 16, 21, 27, 33, 39, 44, 48, 51, 52, 52, 50, 47, 43, 39, 35, 31, 28]
|
| 664 |
+
},
|
| 665 |
+
"G": {
|
| 666 |
+
'Horizontal': [27, 23, 20, 17, 15, 14, 15, 18, 23, 29, 35, 41, 46, 50, 53, 54, 54, 52, 49, 45, 41, 37, 33, 30]
|
| 667 |
+
}
|
| 668 |
+
},
|
| 669 |
+
"44N": {
|
| 670 |
+
"A": {
|
| 671 |
+
'Horizontal': [17, 13, 10, 7, 5, 4, 5, 8, 13, 19, 25, 31, 36, 40, 43, 44, 44, 42, 39, 35, 31, 27, 23, 20]
|
| 672 |
+
},
|
| 673 |
+
"B": {
|
| 674 |
+
'Horizontal': [19, 15, 12, 9, 7, 6, 7, 10, 15, 21, 27, 33, 38, 42, 45, 46, 46, 44, 41, 37, 33, 29, 25, 22]
|
| 675 |
+
},
|
| 676 |
+
"C": {
|
| 677 |
+
'Horizontal': [21, 17, 14, 11, 9, 8, 9, 12, 17, 23, 29, 35, 40, 44, 47, 48, 48, 46, 43, 39, 35, 31, 27, 24]
|
| 678 |
+
},
|
| 679 |
+
"D": {
|
| 680 |
+
'Horizontal': [23, 19, 16, 13, 11, 10, 11, 14, 19, 25, 31, 37, 42, 46, 49, 50, 50, 48, 45, 41, 37, 33, 29, 26]
|
| 681 |
+
},
|
| 682 |
+
"E": {
|
| 683 |
+
'Horizontal': [25, 21, 18, 15, 13, 12, 13, 16, 21, 27, 33, 39, 44, 48, 51, 52, 52, 50, 47, 43, 39, 35, 31, 28]
|
| 684 |
+
},
|
| 685 |
+
"F": {
|
| 686 |
+
'Horizontal': [27, 23, 20, 17, 15, 14, 15, 18, 23, 29, 35, 41, 46, 50, 53, 54, 54, 52, 49, 45, 41, 37, 33, 30]
|
| 687 |
+
},
|
| 688 |
+
"G": {
|
| 689 |
+
'Horizontal': [29, 25, 22, 19, 17, 16, 17, 20, 25, 31, 37, 43, 48, 52, 55, 56, 56, 54, 51, 47, 43, 39, 35, 32]
|
| 690 |
+
}
|
| 691 |
+
},
|
| 692 |
+
"56N": {
|
| 693 |
+
"A": {
|
| 694 |
+
'Horizontal': [20, 16, 13, 10, 8, 7, 8, 11, 16, 22, 28, 34, 39, 43, 46, 47, 47, 45, 42, 38, 34, 30, 26, 23]
|
| 695 |
+
},
|
| 696 |
+
"B": {
|
| 697 |
+
'Horizontal': [22, 18, 15, 12, 10, 9, 10, 13, 18, 24, 30, 36, 41, 45, 48, 49, 49, 47, 44, 40, 36, 32, 28, 25]
|
| 698 |
+
},
|
| 699 |
+
"C": {
|
| 700 |
+
'Horizontal': [24, 20, 17, 14, 12, 11, 12, 15, 20, 26, 32, 38, 43, 47, 50, 51, 51, 49, 46, 42, 38, 34, 30, 27]
|
| 701 |
+
},
|
| 702 |
+
"D": {
|
| 703 |
+
'Horizontal': [26, 22, 19, 16, 14, 13, 14, 17, 22, 28, 34, 40, 45, 49, 52, 53, 53, 51, 48, 44, 40, 36, 32, 29]
|
| 704 |
+
},
|
| 705 |
+
"E": {
|
| 706 |
+
'Horizontal': [28, 24, 21, 18, 16, 15, 16, 19, 24, 30, 36, 42, 47, 51, 54, 55, 55, 53, 50, 46, 42, 38, 34, 31]
|
| 707 |
+
},
|
| 708 |
+
"F": {
|
| 709 |
+
'Horizontal': [30, 26, 23, 20, 18, 17, 18, 21, 26, 32, 38, 44, 49, 53, 56, 57, 57, 55, 52, 48, 44, 40, 36, 33]
|
| 710 |
+
},
|
| 711 |
+
"G": {
|
| 712 |
+
'Horizontal': [32, 28, 25, 22, 20, 19, 20, 23, 28, 34, 40, 46, 51, 55, 58, 59, 59, 57, 54, 50, 46, 42, 38, 35]
|
| 713 |
+
}
|
| 714 |
+
}
|
| 715 |
+
}
|
| 716 |
+
return {f"{group}_{lat}": pd.DataFrame(data, index=hours) for lat, groups in roof_data.items() for group, data in groups.items()}
|
| 717 |
+
|
| 718 |
+
def _load_scl_table(self) -> Dict[str, pd.DataFrame]:
|
| 719 |
+
"""
|
| 720 |
+
Load SCL tables for windows at 24°N, 32°N, 36°N, 44°N, 56°N for January, April, July, October, based on ASHRAE Handbook—Fundamentals (2017, Chapter 18, Table 7).
|
| 721 |
+
Returns: Dictionary of DataFrames with SCL values for each latitude and month.
|
| 722 |
+
"""
|
| 723 |
+
hours = list(range(24))
|
| 724 |
+
# SCL data for windows (Jan, Apr, Jul, Oct)
|
| 725 |
+
scl_data = {
|
| 726 |
+
"24N": {
|
| 727 |
+
'Jul': {
|
| 728 |
+
'North': [10, 10, 10, 10, 10, 10, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180],
|
| 729 |
+
'Northeast': [20, 20, 20, 20, 20, 20, 20, 40, 80, 120, 160, 200, 240, 280, 320, 360, 400, 440, 480, 520, 560, 600, 640, 680],
|
| 730 |
+
'East': [30, 30, 30, 30, 30, 30, 30, 50, 90, 130, 170, 210, 250, 290, 330, 370, 410, 450, 490, 530, 570, 610, 650, 690],
|
| 731 |
+
'Southeast': [20, 20, 20, 20, 20, 20, 20, 30, 60, 90, 120, 150, 180, 210, 240, 270, 300, 330, 360, 390, 420, 450, 480, 510],
|
| 732 |
+
'South': [10, 10, 10, 10, 10, 10, 10, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170],
|
| 733 |
+
'Southwest': [20, 20, 20, 20, 20, 20, 20, 30, 60, 90, 120, 150, 180, 210, 240, 270, 300, 330, 360, 390, 420, 450, 480, 510],
|
| 734 |
+
'West': [30, 30, 30, 30, 30, 30, 30, 50, 90, 130, 170, 210, 250, 290, 330, 370, 410, 450, 490, 530, 570, 610, 650, 690],
|
| 735 |
+
'Northwest': [20, 20, 20, 20, 20, 20, 20, 40, 80, 120, 160, 200, 240, 280, 320, 360, 400, 440, 480, 520, 560, 600, 640, 680]
|
| 736 |
+
},
|
| 737 |
+
'Jan': {
|
| 738 |
+
'North': [15, 15, 15, 15, 15, 15, 15, 25, 35, 45, 55, 65, 75, 85, 95, 105, 115, 125, 135, 145, 155, 165, 175, 185],
|
| 739 |
+
'Northeast': [25, 25, 25, 25, 25, 25, 25, 45, 85, 125, 165, 205, 245, 285, 325, 365, 405, 445, 485, 525, 565, 605, 645, 685],
|
| 740 |
+
'East': [35, 35, 35, 35, 35, 35, 35, 55, 95, 135, 175, 215, 255, 295, 335, 375, 415, 455, 495, 535, 575, 615, 655, 695],
|
| 741 |
+
'Southeast': [25, 25, 25, 25, 25, 25, 25, 35, 65, 95, 125, 155, 185, 215, 245, 275, 305, 335, 365, 395, 425, 455, 485, 515],
|
| 742 |
+
'South': [15, 15, 15, 15, 15, 15, 15, 15, 25, 35, 45, 55, 65, 75, 85, 95, 105, 115, 125, 135, 145, 155, 165, 175],
|
| 743 |
+
'Southwest': [25, 25, 25, 25, 25, 25, 25, 35, 65, 95, 125, 155, 185, 215, 245, 275, 305, 335, 365, 395, 425, 455, 485, 515],
|
| 744 |
+
'West': [35, 35, 35, 35, 35, 35, 35, 55, 95, 135, 175, 215, 255, 295, 335, 375, 415, 455, 495, 535, 575, 615, 655, 695],
|
| 745 |
+
'Northwest': [25, 25, 25, 25, 25, 25, 25, 45, 85, 125, 165, 205, 245, 285, 325, 365, 405, 445, 485, 525, 565, 605, 645, 685]
|
| 746 |
+
},
|
| 747 |
+
'Apr': {
|
| 748 |
+
'North': [12, 12, 12, 12, 12, 12, 12, 22, 32, 42, 52, 62, 72, 82, 92, 102, 112, 122, 132, 142, 152, 162, 172, 182],
|
| 749 |
+
'Northeast': [22, 22, 22, 22, 22, 22, 22, 42, 82, 122, 162, 202, 242, 282, 322, 362, 402, 442, 482, 522, 562, 602, 642, 682],
|
| 750 |
+
'East': [32, 32, 32, 32, 32, 32, 32, 52, 92, 132, 172, 212, 252, 292, 332, 372, 412, 452, 492, 532, 572, 612, 652, 692],
|
| 751 |
+
'Southeast': [22, 22, 22, 22, 22, 22, 22, 32, 62, 92, 122, 152, 182, 212, 242, 272, 302, 332, 362, 392, 422, 452, 482, 512],
|
| 752 |
+
'South': [12, 12, 12, 12, 12, 12, 12, 12, 22, 32, 42, 52, 62, 72, 82, 92, 102, 112, 122, 132, 142, 152, 162, 172],
|
| 753 |
+
'Southwest': [22, 22, 22, 22, 22, 22, 22, 32, 62, 92, 122, 152, 182, 212, 242, 272, 302, 332, 362, 392, 422, 452, 482, 512],
|
| 754 |
+
'West': [32, 32, 32, 32, 32, 32, 32, 52, 92, 132, 172, 212, 252, 292, 332, 372, 412, 452, 492, 532, 572, 612, 652, 692],
|
| 755 |
+
'Northwest': [22, 22, 22, 22, 22, 22, 22, 42, 82, 122, 162, 202, 242, 282, 322, 362, 402, 442, 482, 522, 562, 602, 642, 682]
|
| 756 |
+
},
|
| 757 |
+
'Oct': {
|
| 758 |
+
'North': [13, 13, 13, 13, 13, 13, 13, 23, 33, 43, 53, 63, 73, 83, 93, 103, 113, 123, 133, 143, 153, 163, 173, 183],
|
| 759 |
+
'Northeast': [23, 23, 23, 23, 23, 23, 23, 43, 83, 123, 163, 203, 243, 283, 323, 363, 403, 443, 483, 523, 563, 603, 643, 683],
|
| 760 |
+
'East': [33, 33, 33, 33, 33, 33, 33, 53, 93, 133, 173, 213, 253, 293, 333, 373, 413, 453, 493, 533, 573, 613, 653, 693],
|
| 761 |
+
'Southeast': [23, 23, 23, 23, 23, 23, 23, 33, 63, 93, 123, 153, 183, 213, 243, 273, 303, 333, 363, 393, 423, 453, 483, 513],
|
| 762 |
+
'South': [13, 13, 13, 13, 13, 13, 13, 13, 23, 33, 43, 53, 63, 73, 83, 93, 103, 113, 123, 133, 143, 153, 163, 173],
|
| 763 |
+
'Southwest': [23, 23, 23, 23, 23, 23, 23, 33, 63, 93, 123, 153, 183, 213, 243, 273, 303, 333, 363, 393, 423, 453, 483, 513],
|
| 764 |
+
'West': [33, 33, 33, 33, 33, 33, 33, 53, 93, 133, 173, 213, 253, 293, 333, 373, 413, 453, 493, 533, 573, 613, 653, 693],
|
| 765 |
+
'Northwest': [23, 23, 23, 23, 23, 23, 23, 43, 83, 123, 163, 203, 243, 283, 323, 363, 403, 443, 483, 523, 563, 603, 643, 683]
|
| 766 |
+
}
|
| 767 |
+
},
|
| 768 |
+
"32N": {
|
| 769 |
+
'Jul': {
|
| 770 |
+
'North': [12, 12, 12, 12, 12, 12, 12, 24, 36, 48, 60, 72, 84, 96, 108, 120, 132, 144, 156, 168, 180, 192, 204, 216],
|
| 771 |
+
'Northeast': [24, 24, 24, 24, 24, 24, 24, 48, 96, 144, 192, 240, 288, 336, 384, 432, 480, 528, 576, 624, 672, 720, 768, 816],
|
| 772 |
+
'East': [36, 36, 36, 36, 36, 36, 36, 60, 108, 156, 204, 252, 300, 348, 396, 444, 492, 540, 588, 636, 684, 732, 780, 828],
|
| 773 |
+
'Southeast': [24, 24, 24, 24, 24, 24, 24, 36, 72, 108, 144, 180, 216, 252, 288, 324, 360, 396, 432, 468, 504, 540, 576, 612],
|
| 774 |
+
'South': [12, 12, 12, 12, 12, 12, 12, 12, 24, 36, 48, 60, 72, 84, 96, 108, 120, 132, 144, 156, 168, 180, 192, 204],
|
| 775 |
+
'Southwest': [24, 24, 24, 24, 24, 24, 24, 36, 72, 108, 144, 180, 216, 252, 288, 324, 360, 396, 432, 468, 504, 540, 576, 612],
|
| 776 |
+
'West': [36, 36, 36, 36, 36, 36, 36, 60, 108, 156, 204, 252, 300, 348, 396, 444, 492, 540, 588, 636, 684, 732, 780, 828],
|
| 777 |
+
'Northwest': [24, 24, 24, 24, 24, 24, 24, 48, 96, 144, 192, 240, 288, 336, 384, 432, 480, 528, 576, 624, 672, 720, 768, 816]
|
| 778 |
+
},
|
| 779 |
+
'Jan': {
|
| 780 |
+
'North': [17, 17, 17, 17, 17, 17, 17, 27, 37, 47, 57, 67, 77, 87, 97, 107, 117, 127, 137, 147, 157, 167, 177, 187],
|
| 781 |
+
'Northeast': [27, 27, 27, 27, 27, 27, 27, 47, 87, 127, 167, 207, 247, 287, 327, 367, 407, 447, 487, 527, 567, 607, 647, 687],
|
| 782 |
+
'East': [37, 37, 37, 37, 37, 37, 37, 57, 97, 137, 177, 217, 257, 297, 337, 377, 417, 457, 497, 537, 577, 617, 657, 697],
|
| 783 |
+
'Southeast': [27, 27, 27, 27, 27, 27, 27, 37, 67, 97, 127, 157, 187, 217, 247, 277, 307, 337, 367, 397, 427, 457, 487, 517],
|
| 784 |
+
'South': [17, 17, 17, 17, 17, 17, 17, 17, 27, 37, 47, 57, 67, 77, 87, 97, 107, 117, 127, 137, 147, 157, 167, 177],
|
| 785 |
+
'Southwest': [27, 27, 27, 27, 27, 27, 27, 37, 67, 97, 127, 157, 187, 217, 247, 277, 307, 337, 367, 397, 427, 457, 487, 517],
|
| 786 |
+
'West': [37, 37, 37, 37, 37, 37, 37, 57, 97, 137, 177, 217, 257, 297, 337, 377, 417, 457, 497, 537, 577, 617, 657, 697],
|
| 787 |
+
'Northwest': [27, 27, 27, 27, 27, 27, 27, 47, 87, 127, 167, 207, 247, 287, 327, 367, 407, 447, 487, 527, 567, 607, 647, 687]
|
| 788 |
+
},
|
| 789 |
+
'Apr': {
|
| 790 |
+
'North': [14, 14, 14, 14, 14, 14, 14, 24, 34, 44, 54, 64, 74, 84, 94, 104, 114, 124, 134, 144, 154, 164, 174, 184],
|
| 791 |
+
'Northeast': [24, 24, 24, 24, 24, 24, 24, 44, 84, 124, 164, 204, 244, 284, 324, 364, 404, 444, 484, 524, 564, 604, 644, 684],
|
| 792 |
+
'East': [34, 34, 34, 34, 34, 34, 34, 54, 94, 134, 174, 214, 254, 294, 334, 374, 414, 454, 494, 534, 574, 614, 654, 694],
|
| 793 |
+
'Southeast': [24, 24, 24, 24, 24, 24, 24, 34, 64, 94, 124, 154, 184, 214, 244, 274, 304, 334, 364, 394, 424, 454, 484, 514],
|
| 794 |
+
'South': [14, 14, 14, 14, 14, 14, 14, 14, 24, 34, 44, 54, 64, 74, 84, 94, 104, 114, 124, 134, 144, 154, 164, 174],
|
| 795 |
+
'Southwest': [24, 24, 24, 24, 24, 24, 24, 34, 64, 94, 124, 154, 184, 214, 244, 274, 304, 334, 364, 394, 424, 454, 484, 514],
|
| 796 |
+
'West': [34, 34, 34, 34, 34, 34, 34, 54, 94, 134, 174, 214, 254, 294, 334, 374, 414, 454, 494, 534, 574, 614, 654, 694],
|
| 797 |
+
'Northwest': [24, 24, 24, 24, 24, 24, 24, 44, 84, 124, 164, 204, 244, 284, 324, 364, 404, 444, 484, 524, 564, 604, 644, 684]
|
| 798 |
+
},
|
| 799 |
+
'Oct': {
|
| 800 |
+
'North': [15, 15, 15, 15, 15, 15, 15, 25, 35, 45, 55, 65, 75, 85, 95, 105, 115, 125, 135, 145, 155, 165, 175, 185],
|
| 801 |
+
'Northeast': [25, 25, 25, 25, 25, 25, 25, 45, 85, 125, 165, 205, 245, 285, 325, 365, 405, 445, 485, 525, 565, 605, 645, 685],
|
| 802 |
+
'East': [35, 35, 35, 35, 35, 35, 35, 55, 95, 135, 175, 215, 255, 295, 335, 375, 415, 455, 495, 535, 575, 615, 655, 695],
|
| 803 |
+
'Southeast': [25, 25, 25, 25, 25, 25, 25, 35, 65, 95, 125, 155, 185, 215, 245, 275, 305, 335, 365, 395, 425, 455, 485, 515],
|
| 804 |
+
'South': [15, 15, 15, 15, 15, 15, 15, 15, 25, 35, 45, 55, 65, 75, 85, 95, 105, 115, 125, 135, 145, 155, 165, 175],
|
| 805 |
+
'Southwest': [25, 25, 25, 25, 25, 25, 25, 35, 65, 95, 125, 155, 185, 215, 245, 275, 305, 335, 365, 395, 425, 455, 485, 515],
|
| 806 |
+
'West': [35, 35, 35, 35, 35, 35, 35, 55, 95, 135, 175, 215, 255, 295, 335, 375, 415, 455, 495, 535, 575, 615, 655, 695],
|
| 807 |
+
'Northwest': [25, 25, 25, 25, 25, 25, 25, 45, 85, 125, 165, 205, 245, 285, 325, 365, 405, 445, 485, 525, 565, 605, 645, 685]
|
| 808 |
+
}
|
| 809 |
+
},
|
| 810 |
+
"36N": {
|
| 811 |
+
'Jul': {
|
| 812 |
+
'North': [14, 14, 14, 14, 14, 14, 14, 28, 42, 56, 70, 84, 98, 112, 126, 140, 154, 168, 182, 196, 210, 224, 238, 252],
|
| 813 |
+
'Northeast': [28, 28, 28, 28, 28, 28, 28, 56, 112, 168, 224, 280, 336, 392, 448, 504, 560, 616, 672, 728, 784, 840, 896, 952],
|
| 814 |
+
'East': [42, 42, 42, 42, 42, 42, 42, 70, 126, 182, 238, 294, 350, 406, 462, 518, 574, 630, 686, 742, 798, 854, 910, 966],
|
| 815 |
+
'Southeast': [28, 28, 28, 28, 28, 28, 28, 42, 84, 126, 168, 210, 252, 294, 336, 378, 420, 462, 504, 546, 588, 630, 672, 714],
|
| 816 |
+
'South': [14, 14, 14, 14, 14, 14, 14, 14, 28, 42, 56, 70, 84, 98, 112, 126, 140, 154, 168, 182, 196, 210, 224, 238],
|
| 817 |
+
'Southwest': [28, 28, 28, 28, 28, 28, 28, 42, 84, 126, 168, 210, 252, 294, 336, 378, 420, 462, 504, 546, 588, 630, 672, 714],
|
| 818 |
+
'West': [42, 42, 42, 42, 42, 42, 42, 70, 126, 182, 238, 294, 350, 406, 462, 518, 574, 630, 686, 742, 798, 854, 910, 966],
|
| 819 |
+
'Northwest': [28, 28, 28, 28, 28, 28, 28, 56, 112, 168, 224, 280, 336, 392, 448, 504, 560, 616, 672, 728, 784, 840, 896, 952]
|
| 820 |
+
},
|
| 821 |
+
'Jan': {
|
| 822 |
+
'North': [19, 19, 19, 19, 19, 19, 19, 29, 39, 49, 59, 69, 79, 89, 99, 109, 119, 129, 139, 149, 159, 169, 179, 189],
|
| 823 |
+
'Northeast': [29, 29, 29, 29, 29, 29, 29, 49, 89, 129, 169, 209, 249, 289, 329, 369, 409, 449, 489, 529, 569, 609, 649, 689],
|
| 824 |
+
'East': [39, 39, 39, 39, 39, 39, 39, 59, 99, 139, 179, 219, 259, 299, 339, 379, 419, 459, 499, 539, 579, 619, 659, 699],
|
| 825 |
+
'Southeast': [29, 29, 29, 29, 29, 29, 29, 39, 69, 99, 129, 159, 189, 219, 249, 279, 309, 339, 369, 399, 429, 459, 489, 519],
|
| 826 |
+
'South': [19, 19, 19, 19, 19, 19, 19, 19, 29, 39, 49, 59, 69, 79, 89, 99, 109, 119, 129, 139, 149, 159, 169, 179],
|
| 827 |
+
'Southwest': [29, 29, 29, 29, 29, 29, 29, 39, 69, 99, 129, 159, 189, 219, 249, 279, 309, 339, 369, 399, 429, 459, 489, 519],
|
| 828 |
+
'West': [39, 39, 39, 39, 39, 39, 39, 59, 99, 139, 179, 219, 259, 299, 339, 379, 419, 459, 499, 539, 579, 619, 659, 699],
|
| 829 |
+
'Northwest': [29, 29, 29, 29, 29, 29, 29, 49, 89, 129, 169, 209, 249, 289, 329, 369, 409, 449, 489, 529, 569, 609, 649, 689]
|
| 830 |
+
},
|
| 831 |
+
'Apr': {
|
| 832 |
+
'North': [16, 16, 16, 16, 16, 16, 16, 26, 36, 46, 56, 66, 76, 86, 96, 106, 116, 126, 136, 146, 156, 166, 176, 186],
|
| 833 |
+
'Northeast': [26, 26, 26, 26, 26, 26, 26, 46, 86, 126, 166, 206, 246, 286, 326, 366, 406, 446, 486, 526, 566, 606, 646, 686],
|
| 834 |
+
'East': [36, 36, 36, 36, 36, 36, 36, 56, 96, 136, 176, 216, 256, 296, 336, 376, 416, 456, 496, 536, 576, 616, 656, 696],
|
| 835 |
+
'Southeast': [26, 26, 26, 26, 26, 26, 26, 36, 66, 96, 126, 156, 186, 216, 246, 276, 306, 336, 366, 396, 426, 456, 486, 516],
|
| 836 |
+
'South': [16, 16, 16, 16, 16, 16, 16, 16, 26, 36, 46, 56, 66, 76, 86, 96, 106, 116, 126, 136, 146, 156, 166, 176],
|
| 837 |
+
'Southwest': [26, 26, 26, 26, 26, 26, 26, 36, 66, 96, 126, 156, 186, 216, 246, 276, 306, 336, 366, 396, 426, 456, 486, 516],
|
| 838 |
+
'West': [36, 36, 36, 36, 36, 36, 36, 56, 96, 136, 176, 216, 256, 296, 336, 376, 416, 456, 496, 536, 576, 616, 656, 696],
|
| 839 |
+
'Northwest': [26, 26, 26, 26, 26, 26, 26, 46, 86, 126, 166, 206, 246, 286, 326, 366, 406, 446, 486, 526, 566, 606, 646, 686]
|
| 840 |
+
},
|
| 841 |
+
'Oct': {
|
| 842 |
+
'North': [17, 17, 17, 17, 17, 17, 17, 27, 37, 47, 57, 67, 77, 87, 97, 107, 117, 127, 137, 147, 157, 167, 177, 187],
|
| 843 |
+
'Northeast': [27, 27, 27, 27, 27, 27, 27, 47, 87, 127, 167, 207, 247, 287, 327, 367, 407, 447, 487, 527, 567, 607, 647, 687],
|
| 844 |
+
'East': [37, 37, 37, 37, 37, 37, 37, 57, 97, 137, 177, 217, 257, 297, 337, 377, 417, 457, 497, 537, 577, 617, 657, 697],
|
| 845 |
+
'Southeast': [27, 27, 27, 27, 27, 27, 27, 37, 67, 97, 127, 157, 187, 217, 247, 277, 307, 337, 367, 397, 427, 457, 487, 517],
|
| 846 |
+
'South': [17, 17, 17, 17, 17, 17, 17, 17, 27, 37, 47, 57, 67, 77, 87, 97, 107, 117, 127, 137, 147, 157, 167, 177],
|
| 847 |
+
'Southwest': [27, 27, 27, 27, 27, 27, 27, 37, 67, 97, 127, 157, 187, 217, 247, 277, 307, 337, 367, 397, 427, 457, 487, 517],
|
| 848 |
+
'West': [37, 37, 37, 37, 37, 37, 37, 57, 97, 137, 177, 217, 257, 297, 337, 377, 417, 457, 497, 537, 577, 617, 657, 697],
|
| 849 |
+
'Northwest': [27, 27, 27, 27, 27, 27, 27, 47, 87, 127, 167, 207, 247, 287, 327, 367, 407, 447, 487, 527, 567, 607, 647, 687]
|
| 850 |
+
}
|
| 851 |
+
},
|
| 852 |
+
"44N": {
|
| 853 |
+
'Jul': {
|
| 854 |
+
'North': [16, 16, 16, 16, 16, 16, 16, 32, 48, 64, 80, 96, 112, 128, 144, 160, 176, 192, 208, 224, 240, 256, 272, 288],
|
| 855 |
+
'Northeast': [32, 32, 32, 32, 32, 32, 32, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024, 1088],
|
| 856 |
+
'East': [48, 48, 48, 48, 48, 48, 48, 80, 144, 208, 272, 336, 400, 464, 528, 592, 656, 720, 784, 848, 912, 976, 1040, 1104],
|
| 857 |
+
'Southeast': [32, 32, 32, 32, 32, 32, 32, 48, 96, 144, 192, 240, 288, 336, 384, 432, 480, 528, 576, 624, 672, 720, 768, 816],
|
| 858 |
+
'South': [16, 16, 16, 16, 16, 16, 16, 16, 32, 48, 64, 80, 96, 112, 128, 144, 160, 176, 192, 208, 224, 240, 256, 272],
|
| 859 |
+
'Southwest': [32, 32, 32, 32, 32, 32, 32, 48, 96, 144, 192, 240, 288, 336, 384, 432, 480, 528, 576, 624, 672, 720, 768, 816],
|
| 860 |
+
'West': [48, 48, 48, 48, 48, 48, 48, 80, 144, 208, 272, 336, 400, 464, 528, 592, 656, 720, 784, 848, 912, 976, 1040, 1104],
|
| 861 |
+
'Northwest': [32, 32, 32, 32, 32, 32, 32, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024, 1088]
|
| 862 |
+
},
|
| 863 |
+
'Jan': {
|
| 864 |
+
'North': [21, 21, 21, 21, 21, 21, 21, 31, 41, 51, 61, 71, 81, 91, 101, 111, 121, 131, 141, 151, 161, 171, 181, 191],
|
| 865 |
+
'Northeast': [31, 31, 31, 31, 31, 31, 31, 51, 91, 131, 171, 211, 251, 291, 331, 371, 411, 451, 491, 531, 571, 611, 651, 691],
|
| 866 |
+
'East': [41, 41, 41, 41, 41, 41, 41, 61, 101, 141, 181, 221, 261, 301, 341, 381, 421, 461, 501, 541, 581, 621, 661, 701],
|
| 867 |
+
'Southeast': [31, 31, 31, 31, 31, 31, 31, 41, 71, 101, 131, 161, 191, 221, 251, 281, 311, 341, 371, 401, 431, 461, 491, 521],
|
| 868 |
+
'South': [21, 21, 21, 21, 21, 21, 21, 21, 31, 41, 51, 61, 71, 81, 91, 101, 111, 121, 131, 141, 151, 161, 171, 181],
|
| 869 |
+
'Southwest': [31, 31, 31, 31, 31, 31, 31, 41, 71, 101, 131, 161, 191, 221, 251, 281, 311, 341, 371, 401, 431, 461, 491, 521],
|
| 870 |
+
'West': [41, 41, 41, 41, 41, 41, 41, 61, 101, 141, 181, 221, 261, 301, 341, 381, 421, 461, 501, 541, 581, 621, 661, 701],
|
| 871 |
+
'Northwest': [31, 31, 31, 31, 31, 31, 31, 51, 91, 131, 171, 211, 251, 291, 331, 371, 411, 451, 491, 531, 571, 611, 651, 691]
|
| 872 |
+
},
|
| 873 |
+
'Apr': {
|
| 874 |
+
'North': [18, 18, 18, 18, 18, 18, 18, 28, 38, 48, 58, 68, 78, 88, 98, 108, 118, 128, 138, 148, 158, 168, 178, 188],
|
| 875 |
+
'Northeast': [28, 28, 28, 28, 28, 28, 28, 48, 88, 128, 168, 208, 248, 288, 328, 368, 408, 448, 488, 528, 568, 608, 648, 688],
|
| 876 |
+
'East': [38, 38, 38, 38, 38, 38, 38, 58, 98, 138, 178, 218, 258, 298, 338, 378, 418, 458, 498, 538, 578, 618, 658, 698],
|
| 877 |
+
'Southeast': [28, 28, 28, 28, 28, 28, 28, 38, 68, 98, 128, 158, 188, 218, 248, 278, 308, 338, 368, 398, 428, 458, 488, 518],
|
| 878 |
+
'South': [18, 18, 18, 18, 18, 18, 18, 18, 28, 38, 48, 58, 68, 78, 88, 98, 108, 118, 128, 138, 148, 158, 168, 178],
|
| 879 |
+
'Southwest': [28, 28, 28, 28, 28, 28, 28, 38, 68, 98, 128, 158, 188, 218, 248, 278, 308, 338, 368, 398, 428, 458, 488, 518],
|
| 880 |
+
'West': [38, 38, 38, 38, 38, 38, 38, 58, 98, 138, 178, 218, 258, 298, 338, 378, 418, 458, 498, 538, 578, 618, 658, 698],
|
| 881 |
+
'Northwest': [28, 28, 28, 28, 28, 28, 28, 48, 88, 128, 168, 208, 248, 288, 328, 368, 408, 448, 488, 528, 568, 608, 648, 688]
|
| 882 |
+
},
|
| 883 |
+
'Oct': {
|
| 884 |
+
'North': [19, 19, 19, 19, 19, 19, 19, 29, 39, 49, 59, 69, 79, 89, 99, 109, 119, 129, 139, 149, 159, 169, 179, 189],
|
| 885 |
+
'Northeast': [29, 29, 29, 29, 29, 29, 29, 49, 89, 129, 169, 209, 249, 289, 329, 369, 409, 449, 489, 529, 569, 609, 649, 689],
|
| 886 |
+
'East': [39, 39, 39, 39, 39, 39, 39, 59, 99, 139, 179, 219, 259, 299, 339, 379, 419, 459, 499, 539, 579, 619, 659, 699],
|
| 887 |
+
'Southeast': [29, 29, 29, 29, 29, 29, 29, 39, 69, 99, 129, 159, 189, 219, 249, 279, 309, 339, 369, 399, 429, 459, 489, 519],
|
| 888 |
+
'South': [19, 19, 19, 19, 19, 19, 19, 19, 29, 39, 49, 59, 69, 79, 89, 99, 109, 119, 129, 139, 149, 159, 169, 179],
|
| 889 |
+
'Southwest': [29, 29, 29, 29, 29, 29, 29, 39, 69, 99, 129, 159, 189, 219, 249, 279, 309, 339, 369, 399, 429, 459, 489, 519],
|
| 890 |
+
'West': [39, 39, 39, 39, 39, 39, 39, 59, 99, 139, 179, 219, 259, 299, 339, 379, 419, 459, 499, 539, 579, 619, 659, 699],
|
| 891 |
+
'Northwest': [29, 29, 29, 29, 29, 29, 29, 49, 89, 129, 169, 209, 249, 289, 329, 369, 409, 449, 489, 529, 569, 609, 649, 689]
|
| 892 |
+
}
|
| 893 |
+
},
|
| 894 |
+
"56N": {
|
| 895 |
+
'Jul': {
|
| 896 |
+
'North': [18, 18, 18, 18, 18, 18, 18, 36, 54, 72, 90, 108, 126, 144, 162, 180, 198, 216, 234, 252, 270, 288, 306, 324],
|
| 897 |
+
'Northeast': [36, 36, 36, 36, 36, 36, 36, 72, 144, 216, 288, 360, 432, 504, 576, 648, 720, 792, 864, 936, 1008, 1080, 1152, 1224],
|
| 898 |
+
'East': [54, 54, 54, 54, 54, 54, 54, 90, 162, 234, 306, 378, 450, 522, 594, 666, 738, 810, 882, 954, 1026, 1098, 1170, 1242],
|
| 899 |
+
'Southeast': [36, 36, 36, 36, 36, 36, 36, 54, 108, 162, 216, 270, 324, 378, 432, 486, 540, 594, 648, 702, 756, 810, 864, 918],
|
| 900 |
+
'South': [18, 18, 18, 18, 18, 18, 18, 18, 36, 54, 72, 90, 108, 126, 144, 162, 180, 198, 216, 234, 252, 270, 288, 306],
|
| 901 |
+
'Southwest': [36, 36, 36, 36, 36, 36, 36, 54, 108, 162, 216, 270, 324, 378, 432, 486, 540, 594, 648, 702, 756, 810, 864, 918],
|
| 902 |
+
'West': [54, 54, 54, 54, 54, 54, 54, 90, 162, 234, 306, 378, 450, 522, 594, 666, 738, 810, 882, 954, 1026, 1098, 1170, 1242],
|
| 903 |
+
'Northwest': [36, 36, 36, 36, 36, 36, 36, 72, 144, 216, 288, 360, 432, 504, 576, 648, 720, 792, 864, 936, 1008, 1080, 1152, 1224]
|
| 904 |
+
},
|
| 905 |
+
'Jan': {
|
| 906 |
+
'North': [23, 23, 23, 23, 23, 23, 23, 33, 43, 53, 63, 73, 83, 93, 103, 113, 123, 133, 143, 153, 163, 173, 183, 193],
|
| 907 |
+
'Northeast': [33, 33, 33, 33, 33, 33, 33, 53, 93, 133, 173, 213, 253, 293, 333, 373, 413, 453, 493, 533, 573, 613, 653, 693],
|
| 908 |
+
'East': [43, 43, 43, 43, 43, 43, 43, 63, 103, 143, 183, 223, 263, 303, 343, 383, 423, 463, 503, 543, 583, 623, 663, 703],
|
| 909 |
+
'Southeast': [33, 33, 33, 33, 33, 33, 33, 43, 73, 103, 133, 163, 193, 223, 253, 283, 313, 343, 373, 403, 433, 463, 493, 523],
|
| 910 |
+
'South': [23, 23, 23, 23, 23, 23, 23, 23, 33, 43, 53, 63, 73, 83, 93, 103, 113, 123, 133, 143, 153, 163, 173, 183],
|
| 911 |
+
'Southwest': [33, 33, 33, 33, 33, 33, 33, 43, 73, 103, 133, 163, 193, 223, 253, 283, 313, 343, 373, 403, 433, 463, 493, 523],
|
| 912 |
+
'West': [43, 43, 43, 43, 43, 43, 43, 63, 103, 143, 183, 223, 263, 303, 343, 383, 423, 463, 503, 543, 583, 623, 663, 703],
|
| 913 |
+
'Northwest': [33, 33, 33, 33, 33, 33, 33, 53, 93, 133, 173, 213, 253, 293, 333, 373, 413, 453, 493, 533, 573, 613, 653, 693]
|
| 914 |
+
},
|
| 915 |
+
'Apr': {
|
| 916 |
+
'North': [20, 20, 20, 20, 20, 20, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190],
|
| 917 |
+
'Northeast': [30, 30, 30, 30, 30, 30, 30, 50, 90, 130, 170, 210, 250, 290, 330, 370, 410, 450, 490, 530, 570, 610, 650, 690],
|
| 918 |
+
'East': [40, 40, 40, 40, 40, 40, 40, 60, 100, 140, 180, 220, 260, 300, 340, 380, 420, 460, 500, 540, 580, 620, 660, 700],
|
| 919 |
+
'Southeast': [30, 30, 30, 30, 30, 30, 30, 40, 70, 100, 130, 160, 190, 220, 250, 280, 310, 340, 370, 400, 430, 460, 490, 520],
|
| 920 |
+
'South': [20, 20, 20, 20, 20, 20, 20, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180],
|
| 921 |
+
'Southwest': [30, 30, 30, 30, 30, 30, 30, 40, 70, 100, 130, 160, 190, 220, 250, 280, 310, 340, 370, 400, 430, 460, 490, 520],
|
| 922 |
+
'West': [40, 40, 40, 40, 40, 40, 40, 60, 100, 140, 180, 220, 260, 300, 340, 380, 420, 460, 500, 540, 580, 620, 660, 700],
|
| 923 |
+
'Northwest': [30, 30, 30, 30, 30, 30, 30, 50, 90, 130, 170, 210, 250, 290, 330, 370, 410, 450, 490, 530, 570, 610, 650, 690]
|
| 924 |
+
},
|
| 925 |
+
'Oct': {
|
| 926 |
+
'North': [21, 21, 21, 21, 21, 21, 21, 31, 41, 51, 61, 71, 81, 91, 101, 111, 121, 131, 141, 151, 161, 171, 181, 191],
|
| 927 |
+
'Northeast': [31, 31, 31, 31, 31, 31, 31, 51, 91, 131, 171, 211, 251, 291, 331, 371, 411, 451, 491, 531, 571, 611, 651, 691],
|
| 928 |
+
'East': [41, 41, 41, 41, 41, 41, 41, 61, 101, 141, 181, 221, 261, 301, 341, 381, 421, 461, 501, 541, 581, 621, 661, 701],
|
| 929 |
+
'Southeast': [31, 31, 31, 31, 31, 31, 31, 41, 71, 101, 131, 161, 191, 221, 251, 281, 311, 341, 371, 401, 431, 461, 491, 521],
|
| 930 |
+
'South': [21, 21, 21, 21, 21, 21, 21, 21, 31, 41, 51, 61, 71, 81, 91, 101, 111, 121, 131, 141, 151, 161, 171, 181],
|
| 931 |
+
'Southwest': [31, 31, 31, 31, 31, 31, 31, 41, 71, 101, 131, 161, 191, 221, 251, 281, 311, 341, 371, 401, 431, 461, 491, 521],
|
| 932 |
+
'West': [41, 41, 41, 41, 41, 41, 41, 61, 101, 141, 181, 221, 261, 301, 341, 381, 421, 461, 501, 541, 581, 621, 661, 701],
|
| 933 |
+
'Northwest': [31, 31, 31, 31, 31, 31, 31, 51, 91, 131, 171, 211, 251, 291, 331, 371, 411, 451, 491, 531, 571, 611, 651, 691]
|
| 934 |
+
}
|
| 935 |
+
}
|
| 936 |
+
}
|
| 937 |
+
return {f"{month}_{lat}": pd.DataFrame(data, index=hours) for lat, months in scl_data.items() for month, data in months.items()}
|
| 938 |
+
|
| 939 |
+
def _load_clf_lights_table(self) -> Dict[str, pd.DataFrame]:
|
| 940 |
+
"""
|
| 941 |
+
Load CLF tables for lights for zone types A-D, based on ASHRAE Handbook—Fundamentals (2017, Chapter 18, Table 12).
|
| 942 |
+
Returns: Dictionary of DataFrames with CLF values for each zone type.
|
| 943 |
+
"""
|
| 944 |
+
hours = list(range(1, 25)) # Hours 1-24
|
| 945 |
+
clf_data = {
|
| 946 |
+
"A": [0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.20, 0.30, 0.40, 0.50, 0.60, 0.70, 0.80, 0.90, 0.85, 0.80, 0.75, 0.70, 0.60, 0.50, 0.40, 0.30, 0.20],
|
| 947 |
+
"B": [0.15, 0.15, 0.15, 0.15, 0.15, 0.15, 0.15, 0.25, 0.35, 0.45, 0.55, 0.65, 0.75, 0.85, 0.95, 0.90, 0.85, 0.80, 0.75, 0.65, 0.55, 0.45, 0.35, 0.25],
|
| 948 |
+
"C": [0.20, 0.20, 0.20, 0.20, 0.20, 0.20, 0.20, 0.30, 0.40, 0.50, 0.60, 0.70, 0.80, 0.90, 1.00, 0.95, 0.90, 0.85, 0.80, 0.70, 0.60, 0.50, 0.40, 0.30],
|
| 949 |
+
"D": [0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.35, 0.45, 0.55, 0.65, 0.75, 0.85, 0.95, 1.00, 0.95, 0.90, 0.85, 0.80, 0.70, 0.60, 0.50, 0.40, 0.35]
|
| 950 |
+
}
|
| 951 |
+
return {zone: pd.DataFrame({"CLF": data}, index=hours) for zone, data in clf_data.items()}
|
| 952 |
+
|
| 953 |
+
def _load_clf_people_table(self) -> Dict[str, pd.DataFrame]:
|
| 954 |
+
"""
|
| 955 |
+
Load CLF tables for people for zone types A-D, based on ASHRAE Handbook—Fundamentals (2017, Chapter 18, Table 13).
|
| 956 |
+
Returns: Dictionary of DataFrames with CLF values for each zone type.
|
| 957 |
+
"""
|
| 958 |
+
hours = list(range(1, 25)) # Hours 1-24
|
| 959 |
+
clf_data = {
|
| 960 |
+
"A": [0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.15, 0.25, 0.35, 0.45, 0.55, 0.65, 0.75, 0.85, 0.80, 0.75, 0.70, 0.65, 0.55, 0.45, 0.35, 0.25, 0.15],
|
| 961 |
+
"B": [0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.20, 0.30, 0.40, 0.50, 0.60, 0.70, 0.80, 0.90, 0.85, 0.80, 0.75, 0.70, 0.60, 0.50, 0.40, 0.30, 0.20],
|
| 962 |
+
"C": [0.15, 0.15, 0.15, 0.15, 0.15, 0.15, 0.15, 0.25, 0.35, 0.45, 0.55, 0.65, 0.75, 0.85, 0.95, 0.90, 0.85, 0.80, 0.75, 0.65, 0.55, 0.45, 0.35, 0.25],
|
| 963 |
+
"D": [0.20, 0.20, 0.20, 0.20, 0.20, 0.20, 0.20, 0.30, 0.40, 0.50, 0.60, 0.70, 0.80, 0.90, 1.00, 0.95, 0.90, 0.85, 0.80, 0.70, 0.60, 0.50, 0.40, 0.30]
|
| 964 |
+
}
|
| 965 |
+
return {zone: pd.DataFrame({"CLF": data}, index=hours) for zone, data in clf_data.items()}
|
| 966 |
+
|
| 967 |
+
def _load_clf_equipment_table(self) -> Dict[str, pd.DataFrame]:
|
| 968 |
+
"""
|
| 969 |
+
Load CLF tables for equipment for zone types A-D, based on ASHRAE Handbook—Fundamentals (2017, Chapter 18, Table 14).
|
| 970 |
+
Returns: Dictionary of DataFrames with CLF values for each zone type.
|
| 971 |
+
"""
|
| 972 |
+
hours = list(range(1, 25)) # Hours 1-24
|
| 973 |
+
clf_data = {
|
| 974 |
+
"A": [0.08, 0.08, 0.08, 0.08, 0.08, 0.08, 0.08, 0.18, 0.28, 0.38, 0.48, 0.58, 0.68, 0.78, 0.88, 0.83, 0.78, 0.73, 0.68, 0.58, 0.48, 0.38, 0.28, 0.18],
|
| 975 |
+
"B": [0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.22, 0.32, 0.42, 0.52, 0.62, 0.72, 0.82, 0.92, 0.87, 0.82, 0.77, 0.72, 0.62, 0.52, 0.42, 0.32, 0.22],
|
| 976 |
+
"C": [0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.28, 0.38, 0.48, 0.58, 0.68, 0.78, 0.88, 0.98, 0.93, 0.88, 0.83, 0.78, 0.68, 0.58, 0.48, 0.38, 0.28],
|
| 977 |
+
"D": [0.22, 0.22, 0.22, 0.22, 0.22, 0.22, 0.22, 0.32, 0.42, 0.52, 0.62, 0.72, 0.82, 0.92, 1.00, 0.97, 0.92, 0.87, 0.82, 0.72, 0.62, 0.52, 0.42, 0.32]
|
| 978 |
+
}
|
| 979 |
+
return {zone: pd.DataFrame({"CLF": data}, index=hours) for zone, data in clf_data.items()}
|
| 980 |
+
|
| 981 |
+
@lru_cache(maxsize=1000)
|
| 982 |
+
def get_clf_lights(self, zone: str, hour: int) -> float:
|
| 983 |
+
"""
|
| 984 |
+
Retrieve CLF value for lights for a given zone and hour.
|
| 985 |
+
Args:
|
| 986 |
+
zone: Zone type ('A', 'B', 'C', 'D').
|
| 987 |
+
hour: Hour of the day (1-24).
|
| 988 |
+
Returns: CLF value for lights.
|
| 989 |
+
Raises:
|
| 990 |
+
ValueError: If zone or hour is invalid.
|
| 991 |
+
"""
|
| 992 |
+
if zone not in ['A', 'B', 'C', 'D']:
|
| 993 |
+
raise ValueError("Zone must be 'A', 'B', 'C', or 'D'")
|
| 994 |
+
if hour not in range(1, 25):
|
| 995 |
+
raise ValueError("Hour must be between 1 and 24")
|
| 996 |
+
try:
|
| 997 |
+
return self.clf_lights[zone].at[hour, 'CLF']
|
| 998 |
+
except KeyError:
|
| 999 |
+
raise ValueError(f"Invalid zone {zone} for CLF lights")
|
| 1000 |
+
|
| 1001 |
+
@lru_cache(maxsize=1000)
|
| 1002 |
+
def get_clf_people(self, zone: str, hour: int) -> float:
|
| 1003 |
+
"""
|
| 1004 |
+
Retrieve CLF value for people for a given zone and hour.
|
| 1005 |
+
Args:
|
| 1006 |
+
zone: Zone type ('A', 'B', 'C', 'D').
|
| 1007 |
+
hour: Hour of the day (1-24).
|
| 1008 |
+
Returns: CLF value for people.
|
| 1009 |
+
Raises:
|
| 1010 |
+
ValueError: If zone or hour is invalid.
|
| 1011 |
+
"""
|
| 1012 |
+
if zone not in ['A', 'B', 'C', 'D']:
|
| 1013 |
+
raise ValueError("Zone must be 'A', 'B', 'C', or 'D'")
|
| 1014 |
+
if hour not in range(1, 25):
|
| 1015 |
+
raise ValueError("Hour must be between 1 and 24")
|
| 1016 |
+
try:
|
| 1017 |
+
return self.clf_people[zone].at[hour, 'CLF']
|
| 1018 |
+
except KeyError:
|
| 1019 |
+
raise ValueError(f"Invalid zone {zone} for CLF people")
|
| 1020 |
+
|
| 1021 |
+
@lru_cache(maxsize=1000)
|
| 1022 |
+
def get_clf_equipment(self, zone: str, hour: int) -> float:
|
| 1023 |
+
"""
|
| 1024 |
+
Retrieve CLF value for equipment for a given zone and hour.
|
| 1025 |
+
Args:
|
| 1026 |
+
zone: Zone type ('A', 'B', 'C', 'D').
|
| 1027 |
+
hour: Hour of the day (1-24).
|
| 1028 |
+
Returns: CLF value for equipment.
|
| 1029 |
+
Raises:
|
| 1030 |
+
ValueError: If zone or hour is invalid.
|
| 1031 |
+
"""
|
| 1032 |
+
if zone not in ['A', 'B', 'C', 'D']:
|
| 1033 |
+
raise ValueError("Zone must be 'A', 'B', 'C', or 'D'")
|
| 1034 |
+
if hour not in range(1, 25):
|
| 1035 |
+
raise ValueError("Hour must be between 1 and 24")
|
| 1036 |
+
try:
|
| 1037 |
+
return self.clf_equipment[zone].at[hour, 'CLF']
|
| 1038 |
+
except KeyError:
|
| 1039 |
+
raise ValueError(f"Invalid zone {zone} for CLF equipment")
|
| 1040 |
+
|
| 1041 |
+
@lru_cache(maxsize=1000)
|
| 1042 |
+
def get_cltd(self, element_type: str, group: str, orientation: str, hour: int, latitude: float) -> float:
|
| 1043 |
+
"""
|
| 1044 |
+
Retrieve CLTD value for a given element type, group, orientation, hour, and latitude with interpolation.
|
| 1045 |
+
Args:
|
| 1046 |
+
element_type: 'wall' or 'roof'.
|
| 1047 |
+
group: Group identifier (e.g., 'A', 'B', ..., 'H' for walls; 'A', 'B', ..., 'G' for roofs).
|
| 1048 |
+
orientation: Orientation (e.g., 'North', 'East', 'Horizontal' for roofs).
|
| 1049 |
+
hour: Hour of the day (0-23).
|
| 1050 |
+
latitude: Latitude in degrees (24 to 56).
|
| 1051 |
+
Returns: Interpolated CLTD value.
|
| 1052 |
+
Raises:
|
| 1053 |
+
ValueError: If inputs are invalid or out of range.
|
| 1054 |
+
"""
|
| 1055 |
+
if element_type not in ['wall', 'roof']:
|
| 1056 |
+
raise ValueError("element_type must be 'wall' or 'roof'")
|
| 1057 |
+
if hour not in range(24):
|
| 1058 |
+
raise ValueError("Hour must be between 0 and 23")
|
| 1059 |
+
if not 24 <= latitude <= 56:
|
| 1060 |
+
raise ValueError("Latitude must be between 24 and 56 degrees")
|
| 1061 |
+
|
| 1062 |
+
# Available latitudes
|
| 1063 |
+
latitudes = [24, 32, 36, 44, 56]
|
| 1064 |
+
# Find the two closest latitudes for interpolation
|
| 1065 |
+
lat1, lat2 = max([lat for lat in latitudes if lat <= latitude], default=24), min([lat for lat in latitudes if lat >= latitude], default=56)
|
| 1066 |
+
|
| 1067 |
+
# Load the appropriate table
|
| 1068 |
+
table = self.cltd_wall if element_type == 'wall' else self.cltd_roof
|
| 1069 |
+
key1 = f"{group}_{int(lat1)}"
|
| 1070 |
+
key2 = f"{group}_{int(lat2)}"
|
| 1071 |
+
|
| 1072 |
+
if key1 not in table or key2 not in table:
|
| 1073 |
+
raise ValueError(f"Group {group} not found for latitude {lat1} or {lat2}")
|
| 1074 |
+
|
| 1075 |
+
try:
|
| 1076 |
+
cltd1 = table[key1].at[hour, orientation]
|
| 1077 |
+
cltd2 = table[key2].at[hour, orientation]
|
| 1078 |
+
except KeyError:
|
| 1079 |
+
raise ValueError(f"Invalid orientation {orientation} for group {group}")
|
| 1080 |
+
|
| 1081 |
+
# Linear interpolation
|
| 1082 |
+
if lat1 == lat2:
|
| 1083 |
+
return cltd1
|
| 1084 |
+
weight = (latitude - lat1) / (lat2 - lat1)
|
| 1085 |
+
return cltd1 + weight * (cltd2 - cltd1)
|
| 1086 |
+
|
| 1087 |
+
@lru_cache(maxsize=1000)
|
| 1088 |
+
def get_scl(self, orientation: str, hour: int, latitude: float, month: str = 'Jul') -> float:
|
| 1089 |
+
"""
|
| 1090 |
+
Retrieve SCL value for a given orientation, hour, latitude, and month with interpolation.
|
| 1091 |
+
Args:
|
| 1092 |
+
orientation: Orientation (e.g., 'North', 'East').
|
| 1093 |
+
hour: Hour of the day (0-23).
|
| 1094 |
+
latitude: Latitude in degrees (24 to 56).
|
| 1095 |
+
month: Month (default 'Jul').
|
| 1096 |
+
Returns: Interpolated SCL value.
|
| 1097 |
+
Raises:
|
| 1098 |
+
ValueError: If inputs are invalid or out of range.
|
| 1099 |
+
"""
|
| 1100 |
+
valid_orientations = ['North', 'Northeast', 'East', 'Southeast', 'South', 'Southwest', 'West', 'Northwest']
|
| 1101 |
+
if orientation not in valid_orientations:
|
| 1102 |
+
raise ValueError(f"Orientation must be one of {valid_orientations}, got {orientation}")
|
| 1103 |
+
if hour not in range(24):
|
| 1104 |
+
raise ValueError("Hour must be between 0 and 23")
|
| 1105 |
+
if not 24 <= latitude <= 56:
|
| 1106 |
+
raise ValueError("Latitude must be between 24 and 56 degrees")
|
| 1107 |
+
if month not in ['Jan', 'Apr', 'Jul', 'Oct']:
|
| 1108 |
+
raise ValueError("Month must be 'Jan', 'Apr', 'Jul', or 'Oct'")
|
| 1109 |
+
|
| 1110 |
+
# Available latitudes
|
| 1111 |
+
latitudes = [24, 32, 36, 44, 56]
|
| 1112 |
+
lat1, lat2 = max([lat for lat in latitudes if lat <= latitude], default=24), min([lat for lat in latitudes if lat >= latitude], default=56)
|
| 1113 |
+
|
| 1114 |
+
key1 = f"{month}_{int(lat1)}"
|
| 1115 |
+
key2 = f"{month}_{int(lat2)}"
|
| 1116 |
+
|
| 1117 |
+
if key1 not in self.scl or key2 not in self.scl:
|
| 1118 |
+
raise ValueError(f"SCL data not found for latitude {lat1} or {lat2}")
|
| 1119 |
+
|
| 1120 |
+
try:
|
| 1121 |
+
scl1 = self.scl[key1].at[hour, orientation]
|
| 1122 |
+
scl2 = self.scl[key2].at[hour, orientation]
|
| 1123 |
+
except KeyError:
|
| 1124 |
+
raise ValueError(f"Invalid orientation {orientation}")
|
| 1125 |
+
|
| 1126 |
+
if lat1 == lat2:
|
| 1127 |
+
return scl1
|
| 1128 |
+
weight = (latitude - lat1) / (lat2 - lat1)
|
| 1129 |
+
return scl1 + weight * (scl2 - scl1)
|
| 1130 |
+
|
| 1131 |
+
def apply_cltd_corrections(self, cltd: float, lm: float, k: float, f: float) -> float:
|
| 1132 |
+
"""
|
| 1133 |
+
Apply corrections to CLTD based on ASHRAE correction factors.
|
| 1134 |
+
Args:
|
| 1135 |
+
cltd: Base CLTD value.
|
| 1136 |
+
lm: Latitude-month correction factor.
|
| 1137 |
+
k: Color correction factor.
|
| 1138 |
+
f: Fenestration correction factor.
|
| 1139 |
+
Returns: Corrected CLTD value.
|
| 1140 |
+
"""
|
| 1141 |
+
return cltd + lm + (k - 1) * cltd + (f - 1) * cltd
|
| 1142 |
+
|
| 1143 |
+
def visualize_cltd(self, element_type: str, group: str, orientation: str, latitude: float):
|
| 1144 |
+
"""
|
| 1145 |
+
Visualize CLTD values over 24 hours for a given element type, group, orientation, and latitude.
|
| 1146 |
+
Args:
|
| 1147 |
+
element_type: 'wall' or 'roof'.
|
| 1148 |
+
group: Group identifier.
|
| 1149 |
+
orientation: Orientation.
|
| 1150 |
+
latitude: Latitude in degrees.
|
| 1151 |
+
"""
|
| 1152 |
+
import matplotlib.pyplot as plt
|
| 1153 |
+
|
| 1154 |
+
hours = list(range(24))
|
| 1155 |
+
cltd_values = [self.get_cltd(element_type, group, orientation, hour, latitude) for hour in hours]
|
| 1156 |
+
|
| 1157 |
+
plt.figure(figsize=(10, 6))
|
| 1158 |
+
plt.plot(hours, cltd_values, marker='o')
|
| 1159 |
+
plt.title(f'CLTD for {element_type.capitalize()} (Group {group}, {orientation}, Lat {latitude}°N)')
|
| 1160 |
+
plt.xlabel('Hour of Day')
|
| 1161 |
+
plt.ylabel('CLTD (°F)')
|
| 1162 |
+
plt.grid(True)
|
| 1163 |
+
plt.xticks(hours)
|
| 1164 |
+
plt.show()
|
| 1165 |
+
|
| 1166 |
+
def visualize_scl(self, orientation: str, latitude: float, month: str = 'Jul'):
|
| 1167 |
+
"""
|
| 1168 |
+
Visualize SCL values over 24 hours for a given orientation, latitude, and month.
|
| 1169 |
+
Args:
|
| 1170 |
+
orientation: Orientation.
|
| 1171 |
+
latitude: Latitude in degrees.
|
| 1172 |
+
month: Month (default 'Jul').
|
| 1173 |
+
"""
|
| 1174 |
+
import matplotlib.pyplot as plt
|
| 1175 |
+
|
| 1176 |
+
hours = list(range(24))
|
| 1177 |
+
scl_values = [self.get_scl(orientation, hour, latitude, month) for hour in hours]
|
| 1178 |
+
|
| 1179 |
+
plt.figure(figsize=(10, 6))
|
| 1180 |
+
plt.plot(hours, scl_values, marker='o', color='orange')
|
| 1181 |
+
plt.title(f'SCL for Windows ({orientation}, Lat {latitude}°N, {month})')
|
| 1182 |
+
plt.xlabel('Hour of Day')
|
| 1183 |
+
plt.ylabel('SCL (Btu/h-ft²)')
|
| 1184 |
+
plt.grid(True)
|
| 1185 |
+
plt.xticks(hours)
|
| 1186 |
+
plt.show()
|
| 1187 |
+
|
| 1188 |
+
if __name__ == "__main__":
|
| 1189 |
+
# Example usage
|
| 1190 |
+
ashrae = ASHRAETables()
|
| 1191 |
+
try:
|
| 1192 |
+
# Get CLTD for a wall
|
| 1193 |
+
cltd_wall = ashrae.get_cltd('wall', 'A', 'North', 12, 40.0)
|
| 1194 |
+
print(f"CLTD for Wall (Group A, North, Hour 12, Lat 40°N): {cltd_wall:.2f} °F")
|
| 1195 |
+
|
| 1196 |
+
# Get CLTD for a roof
|
| 1197 |
+
cltd_roof = ashrae.get_cltd('roof', 'C', 'Horizontal', 12, 40.0)
|
| 1198 |
+
print(f"CLTD for Roof (Group C, Horizontal, Hour 12, Lat 40°N): {cltd_roof:.2f} °F")
|
| 1199 |
+
|
| 1200 |
+
# Get SCL for a window
|
| 1201 |
+
scl_window = ashrae.get_scl('East', 12, 40.0, 'Jul')
|
| 1202 |
+
print(f"SCL for Window (East, Hour 12, Lat 40°N, Jul): {scl_window:.2f} Btu/h-ft²")
|
| 1203 |
+
|
| 1204 |
+
# Visualize CLTD for a wall
|
| 1205 |
+
ashrae.visualize_cltd('wall', 'A', 'North', 40.0)
|
| 1206 |
+
|
| 1207 |
+
# Visualize SCL for a window
|
| 1208 |
+
ashrae.visualize_scl('East', 40.0, 'Jul')
|
| 1209 |
+
|
| 1210 |
+
except ValueError as e:
|
| 1211 |
+
print(f"Error: {e}")
|