Text this: Improving power losses using distributed generation