Automated connection testing and energy grid planning