circuit analogy