Text this: Control and Optimization of Distributed Generation Systems