Time-domain distance protection of transmission lines based on the conic section general equation