OPTIMIZATION OF ELECTRICITY PURCHASE AND SALES STRATEGIES OF