The Massachusetts State House. The Department of Energy Resources updated the Massachusetts building energy code in order to reach net-zero carbon by 2050. BRIAN SONG/DFP FILE The Department of Energy ...