Control of energy integrated batch process systems