The cost of a real-time control scheme for sulphur dioxide emissions