Dynamic Modelling And Exergy Analysis Of A Smart Building Heating System