A total of 9416 energy performance certificates in the residential sector were analyzed.
Approximately 40% of the energy performance certificates were incorrect.
The developed algorithms can be generalized for the remainder of Spain.
Introducing BACS and TBM systems can reduce building energy consumption by up to 26.36%.