Modelling the energy balance of acoustic emission