Stav dette: Operating and planning electricity grids with variable renewable generation