A theoretical relation between Dst and the solar wind merging electric field