Text this: Optimal Virtual Power Plant Control Algorithm Considering the Electrical Characteristics of Distributed Energy Resources