Railway operator Deutsche Bahn AG has entered into a two-year deal to offtake about 18,000 MWh annually from a solar park in northern Germany, according to a statement published on Monday.