Tidal energetics: Studies with a barotropic model