During steady-state continuous operation, an entropy balance applied to an open system accounts for system entropy changes related to heat flow and mass flow across the system boundary.
Click this LINK to visit the original image and attribution information. Right click on the image to save the 800px teaching JPEG.