Calculating Aggregation Power Curve of Distributed Energy Resources Based on Optimality Condition Analysis | Synapse