As shown in the figure, an 8-m³ tank contains H2O initially at 2 bar and a quality of 80%. The tank is connected to a large steam line carrying steam at 15 bar, 240 °C. Steam flows into the tank through a valve, until the tank reaches 7 bar, 200 °C, at which time the valve is closed. Determine the amount of mass, in kg, that enters the tank and the magnitude and direction of heat transfer occurring during this process, in kJ.