Dynamic simulation of the operation of a molten salt parabolic trough plant, comprising draining procedures