A DC Grid Primary Protection Algorithm Based on Current Measurements