# coding: utf8
# OeQ autogenerated lookup function for 'U-Values of Roofs as Projection (method 2) in correlation to year of construction, based on the source data of the survey for the "German Building Typology developed by the "Institut für Wohnen und Umwelt", Darmstadt/Germany, 2011-2013'

import math
import numpy as np
from . import oeqLookuptable as oeq
def get(*xin):


    l_lookup = oeq.lookuptable(
[
1849,1.06,
1850,1.06,
1851,1.06,
1852,1.06,
1853,1.06,
1854,1.06,
1855,1.06,
1856,1.06,
1857,1.06,
1858,1.06,
1859,1.06,
1860,1.06,
1861,1.06,
1862,1.06,
1863,1.06,
1864,1.06,
1865,1.06,
1866,1.06,
1867,1.06,
1868,1.06,
1869,1.06,
1870,1.06,
1871,1.06,
1872,1.06,
1873,1.06,
1874,1.06,
1875,1.06,
1876,1.06,
1877,1.06,
1878,1.06,
1879,1.06,
1880,1.06,
1881,1.06,
1882,1.06,
1883,1.06,
1884,1.06,
1885,1.06,
1886,1.06,
1887,1.06,
1888,1.06,
1889,1.06,
1890,1.06,
1891,1.06,
1892,1.06,
1893,1.06,
1894,1.06,
1895,1.06,
1896,1.06,
1897,1.06,
1898,1.06,
1899,1.06,
1900,1.06,
1901,1.06,
1902,1.06,
1903,1.06,
1904,1.06,
1905,1.06,
1906,1.06,
1907,1.06,
1908,1.059,
1909,1.058,
1910,1.058,
1911,1.06,
1912,1.06,
1913,1.06,
1914,1.06,
1915,1.06,
1916,1.043,
1917,1.018,
1918,0.988,
1919,0.955,
1920,0.922,
1921,0.892,
1922,0.867,
1923,0.85,
1924,0.843,
1925,0.842,
1926,0.846,
1927,0.85,
1928,0.852,
1929,0.852,
1930,0.851,
1931,0.85,
1932,0.849,
1933,0.849,
1934,0.85,
1935,0.85,
1936,0.85,
1937,0.85,
1938,0.85,
1939,0.85,
1940,0.85,
1941,0.851,
1942,0.851,
1943,0.85,
1944,0.849,
1945,0.848,
1946,0.847,
1947,0.847,
1948,0.85,
1949,0.855,
1950,0.86,
1951,0.862,
1952,0.86,
1953,0.85,
1954,0.831,
1955,0.805,
1956,0.774,
1957,0.74,
1958,0.706,
1959,0.674,
1960,0.648,
1961,0.63,
1962,0.622,
1963,0.621,
1964,0.625,
1965,0.63,
1966,0.633,
1967,0.634,
1968,0.633,
1969,0.63,
1970,0.626,
1971,0.623,
1972,0.624,
1973,0.63,
1974,0.642,
1975,0.653,
1976,0.652,
1977,0.63,
1978,0.582,
1979,0.518,
1980,0.452,
1981,0.4,
1982,0.372,
1983,0.363,
1984,0.365,
1985,0.37,
1986,0.371,
1987,0.37,
1988,0.369,
1989,0.37,
1990,0.375,
1991,0.38,
1992,0.38,
1993,0.37,
1994,0.346,
1995,0.314,
1996,0.279,
1997,0.25,
1998,0.231,
1999,0.22,
2000,0.213,
2001,0.205,
2002,0.194,
2003,0.181,
2004,0.169,
2005,0.16,
2006,0.16,
2007,0.16,
2008,0.16,
2009,0.16,
2010,0.161,
2011,0.161,
2012,0.161,
2013,0.16,
2014,0.16,
2015,0.16,
2016,0.16,
2017,0.16,
2018,0.16,
2019,0.16,
2020,0.16,
2021,0.16])
    return(l_lookup.lookup(xin))
