Variation management in the electricity system