A BATTERY DEGRADATION AWARE ENERGY MANAGEMENT SYSTEM FOR AGRICULTURAL