Integration of renewable energy for chemical process plants