# coding: utf8
# OeQ autogenerated lookup function for 'U-Values of Walls 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
import oeqLookuptable as oeq
def get(*xin):


    l_lookup = oeq.lookuptable(
[
1849,2.002,
1850,2.002,
1851,2,
1852,1.996,
1853,1.993,
1854,1.993,
1855,2,
1856,2.016,
1857,2.04,
1858,2.069,
1859,2.1,
1860,2.131,
1861,2.16,
1862,2.184,
1863,2.2,
1864,2.2,
1865,2.2,
1866,2.2,
1867,2.2,
1868,2.198,
1869,2.198,
1870,2.199,
1871,2.2,
1872,2.2,
1873,2.2,
1874,2.2,
1875,2.2,
1876,2.2,
1877,2.2,
1878,2.2,
1879,2.2,
1880,2.2,
1881,2.2,
1882,2.2,
1883,2.2,
1884,2.2,
1885,2.2,
1886,2.2,
1887,2.2,
1888,2.2,
1889,2.2,
1890,2.2,
1891,2.2,
1892,2.2,
1893,2.2,
1894,2.2,
1895,2.2,
1896,2.2,
1897,2.2,
1898,2.2,
1899,2.2,
1900,2.2,
1901,2.2,
1902,2.2,
1903,2.2,
1904,2.2,
1905,2.2,
1906,2.2,
1907,2.2,
1908,2.197,
1909,2.195,
1910,2.195,
1911,2.2,
1912,2.2,
1913,2.2,
1914,2.2,
1915,2.2,
1916,2.159,
1917,2.1,
1918,2.028,
1919,1.95,
1920,1.872,
1921,1.8,
1922,1.741,
1923,1.7,
1924,1.682,
1925,1.682,
1926,1.69,
1927,1.7,
1928,1.705,
1929,1.705,
1930,1.703,
1931,1.7,
1932,1.699,
1933,1.699,
1934,1.7,
1935,1.7,
1936,1.7,
1937,1.699,
1938,1.699,
1939,1.7,
1940,1.703,
1941,1.706,
1942,1.705,
1943,1.7,
1944,1.687,
1945,1.665,
1946,1.633,
1947,1.59,
1948,1.533,
1949,1.464,
1950,1.389,
1951,1.315,
1952,1.249,
1953,1.2,
1954,1.172,
1955,1.159,
1956,1.155,
1957,1.15,
1958,1.139,
1959,1.125,
1960,1.11,
1961,1.1,
1962,1.097,
1963,1.098,
1964,1.101,
1965,1.1,
1966,1.094,
1967,1.082,
1968,1.067,
1969,1.05,
1970,1.032,
1971,1.016,
1972,1.004,
1973,1,
1974,1.004,
1975,1.011,
1976,1.012,
1977,1,
1978,0.968,
1979,0.921,
1980,0.863,
1981,0.8,
1982,0.738,
1983,0.681,
1984,0.634,
1985,0.6,
1986,0.583,
1987,0.58,
1988,0.587,
1989,0.6,
1990,0.614,
1991,0.623,
1992,0.62,
1993,0.6,
1994,0.559,
1995,0.504,
1996,0.448,
1997,0.4,
1998,0.369,
1999,0.35,
2000,0.338,
2001,0.325,
2002,0.307,
2003,0.285,
2004,0.265,
2005,0.25,
2006,0.25,
2007,0.25,
2008,0.25,
2009,0.25,
2010,0.252,
2011,0.252,
2012,0.251,
2013,0.25,
2014,0.25,
2015,0.25,
2016,0.25,
2017,0.25,
2018,0.25,
2019,0.25,
2020,0.25,
2021,0.25])
    return(l_lookup.lookup(xin))
