Thermodynamic investigation of building integrated energy efficiency for building retrofit