Energy and operation management of a microgrid using particle swarm optimization | Synapse