Two-stage network processor for an independent HVDC grid supervisory control