Consider the irreversible process in Problem 6.182. Assume that the process could be done reversibly by adding heat engines/pumps between tanks A and B and the cylinder. The total system is insulated, so there is no heat transfer to or from the ambient. Find the final state, the work given out to the piston, and the total work to or from the heat engines/pumps.
Problem 6.182
Two tanks contain steam and they are both connected to a piston/cylinder, as shown in Fig. P6.182. Initially the piston is at the bottom, and the mass of the piston is such that a pressure of 1.4 MPa below it will be able to lift it. Stream in A is 4 kg at 7 MPa, 700?C and B has 2 kg at 3 MPa, 350?C. The two valves are opened, and the water comes to a uniform state. Find the final temperature and the total entropy generation, assuming no heat transfer.