A control system that determines when and how an energy storage system charges, discharges, or remains idle using inputs such as load, solar production, and utility pricing. The EMS operates above the battery management system (BMS) and power conversion system (PCS) to optimize operation and balance performance, economic value, and battery longevity. Energy Toolbase’s EMS, ETB Controller, makes site-level economic and operational decisions to optimize dispatch at a given site.