Energy arbitrage optimization of lithium-ion battery considering short-term revenue and long-term battery life loss | Synapse