Implementation and assessment of demand response and voltage/var control with distributed generators