1. A method for availability evaluation of microgrid systems with an energy storage device, comprising: applying a Markov chain model to model charging and discharging processes in the energy storage device; determining an effect of the energy storage device connected to a microgrid with multiple energy sources and loads; and determining effect of system architectures on the availability of microgrids using minimum cut sets (MCS).