A new method is proposed for automatic choosing the so-called magnetic “charges” that are necessary to model the coronal magnetic field in solar ARs. The method makes the quantitative analysis of large-scale magnetic field fast, easy, and reliable that allows us to study the evolution of ARs on short time scales.