Step-by-step explanation:
Formula for entropy balance for the given situation is as follows.
= 0
As the given system is adiabatic, hence Q = 0.
So,

As the given data is as follows.
= 10 kg/s,
= 5 kJ/kg K
= 5 kg/sec,
= 10 kJ/kg K
= 7 kJ/kg K,

= 10 + 5
= 15 kg/sec

= 5 kW/K
Thus, we can conclude that the rate of entropy generation in the device is 5 kW/K.