An R implementation of EPRI's Energy Storage Valuation Primer