In a hydroelectric dam, the kinetic energy of the water is used to run a generator. This motion energy is then converted to electrical energy in the generator. When converting the motion energy of the water into the motion energy of the generator, 20% of all energy is lost in the form of friction. When converting the motion energy of the generator into electrical energy, 60% is lost in friction.
Draw the energy flow diagram of this dam as a whole.