Discuss the below in detail:
Q: A rigid container with volume 200 L is divided into two equal volumes by a partition. Both sides contains nitrogen, one side is at 2 MPa, 300°C, and the other at 1 MPa, 50°C. The partition ruptures, and the nitrogen comes to a uniform state at 100°C. Assuming the surroundings are at 25°C find the actual heat transfer and the irreversibility in the process