Primary energy is defined as the energy required at the source to cover the final energy consumption. There is always a certain amount of energy lost during the production and distribution of electricity. Primary energy is often expressed in gigajoules (GJ).