def zipper(demand, ambient, inlet):
    """Make the mapping between demand/ambient/inlet temperatures."""
    mapping = []
    for day_index in range(365):
        daily_demand = demand[day_index]
        daily_ambient = ambient[day_index]
        daily_inlet = inlet[day_index]
        for hour_index in range(24):
            mapping.append([daily_demand[hour_index], daily_ambient[hour_index], daily_inlet[hour_index]])

    return mapping