The Massachusetts Department of Public Utilities (DPU) has approved a proposal by Eversource Energy for a demand charge on solar customers.