Industrial and commercial energy storage integrated machine mode