The measurement and analysis of energy used by various industrial processes for the purpose of improving energy efficiency. Energy accounting is an integral aspect of energy management systems. An energy balance sheet can be used to track energy consumption throughout a system — keeping track of energy in, energy out and non-useful energy versus work done. This becomes a useful tool for improving resource allocation and measuring environmental impact. Non-useful work is usually responsible for environmental problems.