Associated resistive and discrete circuits in the qualitative analysis of networks of distributed and lumped circuits