A model of the deep water flow into the Baltic Sea