Industrial and commercial energy storage integrated machine integration process