def get_nu_H(region, direction):
    """外皮の部位の暖房期の方位係数

    Args:
      region(int): 省エネルギー地域区分
      direction(str): 外皮の部位の方位

    Returns:
      float: 外皮の部位の暖房期の方位係数

    """

    # 表1 暖房期の方位係数
    table_1 = {
        '上面': (1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, None),
        '北': (0.260, 0.263, 0.284, 0.256, 0.238, 0.261, 0.227, None),
        '北東': (0.333, 0.341, 0.348, 0.330, 0.310, 0.325, 0.281, None),
        '東': (0.564, 0.554, 0.540, 0.531, 0.568, 0.579, 0.543, None),
        '南東': (0.823, 0.766, 0.751, 0.724, 0.846, 0.833, 0.843, None),
        '南': (0.935, 0.856, 0.851, 0.815, 0.983, 0.936, 1.023, None),
        '南西': (0.790, 0.753, 0.750, 0.723, 0.815, 0.763, 0.848, None),
        '西': (0.535, 0.544, 0.542, 0.527, 0.538, 0.523, 0.548, None),
        '北西': (0.325, 0.341, 0.351, 0.326, 0.297, 0.317, 0.284, None),
        '下面': (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, None),
    }
    return table_1[direction][region - 1]