Reactive power management in planning and operating the transmission grid door