Text this: Operating and planning electricity grids with variable renewable generation