“Green” chemical plants that ramp up and down with wind, solar