Similar to the energy balance for open systems, where had:

we can also write an entropy balance for open systems.

Recall that and . The entropy balance for an open system can then be written as:

where .