OPTIMAL ENERGY DISPATCH OF USER SIDE ENERGY PROVISION