Title: On the control of distributed generation in power systems