Section 2: Calculating the building primary energy rate and building emission rate