The heat capacity of a system represents the heat energy required to raise the temperature of the system. It depends on the mass and temperature of the system.
In other words, the mass and temperature of the system are directly proportional to the heat capacity of the system.
The expression for the heat generated by the water heater per hour is
\(Q = mc\left( {{T_{\rm{f}}} - {T_{\rm{i}}}} \right)\).
Here, \(m\) is mass of water, \(c\) is the specific heat capacity of water, \({T_{\rm{f}}}\) is the final temperature of water, and \({T_{\rm{i}}}\) is the initial temperature of water.