A new energy code takes effect Wednesday, causing an increase in the number of home building permits to be filed in June.