OPTIMAL ALLOCATION OF DISTRIBUTED ENERGY X2026