How to secure ride-through operations in DC systems