Operating and Planning Electricity Grids with Variable Renewable GenerationMarcelino Madrigal, Kevin Porter₹2,694