Just put the chemical plant right next to a field of solar panels and windmills. If it's not sunny or windy, scale down.
Even better, a nuclear power plant
Nuclear is great, but if you have no constraints around when to scale up and down besides energy availability and nothing else nearby to power then complexity wise it's probably overkill.