Equivalent circuit model for superconductors