A mixing chamber receives 10 lbm/min ammonia as saturated liquid at 0 F from one line and ammonia at 100 F, 40 lbf/in.2 from another line through a valve. The chamber also receives 340 Btu/min energy as heat transferred from a 100-F reservoir. This should produce saturated ammonia vapor at 0 F in the exit line. What is the mass flow rate at state 2 and what is the total entropy generation in the process?