Electrical analogies