Resonance analysis using a high frequency simulation method for dc-SQUID amplifiers