A high-resolution model allowing for the comparison of different energy storage technologies in a variety of realistic microgrid settings has been developed. The Energy Systems Model (ESM) is similar to the popular. ••The Energy System Model (ESM), an engineering-economic. Microgrids are small self-reliant electricity grids that produce and distribute power across a limited area, such as a village or industrial complex. Microgrids can be grid-tied, where the s. At its core, the ESM is an engineering-economic model that inputs a particular microgrid system configuration, electricity load time series, and solar resource time series, determine. HOMER is a useful modeling tool for investigating the scaling and operation of off-grid systems, but has several weaknesses that result in a favorable outlook towards t. In addition to its ability to calculate the LCOE of different microgrid systems, the ESM can be used to investigate a variety of higher-order questions about battery valuation and opt.