Text this: A Linear Programming Approach for Battery Impairment Analysis and Optimization in Decentralized Power Systems for Agricultural Operations With Solar Energy Integration